stone-kit 0.0.1026 → 0.0.1028

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 (173) hide show
  1. package/dist/App.js +1 -1
  2. package/dist/{Menu-DKuZheFD.js → Menu-CdJTzN7T.js} +157 -176
  3. package/dist/{Option-DU8cvBnA.js → Option-rFBMQAPk.js} +1 -1
  4. package/dist/Router.js +1 -1
  5. package/dist/components/Button/ui/Button.d.ts +0 -1
  6. package/dist/components/Button/ui/Button.js +1 -1
  7. package/dist/components/Button/ui/Button.types.d.ts +0 -1
  8. package/dist/components/CheckBox/CheckBox.d.ts +0 -1
  9. package/dist/components/CheckBox/CheckBox.js +1 -1
  10. package/dist/components/CheckBox/CheckBox.types.d.ts +0 -2
  11. package/dist/components/CheckBoxNew/CheckBox.types.d.ts +0 -1
  12. package/dist/components/CheckBoxNew/CheckBoxNew.d.ts +0 -1
  13. package/dist/components/CheckBoxNew/CheckBoxNew.js +17 -17
  14. package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +0 -1
  15. package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +34 -34
  16. package/dist/components/CommercialLotCard/CommercialLotCard.d.ts +0 -1
  17. package/dist/components/CommercialLotCard/CommercialLotCard.js +50 -7
  18. package/dist/components/CommercialLotCard/components/Price/Price.d.ts +0 -1
  19. package/dist/components/CommercialLotCard/components/Price/Price.js +25 -26
  20. package/dist/components/CommercialLotCard/components/Snippets/Snippets.d.ts +0 -1
  21. package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +98 -27
  22. package/dist/components/CommercialLotCard/components/Tags/Tags.d.ts +0 -1
  23. package/dist/components/CommercialLotCard/components/Tags/Tags.js +17 -17
  24. package/dist/components/CommercialLotCard/types/CommercialLotCard.types.d.ts +0 -1
  25. package/dist/components/CommercialLotCard/types/LotCard.d.ts +0 -1
  26. package/dist/components/CommercialLotCard/utils/formatPrice.js +1 -2
  27. package/dist/components/CommercialLotCard/utils/getTagsFeatures.d.ts +1 -2
  28. package/dist/components/DestinationTab/ui/DestinationTab.d.ts +0 -1
  29. package/dist/components/DestinationTab/ui/DestinationTab.js +41 -41
  30. package/dist/components/DestinationTab/ui/DestinationTab.types.d.ts +0 -1
  31. package/dist/components/FieldInput/ui/FieldInput.d.ts +0 -1
  32. package/dist/components/FieldInput/ui/FieldInput.types.d.ts +0 -1
  33. package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +0 -1
  34. package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +54 -26
  35. package/dist/components/FilterWithSave/ui/FilterWithSave.d.ts +0 -1
  36. package/dist/components/FilterWithSave/ui/FilterWithSave.js +328 -7
  37. package/dist/components/Flex/ui/Flex.d.ts +0 -1
  38. package/dist/components/Flex/ui/Flex.js +1 -1
  39. package/dist/components/Flex/ui/Flex.types.d.ts +0 -1
  40. package/dist/components/FormModal/ui/ModalForm.js +1430 -28
  41. package/dist/components/GroupedInput/ui/GroupedInputs.d.ts +0 -1
  42. package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
  43. package/dist/components/GroupedInput/ui/GroupedInputs.types.d.ts +0 -1
  44. package/dist/components/Input/ui/Input.d.ts +1 -2
  45. package/dist/components/Input/ui/Input.js +234 -304
  46. package/dist/components/Logo/ui/Logo.d.ts +0 -1
  47. package/dist/components/Logo/ui/Logo.js +6 -6
  48. package/dist/components/LotCard/hooks/useLotCard.d.ts +0 -1
  49. package/dist/components/LotCard/hooks/useLotCard.js +6 -24
  50. package/dist/components/LotCard/index.js +2 -2
  51. package/dist/components/LotCard/ui/LotCard.d.ts +0 -1
  52. package/dist/components/LotCard/ui/LotCard.js +213 -10
  53. package/dist/components/LotCard/ui/LotCard.types.d.ts +0 -1
  54. package/dist/components/LotCard/utils/formatPrice.js +1 -2
  55. package/dist/components/LotCard/utils/getTagsFeatures.d.ts +1 -2
  56. package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +1 -1
  57. package/dist/components/MetroLabel/ui/MetroLabel.d.ts +0 -1
  58. package/dist/components/MetroLabel/ui/MetroLabel.js +16 -16
  59. package/dist/components/MetroLabel/ui/MetroLabel.types.d.ts +0 -1
  60. package/dist/components/MetroTag/ui/MetroTag.d.ts +0 -1
  61. package/dist/components/MetroTag/ui/MetroTag.js +74 -74
  62. package/dist/components/MetroTag/ui/MetroTag.types.d.ts +0 -1
  63. package/dist/components/Modal/ui/Modal.d.ts +0 -1
  64. package/dist/components/Modal/ui/Modal.js +34 -37
  65. package/dist/components/Modal/ui/Modal.types.d.ts +0 -1
  66. package/dist/components/ModalSuccess/ModalSuccess.d.ts +0 -1
  67. package/dist/components/ModalSuccess/ModalSuccess.js +18 -19
  68. package/dist/components/ModalSuccess/ModalSuccess.types.d.ts +0 -1
  69. package/dist/components/NewIcon/icons/PinTrans.d.ts +0 -1
  70. package/dist/components/NewIcon/icons/SmallFilter.d.ts +0 -1
  71. package/dist/components/NewIcon/ui/NewIcon.d.ts +0 -1
  72. package/dist/components/NewIcon/ui/NewIcon.js +43 -33
  73. package/dist/components/NewIcon/ui/NewIcon.types.d.ts +0 -1
  74. package/dist/components/NewIcon/ui/iconTypes.d.ts +0 -1
  75. package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +9 -11
  76. package/dist/components/RoundButton/ui/RoundButton.d.ts +0 -1
  77. package/dist/components/RoundButton/ui/RoundButton.js +2 -2
  78. package/dist/components/RoundButton/ui/RoundButton.types.d.ts +0 -1
  79. package/dist/components/Select/model/selectMode.d.ts +0 -1
  80. package/dist/components/Select/model/selectMode.js +30 -30
  81. package/dist/components/Select/ui/Category.d.ts +0 -1
  82. package/dist/components/Select/ui/Category.js +3 -3
  83. package/dist/components/Select/ui/Option.d.ts +0 -1
  84. package/dist/components/Select/ui/Option.js +2 -2
  85. package/dist/components/Select/ui/Select.d.ts +0 -1
  86. package/dist/components/Select/ui/Select.js +115 -115
  87. package/dist/components/SliderNavigation/index.d.ts +0 -1
  88. package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +0 -1
  89. package/dist/components/SliderNavigation/ui/SliderNavigation.js +6 -6
  90. package/dist/components/SortSelect/hooks/useSortSelect.d.ts +0 -1
  91. package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
  92. package/dist/components/SortSelect/index.js +1 -1
  93. package/dist/components/SortSelect/ui/SortSelect.d.ts +0 -1
  94. package/dist/components/SortSelect/ui/SortSelect.js +108 -26
  95. package/dist/components/SortSelect/ui/SortSelect.types.d.ts +0 -1
  96. package/dist/components/SummarySelect/ui/SummarySelect.d.ts +1 -1
  97. package/dist/components/SummarySelect/ui/SummarySelect.js +56 -61
  98. package/dist/components/Switcher/ui/Switcher.d.ts +0 -1
  99. package/dist/components/Switcher/ui/Switcher.js +1 -1
  100. package/dist/components/Switcher/ui/Switcher.types.d.ts +0 -1
  101. package/dist/components/TabSelect/ui/TabSelect.d.ts +0 -1
  102. package/dist/components/TabSelect/ui/TabSelect.js +5 -5
  103. package/dist/components/TabSwitcher/index.js +2 -2
  104. package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +0 -1
  105. package/dist/components/TabSwitcher/ui/TabSwitcher.js +118 -26
  106. package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +0 -1
  107. package/dist/components/Tag/ui/Tag.d.ts +0 -1
  108. package/dist/components/Tag/ui/Tag.js +91 -91
  109. package/dist/components/Tag/ui/Tag.types.d.ts +0 -1
  110. package/dist/components/Text/ui/Text.d.ts +0 -1
  111. package/dist/components/Text/ui/Text.js +1 -1
  112. package/dist/components/Text/ui/Text.types.d.ts +0 -1
  113. package/dist/components/TextArea/TextArea.js +1 -1
  114. package/dist/components/TextArea/TextArea.types.d.ts +0 -1
  115. package/dist/components/ZoomControls/ui/ZoomControls.d.ts +0 -1
  116. package/dist/components/ZoomControls/ui/ZoomControls.types.d.ts +0 -1
  117. package/dist/components/mobileButton/ui/MobileButton.d.ts +0 -1
  118. package/dist/components/mobileButton/ui/MobileButton.js +1 -1
  119. package/dist/components/mobileButton/ui/MobileButton.types.d.ts +0 -1
  120. package/dist/{index-DvCs2JPX.js → index-3E04UaC2.js} +9529 -9629
  121. package/dist/index-B2JRaoNz.js +48 -0
  122. package/dist/{index-DmANy9jd.js → index-CBdtKu-u.js} +272 -271
  123. package/dist/layout/Layout.d.ts +0 -1
  124. package/dist/layout/components/Header/Header.js +48 -71
  125. package/dist/layout/components/Menu.js +2 -24
  126. package/dist/main.js +70 -65
  127. package/dist/pages/ButtonsPage/ButtonState/ButtonState.d.ts +0 -1
  128. package/dist/pages/ButtonsPage/Buttons.js +21 -38
  129. package/dist/pages/FormsPage/FormsPage.js +26 -50
  130. package/dist/pages/IconsPage/IconsPage.js +9 -31
  131. package/dist/pages/InputPage/InputPage.js +10 -32
  132. package/dist/pages/LogoPage/LogoPage.js +13 -35
  133. package/dist/pages/LotsPage/LotsPage.js +18 -17
  134. package/dist/pages/LotsPage/const.d.ts +0 -1
  135. package/dist/pages/ModalsPage/ModalPage.js +46 -66
  136. package/dist/pages/SelectPage/SelectPage.js +58 -58
  137. package/dist/pages/TabsPage/TabsPage.js +19 -20
  138. package/dist/pages/TagsPage/TagsPage.js +23 -44
  139. package/dist/shared/checkLargeOffice.d.ts +0 -1
  140. package/dist/shared/checkLargeOffice.js +1 -1
  141. package/dist/shared/mlnRound.js +1 -2
  142. package/dist/stone-kit.css +1 -0
  143. package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +2 -2
  144. package/dist/stories/shared/ui/Button/Button.stories.js +5 -5
  145. package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +1 -1
  146. package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +1 -1
  147. package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +1 -1
  148. package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +1 -1
  149. package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +1 -1
  150. package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +2 -2
  151. package/dist/stories/shared/ui/FormModal/FormModal.stories.js +8 -8
  152. package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +1 -1
  153. package/dist/stories/shared/ui/Logo/Logo.stories.js +1 -1
  154. package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +1 -1
  155. package/dist/stories/shared/ui/Modal/Modal.stories.js +1 -1
  156. package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +1 -1
  157. package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +1 -1
  158. package/dist/stories/shared/ui/Select/Select.stories.js +1 -1
  159. package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +1 -1
  160. package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +2 -2
  161. package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +1 -1
  162. package/dist/stories/shared/ui/Switcher/Switcher.stories.js +1 -1
  163. package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +1 -1
  164. package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +2 -2
  165. package/dist/stories/shared/ui/Tag/Tag.stories.js +4 -4
  166. package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
  167. package/dist/useLotCard-DG9doKCX.js +186 -0
  168. package/dist/useSortSelect-C72ddcYI.js +80 -0
  169. package/package.json +1 -1
  170. package/dist/FilterWithSave-DkVYQ7W8.js +0 -2473
  171. package/dist/index-rKuIKazb.js +0 -45
  172. package/dist/style.css +0 -1
  173. package/dist/useSortSelect-CjZXLFOG.js +0 -80
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface IMain {
3
2
  children?: React.ReactNode;
4
3
  }
