stone-kit 0.0.1028 → 0.0.1030

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 (177) hide show
  1. package/dist/App.js +1 -1
  2. package/dist/FilterWithSave-BWA01WwU.js +2476 -0
  3. package/dist/{Menu-CdJTzN7T.js → Menu-CeBSiTyP.js} +176 -157
  4. package/dist/{Option-rFBMQAPk.js → Option-DU8cvBnA.js} +1 -1
  5. package/dist/Router.js +1 -1
  6. package/dist/components/Button/ui/Button.d.ts +1 -0
  7. package/dist/components/Button/ui/Button.js +1 -1
  8. package/dist/components/Button/ui/Button.types.d.ts +1 -0
  9. package/dist/components/CheckBox/CheckBox.d.ts +1 -0
  10. package/dist/components/CheckBox/CheckBox.js +1 -1
  11. package/dist/components/CheckBox/CheckBox.types.d.ts +1 -0
  12. package/dist/components/CheckBoxNew/CheckBox.types.d.ts +1 -0
  13. package/dist/components/CheckBoxNew/CheckBoxNew.d.ts +1 -0
  14. package/dist/components/CheckBoxNew/CheckBoxNew.js +17 -17
  15. package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +1 -0
  16. package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +34 -34
  17. package/dist/components/CommercialLotCard/CommercialLotCard.d.ts +1 -0
  18. package/dist/components/CommercialLotCard/CommercialLotCard.js +7 -50
  19. package/dist/components/CommercialLotCard/components/Price/Price.d.ts +1 -0
  20. package/dist/components/CommercialLotCard/components/Price/Price.js +24 -23
  21. package/dist/components/CommercialLotCard/components/Snippets/Snippets.d.ts +1 -0
  22. package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +27 -98
  23. package/dist/components/CommercialLotCard/components/Tags/Tags.d.ts +1 -0
  24. package/dist/components/CommercialLotCard/components/Tags/Tags.js +17 -17
  25. package/dist/components/CommercialLotCard/types/CommercialLotCard.types.d.ts +1 -0
  26. package/dist/components/CommercialLotCard/types/LotCard.d.ts +1 -0
  27. package/dist/components/CommercialLotCard/utils/formatPrice.js +2 -1
  28. package/dist/components/CommercialLotCard/utils/getTagsFeatures.d.ts +2 -1
  29. package/dist/components/DestinationTab/ui/DestinationTab.d.ts +1 -0
  30. package/dist/components/DestinationTab/ui/DestinationTab.js +41 -41
  31. package/dist/components/DestinationTab/ui/DestinationTab.types.d.ts +1 -0
  32. package/dist/components/FieldInput/ui/FieldInput.d.ts +1 -0
  33. package/dist/components/FieldInput/ui/FieldInput.types.d.ts +1 -0
  34. package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +1 -0
  35. package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +26 -54
  36. package/dist/components/FilterWithSave/ui/FilterWithSave.d.ts +1 -0
  37. package/dist/components/FilterWithSave/ui/FilterWithSave.js +7 -328
  38. package/dist/components/Flex/ui/Flex.d.ts +1 -0
  39. package/dist/components/Flex/ui/Flex.js +1 -1
  40. package/dist/components/Flex/ui/Flex.types.d.ts +1 -0
  41. package/dist/components/FormModal/ui/ModalForm.js +28 -1430
  42. package/dist/components/GroupedInput/ui/GroupedInputs.d.ts +1 -0
  43. package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
  44. package/dist/components/GroupedInput/ui/GroupedInputs.types.d.ts +1 -0
  45. package/dist/components/Input/ui/Input.d.ts +2 -1
  46. package/dist/components/Input/ui/Input.js +304 -234
  47. package/dist/components/Logo/ui/Logo.d.ts +1 -0
  48. package/dist/components/Logo/ui/Logo.js +6 -6
  49. package/dist/components/LotCard/hooks/useLotCard.d.ts +1 -0
  50. package/dist/components/LotCard/hooks/useLotCard.js +24 -6
  51. package/dist/components/LotCard/index.js +2 -2
  52. package/dist/components/LotCard/ui/LotCard.d.ts +1 -0
  53. package/dist/components/LotCard/ui/LotCard.js +10 -213
  54. package/dist/components/LotCard/ui/LotCard.types.d.ts +1 -0
  55. package/dist/components/LotCard/utils/formatPrice.js +2 -1
  56. package/dist/components/LotCard/utils/getTagsFeatures.d.ts +2 -1
  57. package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +1 -1
  58. package/dist/components/MetroLabel/ui/MetroLabel.d.ts +1 -0
  59. package/dist/components/MetroLabel/ui/MetroLabel.js +16 -16
  60. package/dist/components/MetroLabel/ui/MetroLabel.types.d.ts +1 -0
  61. package/dist/components/MetroTag/ui/MetroTag.d.ts +1 -0
  62. package/dist/components/MetroTag/ui/MetroTag.js +74 -74
  63. package/dist/components/MetroTag/ui/MetroTag.types.d.ts +1 -0
  64. package/dist/components/Modal/ui/Modal.d.ts +1 -0
  65. package/dist/components/Modal/ui/Modal.js +37 -34
  66. package/dist/components/Modal/ui/Modal.types.d.ts +1 -0
  67. package/dist/components/ModalSuccess/ModalSuccess.d.ts +1 -0
  68. package/dist/components/ModalSuccess/ModalSuccess.js +19 -18
  69. package/dist/components/ModalSuccess/ModalSuccess.types.d.ts +1 -0
  70. package/dist/components/NewIcon/icons/PinTrans.d.ts +1 -0
  71. package/dist/components/NewIcon/icons/SmallFilter.d.ts +1 -0
  72. package/dist/components/NewIcon/ui/NewIcon.d.ts +1 -0
  73. package/dist/components/NewIcon/ui/NewIcon.js +3 -3
  74. package/dist/components/NewIcon/ui/NewIcon.types.d.ts +1 -0
  75. package/dist/components/NewIcon/ui/iconTypes.d.ts +1 -0
  76. package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +11 -9
  77. package/dist/components/RoundButton/ui/RoundButton.d.ts +1 -0
  78. package/dist/components/RoundButton/ui/RoundButton.js +2 -2
  79. package/dist/components/RoundButton/ui/RoundButton.types.d.ts +1 -0
  80. package/dist/components/Select/model/selectMode.d.ts +1 -0
  81. package/dist/components/Select/model/selectMode.js +30 -30
  82. package/dist/components/Select/ui/Category.d.ts +1 -0
  83. package/dist/components/Select/ui/Category.js +3 -3
  84. package/dist/components/Select/ui/Option.d.ts +1 -0
  85. package/dist/components/Select/ui/Option.js +2 -2
  86. package/dist/components/Select/ui/Select.d.ts +1 -0
  87. package/dist/components/Select/ui/Select.js +115 -115
  88. package/dist/components/SliderNavigation/index.d.ts +1 -0
  89. package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +1 -0
  90. package/dist/components/SliderNavigation/ui/SliderNavigation.js +6 -6
  91. package/dist/components/SortSelect/hooks/useSortSelect.d.ts +2 -1
  92. package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
  93. package/dist/components/SortSelect/index.js +1 -1
  94. package/dist/components/SortSelect/ui/SortSelect.d.ts +1 -0
  95. package/dist/components/SortSelect/ui/SortSelect.js +26 -108
  96. package/dist/components/SortSelect/ui/SortSelect.types.d.ts +1 -0
  97. package/dist/components/SummarySelect/ui/SummarySelect.d.ts +1 -0
  98. package/dist/components/SummarySelect/ui/SummarySelect.js +65 -59
  99. package/dist/components/Switcher/ui/Switcher.d.ts +1 -0
  100. package/dist/components/Switcher/ui/Switcher.js +1 -1
  101. package/dist/components/Switcher/ui/Switcher.types.d.ts +1 -0
  102. package/dist/components/TabSelect/ui/TabSelect.d.ts +13 -7
  103. package/dist/components/TabSelect/ui/TabSelect.js +42 -37
  104. package/dist/components/TabSwitcher/index.js +2 -2
  105. package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +5 -3
  106. package/dist/components/TabSwitcher/ui/TabSwitcher.js +26 -118
  107. package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +2 -1
  108. package/dist/components/Tag/ui/Tag.d.ts +1 -0
  109. package/dist/components/Tag/ui/Tag.js +91 -91
  110. package/dist/components/Tag/ui/Tag.types.d.ts +1 -0
  111. package/dist/components/Text/ui/Text.d.ts +1 -0
  112. package/dist/components/Text/ui/Text.js +1 -1
  113. package/dist/components/Text/ui/Text.types.d.ts +1 -0
  114. package/dist/components/TextArea/TextArea.d.ts +9 -0
  115. package/dist/components/TextArea/TextArea.js +18 -12
  116. package/dist/components/ZoomControls/ui/ZoomControls.d.ts +1 -0
  117. package/dist/components/ZoomControls/ui/ZoomControls.types.d.ts +1 -0
  118. package/dist/components/mobileButton/ui/MobileButton.d.ts +1 -0
  119. package/dist/components/mobileButton/ui/MobileButton.js +1 -1
  120. package/dist/components/mobileButton/ui/MobileButton.types.d.ts +1 -0
  121. package/dist/{index-CBdtKu-u.js → index-DmANy9jd.js} +271 -272
  122. package/dist/{index-3E04UaC2.js → index-DvCs2JPX.js} +9629 -9529
  123. package/dist/index-rKuIKazb.js +45 -0
  124. package/dist/layout/Layout.d.ts +1 -0
  125. package/dist/layout/components/Header/Header.js +71 -48
  126. package/dist/layout/components/Menu.js +24 -2
  127. package/dist/main.js +65 -70
  128. package/dist/pages/ButtonsPage/Buttons.js +63 -57
  129. package/dist/pages/FormsPage/FormsPage.js +50 -26
  130. package/dist/pages/IconsPage/IconsPage.js +31 -9
  131. package/dist/pages/InputPage/InputPage.js +32 -10
  132. package/dist/pages/LogoPage/LogoPage.js +35 -13
  133. package/dist/pages/LotsPage/LotsPage.js +17 -18
  134. package/dist/pages/LotsPage/const.d.ts +1 -0
  135. package/dist/pages/ModalsPage/ModalPage.js +66 -46
  136. package/dist/pages/SelectPage/SelectPage.js +58 -58
  137. package/dist/pages/TabsPage/TabsPage.js +20 -19
  138. package/dist/pages/TagsPage/TagsPage.js +44 -23
  139. package/dist/shared/checkLargeOffice.d.ts +1 -0
  140. package/dist/shared/checkLargeOffice.js +1 -1
  141. package/dist/shared/mlnRound.js +2 -1
  142. package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +2 -2
  143. package/dist/stories/shared/ui/Button/Button.stories.js +5 -5
  144. package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +1 -1
  145. package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +1 -1
  146. package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +1 -1
  147. package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +1 -1
  148. package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +1 -1
  149. package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +2 -2
  150. package/dist/stories/shared/ui/FormModal/FormModal.stories.js +8 -8
  151. package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +1 -1
  152. package/dist/stories/shared/ui/Logo/Logo.stories.js +1 -1
  153. package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +1 -1
  154. package/dist/stories/shared/ui/Modal/Modal.stories.js +1 -1
  155. package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +1 -1
  156. package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +1 -1
  157. package/dist/stories/shared/ui/Select/Select.stories.js +1 -1
  158. package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +1 -1
  159. package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +2 -2
  160. package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +1 -1
  161. package/dist/stories/shared/ui/Switcher/Switcher.stories.js +1 -1
  162. package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +1 -1
  163. package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +2 -2
  164. package/dist/stories/shared/ui/Tag/Tag.stories.js +4 -4
  165. package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
  166. package/dist/style.css +1 -0
  167. package/dist/useSortSelect-BTCEVMVn.js +80 -0
  168. package/package.json +22 -31
  169. package/dist/ButtonState.module-DtW3aevR.js +0 -8
  170. package/dist/components/TextArea/TextArea.types.d.ts +0 -10
  171. package/dist/components/TextArea/TextArea.types.js +0 -1
  172. package/dist/index-B2JRaoNz.js +0 -48
  173. package/dist/pages/ButtonsPage/ButtonState/ButtonState.d.ts +0 -6
  174. package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +0 -121
  175. package/dist/stone-kit.css +0 -1
  176. package/dist/useLotCard-DG9doKCX.js +0 -186
  177. package/dist/useSortSelect-C72ddcYI.js +0 -80
