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.
- package/dist/App.js +1 -1
- package/dist/FilterWithSave-BWA01WwU.js +2476 -0
- package/dist/{Menu-CdJTzN7T.js → Menu-CeBSiTyP.js} +176 -157
- package/dist/{Option-rFBMQAPk.js → Option-DU8cvBnA.js} +1 -1
- package/dist/Router.js +1 -1
- package/dist/components/Button/ui/Button.d.ts +1 -0
- package/dist/components/Button/ui/Button.js +1 -1
- package/dist/components/Button/ui/Button.types.d.ts +1 -0
- package/dist/components/CheckBox/CheckBox.d.ts +1 -0
- package/dist/components/CheckBox/CheckBox.js +1 -1
- package/dist/components/CheckBox/CheckBox.types.d.ts +1 -0
- package/dist/components/CheckBoxNew/CheckBox.types.d.ts +1 -0
- package/dist/components/CheckBoxNew/CheckBoxNew.d.ts +1 -0
- package/dist/components/CheckBoxNew/CheckBoxNew.js +17 -17
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +1 -0
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +34 -34
- package/dist/components/CommercialLotCard/CommercialLotCard.d.ts +1 -0
- package/dist/components/CommercialLotCard/CommercialLotCard.js +7 -50
- package/dist/components/CommercialLotCard/components/Price/Price.d.ts +1 -0
- package/dist/components/CommercialLotCard/components/Price/Price.js +24 -23
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.d.ts +1 -0
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +27 -98
- package/dist/components/CommercialLotCard/components/Tags/Tags.d.ts +1 -0
- package/dist/components/CommercialLotCard/components/Tags/Tags.js +17 -17
- package/dist/components/CommercialLotCard/types/CommercialLotCard.types.d.ts +1 -0
- package/dist/components/CommercialLotCard/types/LotCard.d.ts +1 -0
- package/dist/components/CommercialLotCard/utils/formatPrice.js +2 -1
- package/dist/components/CommercialLotCard/utils/getTagsFeatures.d.ts +2 -1
- package/dist/components/DestinationTab/ui/DestinationTab.d.ts +1 -0
- package/dist/components/DestinationTab/ui/DestinationTab.js +41 -41
- package/dist/components/DestinationTab/ui/DestinationTab.types.d.ts +1 -0
- package/dist/components/FieldInput/ui/FieldInput.d.ts +1 -0
- package/dist/components/FieldInput/ui/FieldInput.types.d.ts +1 -0
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +1 -0
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +26 -54
- package/dist/components/FilterWithSave/ui/FilterWithSave.d.ts +1 -0
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +7 -328
- package/dist/components/Flex/ui/Flex.d.ts +1 -0
- package/dist/components/Flex/ui/Flex.js +1 -1
- package/dist/components/Flex/ui/Flex.types.d.ts +1 -0
- package/dist/components/FormModal/ui/ModalForm.js +28 -1430
- package/dist/components/GroupedInput/ui/GroupedInputs.d.ts +1 -0
- package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
- package/dist/components/GroupedInput/ui/GroupedInputs.types.d.ts +1 -0
- package/dist/components/Input/ui/Input.d.ts +2 -1
- package/dist/components/Input/ui/Input.js +304 -234
- package/dist/components/Logo/ui/Logo.d.ts +1 -0
- package/dist/components/Logo/ui/Logo.js +6 -6
- package/dist/components/LotCard/hooks/useLotCard.d.ts +1 -0
- package/dist/components/LotCard/hooks/useLotCard.js +24 -6
- package/dist/components/LotCard/index.js +2 -2
- package/dist/components/LotCard/ui/LotCard.d.ts +1 -0
- package/dist/components/LotCard/ui/LotCard.js +10 -213
- package/dist/components/LotCard/ui/LotCard.types.d.ts +1 -0
- package/dist/components/LotCard/utils/formatPrice.js +2 -1
- package/dist/components/LotCard/utils/getTagsFeatures.d.ts +2 -1
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +1 -1
- package/dist/components/MetroLabel/ui/MetroLabel.d.ts +1 -0
- package/dist/components/MetroLabel/ui/MetroLabel.js +16 -16
- package/dist/components/MetroLabel/ui/MetroLabel.types.d.ts +1 -0
- package/dist/components/MetroTag/ui/MetroTag.d.ts +1 -0
- package/dist/components/MetroTag/ui/MetroTag.js +74 -74
- package/dist/components/MetroTag/ui/MetroTag.types.d.ts +1 -0
- package/dist/components/Modal/ui/Modal.d.ts +1 -0
- package/dist/components/Modal/ui/Modal.js +37 -34
- package/dist/components/Modal/ui/Modal.types.d.ts +1 -0
- package/dist/components/ModalSuccess/ModalSuccess.d.ts +1 -0
- package/dist/components/ModalSuccess/ModalSuccess.js +19 -18
- package/dist/components/ModalSuccess/ModalSuccess.types.d.ts +1 -0
- package/dist/components/NewIcon/icons/PinTrans.d.ts +1 -0
- package/dist/components/NewIcon/icons/SmallFilter.d.ts +1 -0
- package/dist/components/NewIcon/ui/NewIcon.d.ts +1 -0
- package/dist/components/NewIcon/ui/NewIcon.js +3 -3
- package/dist/components/NewIcon/ui/NewIcon.types.d.ts +1 -0
- package/dist/components/NewIcon/ui/iconTypes.d.ts +1 -0
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +11 -9
- package/dist/components/RoundButton/ui/RoundButton.d.ts +1 -0
- package/dist/components/RoundButton/ui/RoundButton.js +2 -2
- package/dist/components/RoundButton/ui/RoundButton.types.d.ts +1 -0
- package/dist/components/Select/model/selectMode.d.ts +1 -0
- package/dist/components/Select/model/selectMode.js +30 -30
- package/dist/components/Select/ui/Category.d.ts +1 -0
- package/dist/components/Select/ui/Category.js +3 -3
- package/dist/components/Select/ui/Option.d.ts +1 -0
- package/dist/components/Select/ui/Option.js +2 -2
- package/dist/components/Select/ui/Select.d.ts +1 -0
- package/dist/components/Select/ui/Select.js +115 -115
- package/dist/components/SliderNavigation/index.d.ts +1 -0
- package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +1 -0
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +6 -6
- package/dist/components/SortSelect/hooks/useSortSelect.d.ts +2 -1
- package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.d.ts +1 -0
- package/dist/components/SortSelect/ui/SortSelect.js +26 -108
- package/dist/components/SortSelect/ui/SortSelect.types.d.ts +1 -0
- package/dist/components/SummarySelect/ui/SummarySelect.d.ts +1 -0
- package/dist/components/SummarySelect/ui/SummarySelect.js +65 -59
- package/dist/components/Switcher/ui/Switcher.d.ts +1 -0
- package/dist/components/Switcher/ui/Switcher.js +1 -1
- package/dist/components/Switcher/ui/Switcher.types.d.ts +1 -0
- package/dist/components/TabSelect/ui/TabSelect.d.ts +13 -7
- package/dist/components/TabSelect/ui/TabSelect.js +42 -37
- package/dist/components/TabSwitcher/index.js +2 -2
- package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +5 -3
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +26 -118
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +2 -1
- package/dist/components/Tag/ui/Tag.d.ts +1 -0
- package/dist/components/Tag/ui/Tag.js +91 -91
- package/dist/components/Tag/ui/Tag.types.d.ts +1 -0
- package/dist/components/Text/ui/Text.d.ts +1 -0
- package/dist/components/Text/ui/Text.js +1 -1
- package/dist/components/Text/ui/Text.types.d.ts +1 -0
- package/dist/components/TextArea/TextArea.d.ts +9 -0
- package/dist/components/TextArea/TextArea.js +18 -12
- package/dist/components/ZoomControls/ui/ZoomControls.d.ts +1 -0
- package/dist/components/ZoomControls/ui/ZoomControls.types.d.ts +1 -0
- package/dist/components/mobileButton/ui/MobileButton.d.ts +1 -0
- package/dist/components/mobileButton/ui/MobileButton.js +1 -1
- package/dist/components/mobileButton/ui/MobileButton.types.d.ts +1 -0
- package/dist/{index-CBdtKu-u.js → index-DmANy9jd.js} +271 -272
- package/dist/{index-3E04UaC2.js → index-DvCs2JPX.js} +9629 -9529
- package/dist/index-rKuIKazb.js +45 -0
- package/dist/layout/Layout.d.ts +1 -0
- package/dist/layout/components/Header/Header.js +71 -48
- package/dist/layout/components/Menu.js +24 -2
- package/dist/main.js +65 -70
- package/dist/pages/ButtonsPage/Buttons.js +63 -57
- package/dist/pages/FormsPage/FormsPage.js +50 -26
- package/dist/pages/IconsPage/IconsPage.js +31 -9
- package/dist/pages/InputPage/InputPage.js +32 -10
- package/dist/pages/LogoPage/LogoPage.js +35 -13
- package/dist/pages/LotsPage/LotsPage.js +17 -18
- package/dist/pages/LotsPage/const.d.ts +1 -0
- package/dist/pages/ModalsPage/ModalPage.js +66 -46
- package/dist/pages/SelectPage/SelectPage.js +58 -58
- package/dist/pages/TabsPage/TabsPage.js +20 -19
- package/dist/pages/TagsPage/TagsPage.js +44 -23
- package/dist/shared/checkLargeOffice.d.ts +1 -0
- package/dist/shared/checkLargeOffice.js +1 -1
- package/dist/shared/mlnRound.js +2 -1
- package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +2 -2
- package/dist/stories/shared/ui/Button/Button.stories.js +5 -5
- package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +1 -1
- package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +1 -1
- package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +1 -1
- package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +1 -1
- package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +1 -1
- package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +2 -2
- package/dist/stories/shared/ui/FormModal/FormModal.stories.js +8 -8
- package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +1 -1
- package/dist/stories/shared/ui/Logo/Logo.stories.js +1 -1
- package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +1 -1
- package/dist/stories/shared/ui/Modal/Modal.stories.js +1 -1
- package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +1 -1
- package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +1 -1
- package/dist/stories/shared/ui/Select/Select.stories.js +1 -1
- package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +1 -1
- package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +2 -2
- package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +1 -1
- package/dist/stories/shared/ui/Switcher/Switcher.stories.js +1 -1
- package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +1 -1
- package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +2 -2
- package/dist/stories/shared/ui/Tag/Tag.stories.js +4 -4
- package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
- package/dist/style.css +1 -0
- package/dist/useSortSelect-BTCEVMVn.js +80 -0
- package/package.json +22 -31
- package/dist/ButtonState.module-DtW3aevR.js +0 -8
- package/dist/components/TextArea/TextArea.types.d.ts +0 -10
- package/dist/components/TextArea/TextArea.types.js +0 -1
- package/dist/index-B2JRaoNz.js +0 -48
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.d.ts +0 -6
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +0 -121
- package/dist/stone-kit.css +0 -1
- package/dist/useLotCard-DG9doKCX.js +0 -186
- package/dist/useSortSelect-C72ddcYI.js +0 -80
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { NewIcon as
|
|
4
|
-
const
|
|
5
|
-
root:
|
|
6
|
-
iconsWrapper:
|
|
7
|
-
metroColor:
|
|
8
|
-
route:
|
|
9
|
-
auto:
|
|
10
|
-
full:
|
|
11
|
-
transparent:
|
|
12
|
-
long:
|
|
13
|
-
mini:
|
|
14
|
-
metroColorMini:
|
|
15
|
-
routeMini:
|
|
16
|
-
withBg:
|
|
17
|
-
withWhiteBg:
|
|
18
|
-
},
|
|
1
|
+
import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as w } from "../../../index-rKuIKazb.js";
|
|
3
|
+
import { NewIcon as t } from "../../NewIcon/ui/NewIcon.js";
|
|
4
|
+
const N = "_root_16fjr_1", W = "_iconsWrapper_16fjr_17", x = "_metroColor_16fjr_27", B = "_route_16fjr_37", T = "_auto_16fjr_47", $ = "_full_16fjr_51", C = "_transparent_16fjr_55", b = "_long_16fjr_60", v = "_mini_16fjr_64", y = "_metroColorMini_16fjr_68", I = "_routeMini_16fjr_77", z = "_withBg_16fjr_90", E = "_withWhiteBg_16fjr_94", n = {
|
|
5
|
+
root: N,
|
|
6
|
+
iconsWrapper: W,
|
|
7
|
+
metroColor: x,
|
|
8
|
+
route: B,
|
|
9
|
+
auto: T,
|
|
10
|
+
full: $,
|
|
11
|
+
transparent: C,
|
|
12
|
+
long: b,
|
|
13
|
+
mini: v,
|
|
14
|
+
metroColorMini: y,
|
|
15
|
+
routeMini: I,
|
|
16
|
+
withBg: z,
|
|
17
|
+
withWhiteBg: E
|
|
18
|
+
}, e = w.bind(n), q = ({
|
|
19
19
|
addClassName: a,
|
|
20
20
|
addClassNameColor: _,
|
|
21
|
-
addClassNameTimeTo:
|
|
22
|
-
metro:
|
|
23
|
-
separatorColor:
|
|
21
|
+
addClassNameTimeTo: j,
|
|
22
|
+
metro: o,
|
|
23
|
+
separatorColor: M = "#F4F5F6",
|
|
24
24
|
width: u = "auto",
|
|
25
|
-
variant:
|
|
25
|
+
variant: l = "default",
|
|
26
26
|
isBetween: f = !1,
|
|
27
27
|
withBg: d = !1,
|
|
28
|
-
withWhiteBg:
|
|
29
|
-
...
|
|
28
|
+
withWhiteBg: p = !1,
|
|
29
|
+
...h
|
|
30
30
|
}) => {
|
|
31
|
-
const
|
|
32
|
-
return Array.isArray(
|
|
31
|
+
const g = ["pedestrian", "auto"];
|
|
32
|
+
return Array.isArray(o) ? /* @__PURE__ */ c(
|
|
33
33
|
"div",
|
|
34
34
|
{
|
|
35
|
-
className:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
className: e(
|
|
36
|
+
n.root,
|
|
37
|
+
n[l],
|
|
38
|
+
n[f ? "long" : ""],
|
|
39
|
+
n[d ? "withBg" : ""],
|
|
40
|
+
n[p ? "withWhiteBg" : ""],
|
|
41
41
|
a,
|
|
42
|
-
|
|
42
|
+
n[u]
|
|
43
43
|
),
|
|
44
|
-
...
|
|
44
|
+
...h,
|
|
45
45
|
children: [
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ c("div", { className: e(n.metroColor, _), children: [
|
|
47
|
+
/* @__PURE__ */ r("div", { className: n.iconsWrapper, children: o.map((i, s) => i.icon ? /* @__PURE__ */ r(
|
|
48
48
|
"div",
|
|
49
49
|
{
|
|
50
|
-
className:
|
|
51
|
-
children:
|
|
52
|
-
|
|
50
|
+
className: n.icon,
|
|
51
|
+
children: (i == null ? void 0 : i.icon) && /* @__PURE__ */ r(
|
|
52
|
+
t,
|
|
53
53
|
{
|
|
54
54
|
size: "20",
|
|
55
|
-
name:
|
|
55
|
+
name: i.icon,
|
|
56
56
|
color: "#777E90"
|
|
57
57
|
}
|
|
58
58
|
)
|
|
59
59
|
},
|
|
60
|
-
`metro + ${
|
|
61
|
-
) : /* @__PURE__ */
|
|
60
|
+
`metro + ${i.name} + ${s}`
|
|
61
|
+
) : /* @__PURE__ */ r(
|
|
62
62
|
"span",
|
|
63
63
|
{
|
|
64
64
|
style: {
|
|
65
|
-
background:
|
|
66
|
-
border:
|
|
65
|
+
background: (i == null ? void 0 : i.color) ?? "",
|
|
66
|
+
border: s > 0 ? `1px solid ${M}` : ""
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
-
`color + ${
|
|
69
|
+
`color + ${i.name} + ${s}`
|
|
70
70
|
)) }),
|
|
71
|
-
|
|
71
|
+
o.map((i) => i.name).join(", ")
|
|
72
72
|
] }),
|
|
73
|
-
|
|
73
|
+
o == null ? void 0 : o.map((i, s) => !i.mode || !i.timeTo ? null : /* @__PURE__ */ c(
|
|
74
74
|
"div",
|
|
75
75
|
{
|
|
76
|
-
className:
|
|
76
|
+
className: n.route,
|
|
77
77
|
children: [
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
g.includes(i.mode) && /* @__PURE__ */ r(
|
|
79
|
+
t,
|
|
80
80
|
{
|
|
81
81
|
size: "20",
|
|
82
|
-
name:
|
|
82
|
+
name: i.mode,
|
|
83
83
|
color: "#777E90"
|
|
84
84
|
}
|
|
85
85
|
),
|
|
86
|
-
|
|
86
|
+
i.timeTo + " " + (i.selfIconText ?? "мин")
|
|
87
87
|
]
|
|
88
88
|
},
|
|
89
|
-
`route - ${
|
|
89
|
+
`route - ${i.name} - ${s}`
|
|
90
90
|
))
|
|
91
91
|
]
|
|
92
92
|
}
|
|
93
|
-
) : /* @__PURE__ */
|
|
93
|
+
) : /* @__PURE__ */ c(
|
|
94
94
|
"div",
|
|
95
95
|
{
|
|
96
|
-
className:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
96
|
+
className: e(
|
|
97
|
+
n.root,
|
|
98
|
+
n[l],
|
|
99
|
+
n[f ? "long" : ""],
|
|
100
|
+
n[d ? "withBg" : ""],
|
|
101
|
+
n[p ? "withWhiteBg" : ""],
|
|
102
102
|
a,
|
|
103
|
-
|
|
103
|
+
n[u]
|
|
104
104
|
),
|
|
105
|
-
...
|
|
105
|
+
...h,
|
|
106
106
|
children: [
|
|
107
|
-
/* @__PURE__ */
|
|
107
|
+
/* @__PURE__ */ c(
|
|
108
108
|
"div",
|
|
109
109
|
{
|
|
110
|
-
className:
|
|
110
|
+
className: e(n.metroColor, _, { [n.metroColorMini]: l === "mini" }),
|
|
111
111
|
children: [
|
|
112
|
-
|
|
112
|
+
(o == null ? void 0 : o.icon) && /* @__PURE__ */ r(
|
|
113
113
|
"img",
|
|
114
114
|
{
|
|
115
|
-
src:
|
|
115
|
+
src: o.icon,
|
|
116
116
|
width: 20,
|
|
117
117
|
height: 20
|
|
118
118
|
}
|
|
119
119
|
),
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
(o == null ? void 0 : o.color) && !(o != null && o.icon) && /* @__PURE__ */ r("span", { style: { background: (o == null ? void 0 : o.color) ?? "" } }),
|
|
121
|
+
o.name
|
|
122
122
|
]
|
|
123
123
|
}
|
|
124
124
|
),
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
o.timeTo && /* @__PURE__ */ c("div", { className: e(n.route, j, { [n.routeMini]: l === "mini" }), children: [
|
|
126
|
+
o.mode && g.includes(o.mode) && /* @__PURE__ */ r(
|
|
127
|
+
t,
|
|
128
128
|
{
|
|
129
129
|
size: "20",
|
|
130
|
-
name:
|
|
130
|
+
name: o.mode,
|
|
131
131
|
color: "#777E90"
|
|
132
132
|
}
|
|
133
133
|
),
|
|
134
|
-
|
|
134
|
+
o.timeTo + " " + (o.selfIconText ?? "мин")
|
|
135
135
|
] })
|
|
136
136
|
]
|
|
137
137
|
}
|
|
138
138
|
);
|
|
139
139
|
};
|
|
140
140
|
export {
|
|
141
|
-
|
|
141
|
+
q as MetroTag
|
|
142
142
|
};
|
|
@@ -1,73 +1,76 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useEffect as
|
|
3
|
-
import { createPortal as
|
|
4
|
-
const N = "_root_1vbbc_11", C = "_modalBody_1vbbc_25", L = "_modalOverlay_1vbbc_30", x = "_isTransparentBack_1vbbc_41", s = {
|
|
1
|
+
import { jsxs as B, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect as $ } from "react";
|
|
3
|
+
import { createPortal as k } from "react-dom";
|
|
4
|
+
const N = "_root_1vbbc_11", C = "_modalBody_1vbbc_25", L = "_modalOverlay_1vbbc_30", x = "_isTransparentBack_1vbbc_41", I = "_fadeInUp_1vbbc_1", s = {
|
|
5
5
|
root: N,
|
|
6
6
|
modalBody: C,
|
|
7
7
|
modalOverlay: L,
|
|
8
|
-
isTransparentBack: x
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
isTransparentBack: x,
|
|
9
|
+
fadeInUp: I
|
|
10
|
+
}, g = ({
|
|
11
|
+
isOpen: d,
|
|
12
|
+
emitIsOpen: c,
|
|
13
|
+
isTransparentBack: e = !1,
|
|
14
|
+
isClickOutside: r = !0,
|
|
15
|
+
leaveDisableScroll: t = !1,
|
|
15
16
|
createPortalObj: o,
|
|
16
17
|
additionalClass: i,
|
|
17
18
|
additionalClassOverlay: m,
|
|
18
19
|
additionalClassModalBody: f,
|
|
19
20
|
opacity: u = 0.7,
|
|
20
21
|
colorOverlay: l,
|
|
21
|
-
notDisableScroll:
|
|
22
|
-
children:
|
|
23
|
-
modalBodyRef:
|
|
24
|
-
additionalStylesModalBody:
|
|
22
|
+
notDisableScroll: v = !1,
|
|
23
|
+
children: y,
|
|
24
|
+
modalBodyRef: _,
|
|
25
|
+
additionalStylesModalBody: b
|
|
25
26
|
}) => {
|
|
26
|
-
const
|
|
27
|
-
|
|
27
|
+
const p = () => {
|
|
28
|
+
r && c(!1);
|
|
28
29
|
};
|
|
29
|
-
|
|
30
|
-
if (!
|
|
31
|
-
if (
|
|
32
|
-
if (document.body.classList.contains("disable-scroll"))
|
|
30
|
+
$(() => {
|
|
31
|
+
if (!v) {
|
|
32
|
+
if (d) {
|
|
33
|
+
if (document.body.classList.contains("disable-scroll"))
|
|
34
|
+
return;
|
|
33
35
|
document.body.classList.add("disable-scroll");
|
|
34
36
|
} else {
|
|
35
|
-
if (
|
|
37
|
+
if (t)
|
|
38
|
+
return;
|
|
36
39
|
document.body.classList.remove("disable-scroll");
|
|
37
40
|
}
|
|
38
41
|
return () => document.body.classList.remove("disable-scroll");
|
|
39
42
|
}
|
|
40
|
-
}, [
|
|
41
|
-
const
|
|
43
|
+
}, [d]);
|
|
44
|
+
const n = /* @__PURE__ */ B(
|
|
42
45
|
"div",
|
|
43
46
|
{
|
|
44
47
|
className: `${s.root} ${i}`,
|
|
45
48
|
children: [
|
|
46
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ a(
|
|
47
50
|
"div",
|
|
48
51
|
{
|
|
49
|
-
onClick:
|
|
50
|
-
className: `${s.modalOverlay} ${m} ${
|
|
52
|
+
onClick: p,
|
|
53
|
+
className: `${s.modalOverlay} ${m} ${e ? s.isTransparentBack : ""}`,
|
|
51
54
|
style: {
|
|
52
|
-
opacity:
|
|
55
|
+
opacity: e ? u : void 0,
|
|
53
56
|
backgroundColor: l || void 0
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
),
|
|
57
|
-
/* @__PURE__ */
|
|
60
|
+
/* @__PURE__ */ a(
|
|
58
61
|
"div",
|
|
59
62
|
{
|
|
60
63
|
className: `${s.modalBody} ${f}`,
|
|
61
|
-
ref:
|
|
62
|
-
style:
|
|
63
|
-
children:
|
|
64
|
+
ref: _,
|
|
65
|
+
style: b,
|
|
66
|
+
children: y
|
|
64
67
|
}
|
|
65
68
|
)
|
|
66
69
|
]
|
|
67
70
|
}
|
|
68
71
|
);
|
|
69
|
-
return
|
|
72
|
+
return d ? o != null && o.domNode && o.domNode.isConnected ? k(n, o.domNode, o.key) : n : null;
|
|
70
73
|
};
|
|
71
74
|
export {
|
|
72
|
-
|
|
75
|
+
g as Modal
|
|
73
76
|
};
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { jsx as c, jsxs as
|
|
2
|
-
import { Modal as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
6
|
-
modal:
|
|
1
|
+
import { jsx as c, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { Modal as a } from "../Modal/ui/Modal.js";
|
|
3
|
+
import { Button as n } from "../Button/ui/Button.js";
|
|
4
|
+
import { NewIcon as s } from "../NewIcon/ui/NewIcon.js";
|
|
5
|
+
const d = "_modal_1og3m_1", m = "_modalBody_1og3m_9", r = "_root_1og3m_14", _ = "_check_1og3m_26", h = "_iconCircle_1og3m_32", C = "_iconCheck_1og3m_38", u = "_text_1og3m_44", k = "_successTitle_1og3m_52", g = "_title_1og3m_67", o = {
|
|
6
|
+
modal: d,
|
|
7
7
|
modalBody: m,
|
|
8
8
|
root: r,
|
|
9
9
|
check: _,
|
|
10
10
|
iconCircle: h,
|
|
11
11
|
iconCheck: C,
|
|
12
12
|
text: u,
|
|
13
|
-
successTitle: k
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
successTitle: k,
|
|
14
|
+
title: g
|
|
15
|
+
}, v = ({ isSuccessOpen: i, setIsSuccess: e, createPortalObj: l }) => /* @__PURE__ */ c(
|
|
16
|
+
a,
|
|
16
17
|
{
|
|
17
|
-
createPortalObj:
|
|
18
|
+
createPortalObj: l,
|
|
18
19
|
emitIsOpen: e,
|
|
19
|
-
isOpen:
|
|
20
|
+
isOpen: i,
|
|
20
21
|
additionalClassModalBody: o.modalBody,
|
|
21
22
|
additionalClass: o.modal,
|
|
22
23
|
opacity: 0.7,
|
|
23
24
|
isTransparentBack: !0,
|
|
24
|
-
children: /* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */ c(
|
|
25
|
+
children: /* @__PURE__ */ t("div", { className: o.root, children: [
|
|
26
|
+
/* @__PURE__ */ t("div", { className: o.check, children: [
|
|
27
|
+
/* @__PURE__ */ c(s, { name: "circle", size: "80", additionalClass: o.iconCircle, color: "#57C27D" }),
|
|
27
28
|
/* @__PURE__ */ c(
|
|
28
|
-
|
|
29
|
+
s,
|
|
29
30
|
{
|
|
30
31
|
additionalClass: o.iconCheck,
|
|
31
32
|
size: "32",
|
|
@@ -34,12 +35,12 @@ const n = "_modal_1og3m_1", m = "_modalBody_1og3m_9", r = "_root_1og3m_14", _ =
|
|
|
34
35
|
}
|
|
35
36
|
)
|
|
36
37
|
] }),
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
+
/* @__PURE__ */ t("div", { className: o.text, children: [
|
|
38
39
|
/* @__PURE__ */ c("div", { className: o.successTitle, children: "Запрос принят" }),
|
|
39
40
|
/* @__PURE__ */ c("div", { className: o.successText, children: "Наш менеджер свяжется с вами в ближайшее время" })
|
|
40
41
|
] }),
|
|
41
42
|
/* @__PURE__ */ c(
|
|
42
|
-
|
|
43
|
+
n,
|
|
43
44
|
{
|
|
44
45
|
"data-testid": "modal_submit",
|
|
45
46
|
variant: "blue",
|
|
@@ -56,5 +57,5 @@ const n = "_modal_1og3m_1", m = "_modalBody_1og3m_9", r = "_root_1og3m_14", _ =
|
|
|
56
57
|
}
|
|
57
58
|
);
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
+
v as ModalSuccess
|
|
60
61
|
};
|
|
@@ -3,7 +3,7 @@ import * as e from "react";
|
|
|
3
3
|
import { forwardRef as o } from "react";
|
|
4
4
|
import { F as m } from "../../../PinTrans-D6OZq76b.js";
|
|
5
5
|
import { F as h } from "../../../SmallFilter-C-VKnbkP.js";
|
|
6
|
-
import { c as d } from "../../../index-
|
|
6
|
+
import { c as d } from "../../../index-rKuIKazb.js";
|
|
7
7
|
const C = ({
|
|
8
8
|
title: t,
|
|
9
9
|
titleId: l,
|
|
@@ -232,11 +232,11 @@ const C = ({
|
|
|
232
232
|
title: t,
|
|
233
233
|
titleId: l,
|
|
234
234
|
...r
|
|
235
|
-
}, a) => /* @__PURE__ */ e.createElement("svg", {
|
|
235
|
+
}, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M7.74919 7.75061H8.24919M7.74919 8.25061H8.24919M3.08252 7.75061H3.58252M3.08252 8.25061H3.58252M12.4159 7.75061H12.9159M12.4159 8.25061H12.9159M8.66602 8.00065C8.66602 8.36884 8.36754 8.66732 7.99935 8.66732C7.63116 8.66732 7.33268 8.36884 7.33268 8.00065C7.33268 7.63246 7.63116 7.33398 7.99935 7.33398C8.36754 7.33398 8.66602 7.63246 8.66602 8.00065ZM3.99935 8.00065C3.99935 8.36884 3.70087 8.66732 3.33268 8.66732C2.96449 8.66732 2.66602 8.36884 2.66602 8.00065C2.66602 7.63246 2.96449 7.33398 3.33268 7.33398C3.70087 7.33398 3.99935 7.63246 3.99935 8.00065ZM13.3327 8.00065C13.3327 8.36884 13.0342 8.66732 12.666 8.66732C12.2978 8.66732 11.9993 8.36884 11.9993 8.00065C11.9993 7.63246 12.2978 7.33398 12.666 7.33398C13.0342 7.33398 13.3327 7.63246 13.3327 8.00065Z", stroke: "currentColor", strokeLinecap: "round" })), p0 = o(E0), u0 = ({
|
|
236
236
|
title: t,
|
|
237
237
|
titleId: l,
|
|
238
238
|
...r
|
|
239
|
-
}, a) => /* @__PURE__ */ e.createElement("svg", {
|
|
239
|
+
}, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M8.33203 5L13.332 10L8.33203 15", stroke: "currentColor", strokeWidth: 1.5 })), x0 = o(u0), i = {}, M0 = {
|
|
240
240
|
arrowRight: () => /* @__PURE__ */ n(r0, {}),
|
|
241
241
|
loader: () => /* @__PURE__ */ n(v, {}),
|
|
242
242
|
filter: () => /* @__PURE__ */ n(f, {}),
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { LotCardSkeleton as
|
|
3
|
-
const a = "_root_eu55e_12", s = "_projectHeader_eu55e_20", i = "_projectTitleWrapper_eu55e_28", l = "_projectBtn_eu55e_33",
|
|
2
|
+
import { LotCardSkeleton as c } from "../../LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
3
|
+
const a = "_root_eu55e_12", s = "_projectHeader_eu55e_20", i = "_projectTitleWrapper_eu55e_28", l = "_projectBtn_eu55e_33", n = "_pulsing_eu55e_1", _ = "_projectTitle_eu55e_28", j = "_projectYearMobile_eu55e_49", d = "_metroWrapper_eu55e_58", m = "_filterBtnWrapper_eu55e_71", u = "_projectYearDesktop_eu55e_113", e = {
|
|
4
4
|
root: a,
|
|
5
5
|
projectHeader: s,
|
|
6
6
|
projectTitleWrapper: i,
|
|
7
7
|
projectBtn: l,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
pulsing: n,
|
|
9
|
+
projectTitle: _,
|
|
10
|
+
projectYearMobile: j,
|
|
11
|
+
metroWrapper: d,
|
|
12
|
+
filterBtnWrapper: m,
|
|
13
|
+
projectYearDesktop: u
|
|
14
|
+
}, N = () => {
|
|
13
15
|
const o = [1, 2, 3, 4, 5];
|
|
14
16
|
return /* @__PURE__ */ t("div", { className: e.root, children: [
|
|
15
17
|
/* @__PURE__ */ t("div", { className: e.projectHeader, children: [
|
|
@@ -24,9 +26,9 @@ const a = "_root_eu55e_12", s = "_projectHeader_eu55e_20", i = "_projectTitleWra
|
|
|
24
26
|
] }),
|
|
25
27
|
/* @__PURE__ */ r("div", { className: e.projectYearMobile })
|
|
26
28
|
] }),
|
|
27
|
-
o.map((
|
|
29
|
+
o.map((p) => /* @__PURE__ */ r(c, {}, p))
|
|
28
30
|
] });
|
|
29
31
|
};
|
|
30
32
|
export {
|
|
31
|
-
|
|
33
|
+
N as ProjectCardSkeleton
|
|
32
34
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ComponentProps } from './RoundButton.types';
|
|
3
|
+
|
|
3
4
|
export declare const RoundButton: ({ size, size_m, size_l, children, iconName, variant, additionalClass, additionalClassIcon, deg, ...props }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as n, Fragment as k } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f, useEffect as S } from "react";
|
|
3
|
-
import { c as y } from "../../../index-
|
|
4
|
-
import { sizeMap as i } from "./RoundButton.types.js";
|
|
3
|
+
import { c as y } from "../../../index-rKuIKazb.js";
|
|
5
4
|
import { NewIcon as p } from "../../NewIcon/ui/NewIcon.js";
|
|
5
|
+
import { sizeMap as i } from "./RoundButton.types.js";
|
|
6
6
|
const g = "_btnRound_z7oq7_1", F = "_whiteStroke_z7oq7_43", R = "_whiteFilled_z7oq7_48", $ = "_whiteTransparent_z7oq7_53", v = "_blackFill_z7oq7_58", x = "_blackStroke_z7oq7_63", E = "_fullGray_z7oq7_71", G = "_blue_z7oq7_79", e = {
|
|
7
7
|
btnRound: g,
|
|
8
8
|
"tiny-size": "_tiny-size_z7oq7_20",
|