stone-kit 0.0.1106 → 0.0.1107

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 (271) hide show
  1. package/README.md +30 -0
  2. package/dist/App.d.ts +2 -0
  3. package/dist/App.js +10 -0
  4. package/dist/Option-DmDx_xOt.js +99 -0
  5. package/dist/PinTrans-D6OZq76b.js +10 -0
  6. package/dist/Router.d.ts +2 -0
  7. package/dist/Router.js +103 -0
  8. package/dist/SmallFilter-C-VKnbkP.js +10 -0
  9. package/dist/chunk-4WY6JWTD-BeveLKf_.js +1582 -0
  10. package/dist/components/Button/ui/Button.d.ts +1 -2
  11. package/dist/components/Button/ui/Button.js +74 -67
  12. package/dist/components/Button/ui/Button.types.d.ts +7 -5
  13. package/dist/components/Button/ui/Button.types.js +5 -3
  14. package/dist/components/CheckBox/CheckBox.d.ts +2 -0
  15. package/dist/components/CheckBox/CheckBox.js +84 -0
  16. package/dist/components/CheckBox/CheckBox.types.d.ts +17 -0
  17. package/dist/components/CheckBox/CheckBox.types.js +1 -0
  18. package/dist/components/CheckBox/index.d.ts +2 -0
  19. package/dist/components/CheckBox/index.js +4 -0
  20. package/dist/components/CheckBoxNew/CheckBox.types.d.ts +16 -0
  21. package/dist/components/CheckBoxNew/CheckBox.types.js +6 -0
  22. package/dist/components/CheckBoxNew/CheckBoxNew.d.ts +11 -0
  23. package/dist/components/CheckBoxNew/CheckBoxNew.js +45 -0
  24. package/dist/components/CheckboxSelect/index.d.ts +1 -0
  25. package/dist/components/CheckboxSelect/index.js +4 -0
  26. package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +18 -0
  27. package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +57 -0
  28. package/dist/components/CommercialLotCard/CommercialLotCard.d.ts +2 -0
  29. package/dist/components/CommercialLotCard/CommercialLotCard.js +81 -0
  30. package/dist/components/CommercialLotCard/components/PaymentLink/PaymentLink.d.ts +6 -0
  31. package/dist/components/CommercialLotCard/components/PaymentLink/PaymentLink.js +21 -0
  32. package/dist/components/CommercialLotCard/components/Price/Price.d.ts +9 -0
  33. package/dist/components/CommercialLotCard/components/Price/Price.js +39 -0
  34. package/dist/components/CommercialLotCard/components/Snippets/Snippets.d.ts +6 -0
  35. package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +100 -0
  36. package/dist/components/CommercialLotCard/components/Tags/Tags.d.ts +7 -0
  37. package/dist/components/CommercialLotCard/components/Tags/Tags.js +37 -0
  38. package/dist/components/CommercialLotCard/types/CommercialLotCard.types.d.ts +10 -0
  39. package/dist/components/CommercialLotCard/types/CommercialLotCard.types.js +1 -0
  40. package/dist/components/CommercialLotCard/types/LotCard.d.ts +386 -0
  41. package/dist/components/CommercialLotCard/types/LotCard.js +1 -0
  42. package/dist/components/CommercialLotCard/utils/formatPrice.d.ts +1 -0
  43. package/dist/components/CommercialLotCard/utils/formatPrice.js +8 -0
  44. package/dist/components/CommercialLotCard/utils/getTagsFeatures.d.ts +4 -0
  45. package/dist/components/CommercialLotCard/utils/getTagsFeatures.js +13 -0
  46. package/dist/components/DestinationTab/ui/DestinationTab.d.ts +0 -1
  47. package/dist/components/DestinationTab/ui/DestinationTab.js +41 -41
  48. package/dist/components/DestinationTab/ui/DestinationTab.types.d.ts +0 -1
  49. package/dist/components/FavoriteIcon/FavoriteIcon.d.ts +7 -0
  50. package/dist/components/FavoriteIcon/FavoriteIcon.js +66 -0
  51. package/dist/components/FavoriteIcon/Heart.d.ts +3 -0
  52. package/dist/components/FavoriteIcon/Heart.js +24 -0
  53. package/dist/components/FavoriteIcon/HeartFilled.d.ts +5 -0
  54. package/dist/components/FavoriteIcon/HeartFilled.js +27 -0
  55. package/dist/components/FieldInput/ui/FieldInput.d.ts +1 -2
  56. package/dist/components/FieldInput/ui/FieldInput.js +28 -7
  57. package/dist/components/FieldInput/ui/FieldInput.types.d.ts +3 -1
  58. package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +43 -0
  59. package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +56 -0
  60. package/dist/components/FilterWithSave/ui/FilterWithSave.d.ts +29 -0
  61. package/dist/components/FilterWithSave/ui/FilterWithSave.js +325 -0
  62. package/dist/components/Flex/ui/Flex.d.ts +0 -1
  63. package/dist/components/Flex/ui/Flex.js +1 -1
  64. package/dist/components/Flex/ui/Flex.types.d.ts +0 -1
  65. package/dist/components/FormModal/ui/ModalForm.d.ts +60 -0
  66. package/dist/components/FormModal/ui/ModalForm.js +1518 -0
  67. package/dist/components/FormModal/utils/reg.d.ts +4 -0
  68. package/dist/components/FormModal/utils/reg.js +6 -0
  69. package/dist/components/GroupedInput/ui/GroupedInputs.d.ts +0 -1
  70. package/dist/components/GroupedInput/ui/GroupedInputs.js +5 -5
  71. package/dist/components/GroupedInput/ui/GroupedInputs.types.d.ts +0 -1
  72. package/dist/components/Input/ui/Input.d.ts +28 -0
  73. package/dist/components/Input/ui/Input.js +3247 -49
  74. package/dist/components/Input/ui/Input.types.d.ts +0 -23
  75. package/dist/components/Input/ui/Input.types.js +1 -7
  76. package/dist/components/Logo/ui/Logo.d.ts +1 -2
  77. package/dist/components/Logo/ui/Logo.js +58 -33
  78. package/dist/components/Logo/ui/Logo.types.d.ts +13 -1
  79. package/dist/components/Logo/ui/Logo.types.js +14 -1
  80. package/dist/components/LotCard/hooks/useLotCard.d.ts +25 -0
  81. package/dist/components/LotCard/hooks/useLotCard.js +13 -0
  82. package/dist/components/LotCard/ui/LotCard.d.ts +1 -2
  83. package/dist/components/LotCard/ui/LotCard.js +203 -104
  84. package/dist/components/LotCard/ui/LotCard.types.d.ts +234 -75
  85. package/dist/components/LotCard/utils/checkBedroomsCount.js +2 -2
  86. package/dist/components/LotCard/utils/const.d.ts +8 -0
  87. package/dist/components/LotCard/utils/const.js +11 -0
  88. package/dist/components/LotCard/utils/formatPrice.d.ts +1 -1
  89. package/dist/components/LotCard/utils/formatPrice.js +5 -6
  90. package/dist/components/LotCard/utils/getTagsFeatures.d.ts +4 -0
  91. package/dist/components/LotCard/utils/getTagsFeatures.js +13 -0
  92. package/dist/components/LotCard/utils/monthlyPayment.d.ts +1 -0
  93. package/dist/components/LotCard/utils/monthlyPayment.js +4 -0
  94. package/dist/components/LotCardSkeleton/index.d.ts +1 -0
  95. package/dist/components/LotCardSkeleton/index.js +4 -0
  96. package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.d.ts +5 -0
  97. package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +83 -0
  98. package/dist/components/MetroLabel/ui/MetroLabel.d.ts +0 -1
  99. package/dist/components/MetroLabel/ui/MetroLabel.js +19 -19
  100. package/dist/components/MetroLabel/ui/MetroLabel.types.d.ts +0 -1
  101. package/dist/components/MetroTag/ui/MetroTag.d.ts +1 -2
  102. package/dist/components/MetroTag/ui/MetroTag.js +121 -25
  103. package/dist/components/MetroTag/ui/MetroTag.types.d.ts +21 -6
  104. package/dist/components/Modal/ui/Modal.d.ts +2 -17
  105. package/dist/components/Modal/ui/Modal.js +63 -19594
  106. package/dist/components/Modal/ui/Modal.types.d.ts +21 -0
  107. package/dist/components/ModalSuccess/ModalSuccess.d.ts +2 -0
  108. package/dist/components/ModalSuccess/ModalSuccess.js +60 -0
  109. package/dist/components/ModalSuccess/ModalSuccess.types.d.ts +8 -0
  110. package/dist/components/ModalSuccess/ModalSuccess.types.js +1 -0
  111. package/dist/components/ModalSuccess/index.d.ts +1 -0
  112. package/dist/components/ModalSuccess/index.js +4 -0
  113. package/dist/components/NewIcon/icons/PinTrans.d.ts +3 -0
  114. package/dist/components/NewIcon/icons/PinTrans.js +6 -0
  115. package/dist/components/NewIcon/icons/SmallFilter.d.ts +3 -0
  116. package/dist/components/NewIcon/icons/SmallFilter.js +6 -0
  117. package/dist/components/NewIcon/index.d.ts +1 -1
  118. package/dist/components/NewIcon/index.js +3 -2
  119. package/dist/components/NewIcon/ui/NewIcon.d.ts +2 -2
  120. package/dist/components/NewIcon/ui/NewIcon.js +204 -99
  121. package/dist/components/NewIcon/ui/NewIcon.types.d.ts +0 -1
  122. package/dist/components/NewIcon/ui/iconTypes.d.ts +3 -0
  123. package/dist/components/NewIcon/ui/iconTypes.js +60 -0
  124. package/dist/components/ProjectCardSkeleton/index.d.ts +1 -0
  125. package/dist/components/ProjectCardSkeleton/index.js +4 -0
  126. package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.d.ts +1 -0
  127. package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +32 -0
  128. package/dist/components/RoundButton/ui/RoundButton.d.ts +1 -2
  129. package/dist/components/RoundButton/ui/RoundButton.js +56 -45
  130. package/dist/components/RoundButton/ui/RoundButton.types.d.ts +10 -2
  131. package/dist/components/RoundButton/ui/RoundButton.types.js +13 -6
  132. package/dist/components/Select/model/selectMode.d.ts +16 -0
  133. package/dist/components/Select/model/selectMode.js +64 -0
  134. package/dist/components/Select/ui/Category.d.ts +13 -0
  135. package/dist/components/Select/ui/Category.js +79 -0
  136. package/dist/components/Select/ui/Option.d.ts +15 -0
  137. package/dist/components/Select/ui/Option.js +7 -0
  138. package/dist/components/Select/ui/Select.d.ts +1 -3
  139. package/dist/components/Select/ui/Select.js +196 -79
  140. package/dist/components/Select/ui/Select.types.d.ts +62 -8
  141. package/dist/components/SliderNavigation/index.d.ts +0 -1
  142. package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +1 -2
  143. package/dist/components/SliderNavigation/ui/SliderNavigation.js +45 -32
  144. package/dist/components/SliderNavigation/ui/SliderNavigation.types.d.ts +7 -0
  145. package/dist/components/SortSelect/hooks/useSortSelect.d.ts +5 -4
  146. package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
  147. package/dist/components/SortSelect/ui/SortSelect.d.ts +0 -1
  148. package/dist/components/SortSelect/ui/SortSelect.js +67 -56
  149. package/dist/components/SortSelect/ui/SortSelect.types.d.ts +9 -2
  150. package/dist/components/SummarySelect/index.d.ts +1 -0
  151. package/dist/components/SummarySelect/index.js +4 -0
  152. package/dist/components/SummarySelect/ui/SummarySelect.d.ts +15 -0
  153. package/dist/components/SummarySelect/ui/SummarySelect.js +172 -0
  154. package/dist/components/Switcher/ui/Switcher.d.ts +1 -2
  155. package/dist/components/Switcher/ui/Switcher.js +45 -30
  156. package/dist/components/Switcher/ui/Switcher.types.d.ts +3 -1
  157. package/dist/components/TabSelect/index.d.ts +1 -0
  158. package/dist/components/TabSelect/index.js +4 -0
  159. package/dist/components/TabSelect/ui/TabSelect.d.ts +32 -0
  160. package/dist/components/TabSelect/ui/TabSelect.js +64 -0
  161. package/dist/components/TabSelect/ui/TabSelect.types.d.ts +0 -0
  162. package/dist/components/TabSelect/ui/TabSelect.types.js +1 -0
  163. package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +4 -4
  164. package/dist/components/TabSwitcher/ui/TabSwitcher.js +114 -34
  165. package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +23 -4
  166. package/dist/components/Tag/ui/Tag.d.ts +1 -2
  167. package/dist/components/Tag/ui/Tag.js +96 -44
  168. package/dist/components/Tag/ui/Tag.types.d.ts +22 -2
  169. package/dist/components/Tag/ui/Tag.types.js +20 -3
  170. package/dist/components/Text/ui/Text.d.ts +1 -2
  171. package/dist/components/Text/ui/Text.js +20 -27
  172. package/dist/components/Text/ui/Text.types.d.ts +0 -1
  173. package/dist/components/TextArea/TextArea.d.ts +8 -0
  174. package/dist/components/TextArea/TextArea.js +25 -0
  175. package/dist/components/ZoomControls/index.d.ts +1 -0
  176. package/dist/components/ZoomControls/index.js +4 -0
  177. package/dist/components/ZoomControls/ui/ZoomControls.d.ts +2 -0
  178. package/dist/components/ZoomControls/ui/ZoomControls.js +33 -0
  179. package/dist/components/ZoomControls/ui/ZoomControls.types.d.ts +6 -0
  180. package/dist/components/ZoomControls/ui/ZoomControls.types.js +1 -0
  181. package/dist/components/mobileButton/ui/MobileButton.d.ts +0 -1
  182. package/dist/components/mobileButton/ui/MobileButton.js +38 -38
  183. package/dist/components/mobileButton/ui/MobileButton.types.d.ts +0 -1
  184. package/dist/index-BJwl9stn.js +33872 -0
  185. package/dist/index-YnD2EP-S.js +43 -0
  186. package/dist/layout/Layout.d.ts +5 -0
  187. package/dist/layout/Layout.js +11 -0
  188. package/dist/layout/components/Header/Header.d.ts +1 -0
  189. package/dist/layout/components/Header/Header.js +141 -0
  190. package/dist/layout/components/Menu.d.ts +1 -0
  191. package/dist/layout/components/Menu.js +109 -0
  192. package/dist/main.d.ts +14 -0
  193. package/dist/main.js +70 -42
  194. package/dist/pages/ButtonsPage/Buttons.d.ts +1 -0
  195. package/dist/pages/ButtonsPage/Buttons.js +106 -0
  196. package/dist/pages/CheckboxPage/CheckboxPage.d.ts +1 -0
  197. package/dist/pages/CheckboxPage/CheckboxPage.js +224 -0
  198. package/dist/pages/FormsPage/FormsPage.d.ts +2 -0
  199. package/dist/pages/FormsPage/FormsPage.js +58 -0
  200. package/dist/pages/HomePage/HomePage.d.ts +2 -0
  201. package/dist/pages/HomePage/HomePage.js +7 -0
  202. package/dist/pages/IconsPage/IconsPage.d.ts +1 -0
  203. package/dist/pages/IconsPage/IconsPage.js +19 -0
  204. package/dist/pages/InputPage/InputPage.d.ts +1 -0
  205. package/dist/pages/InputPage/InputPage.js +13 -0
  206. package/dist/pages/LogoPage/LogoPage.d.ts +1 -0
  207. package/dist/pages/LogoPage/LogoPage.js +16 -0
  208. package/dist/pages/LotsPage/LotsPage.d.ts +1 -0
  209. package/dist/pages/LotsPage/LotsPage.js +74 -0
  210. package/dist/pages/LotsPage/const.d.ts +4 -0
  211. package/dist/pages/LotsPage/const.js +678 -0
  212. package/dist/pages/ModalsPage/ModalPage.d.ts +2 -0
  213. package/dist/pages/ModalsPage/ModalPage.js +110 -0
  214. package/dist/pages/SelectPage/SelectPage.d.ts +1 -0
  215. package/dist/pages/SelectPage/SelectPage.js +211 -0
  216. package/dist/pages/SelectPage/const.d.ts +13 -0
  217. package/dist/pages/SelectPage/const.js +35 -0
  218. package/dist/pages/TabsPage/TabsPage.d.ts +2 -0
  219. package/dist/pages/TabsPage/TabsPage.js +168 -0
  220. package/dist/pages/TagsPage/TagsPage.d.ts +1 -0
  221. package/dist/pages/TagsPage/TagsPage.js +64 -0
  222. package/dist/shared/checkLargeOffice.d.ts +2 -0
  223. package/dist/shared/checkLargeOffice.js +4 -0
  224. package/dist/shared/deepEqual.d.ts +1 -0
  225. package/dist/shared/deepEqual.js +16 -0
  226. package/dist/shared/fmtNumber.d.ts +1 -0
  227. package/dist/shared/fmtNumber.js +4 -0
  228. package/dist/shared/mlnRound.d.ts +1 -0
  229. package/dist/shared/mlnRound.js +8 -0
  230. package/dist/shared/useClientWidth.d.ts +2 -0
  231. package/dist/shared/useClientWidth.js +6 -6
  232. package/dist/stone-kit.css +1 -0
  233. package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +166 -0
  234. package/dist/stories/entities/index.js +4 -0
  235. package/dist/stories/shared/ui/Button/Button.stories.js +118 -0
  236. package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +71 -0
  237. package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +45 -0
  238. package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +114 -0
  239. package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +89 -0
  240. package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +31 -0
  241. package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +44 -0
  242. package/dist/stories/shared/ui/Flex/Flex.stories.js +74 -0
  243. package/dist/stories/shared/ui/FormModal/FormModal.stories.js +65 -0
  244. package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +68 -0
  245. package/dist/stories/shared/ui/Input/Input.stories.js +82 -0
  246. package/dist/stories/shared/ui/Logo/Logo.stories.js +75 -0
  247. package/dist/stories/shared/ui/MetroLabel/MetroLabel.stories.js +91 -0
  248. package/dist/stories/shared/ui/MetroTag/MetroTag.stories.js +96 -0
  249. package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +77 -0
  250. package/dist/stories/shared/ui/Modal/Modal.stories.js +77 -0
  251. package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +34 -0
  252. package/dist/stories/shared/ui/NewIcon/NewIcon.stories.js +38 -0
  253. package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +83 -0
  254. package/dist/stories/shared/ui/Select/Select.stories.js +81 -0
  255. package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +82 -0
  256. package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +87 -0
  257. package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +85 -0
  258. package/dist/stories/shared/ui/Switcher/Switcher.stories.js +77 -0
  259. package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +76 -0
  260. package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +76 -0
  261. package/dist/stories/shared/ui/Tag/Tag.stories.js +51 -0
  262. package/dist/stories/shared/ui/Text/Text.stories.js +22 -0
  263. package/dist/stories/shared/ui/TextArea/TextArea.stories.js +37 -0
  264. package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +91 -0
  265. package/dist/stories/shared/ui/index.js +62 -0
  266. package/dist/useLotCard-D-gK4J_o.js +186 -0
  267. package/dist/useSortSelect-IeonkD5d.js +79 -0
  268. package/package.json +39 -30
  269. package/dist/index-DIxK0V-G.js +0 -44
  270. package/dist/style.css +0 -1
  271. package/dist/useSortSelect-A7A_pNcU.js +0 -76
