stone-kit 0.0.88 → 0.0.90

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.
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as l } from "react/jsx-runtime";
2
2
  import { useState as v, useRef as x, useEffect as E } from "react";
3
3
  import { c as L } from "../../../index-DIxK0V-G.js";
4
4
  import { NewIcon as O } from "../../NewIcon/ui/NewIcon.js";
5
- const C = "_multiSelectWrapper_18k16_1", D = "_selectedOptions_18k16_7", w = "_selectedOptionsOpened_18k16_28", y = "_selectOptionsDisabled_18k16_32", I = "_optionsList_18k16_39", j = "_inputWrapper_18k16_52", z = "_option_18k16_39", R = "_icon_18k16_74", t = {
5
+ const C = "_multiSelectWrapper_eu431_1", D = "_selectedOptions_eu431_7", w = "_selectedOptionsOpened_eu431_28", y = "_selectOptionsDisabled_eu431_32", I = "_optionsList_eu431_39", j = "_inputWrapper_eu431_54", z = "_option_eu431_39", R = "_icon_eu431_76", t = {
6
6
  multiSelectWrapper: C,
7
7
  selectedOptions: D,
8
8
  selectedOptionsOpened: w,
@@ -12,15 +12,15 @@ const C = "_multiSelectWrapper_18k16_1", D = "_selectedOptions_18k16_7", w = "_s
12
12
  option: z,
13
13
  icon: R
14
14
  }, i = L.bind(t), B = ({
15
- options: k,
16
- placeholder: f = "Выберите опции",
17
- error: h,
18
- disabled: S,
19
- additionalClass: W = "",
15
+ options: f,
16
+ placeholder: h = "Выберите опции",
17
+ error: S,
18
+ disabled: W,
19
+ additionalClass: k = "",
20
20
  onChange: p,
21
- onBlur: d
21
+ onBlur: u
22
22
  }) => {
23
- const [s, N] = v([]), [o, u] = v(!1), a = x(null), b = (e) => (n) => {
23
+ const [s, N] = v([]), [o, d] = v(!1), a = x(null), b = (e) => (n) => {
24
24
  n.stopPropagation();
25
25
  const _ = s.some((c) => c.value === e.value) ? s.filter((c) => c.value !== e.value) : [...s, e];
26
26
  if (N(_), p) {
@@ -31,14 +31,14 @@ const C = "_multiSelectWrapper_18k16_1", D = "_selectedOptions_18k16_7", w = "_s
31
31
  p(c);
32
32
  }
33
33
  }, m = (e) => {
34
- a.current && !a.current.contains(e.target) && u(!1);
34
+ a.current && !a.current.contains(e.target) && d(!1);
35
35
  }, g = (e) => {
36
- if (d) {
36
+ if (u) {
37
37
  const n = {
38
38
  ...e,
39
39
  target: { value: s }
40
40
  };
41
- d(n);
41
+ u(n);
42
42
  }
43
43
  };
44
44
  return E(() => (document.addEventListener("click", m), () => {
@@ -47,7 +47,7 @@ const C = "_multiSelectWrapper_18k16_1", D = "_selectedOptions_18k16_7", w = "_s
47
47
  "div",
48
48
  {
49
49
  ref: a,
50
- className: i(t.multiSelectWrapper, { [t.multiSelectWrapperError]: h }, W),
50
+ className: i(t.multiSelectWrapper, { [t.multiSelectWrapperError]: S }, k),
51
51
  tabIndex: 0,
52
52
  onBlur: g,
53
53
  children: [
@@ -57,9 +57,9 @@ const C = "_multiSelectWrapper_18k16_1", D = "_selectedOptions_18k16_7", w = "_s
57
57
  {
58
58
  type: "text",
59
59
  readOnly: !0,
60
- value: s.length === 0 ? f : "Выбрано " + s.length + " опции",
61
- className: i(t.selectedOptions, { [t.selectOptionsDisabled]: S }),
62
- onClick: () => u(!o)
60
+ value: s.length === 0 ? h : "Выбрано " + s.length + " опции",
61
+ className: i(t.selectedOptions, { [t.selectOptionsDisabled]: W }),
62
+ onClick: () => d(!o)
63
63
  }
64
64
  ),
65
65
  /* @__PURE__ */ l(
@@ -72,7 +72,7 @@ const C = "_multiSelectWrapper_18k16_1", D = "_selectedOptions_18k16_7", w = "_s
72
72
  }
73
73
  )
74
74
  ] }),
75
- o && /* @__PURE__ */ l("div", { className: t.optionsList, children: k.map((e) => /* @__PURE__ */ r(
75
+ o && /* @__PURE__ */ l("div", { className: t.optionsList, children: f.map((e) => /* @__PURE__ */ r(
76
76
  "div",
77
77
  {
78
78
  className: i(t.option, {
@@ -0,0 +1,21 @@
1
+ import { MouseEvent } from 'react';
2
+ import { Option } from '../ui/SortSelect.types';
3
+
4
+ interface IUseSortSelect {
5
+ selectedOption: Option | null;
6
+ setSelectedOption: React.Dispatch<React.SetStateAction<Option | null>>;
7
+ setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
8
+ containerRef: React.RefObject<HTMLDivElement>;
9
+ isOpen: boolean;
10
+ isMobile: boolean;
11
+ placeholder: string;
12
+ onChange?: (event: React.MouseEvent<HTMLDivElement>) => void;
13
+ onBlur?: (event: React.FocusEvent<HTMLDivElement>) => void;
14
+ }
15
+ export declare const useSortSelect: ({ selectedOption, setSelectedOption, setIsOpen, containerRef, onBlur, onChange, isMobile, placeholder, }: IUseSortSelect) => {
16
+ handleDocumentClick: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
17
+ handleBlur: (event: React.FocusEvent<HTMLDivElement>) => void;
18
+ getInputValue: () => string;
19
+ getOption: (option: Option) => import("react/jsx-runtime").JSX.Element;
20
+ };
21
+ export {};
@@ -0,0 +1,6 @@
1
+ import "react/jsx-runtime";
2
+ import { u as m } from "../../../useSortSelect-BWM68TJ3.js";
3
+ import "../../../index-DIxK0V-G.js";
4
+ export {
5
+ m as useSortSelect
6
+ };
@@ -0,0 +1 @@
1
+ export { SortSelect } from './ui/SortSelect';
@@ -0,0 +1,4 @@
1
+ import { SortSelect as r } from "./ui/SortSelect.js";
2
+ export {
3
+ r as SortSelect
4
+ };
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { SortSelectProps } from './SortSelect.types';
3
+
4
+ export declare const SortSelect: React.FC<SortSelectProps>;
@@ -0,0 +1,100 @@
1
+ import { jsxs as r, jsx as t } from "react/jsx-runtime";
2
+ import { useState as d, useRef as y, useEffect as I } from "react";
3
+ import { c as B } from "../../../index-DIxK0V-G.js";
4
+ import { s as e, u as E } from "../../../useSortSelect-BWM68TJ3.js";
5
+ import { NewIcon as u } from "../../NewIcon/ui/NewIcon.js";
6
+ import "../../Button/ui/Button.js";
7
+ import "../../mobileButton/ui/MobileButton.js";
8
+ import "../../DestinationTab/ui/DestinationTab.js";
9
+ import "../../RoundButton/ui/RoundButton.js";
10
+ import "../../Tag/ui/Tag.js";
11
+ import "../../Switcher/ui/Switcher.js";
12
+ import { Text as L } from "../../Text/ui/Text.js";
13
+ import "../../Flex/ui/Flex.js";
14
+ import "../../Input/ui/Input.js";
15
+ import { Modal as W } from "../../Modal/ui/Modal.js";
16
+ import "../../TabSwitcher/ui/TabSwitcher.js";
17
+ import "../../GroupedInput/ui/GroupedInputs.js";
18
+ import "../../MetroTag/ui/MetroTag.js";
19
+ import "../../Select/ui/Select.js";
20
+ import { useClientWidth as w } from "../../../shared/useClientWidth.js";
21
+ const c = B.bind(e), M = ({
22
+ options: s,
23
+ placeholder: f = "",
24
+ error: h,
25
+ disabled: S,
26
+ additionalClass: v = "",
27
+ onChange: O,
28
+ onBlur: N
29
+ }) => {
30
+ const [x, b] = d(s[0]), [o, i] = d(!1), m = y(null), { isMobile: l } = w(), { handleBlur: C, getInputValue: k, getOption: a, handleDocumentClick: p } = E({
31
+ selectedOption: x,
32
+ setSelectedOption: b,
33
+ setIsOpen: i,
34
+ containerRef: m,
35
+ isOpen: o,
36
+ isMobile: l,
37
+ placeholder: f,
38
+ onChange: O,
39
+ onBlur: N
40
+ });
41
+ return I(() => (document.addEventListener("click", p), () => {
42
+ document.removeEventListener("click", p);
43
+ }), []), /* @__PURE__ */ r(
44
+ "div",
45
+ {
46
+ ref: m,
47
+ className: c(e.sortSelectWrapper, { [e.sortSelectWrapperError]: h }, v),
48
+ tabIndex: 0,
49
+ onBlur: C,
50
+ children: [
51
+ /* @__PURE__ */ r("div", { className: c(e.inputWrapper), children: [
52
+ /* @__PURE__ */ t(
53
+ "input",
54
+ {
55
+ type: "text",
56
+ readOnly: !0,
57
+ value: k(),
58
+ className: c(e.selectedOptions, { [e.selectOptionsDisabled]: S }),
59
+ onClick: () => i(!o)
60
+ }
61
+ ),
62
+ /* @__PURE__ */ t(
63
+ u,
64
+ {
65
+ name: "twoArrows",
66
+ size: "24",
67
+ additionalClass: e.icon
68
+ }
69
+ )
70
+ ] }),
71
+ o && l && /* @__PURE__ */ r(
72
+ W,
73
+ {
74
+ isOpen: o,
75
+ emitIsOpen: i,
76
+ additionalClassModalBody: e.modalAddBody,
77
+ children: [
78
+ /* @__PURE__ */ r("div", { className: e.mobileSortHeader, children: [
79
+ /* @__PURE__ */ t(L, { children: "Сортировка" }),
80
+ /* @__PURE__ */ t("div", { onClick: () => i(!1), children: /* @__PURE__ */ t(
81
+ u,
82
+ {
83
+ name: "close",
84
+ size: "24"
85
+ }
86
+ ) })
87
+ ] }),
88
+ /* @__PURE__ */ t("div", { className: e.mobileOptionList, children: s.map((n) => a(n)) })
89
+ ]
90
+ }
91
+ ),
92
+ o && !l && /* @__PURE__ */ t("div", { className: e.optionsList, children: s.map((n) => a(n)) })
93
+ ]
94
+ }
95
+ );
96
+ };
97
+ M.displayName = "SortSelect";
98
+ export {
99
+ M as SortSelect
100
+ };
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ export interface Option {
3
+ value: string | number;
4
+ label: string;
5
+ }
6
+ export interface SortSelectProps {
7
+ options: Option[];
8
+ placeholder?: string;
9
+ error?: boolean;
10
+ disabled?: boolean;
11
+ onChange?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
12
+ onBlur?: (event: React.FocusEvent<HTMLDivElement, Element>) => void;
13
+ additionalClass?: string;
14
+ }
package/dist/main.d.ts CHANGED
@@ -17,3 +17,4 @@ export { MetroTag } from './components/MetroTag';
17
17
  export { LotCard } from './components/LotCard';
18
18
  export { Select } from './components/Select';
19
19
  export { useClientWidth } from './shared/useClientWidth';
20
+ export { SortSelect } from './components/SortSelect';
package/dist/main.js CHANGED
@@ -3,13 +3,13 @@ import { MobileButton as p } from "./components/mobileButton/ui/MobileButton.js"
3
3
  import { NewIcon as f } from "./components/NewIcon/ui/NewIcon.js";
4
4
  import { DestinationTab as n } from "./components/DestinationTab/ui/DestinationTab.js";
5
5
  import { RoundButton as i } from "./components/RoundButton/ui/RoundButton.js";
6
- import { Tag as d } from "./components/Tag/ui/Tag.js";
7
- import { Switcher as T } from "./components/Switcher/ui/Switcher.js";
8
- import { Text as I } from "./components/Text/ui/Text.js";
9
- import { Flex as g } from "./components/Flex/ui/Flex.js";
10
- import { Input as s } from "./components/Input/ui/Input.js";
11
- import { Modal as B } from "./components/Modal/ui/Modal.js";
12
- import { FieldInput as S } from "./components/FieldInput/ui/FieldInput.js";
6
+ import { Tag as l } from "./components/Tag/ui/Tag.js";
7
+ import { Switcher as c } from "./components/Switcher/ui/Switcher.js";
8
+ import { Text as T } from "./components/Text/ui/Text.js";
9
+ import { Flex as b } from "./components/Flex/ui/Flex.js";
10
+ import { Input as h } from "./components/Input/ui/Input.js";
11
+ import { Modal as w } from "./components/Modal/ui/Modal.js";
12
+ import { FieldInput as M } from "./components/FieldInput/ui/FieldInput.js";
13
13
  import { TabSwitcher as F } from "./components/TabSwitcher/ui/TabSwitcher.js";
14
14
  import { GroupedInputs as D } from "./components/GroupedInput/ui/GroupedInputs.js";
15
15
  import { Logo as N } from "./components/Logo/ui/Logo.js";
@@ -17,24 +17,26 @@ import { MetroTag as W } from "./components/MetroTag/ui/MetroTag.js";
17
17
  import { LotCard as k } from "./components/LotCard/ui/LotCard.js";
18
18
  import { Select as v } from "./components/Select/ui/Select.js";
19
19
  import { useClientWidth as z } from "./shared/useClientWidth.js";
20
+ import { SortSelect as E } from "./components/SortSelect/ui/SortSelect.js";
20
21
  export {
21
22
  t as Button,
22
23
  n as DestinationTab,
23
- S as FieldInput,
24
- g as Flex,
24
+ M as FieldInput,
25
+ b as Flex,
25
26
  D as GroupedInputs,
26
- s as Input,
27
+ h as Input,
27
28
  N as Logo,
28
29
  k as LotCard,
29
30
  W as MetroTag,
30
31
  p as MobileButton,
31
- B as Modal,
32
+ w as Modal,
32
33
  f as NewIcon,
33
34
  i as RoundButton,
34
35
  v as Select,
35
- T as Switcher,
36
+ E as SortSelect,
37
+ c as Switcher,
36
38
  F as TabSwitcher,
37
- d as Tag,
38
- I as Text,
39
+ l as Tag,
40
+ T as Text,
39
41
  z as useClientWidth
40
42
  };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- ._root_wkh0k_1{white-space:pre-wrap}._root_j8jt6_1{display:flex;width:100%}._root_j8jt6_1 input{position:absolute;z-index:-1000;width:0;height:0;opacity:0}._root_j8jt6_1 label{flex:1 0 0;width:auto}._item_j8jt6_17{display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;padding:11px 15px;border:1px solid #E6E8EC;border-left:none;box-sizing:border-box}._firstItem_j8jt6_29{border-radius:48px 0 0 48px;border-left:1px solid #E6E8EC}._lastItem_j8jt6_34{border-radius:0 48px 48px 0}._text_j8jt6_38{width:max-content;font-size:16px;line-height:24px;font-weight:500;font-family:inherit}._rootCol_j8jt6_46{flex-wrap:wrap}._rootCol_j8jt6_46 label{min-width:50%}._rootCol_j8jt6_46 label:nth-child(1) ._item_j8jt6_17{border-radius:48px 0 0}._rootCol_j8jt6_46 label:nth-child(2) ._item_j8jt6_17{border-radius:0 48px 0 0}._rootCol_j8jt6_46 label:nth-child(3) ._item_j8jt6_17{border-top:none;border-left:1px solid #E6E8EC;border-radius:0 0 0 48px}._rootCol_j8jt6_46 label:nth-child(4) ._item_j8jt6_17{border-top:none;border-radius:0 0 48px}._rootCol_j8jt6_46 label:nth-child(n+5) ._item_j8jt6_17{display:none}._whiteRow_j8jt6_71 input:not(:checked)~._item_j8jt6_17{color:#141416}._whiteRow_j8jt6_71 input:checked~._item_j8jt6_17{background-color:#141416;color:#fff}@media (min-width: 1024px){._whiteRow_j8jt6_71 input:not(:checked)~._item_j8jt6_17:hover{background-color:#141416;color:#fff;opacity:.9}._whiteRow_j8jt6_71 input:checked~._item_j8jt6_17:hover{opacity:.9}._whiteRow_j8jt6_71 input:disabled~._item_j8jt6_17{opacity:.7}}@keyframes _swiperForward_iju0r_1{0%{background:#b1b5c3;border:1px solid #b1b5c3}50%{background:#777e90;border:1px solid #777e90}to{background:#015ff9;border:1px solid #015ff9}}@keyframes _swiperBackward_iju0r_1{0%{background:#015ff9;border:1px solid #015ff9}50%{background:#024ac0;border:1px solid #024AC0}to{background:#b1b5c3;border:1px solid #b1b5c3}}._switcherWrapper_iju0r_29{display:flex;justify-content:space-between;align-items:center;outline:none}._swiper_iju0r_36{position:relative;width:36px;height:20px;padding:1px;border-radius:50px;border:1px solid #b1b5c3;background:#b1b5c3;box-sizing:border-box;cursor:pointer;outline:none;color:green}._swiperActive_iju0r_50{animation:_swiperForward_iju0r_1 .3s ease;animation-fill-mode:forwards}._swiperInactive_iju0r_55{animation:_swiperBackward_iju0r_1 .3s ease;animation-fill-mode:forwards}._swiperPoint_iju0r_60{position:relative;left:0;width:16px;height:16px;border-radius:50%;background:#fff;box-sizing:border-box;transition:all .3s ease;box-shadow:0 4px 4px #1414163d}._swiperPointActive_iju0r_72{left:16px}._multiSelectWrapper_18k16_1{position:relative;width:100%;-webkit-user-select:none;user-select:none}._selectedOptions_18k16_7{display:flex;flex:1;padding-right:2.5rem;justify-content:space-between;align-items:center;font-family:inherit;font-size:16px;line-height:24px;font-weight:400;padding:11px 12px 11px 24px;border-radius:48px;border:1px solid #B1B5C3;background:#fff;box-sizing:border-box;outline:none}._selectedOptions_18k16_7:hover{border:1px solid #777E90}._selectedOptionsOpened_18k16_28{border:1px solid #141416}._selectOptionsDisabled_18k16_32{pointer-events:none;background:#f4f5f6;border:1px solid #E6E8EC;color:#b1b5c3}._optionsList_18k16_39{position:absolute;top:52px;width:inherit;padding:12px 24px 24px;border:1px solid #e6e8ec;border-radius:24px;background:#fff;box-shadow:0 5px 12px #0000001f,0 21px 21px #0000001a;z-index:120;box-sizing:border-box}._inputWrapper_18k16_52{display:flex;align-items:center}._inputWrapper_18k16_52 input{cursor:pointer}._option_18k16_39{display:flex;justify-content:space-between;align-items:center;padding:12px 0;cursor:pointer}._option_18k16_39:not(:last-child){border-bottom:1px solid #F4F5F6}._option_18k16_39:hover{opacity:.7}._icon_18k16_74{position:absolute;right:12px;pointer-events:none}._btnRound_7sz3m_1{display:flex;justify-content:center;align-items:center;border-radius:50%;padding:7px;box-sizing:border-box;cursor:pointer}._btnRound_7sz3m_1:disabled{opacity:.2}._btnRound_7sz3m_1:focus{outline:0}._small-size_7sz3m_17{width:32px;height:32px}._medium-size_7sz3m_22{width:40px;height:40px;padding:9px}._large-size_7sz3m_28{width:48px;height:48px;padding:11px}._whiteStroke_7sz3m_34{border:1px solid #e6e8ec;background-color:#fff}._whiteStroke_7sz3m_34:hover{border:1px solid #b1b5c3}._whiteStroke_7sz3m_34:active{border:1px solid #141416}@media (min-width: 1024px){._small-size_m_7sz3m_46{width:32px;height:32px}._medium-size_m_7sz3m_50{width:40px;height:40px;padding:9px}._large-size_m_7sz3m_55{width:48px;height:48px;padding:11px}}@media (min-width: 1440px){._small-size_l_7sz3m_62{width:32px;height:32px}._medium-size_l_7sz3m_66{width:40px;height:40px;padding:9px}._large-size_l_7sz3m_71{width:48px;height:48px;padding:11px}}._btnCommon_1act6_1{font-family:inherit;font-weight:500;display:flex;flex-direction:column;justify-content:space-between;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px;cursor:pointer}._btnCommon_1act6_1:disabled{opacity:.2}._auto-width_1act6_18{width:auto}._full-width_1act6_22{width:100%}._small-size_1act6_26{font-size:10px;line-height:12px;min-height:56px;padding:7px 11px;gap:4px}._whiteFilled_1act6_34{background:#fff;border:1px solid #ffffff;color:#777e90}._whiteFilled_1act6_34:hover{background:#fcfcfd;border:1px solid #f4f5f6}._whiteFilled_1act6_34:active{background:#f4f5f6;border:1px solid #f4f5f6}._root_129gd_1{display:flex;padding:16px 0;gap:8px;width:max-content;box-sizing:border-box}._root_129gd_1 span{display:block;width:8px;height:8px;border-radius:50%}._metroColor_129gd_15{display:flex;align-items:center;font-size:14px;line-height:20px;font-weight:500;gap:8px;color:#353945}._route_129gd_25{display:flex;align-items:center;gap:4px;font-size:12px;line-height:16px;font-weight:500;color:#777e90}._auto-width_129gd_35{width:max-content}._full-width_129gd_39{width:100%}@media (min-width: 1024px){._root_129gd_1{padding:10px 24px;border-radius:110px;background:#f4f5f6}}._btnCommon_1cazw_1{position:relative;font-family:inherit;font-weight:500;display:flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px;text-decoration:none;cursor:pointer}._btnCommon_1cazw_1:disabled{opacity:.2}._btnLoading_1cazw_19{pointer-events:none}._isHidden_1cazw_23{visibility:hidden}._auto-width_1cazw_27{width:max-content}._full-width_1cazw_31{width:100%}._tiny-size_1cazw_35{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_1cazw_43{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_1cazw_51{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_1cazw_59{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}._blue_1cazw_67{background:#015ff9;border:1px solid #015ff9;color:#fff}._blue_1cazw_67:hover{background:#024ac0;border:1px solid #024ac0}._blue_1cazw_67:active{background:#0645aa;border:1px solid #0645aa}._sokolniki_1cazw_81{background:#60663e;border:1px solid #60663e;color:#fff}._sokolniki_1cazw_81:hover{background:#494f29;border:1px solid #494f29}._sokolniki_1cazw_81:active{background:#303519;border:1px solid #303519}._black_1cazw_95{background:#141416;border:1px solid #141416;color:#fff}._black_1cazw_95:hover{background:#23262f;border:1px solid #353945}._black_1cazw_95:active{background:#353945;border:1px solid #777e90}._gray_1cazw_109{background:#f4f5f6;border:1px solid #f4f5f6;color:#777e90}._gray_1cazw_109:hover{background:#f4f5f6;border:1px solid #b1b5c3}._gray_1cazw_109:active{background:#e6e8ec;border:1px solid #b1b5c3}._whiteStroke_1cazw_123{background:#fff;border:1px solid #e6e8ec;color:#141416}._whiteStroke_1cazw_123:hover{border:1px solid #b1b5c3}._whiteStroke_1cazw_123:active{border:1px solid #141416}._whiteFilled_1cazw_135{background:#fff;border:1px solid #ffffff;color:#141416}._whiteFilled_1cazw_135:hover{background:#fcfcfd;border:1px solid #f4f5f6}._whiteFilled_1cazw_135:active{background:#f4f5f6;border:1px solid #f4f5f6}._shade_1cazw_149{background:#23262f;border:1px solid #23262F;color:#fff}@keyframes _LoaderSpin_1cazw_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._volodiyaLight_1cazw_163{background:#353945;border:1px solid #353945;color:#fff}._loader_1cazw_169{position:absolute;animation:_LoaderSpin_1cazw_1 1.4s infinite linear}@media (min-width: 1024px){._tiny-size_m_1cazw_175{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_m_1cazw_182{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_m_1cazw_189{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_m_1cazw_196{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}}@media (min-width: 1440px){._tiny-size_l_1cazw_205{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_l_1cazw_212{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_l_1cazw_219{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_l_1cazw_226{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}}._destination_1c7de_1{display:flex;justify-content:space-between;align-items:center;gap:8px;border-radius:110px;cursor:pointer}._destination_1c7de_1 input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}._destination_1c7de_1 span{display:block;width:8px;height:8px;border-radius:50%}._auto-width_1c7de_29{width:max-content}._full-width_1c7de_33{width:100%}._medium-size_1c7de_37{padding:9px 23px}._medium-size_1c7de_37 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_1c7de_37 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_1c7de_51{padding:11px 31px}._large-size_1c7de_51 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_1c7de_51 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}._whiteStroke_1c7de_65{color:#353945;border:1px solid #f4f5f6}._whiteStroke_1c7de_65:hover{border:1px solid #b1b5c3}._whiteStroke_1c7de_65:active{background-color:#e6e8ec}._whiteStroke_1c7de_65 ._routeText_1c7de_45,._whiteStroke_1c7de_65 ._routeWrapper_1c7de_78{color:#777e90}._whiteStroke_1c7de_65:has(input:checked){border:1px solid #141416;background-color:#141416;color:#fff}._whiteStroke_1c7de_65:has(input:checked):hover{border:1px solid #353945;background-color:#23262f}._whiteStroke_1c7de_65:has(input:checked):active{background-color:#353945;border:1px solid #777E90}._whiteStroke_1c7de_65:has(input:checked) ._routeText_1c7de_45{color:#b1b5c3}._whiteStroke_1c7de_65:has(input:checked) ._routeWrapper_1c7de_78{color:#b1b5c3}._routeWrapper_1c7de_78{display:flex;gap:4px;justify-content:space-between;align-items:center}@media (min-width: 1024px){._medium-size_m_1c7de_109{padding:9px 23px}._medium-size_m_1c7de_109 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_m_1c7de_109 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_m_1c7de_122{padding:11px 31px}._large-size_m_1c7de_122 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_m_1c7de_122 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}}@media (min-width: 1440px){._medium-size_l_1c7de_137{padding:9px 23px}._medium-size_l_1c7de_137 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_l_1c7de_137 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_l_1c7de_150{padding:11px 31px}._large-size_l_1c7de_150 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_l_1c7de_150 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}}._tagCommon_13otg_1{font-family:inherit;font-weight:400;display:flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px}._tagCommon_13otg_1:disabled{opacity:.2}._auto-width_13otg_16{width:max-content}._full-width_13otg_20{width:100%}._medium-size_13otg_24{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._tiny-size_13otg_32{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._small-size_13otg_40{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge-size_13otg_48{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_13otg_56{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}._red_13otg_64{background:#ec5353;border:1px solid #ec5353;color:#fff}._gray_13otg_70{background:#f4f5f6;border:none;color:#353945}._shade_13otg_76{background:#141416cc;border:none;color:#fff}._blackGrey_13otg_82{background-color:#23262f;border:none;color:#e6e8ec}._chineseBlack_13otg_88{background-color:#141416;border:none;color:#fff}@media (min-width: 1024px){._tiny-size_m_13otg_95{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._medium-size_m_13otg_102{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._small-size_m_13otg_109{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge_size_m_13otg_116{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_m_13otg_123{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}}@media (min-width: 1440px){._tiny-size_l_13otg_132{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._medium-size_l_13otg_139{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._small-size_l_13otg_146{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge-size_l_13otg_153{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_l_13otg_160{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}}._root_fi64k_1{display:flex}._gap-1_fi64k_5{gap:4px}._gap-2_fi64k_9{gap:8px}._gap-3_fi64k_13{gap:12px}._gap-4_fi64k_17{gap:16px}._gap-5_fi64k_21{gap:20px}._gap-6_fi64k_25{gap:24px}._gap-7_fi64k_29{gap:28px}._gap-8_fi64k_33{gap:32px}._gap-9_fi64k_37{gap:36px}._gap-10_fi64k_41{gap:40px}._gap-11_fi64k_45{gap:44px}._gap-12_fi64k_49{gap:48px}._gap-13_fi64k_53{gap:52px}._gap-14_fi64k_57{gap:56px}._gap-15_fi64k_61{gap:60px}._gap-16_fi64k_65{gap:64px}._fd-row_fi64k_69{flex-direction:row}._fd-row-reverse_fi64k_73{flex-direction:row-reverse}._fd-column_fi64k_77{flex-direction:column}._fd-column-reverse_fi64k_81{flex-direction:column-reverse}._w-nowrap_fi64k_85{flex-wrap:nowrap}._w-wrap_fi64k_89{flex-wrap:wrap}._w-wrap-reverse_fi64k_93{flex-wrap:wrap-reverse}._jc-flex-start_fi64k_97{justify-content:flex-start}._jc-flex-end_fi64k_101{justify-content:flex-end}._jc-center_fi64k_105{justify-content:center}._jc-space-between_fi64k_109{justify-content:space-between}._jc-space-around_fi64k_113{justify-content:space-around}._jc-space-evenly_fi64k_117{justify-content:space-evenly}._ai-stretch_fi64k_121{align-items:stretch}._ai-flex-start_fi64k_125{align-items:flex-start}._ai-flex-end_fi64k_129{align-items:flex-end}._ai-center_fi64k_133{align-items:center}._ai-baseline_fi64k_137{align-items:baseline}._auto-width_qoqna_1{width:max-content;min-width:100px}._full-width_qoqna_6{width:100%}._inputWrapper_qoqna_10{display:flex;gap:4px;border-radius:48px;padding:10px 23px;border:1px solid #b1b5c3;box-sizing:border-box}._inputWrapper_qoqna_10 input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}._inputWrapper_qoqna_10 input{min-width:50px;width:100%;border:none;background:transparent;font-size:16px;line-height:24px;box-sizing:border-box}._inputWrapper_qoqna_10 input:focus{outline:none}._inputWrapperPost_qoqna_34,._inputWrapperPre_qoqna_35{font-size:16px;line-height:24px;font-weight:400;padding:10px 12px 10px 23px}._inputWrapperPost_qoqna_34 input,._inputWrapperPre_qoqna_35 input{font-size:16px;line-height:24px}._light_qoqna_47{background:#fff;border:1px solid #b1b5c3}._light_qoqna_47 input{color:#141416}._light_qoqna_47 input::placeholder{color:#b1b5c3}._light_qoqna_47 span{color:#b1b5c3}._light_qoqna_47:hover{border:1px solid #777e90}._light_qoqna_47:has(input:focus){border:1px solid #141416}._light_qoqna_47:has(input:disabled){background:#f4f5f6;border:1px solid #e6e8ec}._light_qoqna_47:has(input:disabled) input{color:#b1b5c3}._light_qoqna_47:has(input:disabled) input::placeholder{color:#b1b5c3}._light_qoqna_47:has(input:disabled) span{color:#b1b5c3}._dark_qoqna_80{background:#23262f;border:1px solid #353945}._dark_qoqna_80 input{color:#fff}._dark_qoqna_80 input::placeholder{color:#777e90}._dark_qoqna_80 span{color:#777e90}._dark_qoqna_80:hover{border:1px solid #777e90}._dark_qoqna_80:has(input:focus){border:1px solid #ffffff}._dark_qoqna_80:has(input:disabled){background:#141416;border:1px solid #353945}._dark_qoqna_80:has(input:disabled) input{color:#353945}._dark_qoqna_80:has(input:disabled) input::placeholder{color:#353945}._dark_qoqna_80:has(input:disabled) span{color:#353945}._dark_qoqna_80:has(input:invalid){border:1px solid #ec5353}._inputWrapperError_qoqna_116{border:1px solid #ec5353}._fieldInputWrapper_14ghj_1{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}._fieldInputWrapper_14ghj_1 label{font-family:inherit;font-size:12px;line-height:16px;font-weight:400;color:#141416}._root_oqb5i_1{display:flex;width:100%}._root_oqb5i_1>div:not(:first-of-type){border-left-width:.5px;border-top-left-radius:0;border-bottom-left-radius:0}._root_oqb5i_1>div:not(:last-of-type){border-right-width:.5px;border-top-right-radius:0;border-bottom-right-radius:0}._root_1tlck_1{display:flex;flex-direction:column;padding:32px 24px 24px;border:1px solid #e6e8ec;border-radius:24px;box-sizing:border-box}._lotImageWrapper_1tlck_10{display:flex;justify-content:center}._lotInfoWrapper_1tlck_15{display:flex;flex-direction:column;gap:16px;margin:32px 0 0}._infoHeader_1tlck_22{font-family:inherit;font-size:24px;line-height:32px;font-weight:500;letter-spacing:-.01em;color:#141416}._decor_1tlck_31{display:none}._decor_1tlck_31 span{display:block}._lotPropertyListMobile_1tlck_38{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}._lotPropertyItem_1tlck_46{display:flex;justify-content:space-between;font-family:inherit;font-size:14px;line-height:20px;padding:8px 0;border-bottom:1px solid #F4F5F6}._lotPropertyItem_1tlck_46 div:first-child{font-weight:400;color:#353945}._lotPropertyItem_1tlck_46 div:last-child{font-weight:500;color:#141416}._lotPropertyListDesktop_1tlck_64{display:none}._lotPriceWrapper_1tlck_68{font-family:inherit;font-size:18px;line-height:24px;margin:16px 0 0}._discountWrapper_1tlck_75{display:flex;justify-content:space-between;align-items:center}._discountWrapper_1tlck_75>div:last-child{font-weight:500;color:#141416}._discountPrice_1tlck_85{display:flex;align-items:center;font-weight:400;gap:8px;color:#b1b5c3}._discountPrice_1tlck_85 span{text-decoration:line-through;text-decoration-color:#ec5353}._lotPricePerMetr_1tlck_97{width:max-content;display:none}._btnWrapper_1tlck_102{display:flex;gap:8px;margin:24px 0 0}._btnWrapper_1tlck_102>button:first-child{display:none}@media (min-width: 1024px){._root_1tlck_1{flex-direction:row;gap:32px;padding:31px 30px 31px 32px}._lotImageWrapper_1tlck_10 img{width:148px;height:106px}._lotInfoWrapper_1tlck_15{display:flex;flex-direction:column;gap:0;margin:0}._decor_1tlck_31{display:flex;align-items:center;gap:8px;margin:4px 0 0;font-family:inherit;font-size:16px;line-height:24px;font-weight:500;color:#777e90}._lotPropertyListMobile_1tlck_38{display:none}._lotPropertyListDesktop_1tlck_64{display:flex;gap:8px;margin:16px 0 0}._lotPriceWrapper_1tlck_68{font-size:24px;line-height:32px;margin:0 0 0 auto}._discountWrapper_1tlck_75{gap:12px}._discountPrice_1tlck_85{font-size:14px;line-height:20px;gap:12px}._lotPricePerMetr_1tlck_97{display:block;margin:0 0 0 auto;font-size:14px;line-height:20px;font-weight:400;color:#353945}._btnWrapper_1tlck_102{justify-content:flex-end}._btnWrapper_1tlck_102>button:first-child{display:block}._btnWrapper_1tlck_102>button:last-child{width:max-content}}._wrapper_nzllw_1{display:flex;align-items:center;gap:8px}._logo_nzllw_7{width:81px;height:16px}._wrapperBetween_nzllw_12{width:100%;justify-content:space-between}._uk_nzllw_17{font-size:8px;line-height:8px;font-weight:600;letter-spacing:.11em;text-transform:uppercase}._uk_black_nzllw_24{color:#141416}._uk_white_nzllw_27{color:#fff}@media (min-width: 1024px){._logo_nzllw_7{width:101px;height:20px}._uk_nzllw_17{font-size:9px;line-height:10px}}._root_1cpat_1{display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100%;height:100%;z-index:102;overflow:auto;box-sizing:border-box}._modalBody_1cpat_15{position:absolute}._modalOverlay_1cpat_19{position:absolute;width:100%;height:100vh;background:#00000080}._isTransparentBack_1cpat_26{opacity:.5}
1
+ ._root_wkh0k_1{white-space:pre-wrap}._root_j8jt6_1{display:flex;width:100%}._root_j8jt6_1 input{position:absolute;z-index:-1000;width:0;height:0;opacity:0}._root_j8jt6_1 label{flex:1 0 0;width:auto}._item_j8jt6_17{display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;padding:11px 15px;border:1px solid #E6E8EC;border-left:none;box-sizing:border-box}._firstItem_j8jt6_29{border-radius:48px 0 0 48px;border-left:1px solid #E6E8EC}._lastItem_j8jt6_34{border-radius:0 48px 48px 0}._text_j8jt6_38{width:max-content;font-size:16px;line-height:24px;font-weight:500;font-family:inherit}._rootCol_j8jt6_46{flex-wrap:wrap}._rootCol_j8jt6_46 label{min-width:50%}._rootCol_j8jt6_46 label:nth-child(1) ._item_j8jt6_17{border-radius:48px 0 0}._rootCol_j8jt6_46 label:nth-child(2) ._item_j8jt6_17{border-radius:0 48px 0 0}._rootCol_j8jt6_46 label:nth-child(3) ._item_j8jt6_17{border-top:none;border-left:1px solid #E6E8EC;border-radius:0 0 0 48px}._rootCol_j8jt6_46 label:nth-child(4) ._item_j8jt6_17{border-top:none;border-radius:0 0 48px}._rootCol_j8jt6_46 label:nth-child(n+5) ._item_j8jt6_17{display:none}._whiteRow_j8jt6_71 input:not(:checked)~._item_j8jt6_17{color:#141416}._whiteRow_j8jt6_71 input:checked~._item_j8jt6_17{background-color:#141416;color:#fff}@media (min-width: 1024px){._whiteRow_j8jt6_71 input:not(:checked)~._item_j8jt6_17:hover{background-color:#141416;color:#fff;opacity:.9}._whiteRow_j8jt6_71 input:checked~._item_j8jt6_17:hover{opacity:.9}._whiteRow_j8jt6_71 input:disabled~._item_j8jt6_17{opacity:.7}}@keyframes _swiperForward_iju0r_1{0%{background:#b1b5c3;border:1px solid #b1b5c3}50%{background:#777e90;border:1px solid #777e90}to{background:#015ff9;border:1px solid #015ff9}}@keyframes _swiperBackward_iju0r_1{0%{background:#015ff9;border:1px solid #015ff9}50%{background:#024ac0;border:1px solid #024AC0}to{background:#b1b5c3;border:1px solid #b1b5c3}}._switcherWrapper_iju0r_29{display:flex;justify-content:space-between;align-items:center;outline:none}._swiper_iju0r_36{position:relative;width:36px;height:20px;padding:1px;border-radius:50px;border:1px solid #b1b5c3;background:#b1b5c3;box-sizing:border-box;cursor:pointer;outline:none;color:green}._swiperActive_iju0r_50{animation:_swiperForward_iju0r_1 .3s ease;animation-fill-mode:forwards}._swiperInactive_iju0r_55{animation:_swiperBackward_iju0r_1 .3s ease;animation-fill-mode:forwards}._swiperPoint_iju0r_60{position:relative;left:0;width:16px;height:16px;border-radius:50%;background:#fff;box-sizing:border-box;transition:all .3s ease;box-shadow:0 4px 4px #1414163d}._swiperPointActive_iju0r_72{left:16px}._sortSelectWrapper_636hy_1{position:relative;width:max-content;-webkit-user-select:none;user-select:none;max-width:178px}._selectedOptions_636hy_8{display:flex;flex:1;max-width:92px;width:100%;padding-right:1.5rem;justify-content:space-between;align-items:center;font-family:inherit;font-size:16px;line-height:24px;font-weight:400;padding:11px 40px 11px 15px;border-radius:48px;border:1px solid #B1B5C3;background:#fff;box-sizing:border-box;outline:none;overflow:hidden}._selectedOptions_636hy_8:hover{border:1px solid #777E90}._selectedOptionsOpened_636hy_32{border:1px solid #141416}._selectOptionsDisabled_636hy_36{pointer-events:none;background:#f4f5f6;border:1px solid #E6E8EC;color:#b1b5c3}._optionsList_636hy_43{position:absolute;top:52px;width:inherit;padding:12px 24px 24px;border:1px solid #e6e8ec;border-radius:24px;background:#fff;box-shadow:0 5px 12px #0000001f,0 21px 21px #0000001a;z-index:120;box-sizing:border-box;max-height:241px;overflow-y:scroll}._mobileOptionList_636hy_58{width:100%;padding:24px;background:#fff;box-sizing:border-box}._mobileSortHeader_636hy_65{display:flex;justify-content:space-between;align-items:center;font-size:18px;line-height:24px;font-weight:400;font-family:inherit;padding:24px;border-radius:24px 24px 0 0;border-bottom:1px solid #E6E8EC;background:#fff}._modalAddBody_636hy_79{bottom:0;left:0;width:100%}._inputWrapper_636hy_85{display:flex;align-items:center}._inputWrapper_636hy_85 input{cursor:pointer}._option_636hy_43{display:flex;justify-content:space-between;align-items:center;padding:12px 0;font-size:16px;line-height:24px;font-weight:500;cursor:pointer}._option_636hy_43:not(:last-child){border-bottom:1px solid #F4F5F6}._option_636hy_43:hover{opacity:.7}._icon_636hy_110{position:absolute;left:50%;transform:translate(-50%);pointer-events:none}._checkBox_636hy_117{width:24px;height:24px;border-radius:50%;border:1px solid #B1B5C3}._checkBoxChecked_636hy_124{display:flex;align-items:center;justify-content:center;border:1px solid #015FF9}._innerCheck_636hy_131{width:12px;height:12px;border-radius:50%;border:1px solid #015FF9;background:#015ff9}@media (min-width: 1024px){._selectedOptions_636hy_8{display:flex;flex:1;max-width:unset}._optionsList_636hy_43{top:52px;min-width:375px;right:0}._icon_636hy_110{left:unset;right:16px;transform:translate(0)}}._multiSelectWrapper_eu431_1{position:relative;width:100%;-webkit-user-select:none;user-select:none}._selectedOptions_eu431_7{display:flex;flex:1;padding-right:2.5rem;justify-content:space-between;align-items:center;font-family:inherit;font-size:16px;line-height:24px;font-weight:400;padding:11px 12px 11px 24px;border-radius:48px;border:1px solid #B1B5C3;background:#fff;box-sizing:border-box;outline:none}._selectedOptions_eu431_7:hover{border:1px solid #777E90}._selectedOptionsOpened_eu431_28{border:1px solid #141416}._selectOptionsDisabled_eu431_32{pointer-events:none;background:#f4f5f6;border:1px solid #E6E8EC;color:#b1b5c3}._optionsList_eu431_39{position:absolute;top:52px;width:inherit;padding:12px 24px 24px;border:1px solid #e6e8ec;border-radius:24px;background:#fff;box-shadow:0 5px 12px #0000001f,0 21px 21px #0000001a;z-index:120;box-sizing:border-box;max-height:262px;overflow-y:scroll}._inputWrapper_eu431_54{display:flex;align-items:center}._inputWrapper_eu431_54 input{cursor:pointer}._option_eu431_39{display:flex;justify-content:space-between;align-items:center;padding:12px 0;cursor:pointer}._option_eu431_39:not(:last-child){border-bottom:1px solid #F4F5F6}._option_eu431_39:hover{opacity:.7}._icon_eu431_76{position:absolute;right:12px;pointer-events:none}._btnRound_7sz3m_1{display:flex;justify-content:center;align-items:center;border-radius:50%;padding:7px;box-sizing:border-box;cursor:pointer}._btnRound_7sz3m_1:disabled{opacity:.2}._btnRound_7sz3m_1:focus{outline:0}._small-size_7sz3m_17{width:32px;height:32px}._medium-size_7sz3m_22{width:40px;height:40px;padding:9px}._large-size_7sz3m_28{width:48px;height:48px;padding:11px}._whiteStroke_7sz3m_34{border:1px solid #e6e8ec;background-color:#fff}._whiteStroke_7sz3m_34:hover{border:1px solid #b1b5c3}._whiteStroke_7sz3m_34:active{border:1px solid #141416}@media (min-width: 1024px){._small-size_m_7sz3m_46{width:32px;height:32px}._medium-size_m_7sz3m_50{width:40px;height:40px;padding:9px}._large-size_m_7sz3m_55{width:48px;height:48px;padding:11px}}@media (min-width: 1440px){._small-size_l_7sz3m_62{width:32px;height:32px}._medium-size_l_7sz3m_66{width:40px;height:40px;padding:9px}._large-size_l_7sz3m_71{width:48px;height:48px;padding:11px}}._btnCommon_1cazw_1{position:relative;font-family:inherit;font-weight:500;display:flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px;text-decoration:none;cursor:pointer}._btnCommon_1cazw_1:disabled{opacity:.2}._btnLoading_1cazw_19{pointer-events:none}._isHidden_1cazw_23{visibility:hidden}._auto-width_1cazw_27{width:max-content}._full-width_1cazw_31{width:100%}._tiny-size_1cazw_35{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_1cazw_43{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_1cazw_51{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_1cazw_59{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}._blue_1cazw_67{background:#015ff9;border:1px solid #015ff9;color:#fff}._blue_1cazw_67:hover{background:#024ac0;border:1px solid #024ac0}._blue_1cazw_67:active{background:#0645aa;border:1px solid #0645aa}._sokolniki_1cazw_81{background:#60663e;border:1px solid #60663e;color:#fff}._sokolniki_1cazw_81:hover{background:#494f29;border:1px solid #494f29}._sokolniki_1cazw_81:active{background:#303519;border:1px solid #303519}._black_1cazw_95{background:#141416;border:1px solid #141416;color:#fff}._black_1cazw_95:hover{background:#23262f;border:1px solid #353945}._black_1cazw_95:active{background:#353945;border:1px solid #777e90}._gray_1cazw_109{background:#f4f5f6;border:1px solid #f4f5f6;color:#777e90}._gray_1cazw_109:hover{background:#f4f5f6;border:1px solid #b1b5c3}._gray_1cazw_109:active{background:#e6e8ec;border:1px solid #b1b5c3}._whiteStroke_1cazw_123{background:#fff;border:1px solid #e6e8ec;color:#141416}._whiteStroke_1cazw_123:hover{border:1px solid #b1b5c3}._whiteStroke_1cazw_123:active{border:1px solid #141416}._whiteFilled_1cazw_135{background:#fff;border:1px solid #ffffff;color:#141416}._whiteFilled_1cazw_135:hover{background:#fcfcfd;border:1px solid #f4f5f6}._whiteFilled_1cazw_135:active{background:#f4f5f6;border:1px solid #f4f5f6}._shade_1cazw_149{background:#23262f;border:1px solid #23262F;color:#fff}@keyframes _LoaderSpin_1cazw_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._volodiyaLight_1cazw_163{background:#353945;border:1px solid #353945;color:#fff}._loader_1cazw_169{position:absolute;animation:_LoaderSpin_1cazw_1 1.4s infinite linear}@media (min-width: 1024px){._tiny-size_m_1cazw_175{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_m_1cazw_182{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_m_1cazw_189{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_m_1cazw_196{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}}@media (min-width: 1440px){._tiny-size_l_1cazw_205{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_l_1cazw_212{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_l_1cazw_219{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_l_1cazw_226{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}}._btnCommon_1act6_1{font-family:inherit;font-weight:500;display:flex;flex-direction:column;justify-content:space-between;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px;cursor:pointer}._btnCommon_1act6_1:disabled{opacity:.2}._auto-width_1act6_18{width:auto}._full-width_1act6_22{width:100%}._small-size_1act6_26{font-size:10px;line-height:12px;min-height:56px;padding:7px 11px;gap:4px}._whiteFilled_1act6_34{background:#fff;border:1px solid #ffffff;color:#777e90}._whiteFilled_1act6_34:hover{background:#fcfcfd;border:1px solid #f4f5f6}._whiteFilled_1act6_34:active{background:#f4f5f6;border:1px solid #f4f5f6}._destination_1c7de_1{display:flex;justify-content:space-between;align-items:center;gap:8px;border-radius:110px;cursor:pointer}._destination_1c7de_1 input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}._destination_1c7de_1 span{display:block;width:8px;height:8px;border-radius:50%}._auto-width_1c7de_29{width:max-content}._full-width_1c7de_33{width:100%}._medium-size_1c7de_37{padding:9px 23px}._medium-size_1c7de_37 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_1c7de_37 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_1c7de_51{padding:11px 31px}._large-size_1c7de_51 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_1c7de_51 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}._whiteStroke_1c7de_65{color:#353945;border:1px solid #f4f5f6}._whiteStroke_1c7de_65:hover{border:1px solid #b1b5c3}._whiteStroke_1c7de_65:active{background-color:#e6e8ec}._whiteStroke_1c7de_65 ._routeText_1c7de_45,._whiteStroke_1c7de_65 ._routeWrapper_1c7de_78{color:#777e90}._whiteStroke_1c7de_65:has(input:checked){border:1px solid #141416;background-color:#141416;color:#fff}._whiteStroke_1c7de_65:has(input:checked):hover{border:1px solid #353945;background-color:#23262f}._whiteStroke_1c7de_65:has(input:checked):active{background-color:#353945;border:1px solid #777E90}._whiteStroke_1c7de_65:has(input:checked) ._routeText_1c7de_45{color:#b1b5c3}._whiteStroke_1c7de_65:has(input:checked) ._routeWrapper_1c7de_78{color:#b1b5c3}._routeWrapper_1c7de_78{display:flex;gap:4px;justify-content:space-between;align-items:center}@media (min-width: 1024px){._medium-size_m_1c7de_109{padding:9px 23px}._medium-size_m_1c7de_109 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_m_1c7de_109 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_m_1c7de_122{padding:11px 31px}._large-size_m_1c7de_122 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_m_1c7de_122 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}}@media (min-width: 1440px){._medium-size_l_1c7de_137{padding:9px 23px}._medium-size_l_1c7de_137 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_l_1c7de_137 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_l_1c7de_150{padding:11px 31px}._large-size_l_1c7de_150 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_l_1c7de_150 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}}._tagCommon_13otg_1{font-family:inherit;font-weight:400;display:flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px}._tagCommon_13otg_1:disabled{opacity:.2}._auto-width_13otg_16{width:max-content}._full-width_13otg_20{width:100%}._medium-size_13otg_24{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._tiny-size_13otg_32{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._small-size_13otg_40{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge-size_13otg_48{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_13otg_56{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}._red_13otg_64{background:#ec5353;border:1px solid #ec5353;color:#fff}._gray_13otg_70{background:#f4f5f6;border:none;color:#353945}._shade_13otg_76{background:#141416cc;border:none;color:#fff}._blackGrey_13otg_82{background-color:#23262f;border:none;color:#e6e8ec}._chineseBlack_13otg_88{background-color:#141416;border:none;color:#fff}@media (min-width: 1024px){._tiny-size_m_13otg_95{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._medium-size_m_13otg_102{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._small-size_m_13otg_109{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge_size_m_13otg_116{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_m_13otg_123{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}}@media (min-width: 1440px){._tiny-size_l_13otg_132{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._medium-size_l_13otg_139{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._small-size_l_13otg_146{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge-size_l_13otg_153{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_l_13otg_160{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}}._root_fi64k_1{display:flex}._gap-1_fi64k_5{gap:4px}._gap-2_fi64k_9{gap:8px}._gap-3_fi64k_13{gap:12px}._gap-4_fi64k_17{gap:16px}._gap-5_fi64k_21{gap:20px}._gap-6_fi64k_25{gap:24px}._gap-7_fi64k_29{gap:28px}._gap-8_fi64k_33{gap:32px}._gap-9_fi64k_37{gap:36px}._gap-10_fi64k_41{gap:40px}._gap-11_fi64k_45{gap:44px}._gap-12_fi64k_49{gap:48px}._gap-13_fi64k_53{gap:52px}._gap-14_fi64k_57{gap:56px}._gap-15_fi64k_61{gap:60px}._gap-16_fi64k_65{gap:64px}._fd-row_fi64k_69{flex-direction:row}._fd-row-reverse_fi64k_73{flex-direction:row-reverse}._fd-column_fi64k_77{flex-direction:column}._fd-column-reverse_fi64k_81{flex-direction:column-reverse}._w-nowrap_fi64k_85{flex-wrap:nowrap}._w-wrap_fi64k_89{flex-wrap:wrap}._w-wrap-reverse_fi64k_93{flex-wrap:wrap-reverse}._jc-flex-start_fi64k_97{justify-content:flex-start}._jc-flex-end_fi64k_101{justify-content:flex-end}._jc-center_fi64k_105{justify-content:center}._jc-space-between_fi64k_109{justify-content:space-between}._jc-space-around_fi64k_113{justify-content:space-around}._jc-space-evenly_fi64k_117{justify-content:space-evenly}._ai-stretch_fi64k_121{align-items:stretch}._ai-flex-start_fi64k_125{align-items:flex-start}._ai-flex-end_fi64k_129{align-items:flex-end}._ai-center_fi64k_133{align-items:center}._ai-baseline_fi64k_137{align-items:baseline}._auto-width_qoqna_1{width:max-content;min-width:100px}._full-width_qoqna_6{width:100%}._inputWrapper_qoqna_10{display:flex;gap:4px;border-radius:48px;padding:10px 23px;border:1px solid #b1b5c3;box-sizing:border-box}._inputWrapper_qoqna_10 input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}._inputWrapper_qoqna_10 input{min-width:50px;width:100%;border:none;background:transparent;font-size:16px;line-height:24px;box-sizing:border-box}._inputWrapper_qoqna_10 input:focus{outline:none}._inputWrapperPost_qoqna_34,._inputWrapperPre_qoqna_35{font-size:16px;line-height:24px;font-weight:400;padding:10px 12px 10px 23px}._inputWrapperPost_qoqna_34 input,._inputWrapperPre_qoqna_35 input{font-size:16px;line-height:24px}._light_qoqna_47{background:#fff;border:1px solid #b1b5c3}._light_qoqna_47 input{color:#141416}._light_qoqna_47 input::placeholder{color:#b1b5c3}._light_qoqna_47 span{color:#b1b5c3}._light_qoqna_47:hover{border:1px solid #777e90}._light_qoqna_47:has(input:focus){border:1px solid #141416}._light_qoqna_47:has(input:disabled){background:#f4f5f6;border:1px solid #e6e8ec}._light_qoqna_47:has(input:disabled) input{color:#b1b5c3}._light_qoqna_47:has(input:disabled) input::placeholder{color:#b1b5c3}._light_qoqna_47:has(input:disabled) span{color:#b1b5c3}._dark_qoqna_80{background:#23262f;border:1px solid #353945}._dark_qoqna_80 input{color:#fff}._dark_qoqna_80 input::placeholder{color:#777e90}._dark_qoqna_80 span{color:#777e90}._dark_qoqna_80:hover{border:1px solid #777e90}._dark_qoqna_80:has(input:focus){border:1px solid #ffffff}._dark_qoqna_80:has(input:disabled){background:#141416;border:1px solid #353945}._dark_qoqna_80:has(input:disabled) input{color:#353945}._dark_qoqna_80:has(input:disabled) input::placeholder{color:#353945}._dark_qoqna_80:has(input:disabled) span{color:#353945}._dark_qoqna_80:has(input:invalid){border:1px solid #ec5353}._inputWrapperError_qoqna_116{border:1px solid #ec5353}._fieldInputWrapper_14ghj_1{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}._fieldInputWrapper_14ghj_1 label{font-family:inherit;font-size:12px;line-height:16px;font-weight:400;color:#141416}._root_oqb5i_1{display:flex;width:100%}._root_oqb5i_1>div:not(:first-of-type){border-left-width:.5px;border-top-left-radius:0;border-bottom-left-radius:0}._root_oqb5i_1>div:not(:last-of-type){border-right-width:.5px;border-top-right-radius:0;border-bottom-right-radius:0}._root_129gd_1{display:flex;padding:16px 0;gap:8px;width:max-content;box-sizing:border-box}._root_129gd_1 span{display:block;width:8px;height:8px;border-radius:50%}._metroColor_129gd_15{display:flex;align-items:center;font-size:14px;line-height:20px;font-weight:500;gap:8px;color:#353945}._route_129gd_25{display:flex;align-items:center;gap:4px;font-size:12px;line-height:16px;font-weight:500;color:#777e90}._auto-width_129gd_35{width:max-content}._full-width_129gd_39{width:100%}@media (min-width: 1024px){._root_129gd_1{padding:10px 24px;border-radius:110px;background:#f4f5f6}}._root_1tlck_1{display:flex;flex-direction:column;padding:32px 24px 24px;border:1px solid #e6e8ec;border-radius:24px;box-sizing:border-box}._lotImageWrapper_1tlck_10{display:flex;justify-content:center}._lotInfoWrapper_1tlck_15{display:flex;flex-direction:column;gap:16px;margin:32px 0 0}._infoHeader_1tlck_22{font-family:inherit;font-size:24px;line-height:32px;font-weight:500;letter-spacing:-.01em;color:#141416}._decor_1tlck_31{display:none}._decor_1tlck_31 span{display:block}._lotPropertyListMobile_1tlck_38{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}._lotPropertyItem_1tlck_46{display:flex;justify-content:space-between;font-family:inherit;font-size:14px;line-height:20px;padding:8px 0;border-bottom:1px solid #F4F5F6}._lotPropertyItem_1tlck_46 div:first-child{font-weight:400;color:#353945}._lotPropertyItem_1tlck_46 div:last-child{font-weight:500;color:#141416}._lotPropertyListDesktop_1tlck_64{display:none}._lotPriceWrapper_1tlck_68{font-family:inherit;font-size:18px;line-height:24px;margin:16px 0 0}._discountWrapper_1tlck_75{display:flex;justify-content:space-between;align-items:center}._discountWrapper_1tlck_75>div:last-child{font-weight:500;color:#141416}._discountPrice_1tlck_85{display:flex;align-items:center;font-weight:400;gap:8px;color:#b1b5c3}._discountPrice_1tlck_85 span{text-decoration:line-through;text-decoration-color:#ec5353}._lotPricePerMetr_1tlck_97{width:max-content;display:none}._btnWrapper_1tlck_102{display:flex;gap:8px;margin:24px 0 0}._btnWrapper_1tlck_102>button:first-child{display:none}@media (min-width: 1024px){._root_1tlck_1{flex-direction:row;gap:32px;padding:31px 30px 31px 32px}._lotImageWrapper_1tlck_10 img{width:148px;height:106px}._lotInfoWrapper_1tlck_15{display:flex;flex-direction:column;gap:0;margin:0}._decor_1tlck_31{display:flex;align-items:center;gap:8px;margin:4px 0 0;font-family:inherit;font-size:16px;line-height:24px;font-weight:500;color:#777e90}._lotPropertyListMobile_1tlck_38{display:none}._lotPropertyListDesktop_1tlck_64{display:flex;gap:8px;margin:16px 0 0}._lotPriceWrapper_1tlck_68{font-size:24px;line-height:32px;margin:0 0 0 auto}._discountWrapper_1tlck_75{gap:12px}._discountPrice_1tlck_85{font-size:14px;line-height:20px;gap:12px}._lotPricePerMetr_1tlck_97{display:block;margin:0 0 0 auto;font-size:14px;line-height:20px;font-weight:400;color:#353945}._btnWrapper_1tlck_102{justify-content:flex-end}._btnWrapper_1tlck_102>button:first-child{display:block}._btnWrapper_1tlck_102>button:last-child{width:max-content}}._wrapper_nzllw_1{display:flex;align-items:center;gap:8px}._logo_nzllw_7{width:81px;height:16px}._wrapperBetween_nzllw_12{width:100%;justify-content:space-between}._uk_nzllw_17{font-size:8px;line-height:8px;font-weight:600;letter-spacing:.11em;text-transform:uppercase}._uk_black_nzllw_24{color:#141416}._uk_white_nzllw_27{color:#fff}@media (min-width: 1024px){._logo_nzllw_7{width:101px;height:20px}._uk_nzllw_17{font-size:9px;line-height:10px}}._root_1cpat_1{display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100%;height:100%;z-index:102;overflow:auto;box-sizing:border-box}._modalBody_1cpat_15{position:absolute}._modalOverlay_1cpat_19{position:absolute;width:100%;height:100vh;background:#00000080}._isTransparentBack_1cpat_26{opacity:.5}
@@ -0,0 +1,76 @@
1
+ import { jsxs as p, jsx as s } from "react/jsx-runtime";
2
+ import { c as y } from "./index-DIxK0V-G.js";
3
+ const v = "_sortSelectWrapper_636hy_1", b = "_selectedOptions_636hy_8", x = "_selectedOptionsOpened_636hy_32", B = "_selectOptionsDisabled_636hy_36", C = "_optionsList_636hy_43", S = "_mobileOptionList_636hy_58", f = "_mobileSortHeader_636hy_65", g = "_modalAddBody_636hy_79", L = "_inputWrapper_636hy_85", W = "_option_636hy_43", D = "_icon_636hy_110", N = "_checkBox_636hy_117", A = "_checkBoxChecked_636hy_124", H = "_innerCheck_636hy_131", o = {
4
+ sortSelectWrapper: v,
5
+ selectedOptions: b,
6
+ selectedOptionsOpened: x,
7
+ selectOptionsDisabled: B,
8
+ optionsList: C,
9
+ mobileOptionList: S,
10
+ mobileSortHeader: f,
11
+ modalAddBody: g,
12
+ inputWrapper: L,
13
+ option: W,
14
+ icon: D,
15
+ checkBox: N,
16
+ checkBoxChecked: A,
17
+ innerCheck: H
18
+ }, i = y.bind(o), q = ({
19
+ selectedOption: e,
20
+ setSelectedOption: h,
21
+ setIsOpen: t,
22
+ containerRef: r,
23
+ onBlur: a,
24
+ onChange: l,
25
+ isMobile: u,
26
+ placeholder: d
27
+ }) => {
28
+ const m = (c) => (n) => {
29
+ n.stopPropagation();
30
+ const _ = (e == null ? void 0 : e.value) === c.value ? null : c;
31
+ if (h(_), l) {
32
+ const k = {
33
+ ...n,
34
+ target: { value: _ }
35
+ };
36
+ l(k);
37
+ }
38
+ t(!1);
39
+ };
40
+ return { handleDocumentClick: (c) => {
41
+ r.current && !r.current.contains(c.target) && t(!1);
42
+ }, handleBlur: (c) => {
43
+ if (a) {
44
+ const n = {
45
+ ...c,
46
+ target: { value: e }
47
+ };
48
+ a(n);
49
+ }
50
+ }, getInputValue: () => u ? "" : e ? e.label : d, getOption: (c) => /* @__PURE__ */ p(
51
+ "div",
52
+ {
53
+ className: i(o.option, {
54
+ [o.selected]: (e == null ? void 0 : e.value) === c.value
55
+ }),
56
+ onClick: m(c),
57
+ children: [
58
+ /* @__PURE__ */ s("div", { children: c.label }),
59
+ /* @__PURE__ */ s(
60
+ "div",
61
+ {
62
+ className: i(o.checkBox, {
63
+ [o.checkBoxChecked]: (e == null ? void 0 : e.value) === c.value
64
+ }),
65
+ children: (e == null ? void 0 : e.value) === c.value && /* @__PURE__ */ s("div", { className: o.innerCheck })
66
+ }
67
+ )
68
+ ]
69
+ },
70
+ c.value
71
+ ) };
72
+ };
73
+ export {
74
+ o as s,
75
+ q as u
76
+ };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "stone-kit",
3
3
  "description": "uikit for redesign",
4
4
  "private": false,
5
- "version": "0.0.88",
5
+ "version": "0.0.90",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",