@@ -0,0 +1,45 @@
1
+ function u(e) {
2
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3
+ }
4
+ var a = { exports: {} };
5
+ /*!
6
+ Copyright (c) 2018 Jed Watson.
7
+ Licensed under the MIT License (MIT), see
8
+ http://jedwatson.github.io/classnames
9
+ */
10
+ (function(e) {
11
+ (function() {
12
+ var f = {}.hasOwnProperty;
13
+ function s() {
14
+ for (var t = "", r = 0; r < arguments.length; r++) {
15
+ var n = arguments[r];
16
+ n && (t = o(t, i(n)));
17
+ }
18
+ return t;
19
+ }
20
+ function i(t) {
21
+ if (typeof t == "string" || typeof t == "number")
22
+ return t;
23
+ if (typeof t != "object")
24
+ return "";
25
+ if (Array.isArray(t))
26
+ return s.apply(null, t);
27
+ if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
28
+ return t.toString();
29
+ var r = "";
30
+ for (var n in t)
31
+ f.call(t, n) && t[n] && (r = o(r, n));
32
+ return r;
33
+ }
34
+ function o(t, r) {
35
+ return r ? t ? t + " " + r : t + r : t;
36
+ }
37
+ e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
38
+ })();
39
+ })(a);
40
+ var c = a.exports;
41
+ const p = /* @__PURE__ */ u(c);
42
+ export {
43
+ p as c,
44
+ u as g
45
+ };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface IMain {
2
3
  children?: React.ReactNode;
3
4
  }