@@ -0,0 +1,224 @@
1
+ import { jsxs as d, jsx as c } from "react/jsx-runtime";
2
+ import { useState as r } from "react";
3
+ import { CheckBox as i } from "../../components/CheckBox/CheckBox.js";
4
+ const P = "_root_1br5a_1", q = "_wrapper_1br5a_5", A = "_lighContainer_1br5a_11", F = "_darkContainer_1br5a_11", h = {
5
+ root: P,
6
+ wrapper: q,
7
+ lighContainer: A,
8
+ darkContainer: F
9
+ }, K = () => {
10
+ const [t, k] = r(!0), [s, n] = r(!1), [a, l] = r(!0), [o, m] = r(!1), [u, g] = r(!0), [C, _] = r(!1), [L, D] = r(!1), [z, I] = r(!0), [M, f] = r(!0), [p, v] = r(!1), [S, E] = r(!0), [U, b] = r(!1), [x, w] = r(!0), [N, y] = r(!1), [B, W] = r(!1), [j, T] = r(!0);
11
+ return /* @__PURE__ */ d("div", { className: h.root, children: [
12
+ /* @__PURE__ */ c("div", { style: { fontWeight: "bold" }, children: "CheckBox variants:" }),
13
+ /* @__PURE__ */ d("div", { className: h.wrapper, children: [
14
+ /* @__PURE__ */ d("div", { className: h.lighContainer, children: [
15
+ /* @__PURE__ */ c("div", { style: { fontWeight: "bold", marginTop: 16 }, children: "Light variant:" }),
16
+ /* @__PURE__ */ c(
17
+ i,
18
+ {
19
+ isChecked: a,
20
+ emitIsChecked: (e) => {
21
+ l(e), console.log("checked light large", e);
22
+ },
23
+ variant: "light",
24
+ size_l: !0,
25
+ children: "light / large / checked"
26
+ }
27
+ ),
28
+ /* @__PURE__ */ c(
29
+ i,
30
+ {
31
+ isChecked: o,
32
+ emitIsChecked: (e) => {
33
+ m(e), console.log("unchecked light large", e);
34
+ },
35
+ variant: "light",
36
+ size_l: !0,
37
+ children: "light / large / unchecked"
38
+ }
39
+ ),
40
+ /* @__PURE__ */ d(
41
+ i,
42
+ {
43
+ isChecked: t,
44
+ emitIsChecked: (e) => {
45
+ k(e), console.log("checked light medium", e);
46
+ },
47
+ variant: "light",
48
+ size_m: !0,
49
+ children: [
50
+ "light / medium / checked",
51
+ " "
52
+ ]
53
+ }
54
+ ),
55
+ /* @__PURE__ */ c(
56
+ i,
57
+ {
58
+ isChecked: s,
59
+ emitIsChecked: (e) => {
60
+ n(e), console.log("unchecked light medium", e);
61
+ },
62
+ variant: "light",
63
+ size_m: !0,
64
+ children: "light / medium / unchecked"
65
+ }
66
+ ),
67
+ /* @__PURE__ */ c(
68
+ i,
69
+ {
70
+ isChecked: u,
71
+ emitIsChecked: (e) => {
72
+ g(e), console.log("checked light small", e);
73
+ },
74
+ variant: "light",
75
+ size_s: !0,
76
+ children: "light / small / checked"
77
+ }
78
+ ),
79
+ /* @__PURE__ */ c(
80
+ i,
81
+ {
82
+ isChecked: C,
83
+ emitIsChecked: (e) => {
84
+ _(e), console.log("unchecked light small", e);
85
+ },
86
+ variant: "light",
87
+ size_s: !0,
88
+ children: "light / small / unchecked"
89
+ }
90
+ ),
91
+ /* @__PURE__ */ c(
92
+ i,
93
+ {
94
+ isChecked: L,
95
+ emitIsChecked: (e) => {
96
+ D(e), console.log("unchecked light medium", e);
97
+ },
98
+ variant: "light",
99
+ error: !0,
100
+ size_m: !0,
101
+ children: "light / medium / unchecked / error"
102
+ }
103
+ ),
104
+ /* @__PURE__ */ c(
105
+ i,
106
+ {
107
+ isChecked: z,
108
+ emitIsChecked: (e) => {
109
+ I(e), console.log("unchecked light medium", e);
110
+ },
111
+ variant: "light",
112
+ error: !0,
113
+ size_m: !0,
114
+ children: "light / medium / unchecked / error"
115
+ }
116
+ )
117
+ ] }),
118
+ /* @__PURE__ */ d("div", { className: h.darkContainer, children: [
119
+ /* @__PURE__ */ c("div", { style: { fontWeight: "bold", marginTop: 16 }, children: "Dark variant:" }),
120
+ /* @__PURE__ */ c(
121
+ i,
122
+ {
123
+ isChecked: S,
124
+ emitIsChecked: (e) => {
125
+ E(e), console.log("checked dark large", e);
126
+ },
127
+ variant: "dark",
128
+ size_l: !0,
129
+ children: "dark / large / checked"
130
+ }
131
+ ),
132
+ /* @__PURE__ */ c(
133
+ i,
134
+ {
135
+ isChecked: U,
136
+ emitIsChecked: (e) => {
137
+ b(e), console.log("unchecked dark large", e);
138
+ },
139
+ variant: "dark",
140
+ size_l: !0,
141
+ children: "dark / large / unchecked"
142
+ }
143
+ ),
144
+ /* @__PURE__ */ c(
145
+ i,
146
+ {
147
+ isChecked: M,
148
+ emitIsChecked: (e) => {
149
+ f(e), console.log("checked dark medium", e);
150
+ },
151
+ variant: "dark",
152
+ size_m: !0,
153
+ children: "dark / medium / checked"
154
+ }
155
+ ),
156
+ /* @__PURE__ */ c(
157
+ i,
158
+ {
159
+ isChecked: p,
160
+ emitIsChecked: (e) => {
161
+ v(e), console.log("unchecked dark medium", e);
162
+ },
163
+ variant: "dark",
164
+ size_m: !0,
165
+ children: "dark / medium / unchecked"
166
+ }
167
+ ),
168
+ /* @__PURE__ */ c(
169
+ i,
170
+ {
171
+ isChecked: x,
172
+ emitIsChecked: (e) => {
173
+ w(e), console.log("checked dark small", e);
174
+ },
175
+ variant: "dark",
176
+ size_s: !0,
177
+ children: "dark / small / checked"
178
+ }
179
+ ),
180
+ /* @__PURE__ */ c(
181
+ i,
182
+ {
183
+ isChecked: N,
184
+ emitIsChecked: (e) => {
185
+ y(e), console.log("unchecked dark small", e);
186
+ },
187
+ variant: "dark",
188
+ size_s: !0,
189
+ children: "dark / small / unchecked"
190
+ }
191
+ ),
192
+ /* @__PURE__ */ c(
193
+ i,
194
+ {
195
+ isChecked: B,
196
+ emitIsChecked: (e) => {
197
+ W(e), console.log("unchecked dark medium", e);
198
+ },
199
+ variant: "dark",
200
+ size_m: !0,
201
+ error: !0,
202
+ children: "dark / medium / unchecked / error"
203
+ }
204
+ ),
205
+ /* @__PURE__ */ c(
206
+ i,
207
+ {
208
+ isChecked: j,
209
+ emitIsChecked: (e) => {
210
+ T(e), console.log("unchecked dark medium", e);
211
+ },
212
+ variant: "dark",
213
+ size_m: !0,
214
+ error: !0,
215
+ children: "dark / medium / checked / error"
216
+ }
217
+ )
218
+ ] })
219
+ ] })
220
+ ] });
221
+ };
222
+ export {
223
+ K as CheckBoxPage
224
+ };
@@ -0,0 +1,2 @@
1
+ declare const FormsPage: () => import("react/jsx-runtime").JSX.Element;
2
+ export default FormsPage;
@@ -0,0 +1,58 @@
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,
13
+ {
14
+ as: "button",
15
+ onClick: () => e(!0),
16
+ children: "ModalForm"
17
+ }
18
+ ),
19
+ /* @__PURE__ */ o(
20
+ r,
21
+ {
22
+ as: "button",
23
+ onClick: () => s(!0),
24
+ children: "ModalSucceess"
25
+ }
26
+ ),
27
+ /* @__PURE__ */ o(
28
+ u,
29
+ {
30
+ policiesMap: {},
31
+ submitHandler: (n) => {
32
+ console.log(n);
33
+ },
34
+ isEmail: !0,
35
+ subTitle: "Оставьте номер телефона для получения консультации",
36
+ title: "Оставить обращение",
37
+ modalWidth: "530px",
38
+ isPhone: !0,
39
+ isRequiredPhoneOrEmail: !0,
40
+ isRequiredPhone: !0,
41
+ isFormOpen: i,
42
+ isNews: !0,
43
+ advCheckBox: null,
44
+ setIsFormOpen: e
45
+ }
46
+ ),
47
+ /* @__PURE__ */ o(
48
+ a,
49
+ {
50
+ isSuccessOpen: l,
51
+ setIsSuccess: s
52
+ }
53
+ )
54
+ ] });
55
+ };
56
+ export {
57
+ F as default
58
+ };
@@ -0,0 +1,2 @@
1
+ declare const HomePage: () => import("react/jsx-runtime").JSX.Element;
2
+ export default HomePage;
@@ -0,0 +1,7 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ const t = "_root_1y1e6_1", r = {
3
+ root: t
4
+ }, e = () => /* @__PURE__ */ o("div", { className: r.root });
5
+ export {
6
+ e as default
7
+ };
@@ -0,0 +1 @@
1
+ export declare const IconsPage: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
1
+ import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
+ import { iconTypes as e, NewIcon as t } from "../../components/NewIcon/ui/NewIcon.js";
3
+ const a = "_root_3zx0k_1", i = "_iconWrapper_3zx0k_7", s = {
4
+ root: a,
5
+ iconWrapper: i
6
+ }, l = () => /* @__PURE__ */ o("div", { className: s.root, children: Array.isArray(Object.keys(e)) ? Object.keys(e).map((r, c) => /* @__PURE__ */ n("div", { className: s.iconWrapper, children: [
7
+ /* @__PURE__ */ o(
8
+ t,
9
+ {
10
+ name: r,
11
+ size: "16"
12
+ },
13
+ c
14
+ ),
15
+ r ?? ""
16
+ ] })) : null });
17
+ export {
18
+ l as IconsPage
19
+ };
@@ -0,0 +1 @@
1
+ export declare const InputPage: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { jsx as r, jsxs as e } from "react/jsx-runtime";
2
+ import { Input as a } from "../../components/Input/ui/Input.js";
3
+ const n = {}, s = () => /* @__PURE__ */ r("div", { className: n.root, children: /* @__PURE__ */ r("div", { children: /* @__PURE__ */ e("form", { children: [
4
+ /* @__PURE__ */ r(a, {}),
5
+ /* @__PURE__ */ r(a, { variant: "dark", error: !0 }),
6
+ /* @__PURE__ */ r(a, { size_s: "medium", size_m: "large" }),
7
+ /* @__PURE__ */ r(a, { variant: "gray", name: "email" }),
8
+ /* @__PURE__ */ r(a, { variant: "transparent", name: "email" }),
9
+ /* @__PURE__ */ r(a, { isPhoneIMask: !0, variant: "transparent", name: "imask" })
10
+ ] }) }) });
11
+ export {
12
+ s as InputPage
13
+ };
@@ -0,0 +1 @@
1
+ export declare const LogoPage: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { jsxs as r, jsx as o } from "react/jsx-runtime";
2
+ import { Logo as a } from "../../components/Logo/ui/Logo.js";
3
+ const t = "_root_6bj02_1", i = {
4
+ root: t
5
+ }, s = () => /* @__PURE__ */ r("div", { className: i.root, children: [
6
+ /* @__PURE__ */ o(a, { variant: "black" }),
7
+ /* @__PURE__ */ o(a, { variant: "white" }),
8
+ /* @__PURE__ */ o(a, { variant: "value" }),
9
+ /* @__PURE__ */ o(a, { variant: "office" }),
10
+ /* @__PURE__ */ o(a, { variant: "dom" }),
11
+ /* @__PURE__ */ o(a, { variant: "newOffice" }),
12
+ /* @__PURE__ */ o(a, { variant: "realty" })
13
+ ] });
14
+ export {
15
+ s as LogoPage
16
+ };
@@ -0,0 +1 @@
1
+ export declare const LotsPage: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,74 @@
1
+ import { jsx as t, jsxs as s } from "react/jsx-runtime";
2
+ import { useState as l } from "react";
3
+ import { testLot as r, testLotEmpty as c } from "./const.js";
4
+ import { CommercialLotCard as p } from "../../components/CommercialLotCard/CommercialLotCard.js";
5
+ import { LotCard as e } from "../../components/LotCard/ui/LotCard.js";
6
+ import { LotCardSkeleton as m } from "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
7
+ import { ProjectCardSkeleton as d } from "../../components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
8
+ const f = "_root_1w9fc_1", h = "_lotWrapper_1w9fc_8", _ = "_optionsWrapper_1w9fc_14", C = "_isFetching_1w9fc_20", i = {
9
+ root: f,
10
+ lotWrapper: h,
11
+ optionsWrapper: _,
12
+ isFetching: C
13
+ }, w = () => {
14
+ const [o, n] = l(!1), a = JSON.parse(JSON.stringify(r));
15
+ return a.status = 2, /* @__PURE__ */ t("div", { className: i.root, children: /* @__PURE__ */ s("div", { className: i.lotWrapper, children: [
16
+ /* @__PURE__ */ t(p, { lot: a, isVertical: !0 }),
17
+ !o && /* @__PURE__ */ t(
18
+ e,
19
+ {
20
+ lot: r,
21
+ handleBtnForm: () => {
22
+ }
23
+ }
24
+ ),
25
+ !o && /* @__PURE__ */ t(
26
+ e,
27
+ {
28
+ lot: r,
29
+ favoriteClickHandler: () => {
30
+ },
31
+ handleBtnForm: () => {
32
+ }
33
+ }
34
+ ),
35
+ !o && /* @__PURE__ */ t(
36
+ e,
37
+ {
38
+ favoriteClickHandler: () => {
39
+ },
40
+ lot: c,
41
+ handleBtnForm: () => {
42
+ }
43
+ }
44
+ ),
45
+ /* @__PURE__ */ s("div", { style: { display: "flex", flexWrap: "wrap" }, children: [
46
+ !o && /* @__PURE__ */ t(
47
+ e,
48
+ {
49
+ favoriteClickHandler: () => {
50
+ },
51
+ lot: r,
52
+ rowConditions: !1,
53
+ handleBtnForm: () => {
54
+ }
55
+ }
56
+ ),
57
+ /* @__PURE__ */ t(m, { isProjectCard: !0 })
58
+ ] }),
59
+ /* @__PURE__ */ t(d, {}),
60
+ /* @__PURE__ */ t("div", { className: i.optionsWrapper, children: /* @__PURE__ */ s("label", { className: i.isFetching, children: [
61
+ "isFetching",
62
+ /* @__PURE__ */ t(
63
+ "input",
64
+ {
65
+ type: "checkbox",
66
+ onClick: () => n(!o)
67
+ }
68
+ )
69
+ ] }) })
70
+ ] }) });
71
+ };
72
+ export {
73
+ w as LotsPage
74
+ };
@@ -0,0 +1,4 @@
1
+ import { ILot } from '../../components/LotCard/ui/LotCard.types.ts';
2
+ declare const testLot: ILot;
3
+ declare const testLotEmpty: ILot;
4
+ export { testLot, testLotEmpty };