stone-kit 0.0.1080 → 0.0.1085
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/README.md +88 -88
- package/dist/components/CheckBoxNew/CheckBoxNew.js +5 -5
- package/dist/components/CommercialLotCard/CommercialLotCard.js +91 -10
- package/dist/components/CommercialLotCard/components/PaymentLink/PaymentLink.js +4 -4
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +98 -27
- package/dist/components/CommercialLotCard/components/Tags/Tags.js +1 -1
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +54 -26
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +323 -7
- package/dist/components/FormModal/ui/ModalForm.js +1516 -29
- package/dist/components/Logo/ui/Logo.js +6 -6
- package/dist/components/LotCard/hooks/useLotCard.js +6 -24
- package/dist/components/LotCard/index.js +2 -2
- package/dist/components/LotCard/ui/LotCard.js +252 -12
- package/dist/components/Modal/ui/Modal.js +22 -22
- package/dist/components/ModalSuccess/ModalSuccess.js +1 -1
- package/dist/components/RoundButton/ui/RoundButton.js +1 -1
- package/dist/components/Select/ui/Category.js +2 -2
- package/dist/components/Select/ui/Option.js +2 -2
- package/dist/components/Select/ui/Select.js +2 -2
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +6 -6
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.js +108 -26
- package/dist/components/SummarySelect/ui/SummarySelect.js +1 -1
- package/dist/components/TabSelect/ui/TabSelect.js +4 -4
- package/dist/components/TabSwitcher/index.js +2 -2
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +121 -26
- package/dist/layout/components/Header/Header.js +44 -65
- package/dist/layout/components/Menu.js +15 -37
- package/dist/main.js +70 -65
- package/dist/pages/ButtonsPage/Buttons.js +44 -61
- package/dist/pages/FormsPage/FormsPage.js +22 -42
- package/dist/pages/IconsPage/IconsPage.js +9 -31
- package/dist/pages/InputPage/InputPage.js +10 -32
- package/dist/pages/LogoPage/LogoPage.js +13 -36
- package/dist/pages/LotsPage/LotsPage.js +25 -24
- package/dist/pages/ModalsPage/ModalPage.js +46 -66
- package/dist/pages/SelectPage/SelectPage.js +41 -40
- package/dist/pages/TabsPage/TabsPage.js +1 -1
- package/dist/pages/TagsPage/TagsPage.js +23 -44
- package/dist/stone-kit.css +1 -1
- package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +1 -1
- package/dist/stories/shared/ui/Button/Button.stories.js +4 -4
- package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +1 -1
- package/dist/stories/shared/ui/FormModal/FormModal.stories.js +7 -7
- package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +1 -1
- package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +1 -1
- package/dist/stories/shared/ui/Tag/Tag.stories.js +4 -4
- package/dist/useLotCard-BAA8s2eo.js +189 -0
- package/package.json +1 -1
- package/dist/FilterWithSave-B-Qb2OD5.js +0 -2718
- package/dist/{Option-DdjBe9yb.js → Option-DmDx_xOt.js} +1 -1
|
@@ -1,29 +1,111 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../../index-YnD2EP-S.js";
|
|
4
|
-
import "../../../useSortSelect-IeonkD5d.js";
|
|
5
|
-
import "
|
|
6
|
-
import "../../
|
|
7
|
-
import "../../
|
|
8
|
-
import "../../
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as M, useRef as W, useEffect as E } from "react";
|
|
3
|
+
import { c as L } from "../../../index-YnD2EP-S.js";
|
|
4
|
+
import { s as e, u as j } from "../../../useSortSelect-IeonkD5d.js";
|
|
5
|
+
import { useClientWidth as w } from "../../../shared/useClientWidth.js";
|
|
6
|
+
import { NewIcon as O } from "../../NewIcon/ui/NewIcon.js";
|
|
7
|
+
import { Modal as T } from "../../Modal/ui/Modal.js";
|
|
8
|
+
import { Text as z } from "../../Text/ui/Text.js";
|
|
9
|
+
const r = L.bind(e), A = ({
|
|
10
|
+
options: n,
|
|
11
|
+
selectedOption: h,
|
|
12
|
+
placeholder: v = "",
|
|
13
|
+
error: N,
|
|
14
|
+
disabled: b,
|
|
15
|
+
additionalClass: x = "",
|
|
16
|
+
onChange: c,
|
|
17
|
+
onBlur: y,
|
|
18
|
+
mini: k,
|
|
19
|
+
openOnTop: d = !1,
|
|
20
|
+
onClickItem: C,
|
|
21
|
+
onCLickSelect: m,
|
|
22
|
+
onOpenClick: p
|
|
23
|
+
}) => {
|
|
24
|
+
const [o, i] = M(!1), u = W(null), { isMobile: l } = w(), { handleBlur: B, getInputValue: I, getOption: f, handleDocumentClick: S } = j({
|
|
25
|
+
selectedOption: h,
|
|
26
|
+
onClickOption: C,
|
|
27
|
+
setSelectedOption: c,
|
|
28
|
+
setIsOpen: i,
|
|
29
|
+
containerRef: u,
|
|
30
|
+
isMobile: l,
|
|
31
|
+
placeholder: v,
|
|
32
|
+
onChange: c,
|
|
33
|
+
onBlur: y
|
|
34
|
+
});
|
|
35
|
+
return E(() => (document.addEventListener("click", S), () => {
|
|
36
|
+
document.removeEventListener("click", S);
|
|
37
|
+
}), []), /* @__PURE__ */ s(
|
|
38
|
+
"div",
|
|
39
|
+
{
|
|
40
|
+
ref: u,
|
|
41
|
+
className: r(
|
|
42
|
+
e.sortSelectWrapper,
|
|
43
|
+
{ [e.sortSelectWrapperError]: N },
|
|
44
|
+
{ [e.sortSelectWrapperTop]: d },
|
|
45
|
+
x
|
|
46
|
+
),
|
|
47
|
+
tabIndex: 0,
|
|
48
|
+
onBlur: B,
|
|
49
|
+
onClick: () => {
|
|
50
|
+
m && m();
|
|
51
|
+
},
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ s("div", { className: r(e.inputWrapper), children: [
|
|
54
|
+
/* @__PURE__ */ t(
|
|
55
|
+
"input",
|
|
56
|
+
{
|
|
57
|
+
type: "text",
|
|
58
|
+
readOnly: !0,
|
|
59
|
+
value: I(),
|
|
60
|
+
className: r(
|
|
61
|
+
e.selectedOptions,
|
|
62
|
+
{ [e.selectOptionsDisabled]: b },
|
|
63
|
+
{ [e.selectionOptionMini]: k }
|
|
64
|
+
),
|
|
65
|
+
onClick: () => {
|
|
66
|
+
o || p && p(), i(!o);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
/* @__PURE__ */ t(
|
|
71
|
+
O,
|
|
72
|
+
{
|
|
73
|
+
name: "twoArrows",
|
|
74
|
+
size: "24",
|
|
75
|
+
additionalClass: e.icon
|
|
76
|
+
}
|
|
77
|
+
)
|
|
78
|
+
] }),
|
|
79
|
+
o && l && /* @__PURE__ */ s(
|
|
80
|
+
T,
|
|
81
|
+
{
|
|
82
|
+
isOpen: o,
|
|
83
|
+
emitIsOpen: i,
|
|
84
|
+
additionalClassModalBody: e.modalAddBody,
|
|
85
|
+
additionalClass: e.selectModal,
|
|
86
|
+
createPortalObj: { domNode: document.querySelector("body") },
|
|
87
|
+
isTransparentBack: !0,
|
|
88
|
+
children: [
|
|
89
|
+
/* @__PURE__ */ s("div", { className: e.mobileSortHeader, children: [
|
|
90
|
+
/* @__PURE__ */ t(z, { children: "Сортировка" }),
|
|
91
|
+
/* @__PURE__ */ t("div", { onClick: () => i(!1), children: /* @__PURE__ */ t(
|
|
92
|
+
O,
|
|
93
|
+
{
|
|
94
|
+
name: "close",
|
|
95
|
+
size: "20"
|
|
96
|
+
}
|
|
97
|
+
) })
|
|
98
|
+
] }),
|
|
99
|
+
/* @__PURE__ */ t("div", { className: e.mobileOptionList, children: n?.map((a) => f(a)) })
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
),
|
|
103
|
+
o && !l && /* @__PURE__ */ t("div", { className: r(e.optionsList, { [e.optionListOnTop]: d }), children: n?.map((a) => f(a)) })
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
);
|
|
107
|
+
};
|
|
108
|
+
A.displayName = "SortSelect";
|
|
27
109
|
export {
|
|
28
110
|
A as SortSelect
|
|
29
111
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as t, Fragment as b } from "react/jsx-runtime";
|
|
2
2
|
import { c as n } from "../../../index-YnD2EP-S.js";
|
|
3
|
-
import { NewIcon as p } from "../../NewIcon/ui/NewIcon.js";
|
|
4
3
|
import { Select as x } from "../../Select/ui/Select.js";
|
|
4
|
+
import { NewIcon as p } from "../../NewIcon/ui/NewIcon.js";
|
|
5
5
|
const A = "_root_99sc2_1", $ = "_nameWrapper_99sc2_8", j = "_size_large_99sc2_18", U = "_clearBtnWrapper_99sc2_25", F = "_clearBtn_99sc2_25", I = "_summaryList_99sc2_54", q = "_summaryOption_99sc2_66", E = "_summaryOptionSecondary_99sc2_88", G = "_categoryOption_99sc2_93", H = "_categoryOptionSecondary_99sc2_102", J = "_summaryCategory_99sc2_106", K = "_headerCategory_99sc2_116", M = "_categoryTitle_99sc2_122", Q = "_categoryTitleSecondary_99sc2_130", R = "_categoryOptions_99sc2_134", e = {
|
|
6
6
|
root: A,
|
|
7
7
|
nameWrapper: $,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as N } from "react/jsx-runtime";
|
|
2
2
|
import { c as T } from "../../../index-YnD2EP-S.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { useClientWidth as k } from "../../../shared/useClientWidth.js";
|
|
4
|
+
import { Text as y } from "../../Text/ui/Text.js";
|
|
5
5
|
const z = "_root_pbslz_1", W = "_whiteFill_pbslz_29", D = "_text_pbslz_34", F = "_fullWhite_pbslz_48", P = "_whiteStroke_pbslz_67", C = "_withPadding_pbslz_105", I = "_grayDesign_pbslz_109", t = {
|
|
6
6
|
root: z,
|
|
7
7
|
whiteFill: W,
|
|
@@ -20,7 +20,7 @@ const z = "_root_pbslz_1", W = "_whiteFill_pbslz_29", D = "_text_pbslz_34", F =
|
|
|
20
20
|
classname: l,
|
|
21
21
|
children: a
|
|
22
22
|
}) => /* @__PURE__ */ e("div", { className: i(t.root, t[`${s}`], l), children: a }), c = (s) => {
|
|
23
|
-
const { isTablet: l, isDesktop: a } =
|
|
23
|
+
const { isTablet: l, isDesktop: a } = k(), {
|
|
24
24
|
children: r,
|
|
25
25
|
className: h,
|
|
26
26
|
additionalClassName: d,
|
|
@@ -49,7 +49,7 @@ const z = "_root_pbslz_1", W = "_whiteFill_pbslz_29", D = "_text_pbslz_34", F =
|
|
|
49
49
|
{
|
|
50
50
|
className: i(h, d, { [t.isLong]: m }),
|
|
51
51
|
style: { width: u(l, a) },
|
|
52
|
-
children: /* @__PURE__ */ e(
|
|
52
|
+
children: /* @__PURE__ */ e(y, { className: i(t.text), children: r })
|
|
53
53
|
}
|
|
54
54
|
)
|
|
55
55
|
] });
|
|
@@ -1,28 +1,123 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
import { jsx as s, jsxs as S } from "react/jsx-runtime";
|
|
2
|
+
import { c as W } from "../../../index-YnD2EP-S.js";
|
|
3
|
+
import { useClientWidth as $ } from "../../../shared/useClientWidth.js";
|
|
4
|
+
import { Text as D } from "../../Text/ui/Text.js";
|
|
5
|
+
const M = "_root_1qhai_1", j = "_text_1qhai_18", G = "_textMini_1qhai_26", k = "_rootCol_1qhai_32", v = "_item_1qhai_38", O = "_whiteRow_1qhai_57", A = "_firstItem_1qhai_68", B = "_lastItem_1qhai_72", E = "_whiteRowGrayLabel_1qhai_103", F = "_labelItem_1qhai_118", H = "_outlined_1qhai_147", J = "_apart_1qhai_204", K = "_isLong_1qhai_204", P = "_autoWidth_1qhai_219", Q = "_mini_1qhai_233", U = "_isDisabled_1qhai_241", V = "_grayRow_1qhai_265", e = {
|
|
6
|
+
root: M,
|
|
7
|
+
text: j,
|
|
8
|
+
textMini: G,
|
|
9
|
+
rootCol: k,
|
|
10
|
+
item: v,
|
|
11
|
+
whiteRow: O,
|
|
12
|
+
firstItem: A,
|
|
13
|
+
lastItem: B,
|
|
14
|
+
whiteRowGrayLabel: E,
|
|
15
|
+
labelItem: F,
|
|
16
|
+
outlined: H,
|
|
17
|
+
apart: J,
|
|
18
|
+
isLong: K,
|
|
19
|
+
autoWidth: P,
|
|
20
|
+
mini: Q,
|
|
21
|
+
isDisabled: U,
|
|
22
|
+
grayRow: V,
|
|
23
|
+
"tiny-size": "_tiny-size_1qhai_293",
|
|
24
|
+
"small-size": "_small-size_1qhai_298",
|
|
25
|
+
"medium-size": "_medium-size_1qhai_303",
|
|
26
|
+
"large-size": "_large-size_1qhai_308",
|
|
27
|
+
"text-tiny-size": "_text-tiny-size_1qhai_313",
|
|
28
|
+
"text-small-size": "_text-small-size_1qhai_319",
|
|
29
|
+
"text-medium-size": "_text-medium-size_1qhai_324",
|
|
30
|
+
"text-large-size": "_text-large-size_1qhai_329",
|
|
31
|
+
"small-size_m": "_small-size_m_1qhai_335",
|
|
32
|
+
"medium-size_m": "_medium-size_m_1qhai_339",
|
|
33
|
+
"large-size_m": "_large-size_m_1qhai_343",
|
|
34
|
+
"text-small-size_m": "_text-small-size_m_1qhai_347",
|
|
35
|
+
"text-medium-size_m": "_text-medium-size_m_1qhai_351",
|
|
36
|
+
"text-large-size_m": "_text-large-size_m_1qhai_355",
|
|
37
|
+
"small-size_l": "_small-size_l_1qhai_370",
|
|
38
|
+
"medium-size_l": "_medium-size_l_1qhai_374",
|
|
39
|
+
"large-size_l": "_large-size_l_1qhai_378",
|
|
40
|
+
"text-small-size_l": "_text-small-size_l_1qhai_382",
|
|
41
|
+
"text-medium-size_l": "_text-medium-size_l_1qhai_386",
|
|
42
|
+
"text-large-size_l": "_text-large-size_l_1qhai_390"
|
|
43
|
+
}, _ = W.bind(e), X = ({
|
|
44
|
+
children: a,
|
|
45
|
+
variant: l = "whiteRow",
|
|
46
|
+
isApart: m = !1,
|
|
47
|
+
addClassName: i = "",
|
|
48
|
+
col: t = !1
|
|
49
|
+
}) => /* @__PURE__ */ s("div", { className: _(e.root, e[l], { [e.rootCol]: t, [e.apart]: m }, i), children: a }), g = (a) => {
|
|
50
|
+
const { isTablet: l, isDesktop: m } = $(), {
|
|
51
|
+
index: i,
|
|
52
|
+
children: t,
|
|
53
|
+
addItemClassName: u,
|
|
54
|
+
addLabelClassname: w,
|
|
55
|
+
addTextClass: b,
|
|
56
|
+
size_s: h = "large",
|
|
57
|
+
size_m: r,
|
|
58
|
+
size_l: d,
|
|
59
|
+
disabled: z = !1,
|
|
60
|
+
itemsLength: I = 0,
|
|
61
|
+
isLongOn: f = !0,
|
|
62
|
+
width: c,
|
|
63
|
+
width_m: o,
|
|
64
|
+
width_l: n,
|
|
65
|
+
mini: x = !1,
|
|
66
|
+
dataTestId: p,
|
|
67
|
+
ref: y,
|
|
68
|
+
...L
|
|
69
|
+
} = a, q = (t?.toString().length ? t?.toString().length > 2 : !1) && f, R = (C, N) => C && o ? o : N && n ? n : c, T = !c && !o && !n && q;
|
|
70
|
+
return /* @__PURE__ */ S("label", { className: _(e.labelItem, { [e.isLong]: q }, w), children: [
|
|
71
|
+
/* @__PURE__ */ s(
|
|
72
|
+
"input",
|
|
73
|
+
{
|
|
74
|
+
ref: y,
|
|
75
|
+
type: "checkbox",
|
|
76
|
+
...L,
|
|
77
|
+
disabled: z
|
|
78
|
+
}
|
|
79
|
+
),
|
|
80
|
+
/* @__PURE__ */ s(
|
|
81
|
+
"div",
|
|
82
|
+
{
|
|
83
|
+
style: { width: R(l, m) },
|
|
84
|
+
"data-testid": p,
|
|
85
|
+
className: _(
|
|
86
|
+
e.item,
|
|
87
|
+
{
|
|
88
|
+
[e.firstItem]: i === 0,
|
|
89
|
+
[e.lastItem]: i === I - 1,
|
|
90
|
+
[e.isDisabled]: z,
|
|
91
|
+
[e.autoWidth]: T,
|
|
92
|
+
[e.mini]: x
|
|
93
|
+
},
|
|
94
|
+
e[`${h}-size`],
|
|
95
|
+
e[`${r}-size_m`],
|
|
96
|
+
e[`${d}-size_l`],
|
|
97
|
+
u
|
|
98
|
+
),
|
|
99
|
+
children: /* @__PURE__ */ s(
|
|
100
|
+
D,
|
|
101
|
+
{
|
|
102
|
+
className: _(
|
|
103
|
+
e.text,
|
|
104
|
+
e[`text-${h}-size`],
|
|
105
|
+
e[`text-${r}-size_m`],
|
|
106
|
+
e[`text-${d}-size_l`],
|
|
107
|
+
{ [e.textMini]: x },
|
|
108
|
+
b
|
|
109
|
+
),
|
|
110
|
+
children: t
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
] });
|
|
116
|
+
};
|
|
117
|
+
g.displayName = "TabSwitcherItem";
|
|
118
|
+
const ie = Object.assign(X, {
|
|
119
|
+
Item: g
|
|
120
|
+
});
|
|
26
121
|
export {
|
|
27
|
-
|
|
122
|
+
ie as TabSwitcher
|
|
28
123
|
};
|
|
@@ -1,59 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Menu as
|
|
3
|
-
import { useState as
|
|
4
|
-
import "../../../components/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import "../../../components/DestinationTab/ui/DestinationTab.js";
|
|
8
|
-
import "../../../components/RoundButton/ui/RoundButton.js";
|
|
9
|
-
import "../../../components/Tag/ui/Tag.js";
|
|
10
|
-
import "../../../components/Switcher/ui/Switcher.js";
|
|
11
|
-
import "../../../components/Text/ui/Text.js";
|
|
12
|
-
import "../../../components/Flex/ui/Flex.js";
|
|
13
|
-
import "../../../components/Input/ui/Input.js";
|
|
14
|
-
import "react-dom";
|
|
15
|
-
import "../../../index-YnD2EP-S.js";
|
|
16
|
-
import "../../../FilterWithSave-B-Qb2OD5.js";
|
|
17
|
-
import "../../../components/GroupedInput/ui/GroupedInputs.js";
|
|
18
|
-
import "../../../components/MetroTag/ui/MetroTag.js";
|
|
19
|
-
import "../../../components/Select/ui/Select.js";
|
|
20
|
-
import "../../../components/SliderNavigation/ui/SliderNavigation.js";
|
|
21
|
-
import "../../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
22
|
-
import "../../../components/TabSelect/ui/TabSelect.js";
|
|
23
|
-
import "../../../components/CheckBox/CheckBox.js";
|
|
24
|
-
import "../../../components/CheckBoxNew/CheckBoxNew.js";
|
|
25
|
-
import "../../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
26
|
-
const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_searchInp_15wfn_47", y = "_searchIcon_15wfn_67", I = "_closeBtn_15wfn_73", e = {
|
|
27
|
-
root: w,
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Menu as w } from "../Menu.js";
|
|
3
|
+
import { useState as r } from "react";
|
|
4
|
+
import { NewIcon as a } from "../../../components/NewIcon/ui/NewIcon.js";
|
|
5
|
+
const m = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_searchInp_15wfn_47", y = "_searchIcon_15wfn_67", I = "_closeBtn_15wfn_73", t = {
|
|
6
|
+
root: m,
|
|
28
7
|
wrap: _,
|
|
29
8
|
search: g,
|
|
30
9
|
searchInp: x,
|
|
31
10
|
searchIcon: y,
|
|
32
11
|
closeBtn: I
|
|
33
|
-
},
|
|
34
|
-
const [
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
},
|
|
12
|
+
}, C = () => {
|
|
13
|
+
const [l, o] = r(!1), [i, c] = r(""), h = (n) => {
|
|
14
|
+
c(n.target.value);
|
|
15
|
+
}, u = (n) => {
|
|
16
|
+
n.key === "Enter" && (window.location.href = "https://test.stone.ru");
|
|
17
|
+
}, d = () => {
|
|
18
|
+
o(!0);
|
|
19
|
+
}, f = () => {
|
|
41
20
|
setTimeout(() => {
|
|
42
|
-
document?.activeElement?.classList.contains("close-button") ||
|
|
21
|
+
document?.activeElement?.classList.contains("close-button") || o(!1);
|
|
43
22
|
}, 0);
|
|
44
|
-
},
|
|
45
|
-
|
|
23
|
+
}, p = () => {
|
|
24
|
+
c(""), o(!1);
|
|
46
25
|
};
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
-
/* @__PURE__ */
|
|
26
|
+
return /* @__PURE__ */ s("nav", { className: t.root, children: [
|
|
27
|
+
/* @__PURE__ */ s("div", { className: t.wrap, children: [
|
|
28
|
+
/* @__PURE__ */ s(
|
|
50
29
|
"svg",
|
|
51
30
|
{
|
|
52
31
|
xmlns: "http://www.w3.org/2000/svg",
|
|
53
32
|
width: "200",
|
|
54
33
|
height: "60",
|
|
55
34
|
children: [
|
|
56
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ e(
|
|
57
36
|
"rect",
|
|
58
37
|
{
|
|
59
38
|
width: "200",
|
|
@@ -61,7 +40,7 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
|
|
|
61
40
|
fill: "transparent"
|
|
62
41
|
}
|
|
63
42
|
),
|
|
64
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ e(
|
|
65
44
|
"text",
|
|
66
45
|
{
|
|
67
46
|
x: "0",
|
|
@@ -72,7 +51,7 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
|
|
|
72
51
|
children: "Stone"
|
|
73
52
|
}
|
|
74
53
|
),
|
|
75
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ e(
|
|
76
55
|
"rect",
|
|
77
56
|
{
|
|
78
57
|
x: "110",
|
|
@@ -84,7 +63,7 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
|
|
|
84
63
|
fill: "#f90"
|
|
85
64
|
}
|
|
86
65
|
),
|
|
87
|
-
/* @__PURE__ */
|
|
66
|
+
/* @__PURE__ */ e(
|
|
88
67
|
"text",
|
|
89
68
|
{
|
|
90
69
|
x: "115",
|
|
@@ -99,8 +78,8 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
|
|
|
99
78
|
]
|
|
100
79
|
}
|
|
101
80
|
),
|
|
102
|
-
/* @__PURE__ */
|
|
103
|
-
/* @__PURE__ */
|
|
81
|
+
/* @__PURE__ */ s("search", { className: t.search, children: [
|
|
82
|
+
/* @__PURE__ */ e(
|
|
104
83
|
"button",
|
|
105
84
|
{
|
|
106
85
|
style: {
|
|
@@ -110,39 +89,39 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
|
|
|
110
89
|
padding: "unset",
|
|
111
90
|
cursor: "pointer"
|
|
112
91
|
},
|
|
113
|
-
onClick: (
|
|
114
|
-
|
|
92
|
+
onClick: (n) => {
|
|
93
|
+
n.preventDefault(), window.location.href = "https://test.stone.ru";
|
|
115
94
|
},
|
|
116
|
-
children: /* @__PURE__ */
|
|
117
|
-
|
|
95
|
+
children: /* @__PURE__ */ e(
|
|
96
|
+
a,
|
|
118
97
|
{
|
|
119
|
-
additionalClass:
|
|
98
|
+
additionalClass: t.searchIcon,
|
|
120
99
|
size: "24",
|
|
121
100
|
name: "search"
|
|
122
101
|
}
|
|
123
102
|
)
|
|
124
103
|
}
|
|
125
104
|
),
|
|
126
|
-
/* @__PURE__ */
|
|
105
|
+
/* @__PURE__ */ e(
|
|
127
106
|
"input",
|
|
128
107
|
{
|
|
129
108
|
type: "text",
|
|
130
|
-
value:
|
|
109
|
+
value: i,
|
|
131
110
|
onChange: h,
|
|
132
|
-
onKeyDown:
|
|
133
|
-
onFocus:
|
|
134
|
-
onBlur:
|
|
135
|
-
className:
|
|
111
|
+
onKeyDown: u,
|
|
112
|
+
onFocus: d,
|
|
113
|
+
onBlur: f,
|
|
114
|
+
className: t.searchInp,
|
|
136
115
|
placeholder: "Изучить stone-kit"
|
|
137
116
|
}
|
|
138
117
|
),
|
|
139
|
-
|
|
118
|
+
l && /* @__PURE__ */ e(
|
|
140
119
|
"button",
|
|
141
120
|
{
|
|
142
|
-
onClick:
|
|
143
|
-
className: `${
|
|
144
|
-
children: /* @__PURE__ */
|
|
145
|
-
|
|
121
|
+
onClick: p,
|
|
122
|
+
className: `${t.closeBtn} close-button`,
|
|
123
|
+
children: /* @__PURE__ */ e(
|
|
124
|
+
a,
|
|
146
125
|
{
|
|
147
126
|
strokeWidth: "2.5",
|
|
148
127
|
color: "#252525",
|
|
@@ -154,9 +133,9 @@ const w = "_root_15wfn_1", _ = "_wrap_15wfn_12", g = "_search_15wfn_32", x = "_s
|
|
|
154
133
|
)
|
|
155
134
|
] })
|
|
156
135
|
] }),
|
|
157
|
-
/* @__PURE__ */
|
|
136
|
+
/* @__PURE__ */ e(w, {})
|
|
158
137
|
] });
|
|
159
138
|
};
|
|
160
139
|
export {
|
|
161
|
-
|
|
140
|
+
C as Header
|
|
162
141
|
};
|
|
@@ -1,41 +1,19 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import "../../
|
|
3
|
-
import "../../components/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import "../../components/Flex/ui/Flex.js";
|
|
11
|
-
import "../../components/Input/ui/Input.js";
|
|
12
|
-
import "react";
|
|
13
|
-
import "react-dom";
|
|
14
|
-
import "../../index-YnD2EP-S.js";
|
|
15
|
-
import "../../FilterWithSave-B-Qb2OD5.js";
|
|
16
|
-
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
17
|
-
import "../../components/MetroTag/ui/MetroTag.js";
|
|
18
|
-
import "../../components/Select/ui/Select.js";
|
|
19
|
-
import "../../components/SliderNavigation/ui/SliderNavigation.js";
|
|
20
|
-
import "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
21
|
-
import "../../components/TabSelect/ui/TabSelect.js";
|
|
22
|
-
import "../../components/CheckBox/CheckBox.js";
|
|
23
|
-
import "../../components/CheckBoxNew/CheckBoxNew.js";
|
|
24
|
-
import "../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
25
|
-
import { L as l } from "../../chunk-4WY6JWTD-BeveLKf_.js";
|
|
26
|
-
const n = "_root_9577c_1", s = "_linkWrap_9577c_8", r = {
|
|
27
|
-
root: n,
|
|
28
|
-
linkWrap: s
|
|
29
|
-
}, D = () => {
|
|
30
|
-
const o = ({ to: m, title: p }) => /* @__PURE__ */ i(
|
|
31
|
-
l,
|
|
1
|
+
import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { L as r } from "../../chunk-4WY6JWTD-BeveLKf_.js";
|
|
3
|
+
import { NewIcon as s } from "../../components/NewIcon/ui/NewIcon.js";
|
|
4
|
+
const c = "_root_9577c_1", a = "_linkWrap_9577c_8", i = {
|
|
5
|
+
root: c,
|
|
6
|
+
linkWrap: a
|
|
7
|
+
}, _ = () => {
|
|
8
|
+
const o = ({ to: l, title: n }) => /* @__PURE__ */ e(
|
|
9
|
+
r,
|
|
32
10
|
{
|
|
33
|
-
to:
|
|
34
|
-
className:
|
|
11
|
+
to: l,
|
|
12
|
+
className: i.linkWrap,
|
|
35
13
|
children: [
|
|
36
|
-
|
|
14
|
+
n,
|
|
37
15
|
/* @__PURE__ */ t(
|
|
38
|
-
|
|
16
|
+
s,
|
|
39
17
|
{
|
|
40
18
|
size: "24",
|
|
41
19
|
name: "play2",
|
|
@@ -46,7 +24,7 @@ const n = "_root_9577c_1", s = "_linkWrap_9577c_8", r = {
|
|
|
46
24
|
]
|
|
47
25
|
}
|
|
48
26
|
);
|
|
49
|
-
return /* @__PURE__ */
|
|
27
|
+
return /* @__PURE__ */ e("div", { className: i.root, children: [
|
|
50
28
|
/* @__PURE__ */ t(
|
|
51
29
|
o,
|
|
52
30
|
{
|
|
@@ -127,5 +105,5 @@ const n = "_root_9577c_1", s = "_linkWrap_9577c_8", r = {
|
|
|
127
105
|
] });
|
|
128
106
|
};
|
|
129
107
|
export {
|
|
130
|
-
|
|
108
|
+
_ as Menu
|
|
131
109
|
};
|