stone-kit 0.0.1029 → 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 +4 -4
- package/dist/FilterWithSave-BWA01WwU.js +2476 -0
- package/dist/Menu-CeBSiTyP.js +513 -0
- package/dist/{Option-CtwUzW8a.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 +2 -1
- 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 -323
- 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 -1445
- 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 +325 -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 +1 -1
- 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 +1 -0
- 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 +1 -0
- package/dist/components/TabSelect/ui/TabSelect.js +5 -5
- package/dist/components/TabSwitcher/index.js +2 -2
- package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +1 -0
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +26 -120
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +1 -0
- 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 +1 -0
- package/dist/components/TextArea/TextArea.js +1 -1
- 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-DmANy9jd.js +890 -0
- package/dist/{index-BJwl9stn.js → index-DvCs2JPX.js} +9695 -9596
- 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 +26 -107
- package/dist/main.js +65 -70
- package/dist/pages/ButtonsPage/Buttons.js +61 -44
- 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 +1 -1
- package/dist/chunk-4WY6JWTD-BeveLKf_.js +0 -1582
- package/dist/index-YnD2EP-S.js +0 -43
- package/dist/stone-kit.css +0 -1
- package/dist/useLotCard-CYcRSogE.js +0 -186
- package/dist/useSortSelect-Cy3od4ig.js +0 -80
|
@@ -1,65 +1,68 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
5
|
-
root:
|
|
6
|
-
nameWrapper:
|
|
7
|
-
clearBtn:
|
|
8
|
-
summaryList:
|
|
9
|
-
summaryOption:
|
|
10
|
-
categoryOption:
|
|
11
|
-
summaryCategory:
|
|
12
|
-
headerCategory:
|
|
13
|
-
categoryTitle:
|
|
14
|
-
categoryOptions:
|
|
15
|
-
},
|
|
16
|
-
label:
|
|
17
|
-
isShowReset:
|
|
18
|
-
isShowCategoryDelete:
|
|
1
|
+
import { jsxs as s, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { NewIcon as d } from "../../NewIcon/ui/NewIcon.js";
|
|
3
|
+
import { Select as N } from "../../Select/ui/Select.js";
|
|
4
|
+
const p = "_root_156r8_1", f = "_nameWrapper_156r8_8", V = "_clearBtn_156r8_18", S = "_summaryList_156r8_33", B = "_summaryOption_156r8_40", b = "_categoryOption_156r8_62", k = "_summaryCategory_156r8_71", T = "_headerCategory_156r8_81", W = "_categoryTitle_156r8_87", x = "_categoryOptions_156r8_95", t = {
|
|
5
|
+
root: p,
|
|
6
|
+
nameWrapper: f,
|
|
7
|
+
clearBtn: V,
|
|
8
|
+
summaryList: S,
|
|
9
|
+
summaryOption: B,
|
|
10
|
+
categoryOption: b,
|
|
11
|
+
summaryCategory: k,
|
|
12
|
+
headerCategory: T,
|
|
13
|
+
categoryTitle: W,
|
|
14
|
+
categoryOptions: x
|
|
15
|
+
}, $ = ({
|
|
16
|
+
label: g = "",
|
|
17
|
+
isShowReset: h,
|
|
18
|
+
isShowCategoryDelete: u = !1,
|
|
19
19
|
...a
|
|
20
20
|
}) => {
|
|
21
|
-
|
|
21
|
+
var _;
|
|
22
|
+
const c = (e) => {
|
|
22
23
|
a.onChange && a.onChange(e);
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
)
|
|
24
|
+
}, y = (e) => {
|
|
25
|
+
var r;
|
|
26
|
+
const o = ((r = a.selectedValues) == null ? void 0 : r.filter((n) => n.value !== e)) || [];
|
|
27
|
+
c(o);
|
|
28
|
+
}, v = () => {
|
|
29
|
+
c([]);
|
|
30
|
+
}, C = (e) => {
|
|
31
|
+
var o;
|
|
32
|
+
c(
|
|
33
|
+
((o = a.selectedValues) == null ? void 0 : o.filter((r) => r.value !== e.value).filter(
|
|
34
|
+
(r) => !e.options.some((n) => n.value === r.value)
|
|
35
|
+
)) ?? []
|
|
33
36
|
);
|
|
34
|
-
},
|
|
35
|
-
return /* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
|
|
37
|
+
}, m = (_ = a.selectedValues) == null ? void 0 : _.filter((e) => "options" in e);
|
|
38
|
+
return /* @__PURE__ */ s("div", { className: t.root, children: [
|
|
39
|
+
/* @__PURE__ */ s("div", { className: t.nameWrapper, children: [
|
|
40
|
+
/* @__PURE__ */ l("div", { children: g }),
|
|
41
|
+
h && /* @__PURE__ */ l(
|
|
39
42
|
"div",
|
|
40
43
|
{
|
|
41
44
|
className: t.clearBtn,
|
|
42
|
-
onClick:
|
|
45
|
+
onClick: v,
|
|
43
46
|
children: "Очистить"
|
|
44
47
|
}
|
|
45
48
|
)
|
|
46
49
|
] }),
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
|
|
50
|
+
/* @__PURE__ */ l(
|
|
51
|
+
N,
|
|
49
52
|
{
|
|
50
53
|
...a,
|
|
51
|
-
onChange:
|
|
54
|
+
onChange: c
|
|
52
55
|
}
|
|
53
56
|
),
|
|
54
|
-
!
|
|
57
|
+
!u && a.mode === "options" && a.selectedValues && a.selectedValues.length > 0 && /* @__PURE__ */ l("div", { className: t.summaryList, children: a.selectedValues.map((e) => /* @__PURE__ */ s(
|
|
55
58
|
"div",
|
|
56
59
|
{
|
|
57
|
-
onClick: () =>
|
|
60
|
+
onClick: () => y(e.value.toString()),
|
|
58
61
|
className: t.summaryOption,
|
|
59
62
|
children: [
|
|
60
63
|
e.label,
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
|
|
64
|
+
/* @__PURE__ */ l(
|
|
65
|
+
d,
|
|
63
66
|
{
|
|
64
67
|
name: "close",
|
|
65
68
|
size: "16"
|
|
@@ -69,22 +72,22 @@ const O = "_root_156r8_1", N = "_nameWrapper_156r8_8", p = "_clearBtn_156r8_18",
|
|
|
69
72
|
},
|
|
70
73
|
e.value
|
|
71
74
|
)) }),
|
|
72
|
-
!
|
|
73
|
-
const
|
|
74
|
-
return /* @__PURE__ */
|
|
75
|
+
!u && a.mode === "double" && (m == null ? void 0 : m.map((e, o) => {
|
|
76
|
+
const r = e;
|
|
77
|
+
return /* @__PURE__ */ s(
|
|
75
78
|
"div",
|
|
76
79
|
{
|
|
77
80
|
className: t.summaryCategory,
|
|
78
81
|
children: [
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
/* @__PURE__ */
|
|
81
|
-
/* @__PURE__ */
|
|
82
|
+
/* @__PURE__ */ s("div", { className: t.headerCategory, children: [
|
|
83
|
+
/* @__PURE__ */ l("div", { className: t.categoryTitle, children: r.label }),
|
|
84
|
+
/* @__PURE__ */ l(
|
|
82
85
|
"div",
|
|
83
86
|
{
|
|
84
|
-
onClick: () =>
|
|
87
|
+
onClick: () => C(e),
|
|
85
88
|
className: t.clearBtn,
|
|
86
|
-
children: /* @__PURE__ */
|
|
87
|
-
|
|
89
|
+
children: /* @__PURE__ */ l(
|
|
90
|
+
d,
|
|
88
91
|
{
|
|
89
92
|
name: "close",
|
|
90
93
|
size: "16"
|
|
@@ -93,15 +96,18 @@ const O = "_root_156r8_1", N = "_nameWrapper_156r8_8", p = "_clearBtn_156r8_18",
|
|
|
93
96
|
}
|
|
94
97
|
)
|
|
95
98
|
] }),
|
|
96
|
-
/* @__PURE__ */
|
|
99
|
+
/* @__PURE__ */ l("div", { className: t.categoryOptions, children: r.options.filter((n) => {
|
|
100
|
+
var i;
|
|
101
|
+
return (i = a.selectedValues) == null ? void 0 : i.some((O) => n.value === O.value);
|
|
102
|
+
}).map((n, i) => /* @__PURE__ */ s(
|
|
97
103
|
"div",
|
|
98
104
|
{
|
|
99
|
-
onClick: () =>
|
|
105
|
+
onClick: () => y(n.value.toString()),
|
|
100
106
|
className: `${t.summaryOption} ${t.categoryOption}`,
|
|
101
107
|
children: [
|
|
102
|
-
|
|
103
|
-
/* @__PURE__ */
|
|
104
|
-
|
|
108
|
+
n.label,
|
|
109
|
+
/* @__PURE__ */ l(
|
|
110
|
+
d,
|
|
105
111
|
{
|
|
106
112
|
name: "close",
|
|
107
113
|
size: "16"
|
|
@@ -113,11 +119,11 @@ const O = "_root_156r8_1", N = "_nameWrapper_156r8_8", p = "_clearBtn_156r8_18",
|
|
|
113
119
|
)) })
|
|
114
120
|
]
|
|
115
121
|
},
|
|
116
|
-
|
|
122
|
+
o
|
|
117
123
|
);
|
|
118
|
-
})
|
|
124
|
+
}))
|
|
119
125
|
] });
|
|
120
126
|
};
|
|
121
127
|
export {
|
|
122
|
-
|
|
128
|
+
$ as SummarySelect
|
|
123
129
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as _, useEffect as d } from "react";
|
|
3
|
-
import { c as v } from "../../../index-
|
|
3
|
+
import { c as v } from "../../../index-rKuIKazb.js";
|
|
4
4
|
const h = "_switcherWrapper_1b1pd_29", b = "_switcherWrapperReverse_1b1pd_40", W = "_switcherWrapperBetween_1b1pd_44", l = "_swiper_1b1pd_48", m = "_swiperBackward_1b1pd_1", f = "_swiperActive_1b1pd_63", u = "_swiperForward_1b1pd_1", I = "_swiperInactive_1b1pd_68", P = "_swiperInitialize_1b1pd_73", B = "_swiperPoint_1b1pd_77", A = "_swiperPointActive_1b1pd_89", e = {
|
|
5
5
|
switcherWrapper: h,
|
|
6
6
|
switcherWrapperReverse: b,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as N } from "react/jsx-runtime";
|
|
2
|
-
import { c as T } from "../../../index-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { c as T } from "../../../index-rKuIKazb.js";
|
|
3
|
+
import { Text as k } from "../../Text/ui/Text.js";
|
|
4
|
+
import { useClientWidth as y } from "../../../shared/useClientWidth.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 } = y(), {
|
|
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(k, { className: i(t.text), children: r })
|
|
53
53
|
}
|
|
54
54
|
)
|
|
55
55
|
] });
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ITabSwitcherItem, TabSwitcherProps } from './TabSwitcher.types';
|
|
3
|
+
|
|
3
4
|
declare const TabSwitcherNamespace: (({ children, variant, isApart, addClassName, col, }: TabSwitcherProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
5
|
Item: FC<ITabSwitcherItem>;
|
|
5
6
|
};
|
|
@@ -1,122 +1,28 @@
|
|
|
1
|
-
import
|
|
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
|
-
|
|
26
|
-
"text-tiny-size": "_text-tiny-size_1t61b_256",
|
|
27
|
-
"text-small-size": "_text-small-size_1t61b_262",
|
|
28
|
-
"text-medium-size": "_text-medium-size_1t61b_267",
|
|
29
|
-
"text-large-size": "_text-large-size_1t61b_272",
|
|
30
|
-
"small-size_m": "_small-size_m_1t61b_278",
|
|
31
|
-
"medium-size_m": "_medium-size_m_1t61b_282",
|
|
32
|
-
"large-size_m": "_large-size_m_1t61b_286",
|
|
33
|
-
"text-small-size_m": "_text-small-size_m_1t61b_290",
|
|
34
|
-
"text-medium-size_m": "_text-medium-size_m_1t61b_294",
|
|
35
|
-
"text-large-size_m": "_text-large-size_m_1t61b_298",
|
|
36
|
-
"small-size_l": "_small-size_l_1t61b_313",
|
|
37
|
-
"medium-size_l": "_medium-size_l_1t61b_317",
|
|
38
|
-
"large-size_l": "_large-size_l_1t61b_321",
|
|
39
|
-
"text-small-size_l": "_text-small-size_l_1t61b_325",
|
|
40
|
-
"text-medium-size_l": "_text-medium-size_l_1t61b_329",
|
|
41
|
-
"text-large-size_l": "_text-large-size_l_1t61b_333"
|
|
42
|
-
}, _ = $.bind(t), V = ({
|
|
43
|
-
children: l,
|
|
44
|
-
variant: a = "whiteRow",
|
|
45
|
-
isApart: m = !1,
|
|
46
|
-
addClassName: s = "",
|
|
47
|
-
col: e = !1
|
|
48
|
-
}) => /* @__PURE__ */ i("div", { className: _(t.root, t[a], { [t.rootCol]: e, [t.apart]: m }, s), children: l }), g = (l) => {
|
|
49
|
-
const { isTablet: a, isDesktop: m } = D(), {
|
|
50
|
-
index: s,
|
|
51
|
-
children: e,
|
|
52
|
-
addItemClassName: w,
|
|
53
|
-
addLabelClassname: u,
|
|
54
|
-
addTextClass: I,
|
|
55
|
-
size_s: n = "large",
|
|
56
|
-
size_m: b,
|
|
57
|
-
size_l: z,
|
|
58
|
-
disabled: d = !1,
|
|
59
|
-
itemsLength: f = 0,
|
|
60
|
-
isLongOn: p = !0,
|
|
61
|
-
width: c,
|
|
62
|
-
width_m: o,
|
|
63
|
-
width_l: r,
|
|
64
|
-
mini: x = !1,
|
|
65
|
-
dataTestId: y,
|
|
66
|
-
ref: L,
|
|
67
|
-
...R
|
|
68
|
-
} = l, h = (e?.toString().length ? e?.toString().length > 2 : !1) && p, T = (N, S) => N && o ? o : S && r ? r : c, C = !c && !o && !r && h;
|
|
69
|
-
return /* @__PURE__ */ W("label", { className: _(t.labelItem, { [t.isLong]: h }, u), children: [
|
|
70
|
-
/* @__PURE__ */ i(
|
|
71
|
-
"input",
|
|
72
|
-
{
|
|
73
|
-
ref: L,
|
|
74
|
-
type: "checkbox",
|
|
75
|
-
...R,
|
|
76
|
-
disabled: d
|
|
77
|
-
}
|
|
78
|
-
),
|
|
79
|
-
/* @__PURE__ */ i(
|
|
80
|
-
"div",
|
|
81
|
-
{
|
|
82
|
-
style: { width: T(a, m) },
|
|
83
|
-
"data-testid": y,
|
|
84
|
-
className: _(
|
|
85
|
-
t.item,
|
|
86
|
-
{
|
|
87
|
-
[t.firstItem]: s === 0,
|
|
88
|
-
[t.lastItem]: s === f - 1,
|
|
89
|
-
[t.isDisabled]: d,
|
|
90
|
-
[t.autoWidth]: C,
|
|
91
|
-
[t.mini]: x
|
|
92
|
-
},
|
|
93
|
-
t[`${n}-size`],
|
|
94
|
-
t[`${b}-size_m`],
|
|
95
|
-
t[`${z}-size_l`],
|
|
96
|
-
w
|
|
97
|
-
),
|
|
98
|
-
children: /* @__PURE__ */ i(
|
|
99
|
-
M,
|
|
100
|
-
{
|
|
101
|
-
className: _(
|
|
102
|
-
t.text,
|
|
103
|
-
t[`text-${n}-size`],
|
|
104
|
-
t[`text-${b}-size_m`],
|
|
105
|
-
t[`text-${z}-size_l`],
|
|
106
|
-
{ [t.textMini]: x },
|
|
107
|
-
I
|
|
108
|
-
),
|
|
109
|
-
children: e
|
|
110
|
-
}
|
|
111
|
-
)
|
|
112
|
-
}
|
|
113
|
-
)
|
|
114
|
-
] });
|
|
115
|
-
};
|
|
116
|
-
g.displayName = "TabSwitcherItem";
|
|
117
|
-
const et = Object.assign(V, {
|
|
118
|
-
Item: g
|
|
119
|
-
});
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { T as y } from "../../../FilterWithSave-BWA01WwU.js";
|
|
3
|
+
import "../../Text/ui/Text.js";
|
|
4
|
+
import "../../../index-rKuIKazb.js";
|
|
5
|
+
import "../../Button/ui/Button.js";
|
|
6
|
+
import "../../mobileButton/ui/MobileButton.js";
|
|
7
|
+
import "../../NewIcon/ui/NewIcon.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 "../../Flex/ui/Flex.js";
|
|
13
|
+
import "../../Input/ui/Input.js";
|
|
14
|
+
import "react";
|
|
15
|
+
import "react-dom";
|
|
16
|
+
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
17
|
+
import "../../MetroTag/ui/MetroTag.js";
|
|
18
|
+
import "../../Select/ui/Select.js";
|
|
19
|
+
import "../../../shared/useClientWidth.js";
|
|
20
|
+
import "../../SliderNavigation/ui/SliderNavigation.js";
|
|
21
|
+
import "../../LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
22
|
+
import "../../TabSelect/ui/TabSelect.js";
|
|
23
|
+
import "../../CheckBox/CheckBox.js";
|
|
24
|
+
import "../../CheckBoxNew/CheckBoxNew.js";
|
|
25
|
+
import "../../CheckboxSelect/ui/CheckboxSelect.js";
|
|
120
26
|
export {
|
|
121
|
-
|
|
27
|
+
y as TabSwitcher
|
|
122
28
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ComponentProps } from './Tag.types';
|
|
3
|
+
|
|
3
4
|
export declare const Tag: ({ size, size_m, size_l, children, variant, width, additionalClass, fontWeight, ...props }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,105 +1,105 @@
|
|
|
1
1
|
import { jsx as z } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const o = "
|
|
4
|
-
tagCommon:
|
|
5
|
-
"auto-width": "_auto-
|
|
6
|
-
"full-width": "_full-
|
|
7
|
-
"medium-size": "_medium-
|
|
8
|
-
"mini-size": "_mini-
|
|
9
|
-
"mini-12px-size": "_mini-12px-
|
|
10
|
-
"tiny-size": "_tiny-
|
|
11
|
-
"small-size": "_small-
|
|
12
|
-
"preLarge-size": "_preLarge-
|
|
13
|
-
"large-size": "_large-
|
|
14
|
-
"tiny-7px-size": "_tiny-7px-
|
|
15
|
-
"tiny-10px-size": "_tiny-10px-
|
|
16
|
-
"tiny-12px-size": "_tiny-12px-
|
|
17
|
-
"small-10px-size": "_small-10px-
|
|
18
|
-
"small-13px-size": "_small-13px-
|
|
19
|
-
"small-font-14-size": "_small-font-14-
|
|
20
|
-
"extra-small-size": "_extra-small-
|
|
21
|
-
"small-height-28px-size": "_small-height-28px-
|
|
22
|
-
red:
|
|
23
|
-
gray:
|
|
24
|
-
shade:
|
|
25
|
-
blackGrey:
|
|
26
|
-
blackWhite:
|
|
27
|
-
gray5:
|
|
28
|
-
gray8:
|
|
29
|
-
chineseBlack:
|
|
30
|
-
white:
|
|
31
|
-
fullWhite:
|
|
32
|
-
shadeWhite:
|
|
33
|
-
transparent:
|
|
34
|
-
transWhite:
|
|
35
|
-
neutralGray6:
|
|
36
|
-
whiteGrayStroke:
|
|
37
|
-
whiteGray:
|
|
38
|
-
lightGray:
|
|
39
|
-
black:
|
|
40
|
-
blackStroke:
|
|
41
|
-
darkGray:
|
|
42
|
-
lightBlue:
|
|
43
|
-
lightGrayTrans:
|
|
2
|
+
import { c as v } from "../../../index-rKuIKazb.js";
|
|
3
|
+
const h = "_tagCommon_1tvrs_1", o = "_red_1tvrs_147", y = "_gray_1tvrs_153", p = "_shade_1tvrs_159", g = "_blackGrey_1tvrs_165", x = "_blackWhite_1tvrs_171", c = "_gray5_1tvrs_177", d = "_gray8_1tvrs_183", u = "_chineseBlack_1tvrs_189", k = "_white_1tvrs_196", G = "_fullWhite_1tvrs_203", f = "_shadeWhite_1tvrs_210", W = "_transparent_1tvrs_220", w = "_transWhite_1tvrs_227", b = "_neutralGray6_1tvrs_237", L = "_whiteGrayStroke_1tvrs_243", T = "_whiteGray_1tvrs_243", B = "_lightGray_1tvrs_257", S = "_black_1tvrs_165", $ = "_blackStroke_1tvrs_269", C = "_darkGray_1tvrs_276", N = "_lightBlue_1tvrs_281", j = "_lightGrayTrans_1tvrs_287", q = "_whiteGrayTrans_1tvrs_293", A = "_preLarge_size_m_1tvrs_340", _ = {
|
|
4
|
+
tagCommon: h,
|
|
5
|
+
"auto-width": "_auto-width_1tvrs_19",
|
|
6
|
+
"full-width": "_full-width_1tvrs_23",
|
|
7
|
+
"medium-size": "_medium-size_1tvrs_27",
|
|
8
|
+
"mini-size": "_mini-size_1tvrs_35",
|
|
9
|
+
"mini-12px-size": "_mini-12px-size_1tvrs_43",
|
|
10
|
+
"tiny-size": "_tiny-size_1tvrs_51",
|
|
11
|
+
"small-size": "_small-size_1tvrs_59",
|
|
12
|
+
"preLarge-size": "_preLarge-size_1tvrs_67",
|
|
13
|
+
"large-size": "_large-size_1tvrs_75",
|
|
14
|
+
"tiny-7px-size": "_tiny-7px-size_1tvrs_83",
|
|
15
|
+
"tiny-10px-size": "_tiny-10px-size_1tvrs_91",
|
|
16
|
+
"tiny-12px-size": "_tiny-12px-size_1tvrs_99",
|
|
17
|
+
"small-10px-size": "_small-10px-size_1tvrs_107",
|
|
18
|
+
"small-13px-size": "_small-13px-size_1tvrs_115",
|
|
19
|
+
"small-font-14-size": "_small-font-14-size_1tvrs_123",
|
|
20
|
+
"extra-small-size": "_extra-small-size_1tvrs_131",
|
|
21
|
+
"small-height-28px-size": "_small-height-28px-size_1tvrs_139",
|
|
22
|
+
red: o,
|
|
23
|
+
gray: y,
|
|
24
|
+
shade: p,
|
|
25
|
+
blackGrey: g,
|
|
26
|
+
blackWhite: x,
|
|
27
|
+
gray5: c,
|
|
28
|
+
gray8: d,
|
|
29
|
+
chineseBlack: u,
|
|
30
|
+
white: k,
|
|
31
|
+
fullWhite: G,
|
|
32
|
+
shadeWhite: f,
|
|
33
|
+
transparent: W,
|
|
34
|
+
transWhite: w,
|
|
35
|
+
neutralGray6: b,
|
|
36
|
+
whiteGrayStroke: L,
|
|
37
|
+
whiteGray: T,
|
|
38
|
+
lightGray: B,
|
|
39
|
+
black: S,
|
|
40
|
+
blackStroke: $,
|
|
41
|
+
darkGray: C,
|
|
42
|
+
lightBlue: N,
|
|
43
|
+
lightGrayTrans: j,
|
|
44
44
|
whiteGrayTrans: q,
|
|
45
|
-
"tiny-fontWeight": "_tiny-
|
|
46
|
-
"medium-fontWeight": "_medium-
|
|
47
|
-
"large-fontWeight": "_large-
|
|
48
|
-
"mini-size_m": "_mini-
|
|
49
|
-
"tiny-size_m": "_tiny-
|
|
50
|
-
"medium-size_m": "_medium-
|
|
51
|
-
"small-size_m": "_small-
|
|
45
|
+
"tiny-fontWeight": "_tiny-fontWeight_1tvrs_299",
|
|
46
|
+
"medium-fontWeight": "_medium-fontWeight_1tvrs_303",
|
|
47
|
+
"large-fontWeight": "_large-fontWeight_1tvrs_307",
|
|
48
|
+
"mini-size_m": "_mini-size_m_1tvrs_312",
|
|
49
|
+
"tiny-size_m": "_tiny-size_m_1tvrs_319",
|
|
50
|
+
"medium-size_m": "_medium-size_m_1tvrs_326",
|
|
51
|
+
"small-size_m": "_small-size_m_1tvrs_333",
|
|
52
52
|
preLarge_size_m: A,
|
|
53
|
-
"large-size_m": "_large-
|
|
54
|
-
"tiny-7px-size_m": "_tiny-7px-
|
|
55
|
-
"tiny-10px-size_m": "_tiny-10px-
|
|
56
|
-
"tiny-12px-size_m": "_tiny-12px-
|
|
57
|
-
"small-10px-size_m": "_small-10px-
|
|
58
|
-
"small-13px-size_m": "_small-13px-
|
|
59
|
-
"small-font-14-size_m": "_small-font-14-
|
|
60
|
-
"mini-12px-size_m": "_mini-12px-
|
|
61
|
-
"extra-small-size_m": "_extra-small-
|
|
62
|
-
"small-height-28px-size_m": "_small-height-28px-
|
|
63
|
-
"mini-size_l": "_mini-
|
|
64
|
-
"tiny-size_l": "_tiny-
|
|
65
|
-
"medium-size_l": "_medium-
|
|
66
|
-
"small-size_l": "_small-
|
|
67
|
-
"preLarge-size_l": "_preLarge-
|
|
68
|
-
"large-size_l": "_large-
|
|
69
|
-
"tiny-7px-size_l": "_tiny-7px-
|
|
70
|
-
"tiny-10px-size_l": "_tiny-10px-
|
|
71
|
-
"tiny-12px-size_l": "_tiny-12px-
|
|
72
|
-
"small-10px-size_l": "_small-10px-
|
|
73
|
-
"small-13px-size_l": "_small-13px-
|
|
74
|
-
"small-font-14-size_l": "_small-font-14-
|
|
75
|
-
"mini-12px-size_l": "_mini-12px-
|
|
76
|
-
"extra-small-size_l": "_extra-small-
|
|
77
|
-
"small-height-28px-size_l": "_small-height-28px-
|
|
78
|
-
}, D =
|
|
53
|
+
"large-size_m": "_large-size_m_1tvrs_347",
|
|
54
|
+
"tiny-7px-size_m": "_tiny-7px-size_m_1tvrs_354",
|
|
55
|
+
"tiny-10px-size_m": "_tiny-10px-size_m_1tvrs_361",
|
|
56
|
+
"tiny-12px-size_m": "_tiny-12px-size_m_1tvrs_368",
|
|
57
|
+
"small-10px-size_m": "_small-10px-size_m_1tvrs_375",
|
|
58
|
+
"small-13px-size_m": "_small-13px-size_m_1tvrs_382",
|
|
59
|
+
"small-font-14-size_m": "_small-font-14-size_m_1tvrs_389",
|
|
60
|
+
"mini-12px-size_m": "_mini-12px-size_m_1tvrs_396",
|
|
61
|
+
"extra-small-size_m": "_extra-small-size_m_1tvrs_403",
|
|
62
|
+
"small-height-28px-size_m": "_small-height-28px-size_m_1tvrs_410",
|
|
63
|
+
"mini-size_l": "_mini-size_l_1tvrs_419",
|
|
64
|
+
"tiny-size_l": "_tiny-size_l_1tvrs_426",
|
|
65
|
+
"medium-size_l": "_medium-size_l_1tvrs_433",
|
|
66
|
+
"small-size_l": "_small-size_l_1tvrs_440",
|
|
67
|
+
"preLarge-size_l": "_preLarge-size_l_1tvrs_447",
|
|
68
|
+
"large-size_l": "_large-size_l_1tvrs_454",
|
|
69
|
+
"tiny-7px-size_l": "_tiny-7px-size_l_1tvrs_461",
|
|
70
|
+
"tiny-10px-size_l": "_tiny-10px-size_l_1tvrs_468",
|
|
71
|
+
"tiny-12px-size_l": "_tiny-12px-size_l_1tvrs_475",
|
|
72
|
+
"small-10px-size_l": "_small-10px-size_l_1tvrs_482",
|
|
73
|
+
"small-13px-size_l": "_small-13px-size_l_1tvrs_489",
|
|
74
|
+
"small-font-14-size_l": "_small-font-14-size_l_1tvrs_496",
|
|
75
|
+
"mini-12px-size_l": "_mini-12px-size_l_1tvrs_503",
|
|
76
|
+
"extra-small-size_l": "_extra-small-size_l_1tvrs_510",
|
|
77
|
+
"small-height-28px-size_l": "_small-height-28px-size_l_1tvrs_517"
|
|
78
|
+
}, D = v.bind(_), H = ({
|
|
79
79
|
size: s = "medium",
|
|
80
|
-
size_m:
|
|
81
|
-
size_l:
|
|
82
|
-
children:
|
|
83
|
-
variant:
|
|
84
|
-
width:
|
|
85
|
-
additionalClass:
|
|
86
|
-
fontWeight:
|
|
87
|
-
...
|
|
80
|
+
size_m: t,
|
|
81
|
+
size_l: i,
|
|
82
|
+
children: e = "",
|
|
83
|
+
variant: r = "gray",
|
|
84
|
+
width: l = "auto",
|
|
85
|
+
additionalClass: a = "",
|
|
86
|
+
fontWeight: m = "medium",
|
|
87
|
+
...n
|
|
88
88
|
}) => /* @__PURE__ */ z(
|
|
89
89
|
"div",
|
|
90
90
|
{
|
|
91
91
|
className: D(
|
|
92
92
|
_.tagCommon,
|
|
93
93
|
_[`${s}-size`],
|
|
94
|
-
_[`${
|
|
95
|
-
_[`${
|
|
96
|
-
_[`${
|
|
97
|
-
_[`${
|
|
98
|
-
_[`${
|
|
99
|
-
|
|
94
|
+
_[`${t}-size_m`],
|
|
95
|
+
_[`${i}-size_l`],
|
|
96
|
+
_[`${r}`],
|
|
97
|
+
_[`${l}-width`],
|
|
98
|
+
_[`${m}-fontWeight`],
|
|
99
|
+
a
|
|
100
100
|
),
|
|
101
|
-
...
|
|
102
|
-
children:
|
|
101
|
+
...n,
|
|
102
|
+
children: e
|
|
103
103
|
}
|
|
104
104
|
);
|
|
105
105
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { c as _ } from "../../../index-
|
|
2
|
+
import { c as _ } from "../../../index-rKuIKazb.js";
|
|
3
3
|
const i = "_root_wkh0k_1", o = {
|
|
4
4
|
root: i
|
|
5
5
|
}, e = _.bind(o), f = ({ children: m, className: r, additionalClass: t = "", html: s, ...n }) => s ? /* @__PURE__ */ c(
|