@@ -1,53 +1,30 @@
1
- import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
- import { M as f } from "../../../Menu-DKuZheFD.js";
3
- import { useState as c } from "react";
4
- import "../../../components/Button/ui/Button.js";
5
- import "../../../components/mobileButton/ui/MobileButton.js";
6
- import { NewIcon as i } 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 "../../../FilterWithSave-DkVYQ7W8.js";
16
- import "../../../components/GroupedInput/ui/GroupedInputs.js";
17
- import "../../../index-rKuIKazb.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 _ = "_root_18coo_1", w = "_wrap_18coo_12", g = "_topSide_18coo_24", x = "_search_18coo_30", y = "_searchInp_18coo_43", I = "_searchIcon_18coo_63", b = "_closeBtn_18coo_69", e = {
27
- root: _,
28
- wrap: w,
29
- topSide: g,
30
- search: x,
31
- searchInp: y,
32
- searchIcon: I,
33
- closeBtn: b
34
- }, Q = () => {
35
- const [a, n] = c(!1), [l, r] = c(""), p = (o) => {
36
- r(o.target.value);
37
- }, h = (o) => {
38
- o.key === "Enter" && (window.location.href = "https://test.stone.ru");
39
- }, m = () => {
40
- n(!0);
1
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
+ import { M as w } from "../../../Menu-CdJTzN7T.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,
7
+ wrap: _,
8
+ search: g,
9
+ searchInp: x,
10
+ searchIcon: y,
11
+ closeBtn: I
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");
41
17
  }, d = () => {
18
+ o(!0);
19
+ }, f = () => {
42
20
  setTimeout(() => {
43
- var o;
44
- (o = document == null ? void 0 : document.activeElement) != null && o.classList.contains("close-button") || n(!1);
21
+ document?.activeElement?.classList.contains("close-button") || o(!1);
45
22
  }, 0);
46
- }, u = () => {
47
- r(""), n(!1);
23
+ }, p = () => {
24
+ c(""), o(!1);
48
25
  };
49
- return /* @__PURE__ */ s("nav", { className: e.root, children: [
50
- /* @__PURE__ */ s("div", { className: e.wrap, children: [
26
+ return /* @__PURE__ */ s("nav", { className: t.root, children: [
27
+ /* @__PURE__ */ s("div", { className: t.wrap, children: [
51
28
  /* @__PURE__ */ s(
52
29
  "svg",
53
30
  {
@@ -55,7 +32,7 @@ const _ = "_root_18coo_1", w = "_wrap_18coo_12", g = "_topSide_18coo_24", x = "_
55
32
  width: "200",
56
33
  height: "60",
57
34
  children: [
58
- /* @__PURE__ */ t(
35
+ /* @__PURE__ */ e(
59
36
  "rect",
60
37
  {
61
38
  width: "200",
@@ -63,7 +40,7 @@ const _ = "_root_18coo_1", w = "_wrap_18coo_12", g = "_topSide_18coo_24", x = "_
63
40
  fill: "transparent"
64
41
  }
65
42
  ),
66
- /* @__PURE__ */ t(
43
+ /* @__PURE__ */ e(
67
44
  "text",
68
45
  {
69
46
  x: "0",
@@ -74,7 +51,7 @@ const _ = "_root_18coo_1", w = "_wrap_18coo_12", g = "_topSide_18coo_24", x = "_
74
51
  children: "Stone"
75
52
  }
76
53
  ),
77
- /* @__PURE__ */ t(
54
+ /* @__PURE__ */ e(
78
55
  "rect",
79
56
  {
80
57
  x: "110",
@@ -86,7 +63,7 @@ const _ = "_root_18coo_1", w = "_wrap_18coo_12", g = "_topSide_18coo_24", x = "_
86
63
  fill: "#f90"
87
64
  }
88
65
  ),
89
- /* @__PURE__ */ t(
66
+ /* @__PURE__ */ e(
90
67
  "text",
91
68
  {
92
69
  x: "115",
@@ -101,8 +78,8 @@ const _ = "_root_18coo_1", w = "_wrap_18coo_12", g = "_topSide_18coo_24", x = "_
101
78
  ]
102
79
  }
103
80
  ),
104
- /* @__PURE__ */ s("search", { className: e.search, children: [
105
- /* @__PURE__ */ t(
81
+ /* @__PURE__ */ s("search", { className: t.search, children: [
82
+ /* @__PURE__ */ e(
106
83
  "button",
107
84
  {
108
85
  style: {
@@ -112,39 +89,39 @@ const _ = "_root_18coo_1", w = "_wrap_18coo_12", g = "_topSide_18coo_24", x = "_
112
89
  padding: "unset",
113
90
  cursor: "pointer"
114
91
  },
115
- onClick: (o) => {
116
- o.preventDefault(), window.location.href = "https://test.stone.ru";
92
+ onClick: (n) => {
93
+ n.preventDefault(), window.location.href = "https://test.stone.ru";
117
94
  },
118
- children: /* @__PURE__ */ t(
119
- i,
95
+ children: /* @__PURE__ */ e(
96
+ a,
120
97
  {
121
- additionalClass: e.searchIcon,
98
+ additionalClass: t.searchIcon,
122
99
  size: "24",
123
100
  name: "search"
124
101
  }
125
102
  )
126
103
  }
127
104
  ),
128
- /* @__PURE__ */ t(
105
+ /* @__PURE__ */ e(
129
106
  "input",
130
107
  {
131
108
  type: "text",
132
- value: l,
133
- onChange: p,
134
- onKeyDown: h,
135
- onFocus: m,
136
- onBlur: d,
137
- className: e.searchInp,
109
+ value: i,
110
+ onChange: h,
111
+ onKeyDown: u,
112
+ onFocus: d,
113
+ onBlur: f,
114
+ className: t.searchInp,
138
115
  placeholder: "Изучить stone-kit"
139
116
  }
140
117
  ),
141
- a && /* @__PURE__ */ t(
118
+ l && /* @__PURE__ */ e(
142
119
  "button",
143
120
  {
144
- onClick: u,
145
- className: `${e.closeBtn} close-button`,
146
- children: /* @__PURE__ */ t(
147
- i,
121
+ onClick: p,
122
+ className: `${t.closeBtn} close-button`,
123
+ children: /* @__PURE__ */ e(
124
+ a,
148
125
  {
149
126
  strokeWidth: "2.5",
150
127
  color: "#252525",
@@ -156,9 +133,9 @@ const _ = "_root_18coo_1", w = "_wrap_18coo_12", g = "_topSide_18coo_24", x = "_
156
133
  )
157
134
  ] })
158
135
  ] }),
159
- /* @__PURE__ */ t(f, {})
136
+ /* @__PURE__ */ e(w, {})
160
137
  ] });
161
138
  };
162
139
  export {
163
- Q as Header
140
+ C as Header
164
141
  };
@@ -1,28 +1,6 @@
1
1
  import "react/jsx-runtime";
2
- import { M as z } from "../../Menu-DKuZheFD.js";
3
- import "../../components/Button/ui/Button.js";
4
- import "../../components/mobileButton/ui/MobileButton.js";
2
+ import { M as t } from "../../Menu-CdJTzN7T.js";
5
3
  import "../../components/NewIcon/ui/NewIcon.js";
6
- import "../../components/DestinationTab/ui/DestinationTab.js";
7
- import "../../components/RoundButton/ui/RoundButton.js";
8
- import "../../components/Tag/ui/Tag.js";
9
- import "../../components/Switcher/ui/Switcher.js";
10
- import "../../components/Text/ui/Text.js";
11
- import "../../components/Flex/ui/Flex.js";
12
- import "../../components/Input/ui/Input.js";
13
- import "react";
14
- import "react-dom";
15
- import "../../FilterWithSave-DkVYQ7W8.js";
16
- import "../../components/GroupedInput/ui/GroupedInputs.js";
17
- import "../../index-rKuIKazb.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
4
  export {
27
- z as Menu
5
+ t as Menu
28
6
  };
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, a as v, S as W } from "./FilterWithSave-DkVYQ7W8.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
  };
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  interface IButtonState {
4
3
  children: React.ReactElement;
5
4
  }
@@ -1,49 +1,32 @@
1
1
  import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
2
  import W, { useState as n } from "react";
3
- import { Button as w } from "../../components/Button/ui/Button.js";
4
- import "../../components/mobileButton/ui/MobileButton.js";
3
+ import { s as a } from "../../ButtonState.module-DtW3aevR.js";
4
+ import { BUTTON_VARIANTS as w } from "../../components/Button/ui/Button.types.js";
5
5
  import { NewIcon as d, iconTypes as A } from "../../components/NewIcon/ui/NewIcon.js";
6
- import "../../components/DestinationTab/ui/DestinationTab.js";
6
+ import { Button as B } from "../../components/Button/ui/Button.js";
7
7
  import { RoundButton as g } from "../../components/RoundButton/ui/RoundButton.js";
8
- import "../../components/Tag/ui/Tag.js";
9
- import { Switcher as b } from "../../components/Switcher/ui/Switcher.js";
10
- import "../../components/Text/ui/Text.js";
11
- import "../../components/Flex/ui/Flex.js";
12
- import "../../components/Input/ui/Input.js";
13
- import "react-dom";
14
- import "../../FilterWithSave-DkVYQ7W8.js";
15
- import "../../components/GroupedInput/ui/GroupedInputs.js";
16
- import "../../index-rKuIKazb.js";
17
- import "../../components/MetroTag/ui/MetroTag.js";
18
- import "../../components/Select/ui/Select.js";
19
- import { SliderNavigation as B } from "../../components/SliderNavigation/ui/SliderNavigation.js";
20
- import "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
21
- import "../../components/TabSelect/ui/TabSelect.js";
22
8
  import { ZoomControls as y } from "../../components/ZoomControls/ui/ZoomControls.js";
23
- import "../../components/CheckBox/CheckBox.js";
24
- import "../../components/CheckBoxNew/CheckBoxNew.js";
25
- import "../../components/CheckboxSelect/ui/CheckboxSelect.js";
26
- import { s as a } from "../../ButtonState.module-DtW3aevR.js";
27
- import { BUTTON_VARIANTS as j } from "../../components/Button/ui/Button.types.js";
28
- const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", r = {
9
+ import { SliderNavigation as j } from "../../components/SliderNavigation/ui/SliderNavigation.js";
10
+ import { Switcher as b } from "../../components/Switcher/ui/Switcher.js";
11
+ const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", c = {
29
12
  root: O,
30
13
  buttonsWrapper: T
31
14
  }, V = ({ children: o }) => {
32
- const [l, c] = n("auto"), [s, f] = n("blue"), [h, z] = n(!1), [m, I] = n(null), [p, S] = n(null), [N, C] = n(null), [k, P] = n(null), u = ["12", "16", "20", "24"], _ = W.cloneElement(o, {
15
+ const [l, r] = n("auto"), [s, f] = n("blue"), [h, z] = n(!1), [m, I] = n(null), [p, S] = n(null), [N, C] = n(null), [k, P] = n(null), u = ["12", "16", "20", "24"], _ = W.cloneElement(o, {
33
16
  width: l,
34
17
  variant: s,
35
18
  isLoading: h,
36
19
  pre: m ? t(d, { name: m, size: N ?? "24" }) : null,
37
20
  post: p ? t(d, { name: p, size: k ?? "24" }) : null
38
- }), x = ["auto", "full"], L = Object.values(j), v = Object.keys(A);
39
- return i("div", { className: a.root, children: [_, i("div", { className: a.optionsWrapper, children: [t("div", { children: i("label", { children: ["Width:", t("select", { onChange: (e) => c(e.target.value), children: x.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Variants:", t("select", { onChange: (e) => f(e.target.value), children: L.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Pre Icon:", t("select", { onChange: (e) => I(e.target.value), children: v.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Post Icon:", t("select", { onChange: (e) => S(e.target.value), children: v.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Pre Icon Size:", t("select", { onChange: (e) => C(e.target.value), children: u.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Post Icon Size:", t("select", { onChange: (e) => P(e.target.value), children: u.map((e) => t("option", { value: e, children: e }, e)) })] }) }), i("label", { className: a.isLoading, children: ["isLoading", t("input", { type: "checkbox", onChange: () => z(!h) })] })] })] });
40
- }, he = () => {
41
- const [o, l] = n(!0), [c, s] = n(!1);
42
- return /* @__PURE__ */ i("div", { className: r.root, children: [
43
- /* @__PURE__ */ i("div", { className: r.clearButton, children: [
21
+ }), x = ["auto", "full"], L = Object.values(w), v = Object.keys(A);
22
+ return i("div", { className: a.root, children: [_, i("div", { className: a.optionsWrapper, children: [t("div", { children: i("label", { children: ["Width:", t("select", { onChange: (e) => r(e.target.value), children: x.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Variants:", t("select", { onChange: (e) => f(e.target.value), children: L.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Pre Icon:", t("select", { onChange: (e) => I(e.target.value), children: v.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Post Icon:", t("select", { onChange: (e) => S(e.target.value), children: v.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Pre Icon Size:", t("select", { onChange: (e) => C(e.target.value), children: u.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Post Icon Size:", t("select", { onChange: (e) => P(e.target.value), children: u.map((e) => t("option", { value: e, children: e }, e)) })] }) }), i("label", { className: a.isLoading, children: ["isLoading", t("input", { type: "checkbox", onChange: () => z(!h) })] })] })] });
23
+ }, J = () => {
24
+ const [o, l] = n(!0), [r, s] = n(!1);
25
+ return /* @__PURE__ */ i("div", { className: c.root, children: [
26
+ /* @__PURE__ */ i("div", { className: c.clearButton, children: [
44
27
  /* @__PURE__ */ t("h2", { children: "Обычная" }),
45
- /* @__PURE__ */ t("div", { className: r.buttonsWrapper, children: /* @__PURE__ */ t(V, { children: /* @__PURE__ */ t(
46
- w,
28
+ /* @__PURE__ */ t("div", { className: c.buttonsWrapper, children: /* @__PURE__ */ t(V, { children: /* @__PURE__ */ t(
29
+ B,
47
30
  {
48
31
  as: "button",
49
32
  size: "large",
@@ -52,9 +35,9 @@ const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", r = {
52
35
  }
53
36
  ) }) })
54
37
  ] }),
55
- /* @__PURE__ */ i("div", { className: r.clearButton, children: [
38
+ /* @__PURE__ */ i("div", { className: c.clearButton, children: [
56
39
  /* @__PURE__ */ t("h2", { children: "Круглая" }),
57
- /* @__PURE__ */ i("div", { className: r.buttonsWrapper, children: [
40
+ /* @__PURE__ */ i("div", { className: c.buttonsWrapper, children: [
58
41
  /* @__PURE__ */ t(
59
42
  g,
60
43
  {
@@ -100,7 +83,7 @@ const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", r = {
100
83
  /* @__PURE__ */ i("div", { children: [
101
84
  /* @__PURE__ */ t("h2", { children: "Слайдер" }),
102
85
  /* @__PURE__ */ t(
103
- B,
86
+ j,
104
87
  {
105
88
  goNext: () => {
106
89
  },
@@ -122,13 +105,13 @@ const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", r = {
122
105
  /* @__PURE__ */ t(
123
106
  b,
124
107
  {
125
- isActive: c,
126
- onClick: () => s(!c),
108
+ isActive: r,
109
+ onClick: () => s(!r),
127
110
  children: "В продаже"
128
111
  }
129
112
  )
130
113
  ] });
131
114
  };
132
115
  export {
133
- he as ButtonsPage
116
+ J as ButtonsPage
134
117
  };
@@ -1,58 +1,34 @@
1
- import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
- import { useState as e } from "react";
3
- import { M as n } from "../../FilterWithSave-DkVYQ7W8.js";
4
- import { Button as s } from "../../components/Button/ui/Button.js";
5
- import "../../components/mobileButton/ui/MobileButton.js";
6
- import "../../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 "../../components/GroupedInput/ui/GroupedInputs.js";
16
- import "../../index-rKuIKazb.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 { ModalSuccess as l } from "../../components/ModalSuccess/ModalSuccess.js";
23
- import "../../components/CheckBox/CheckBox.js";
24
- import "../../components/CheckBoxNew/CheckBoxNew.js";
25
- import "../../components/CheckboxSelect/ui/CheckboxSelect.js";
26
- const c = "_root_kl5jx_1", u = "_tabsShort_kl5jx_7", d = "_tabSelectWrapper_kl5jx_11", b = "_destinationWrapper_kl5jx_15", _ = "_bbb_kl5jx_22", S = {
27
- root: c,
28
- tabsShort: u,
29
- tabSelectWrapper: d,
30
- destinationWrapper: b,
31
- bbb: _
32
- }, D = () => {
33
- const [i, o] = e(!1), [p, r] = e(!0);
34
- return /* @__PURE__ */ a("div", { className: S.root, children: [
35
- /* @__PURE__ */ t(
36
- s,
1
+ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
+ import { useState as t } from "react";
3
+ import { ModalForm as u } from "../../components/FormModal/ui/ModalForm.js";
4
+ import { Button as r } from "../../components/Button/ui/Button.js";
5
+ import { ModalSuccess as a } from "../../components/ModalSuccess/ModalSuccess.js";
6
+ const m = "_root_kl5jx_1", d = {
7
+ root: m
8
+ }, F = () => {
9
+ const [i, e] = t(!1), [l, s] = t(!0);
10
+ return /* @__PURE__ */ c("div", { className: d.root, children: [
11
+ /* @__PURE__ */ o(
12
+ r,
37
13
  {
38
14
  as: "button",
39
- onClick: () => o(!0),
15
+ onClick: () => e(!0),
40
16
  children: "ModalForm"
41
17
  }
42
18
  ),
43
- /* @__PURE__ */ t(
44
- s,
19
+ /* @__PURE__ */ o(
20
+ r,
45
21
  {
46
22
  as: "button",
47
- onClick: () => r(!0),
23
+ onClick: () => s(!0),
48
24
  children: "ModalSucceess"
49
25
  }
50
26
  ),
51
- /* @__PURE__ */ t(
52
- n,
27
+ /* @__PURE__ */ o(
28
+ u,
53
29
  {
54
- submitHandler: (m) => {
55
- console.log(m);
30
+ submitHandler: (n) => {
31
+ console.log(n);
56
32
  },
57
33
  isEmail: !0,
58
34
  subTitle: "Оставьте номер телефона для получения консультации",
@@ -64,18 +40,18 @@ const c = "_root_kl5jx_1", u = "_tabsShort_kl5jx_7", d = "_tabSelectWrapper_kl5j
64
40
  isFormOpen: i,
65
41
  isNews: !0,
66
42
  advCheckBox: null,
67
- setIsFormOpen: o
43
+ setIsFormOpen: e
68
44
  }
69
45
  ),
70
- /* @__PURE__ */ t(
71
- l,
46
+ /* @__PURE__ */ o(
47
+ a,
72
48
  {
73
- isSuccessOpen: p,
74
- setIsSuccess: r
49
+ isSuccessOpen: l,
50
+ setIsSuccess: s
75
51
  }
76
52
  )
77
53
  ] });
78
54
  };
79
55
  export {
80
- D as default
56
+ F as default
81
57
  };