@@ -1,30 +1,53 @@
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");
1
+ import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
+ import { M as f } from "../../../Menu-CeBSiTyP.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-BWA01WwU.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);
17
41
  }, d = () => {
18
- o(!0);
19
- }, f = () => {
20
42
  setTimeout(() => {
21
- document?.activeElement?.classList.contains("close-button") || o(!1);
43
+ var o;
44
+ (o = document == null ? void 0 : document.activeElement) != null && o.classList.contains("close-button") || n(!1);
22
45
  }, 0);
23
- }, p = () => {
24
- c(""), o(!1);
46
+ }, u = () => {
47
+ r(""), n(!1);
25
48
  };
26
- return /* @__PURE__ */ s("nav", { className: t.root, children: [
27
- /* @__PURE__ */ s("div", { className: t.wrap, children: [
49
+ return /* @__PURE__ */ s("nav", { className: e.root, children: [
50
+ /* @__PURE__ */ s("div", { className: e.wrap, children: [
28
51
  /* @__PURE__ */ s(
29
52
  "svg",
30
53
  {
@@ -32,7 +55,7 @@ const m = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
32
55
  width: "200",
33
56
  height: "60",
34
57
  children: [
35
- /* @__PURE__ */ e(
58
+ /* @__PURE__ */ t(
36
59
  "rect",
37
60
  {
38
61
  width: "200",
@@ -40,7 +63,7 @@ const m = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
40
63
  fill: "transparent"
41
64
  }
42
65
  ),
43
- /* @__PURE__ */ e(
66
+ /* @__PURE__ */ t(
44
67
  "text",
45
68
  {
46
69
  x: "0",
@@ -51,7 +74,7 @@ const m = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
51
74
  children: "Stone"
52
75
  }
53
76
  ),
54
- /* @__PURE__ */ e(
77
+ /* @__PURE__ */ t(
55
78
  "rect",
56
79
  {
57
80
  x: "110",
@@ -63,7 +86,7 @@ const m = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
63
86
  fill: "#f90"
64
87
  }
65
88
  ),
66
- /* @__PURE__ */ e(
89
+ /* @__PURE__ */ t(
67
90
  "text",
68
91
  {
69
92
  x: "115",
@@ -78,8 +101,8 @@ const m = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
78
101
  ]
79
102
  }
80
103
  ),
81
- /* @__PURE__ */ s("search", { className: t.search, children: [
82
- /* @__PURE__ */ e(
104
+ /* @__PURE__ */ s("search", { className: e.search, children: [
105
+ /* @__PURE__ */ t(
83
106
  "button",
84
107
  {
85
108
  style: {
@@ -89,39 +112,39 @@ const m = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
89
112
  padding: "unset",
90
113
  cursor: "pointer"
91
114
  },
92
- onClick: (n) => {
93
- n.preventDefault(), window.location.href = "https://test.stone.ru";
115
+ onClick: (o) => {
116
+ o.preventDefault(), window.location.href = "https://test.stone.ru";
94
117
  },
95
- children: /* @__PURE__ */ e(
96
- a,
118
+ children: /* @__PURE__ */ t(
119
+ i,
97
120
  {
98
- additionalClass: t.searchIcon,
121
+ additionalClass: e.searchIcon,
99
122
  size: "24",
100
123
  name: "search"
101
124
  }
102
125
  )
103
126
  }
104
127
  ),
105
- /* @__PURE__ */ e(
128
+ /* @__PURE__ */ t(
106
129
  "input",
107
130
  {
108
131
  type: "text",
109
- value: i,
110
- onChange: h,
111
- onKeyDown: u,
112
- onFocus: d,
113
- onBlur: f,
114
- className: t.searchInp,
132
+ value: l,
133
+ onChange: p,
134
+ onKeyDown: h,
135
+ onFocus: m,
136
+ onBlur: d,
137
+ className: e.searchInp,
115
138
  placeholder: "Изучить stone-kit"
116
139
  }
117
140
  ),
118
- l && /* @__PURE__ */ e(
141
+ a && /* @__PURE__ */ t(
119
142
  "button",
120
143
  {
121
- onClick: p,
122
- className: `${t.closeBtn} close-button`,
123
- children: /* @__PURE__ */ e(
124
- a,
144
+ onClick: u,
145
+ className: `${e.closeBtn} close-button`,
146
+ children: /* @__PURE__ */ t(
147
+ i,
125
148
  {
126
149
  strokeWidth: "2.5",
127
150
  color: "#252525",
@@ -133,9 +156,9 @@ const m = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
133
156
  )
134
157
  ] })
135
158
  ] }),
136
- /* @__PURE__ */ e(w, {})
159
+ /* @__PURE__ */ t(f, {})
137
160
  ] });
138
161
  };
139
162
  export {
140
- C as Header
163
+ Q as Header
141
164
  };
@@ -1,6 +1,28 @@
1
1
  import "react/jsx-runtime";
2
- import { M as t } from "../../Menu-CdJTzN7T.js";
2
+ import { M as z } from "../../Menu-CeBSiTyP.js";
3
+ import "../../components/Button/ui/Button.js";
4
+ import "../../components/mobileButton/ui/MobileButton.js";
3
5
  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-BWA01WwU.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";
4
26
  export {
5
- t as Menu
27
+ z as Menu
6
28
  };
package/dist/main.js CHANGED
@@ -1,72 +1,67 @@
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";
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-BWA01WwU.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";
36
31
  export {
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
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
72
67
  };
@@ -1,51 +1,57 @@
1
- import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
- import W, { useState as n } from "react";
3
- import { s as a } from "../../ButtonState.module-DtW3aevR.js";
4
- import { BUTTON_VARIANTS as w } from "../../components/Button/ui/Button.types.js";
5
- import { NewIcon as d, iconTypes as A } from "../../components/NewIcon/ui/NewIcon.js";
6
- import { Button as B } from "../../components/Button/ui/Button.js";
7
- import { RoundButton as g } from "../../components/RoundButton/ui/RoundButton.js";
8
- import { ZoomControls as y } from "../../components/ZoomControls/ui/ZoomControls.js";
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 = {
12
- root: O,
13
- buttonsWrapper: T
14
- }, V = ({ children: 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, {
16
- width: l,
17
- variant: s,
18
- isLoading: h,
19
- pre: m ? t(d, { name: m, size: N ?? "24" }) : null,
20
- post: p ? t(d, { name: p, size: k ?? "24" }) : null
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: [
27
- /* @__PURE__ */ t("h2", { children: "Обычная" }),
28
- /* @__PURE__ */ t("div", { className: c.buttonsWrapper, children: /* @__PURE__ */ t(V, { children: /* @__PURE__ */ t(
29
- B,
1
+ import { jsxs as t, jsx as i } from "react/jsx-runtime";
2
+ import { useState as m } from "react";
3
+ import { Button as a } from "../../components/Button/ui/Button.js";
4
+ import "../../components/mobileButton/ui/MobileButton.js";
5
+ import { NewIcon as p } from "../../components/NewIcon/ui/NewIcon.js";
6
+ import "../../components/DestinationTab/ui/DestinationTab.js";
7
+ import { RoundButton as s } from "../../components/RoundButton/ui/RoundButton.js";
8
+ import "../../components/Tag/ui/Tag.js";
9
+ import { Switcher as c } 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-BWA01WwU.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 d } from "../../components/SliderNavigation/ui/SliderNavigation.js";
20
+ import "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
21
+ import "../../components/TabSelect/ui/TabSelect.js";
22
+ import { ZoomControls as h } 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
+ const u = "_root_iex42_1", v = "_buttonsWrapper_iex42_11", r = {
27
+ root: u,
28
+ buttonsWrapper: v
29
+ }, G = () => {
30
+ const [o, e] = m(!0), [n, l] = m(!1);
31
+ return /* @__PURE__ */ t("div", { className: r.root, children: [
32
+ /* @__PURE__ */ t("div", { className: r.clearButton, children: [
33
+ /* @__PURE__ */ i("h2", { children: "Обычная" }),
34
+ /* @__PURE__ */ i("div", { className: r.buttonsWrapper, children: /* @__PURE__ */ i(
35
+ a,
30
36
  {
31
37
  as: "button",
32
38
  size: "large",
33
39
  variant: "blue",
34
40
  children: "Приветики"
35
41
  }
36
- ) }) })
42
+ ) })
37
43
  ] }),
38
- /* @__PURE__ */ i("div", { className: c.clearButton, children: [
39
- /* @__PURE__ */ t("h2", { children: "Круглая" }),
40
- /* @__PURE__ */ i("div", { className: c.buttonsWrapper, children: [
41
- /* @__PURE__ */ t(
42
- g,
44
+ /* @__PURE__ */ t("div", { className: r.clearButton, children: [
45
+ /* @__PURE__ */ i("h2", { children: "Круглая" }),
46
+ /* @__PURE__ */ t("div", { className: r.buttonsWrapper, children: [
47
+ /* @__PURE__ */ i(
48
+ s,
43
49
  {
44
50
  variant: o ? "blackFill" : "whiteStroke",
45
51
  size: "tiny",
46
- onClick: () => l(!o),
47
- children: /* @__PURE__ */ t(
48
- d,
52
+ onClick: () => e(!o),
53
+ children: /* @__PURE__ */ i(
54
+ p,
49
55
  {
50
56
  name: "close",
51
57
  size: "12",
@@ -54,23 +60,23 @@ const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", c = {
54
60
  )
55
61
  }
56
62
  ),
57
- /* @__PURE__ */ t(
58
- g,
63
+ /* @__PURE__ */ i(
64
+ s,
59
65
  {
60
66
  iconName: "close",
61
67
  variant: o ? "blackFill" : "whiteStroke",
62
68
  deg: "90",
63
69
  size: "tiny",
64
70
  size_l: "small",
65
- onClick: () => l(!o)
71
+ onClick: () => e(!o)
66
72
  }
67
73
  )
68
74
  ] })
69
75
  ] }),
70
- /* @__PURE__ */ i("div", { children: [
71
- /* @__PURE__ */ t("h2", { children: "Зум" }),
72
- /* @__PURE__ */ t(
73
- y,
76
+ /* @__PURE__ */ t("div", { children: [
77
+ /* @__PURE__ */ i("h2", { children: "Зум" }),
78
+ /* @__PURE__ */ i(
79
+ h,
74
80
  {
75
81
  size: "medium",
76
82
  zoomIn: () => {
@@ -80,10 +86,10 @@ const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", c = {
80
86
  }
81
87
  )
82
88
  ] }),
83
- /* @__PURE__ */ i("div", { children: [
84
- /* @__PURE__ */ t("h2", { children: "Слайдер" }),
85
- /* @__PURE__ */ t(
86
- j,
89
+ /* @__PURE__ */ t("div", { children: [
90
+ /* @__PURE__ */ i("h2", { children: "Слайдер" }),
91
+ /* @__PURE__ */ i(
92
+ d,
87
93
  {
88
94
  goNext: () => {
89
95
  },
@@ -94,24 +100,24 @@ const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", c = {
94
100
  }
95
101
  )
96
102
  ] }),
97
- /* @__PURE__ */ t(
98
- b,
103
+ /* @__PURE__ */ i(
104
+ c,
99
105
  {
100
106
  isActive: o,
101
- onClick: () => l(!o),
107
+ onClick: () => e(!o),
102
108
  children: "В продаже"
103
109
  }
104
110
  ),
105
- /* @__PURE__ */ t(
106
- b,
111
+ /* @__PURE__ */ i(
112
+ c,
107
113
  {
108
- isActive: r,
109
- onClick: () => s(!r),
114
+ isActive: n,
115
+ onClick: () => l(!n),
110
116
  children: "В продаже"
111
117
  }
112
118
  )
113
119
  ] });
114
120
  };
115
121
  export {
116
- J as ButtonsPage
122
+ G as ButtonsPage
117
123
  };