stone-kit 0.0.1026 → 0.0.1028

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/dist/App.js +1 -1
  2. package/dist/{Menu-DKuZheFD.js → Menu-CdJTzN7T.js} +157 -176
  3. package/dist/{Option-DU8cvBnA.js → Option-rFBMQAPk.js} +1 -1
  4. package/dist/Router.js +1 -1
  5. package/dist/components/Button/ui/Button.d.ts +0 -1
  6. package/dist/components/Button/ui/Button.js +1 -1
  7. package/dist/components/Button/ui/Button.types.d.ts +0 -1
  8. package/dist/components/CheckBox/CheckBox.d.ts +0 -1
  9. package/dist/components/CheckBox/CheckBox.js +1 -1
  10. package/dist/components/CheckBox/CheckBox.types.d.ts +0 -2
  11. package/dist/components/CheckBoxNew/CheckBox.types.d.ts +0 -1
  12. package/dist/components/CheckBoxNew/CheckBoxNew.d.ts +0 -1
  13. package/dist/components/CheckBoxNew/CheckBoxNew.js +17 -17
  14. package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +0 -1
  15. package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +34 -34
  16. package/dist/components/CommercialLotCard/CommercialLotCard.d.ts +0 -1
  17. package/dist/components/CommercialLotCard/CommercialLotCard.js +50 -7
  18. package/dist/components/CommercialLotCard/components/Price/Price.d.ts +0 -1
  19. package/dist/components/CommercialLotCard/components/Price/Price.js +25 -26
  20. package/dist/components/CommercialLotCard/components/Snippets/Snippets.d.ts +0 -1
  21. package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +98 -27
  22. package/dist/components/CommercialLotCard/components/Tags/Tags.d.ts +0 -1
  23. package/dist/components/CommercialLotCard/components/Tags/Tags.js +17 -17
  24. package/dist/components/CommercialLotCard/types/CommercialLotCard.types.d.ts +0 -1
  25. package/dist/components/CommercialLotCard/types/LotCard.d.ts +0 -1
  26. package/dist/components/CommercialLotCard/utils/formatPrice.js +1 -2
  27. package/dist/components/CommercialLotCard/utils/getTagsFeatures.d.ts +1 -2
  28. package/dist/components/DestinationTab/ui/DestinationTab.d.ts +0 -1
  29. package/dist/components/DestinationTab/ui/DestinationTab.js +41 -41
  30. package/dist/components/DestinationTab/ui/DestinationTab.types.d.ts +0 -1
  31. package/dist/components/FieldInput/ui/FieldInput.d.ts +0 -1
  32. package/dist/components/FieldInput/ui/FieldInput.types.d.ts +0 -1
  33. package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +0 -1
  34. package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +54 -26
  35. package/dist/components/FilterWithSave/ui/FilterWithSave.d.ts +0 -1
  36. package/dist/components/FilterWithSave/ui/FilterWithSave.js +328 -7
  37. package/dist/components/Flex/ui/Flex.d.ts +0 -1
  38. package/dist/components/Flex/ui/Flex.js +1 -1
  39. package/dist/components/Flex/ui/Flex.types.d.ts +0 -1
  40. package/dist/components/FormModal/ui/ModalForm.js +1430 -28
  41. package/dist/components/GroupedInput/ui/GroupedInputs.d.ts +0 -1
  42. package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
  43. package/dist/components/GroupedInput/ui/GroupedInputs.types.d.ts +0 -1
  44. package/dist/components/Input/ui/Input.d.ts +1 -2
  45. package/dist/components/Input/ui/Input.js +234 -304
  46. package/dist/components/Logo/ui/Logo.d.ts +0 -1
  47. package/dist/components/Logo/ui/Logo.js +6 -6
  48. package/dist/components/LotCard/hooks/useLotCard.d.ts +0 -1
  49. package/dist/components/LotCard/hooks/useLotCard.js +6 -24
  50. package/dist/components/LotCard/index.js +2 -2
  51. package/dist/components/LotCard/ui/LotCard.d.ts +0 -1
  52. package/dist/components/LotCard/ui/LotCard.js +213 -10
  53. package/dist/components/LotCard/ui/LotCard.types.d.ts +0 -1
  54. package/dist/components/LotCard/utils/formatPrice.js +1 -2
  55. package/dist/components/LotCard/utils/getTagsFeatures.d.ts +1 -2
  56. package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +1 -1
  57. package/dist/components/MetroLabel/ui/MetroLabel.d.ts +0 -1
  58. package/dist/components/MetroLabel/ui/MetroLabel.js +16 -16
  59. package/dist/components/MetroLabel/ui/MetroLabel.types.d.ts +0 -1
  60. package/dist/components/MetroTag/ui/MetroTag.d.ts +0 -1
  61. package/dist/components/MetroTag/ui/MetroTag.js +74 -74
  62. package/dist/components/MetroTag/ui/MetroTag.types.d.ts +0 -1
  63. package/dist/components/Modal/ui/Modal.d.ts +0 -1
  64. package/dist/components/Modal/ui/Modal.js +34 -37
  65. package/dist/components/Modal/ui/Modal.types.d.ts +0 -1
  66. package/dist/components/ModalSuccess/ModalSuccess.d.ts +0 -1
  67. package/dist/components/ModalSuccess/ModalSuccess.js +18 -19
  68. package/dist/components/ModalSuccess/ModalSuccess.types.d.ts +0 -1
  69. package/dist/components/NewIcon/icons/PinTrans.d.ts +0 -1
  70. package/dist/components/NewIcon/icons/SmallFilter.d.ts +0 -1
  71. package/dist/components/NewIcon/ui/NewIcon.d.ts +0 -1
  72. package/dist/components/NewIcon/ui/NewIcon.js +43 -33
  73. package/dist/components/NewIcon/ui/NewIcon.types.d.ts +0 -1
  74. package/dist/components/NewIcon/ui/iconTypes.d.ts +0 -1
  75. package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +9 -11
  76. package/dist/components/RoundButton/ui/RoundButton.d.ts +0 -1
  77. package/dist/components/RoundButton/ui/RoundButton.js +2 -2
  78. package/dist/components/RoundButton/ui/RoundButton.types.d.ts +0 -1
  79. package/dist/components/Select/model/selectMode.d.ts +0 -1
  80. package/dist/components/Select/model/selectMode.js +30 -30
  81. package/dist/components/Select/ui/Category.d.ts +0 -1
  82. package/dist/components/Select/ui/Category.js +3 -3
  83. package/dist/components/Select/ui/Option.d.ts +0 -1
  84. package/dist/components/Select/ui/Option.js +2 -2
  85. package/dist/components/Select/ui/Select.d.ts +0 -1
  86. package/dist/components/Select/ui/Select.js +115 -115
  87. package/dist/components/SliderNavigation/index.d.ts +0 -1
  88. package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +0 -1
  89. package/dist/components/SliderNavigation/ui/SliderNavigation.js +6 -6
  90. package/dist/components/SortSelect/hooks/useSortSelect.d.ts +0 -1
  91. package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
  92. package/dist/components/SortSelect/index.js +1 -1
  93. package/dist/components/SortSelect/ui/SortSelect.d.ts +0 -1
  94. package/dist/components/SortSelect/ui/SortSelect.js +108 -26
  95. package/dist/components/SortSelect/ui/SortSelect.types.d.ts +0 -1
  96. package/dist/components/SummarySelect/ui/SummarySelect.d.ts +1 -1
  97. package/dist/components/SummarySelect/ui/SummarySelect.js +56 -61
  98. package/dist/components/Switcher/ui/Switcher.d.ts +0 -1
  99. package/dist/components/Switcher/ui/Switcher.js +1 -1
  100. package/dist/components/Switcher/ui/Switcher.types.d.ts +0 -1
  101. package/dist/components/TabSelect/ui/TabSelect.d.ts +0 -1
  102. package/dist/components/TabSelect/ui/TabSelect.js +5 -5
  103. package/dist/components/TabSwitcher/index.js +2 -2
  104. package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +0 -1
  105. package/dist/components/TabSwitcher/ui/TabSwitcher.js +118 -26
  106. package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +0 -1
  107. package/dist/components/Tag/ui/Tag.d.ts +0 -1
  108. package/dist/components/Tag/ui/Tag.js +91 -91
  109. package/dist/components/Tag/ui/Tag.types.d.ts +0 -1
  110. package/dist/components/Text/ui/Text.d.ts +0 -1
  111. package/dist/components/Text/ui/Text.js +1 -1
  112. package/dist/components/Text/ui/Text.types.d.ts +0 -1
  113. package/dist/components/TextArea/TextArea.js +1 -1
  114. package/dist/components/TextArea/TextArea.types.d.ts +0 -1
  115. package/dist/components/ZoomControls/ui/ZoomControls.d.ts +0 -1
  116. package/dist/components/ZoomControls/ui/ZoomControls.types.d.ts +0 -1
  117. package/dist/components/mobileButton/ui/MobileButton.d.ts +0 -1
  118. package/dist/components/mobileButton/ui/MobileButton.js +1 -1
  119. package/dist/components/mobileButton/ui/MobileButton.types.d.ts +0 -1
  120. package/dist/{index-DvCs2JPX.js → index-3E04UaC2.js} +9529 -9629
  121. package/dist/index-B2JRaoNz.js +48 -0
  122. package/dist/{index-DmANy9jd.js → index-CBdtKu-u.js} +272 -271
  123. package/dist/layout/Layout.d.ts +0 -1
  124. package/dist/layout/components/Header/Header.js +48 -71
  125. package/dist/layout/components/Menu.js +2 -24
  126. package/dist/main.js +70 -65
  127. package/dist/pages/ButtonsPage/ButtonState/ButtonState.d.ts +0 -1
  128. package/dist/pages/ButtonsPage/Buttons.js +21 -38
  129. package/dist/pages/FormsPage/FormsPage.js +26 -50
  130. package/dist/pages/IconsPage/IconsPage.js +9 -31
  131. package/dist/pages/InputPage/InputPage.js +10 -32
  132. package/dist/pages/LogoPage/LogoPage.js +13 -35
  133. package/dist/pages/LotsPage/LotsPage.js +18 -17
  134. package/dist/pages/LotsPage/const.d.ts +0 -1
  135. package/dist/pages/ModalsPage/ModalPage.js +46 -66
  136. package/dist/pages/SelectPage/SelectPage.js +58 -58
  137. package/dist/pages/TabsPage/TabsPage.js +19 -20
  138. package/dist/pages/TagsPage/TagsPage.js +23 -44
  139. package/dist/shared/checkLargeOffice.d.ts +0 -1
  140. package/dist/shared/checkLargeOffice.js +1 -1
  141. package/dist/shared/mlnRound.js +1 -2
  142. package/dist/stone-kit.css +1 -0
  143. package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +2 -2
  144. package/dist/stories/shared/ui/Button/Button.stories.js +5 -5
  145. package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +1 -1
  146. package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +1 -1
  147. package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +1 -1
  148. package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +1 -1
  149. package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +1 -1
  150. package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +2 -2
  151. package/dist/stories/shared/ui/FormModal/FormModal.stories.js +8 -8
  152. package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +1 -1
  153. package/dist/stories/shared/ui/Logo/Logo.stories.js +1 -1
  154. package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +1 -1
  155. package/dist/stories/shared/ui/Modal/Modal.stories.js +1 -1
  156. package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +1 -1
  157. package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +1 -1
  158. package/dist/stories/shared/ui/Select/Select.stories.js +1 -1
  159. package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +1 -1
  160. package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +2 -2
  161. package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +1 -1
  162. package/dist/stories/shared/ui/Switcher/Switcher.stories.js +1 -1
  163. package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +1 -1
  164. package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +2 -2
  165. package/dist/stories/shared/ui/Tag/Tag.stories.js +4 -4
  166. package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
  167. package/dist/useLotCard-DG9doKCX.js +186 -0
  168. package/dist/useSortSelect-C72ddcYI.js +80 -0
  169. package/package.json +1 -1
  170. package/dist/FilterWithSave-DkVYQ7W8.js +0 -2473
  171. package/dist/index-rKuIKazb.js +0 -45
  172. package/dist/style.css +0 -1
  173. package/dist/useSortSelect-CjZXLFOG.js +0 -80
@@ -1,67 +1,65 @@
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 O } from "../../Select/ui/Select.js";
4
- const N = "_root_156r8_1", p = "_nameWrapper_156r8_8", f = "_clearBtn_156r8_18", S = "_summaryList_156r8_33", V = "_summaryOption_156r8_40", B = "_categoryOption_156r8_62", b = "_summaryCategory_156r8_71", k = "_headerCategory_156r8_81", T = "_categoryTitle_156r8_87", W = "_categoryOptions_156r8_95", t = {
5
- root: N,
6
- nameWrapper: p,
7
- clearBtn: f,
8
- summaryList: S,
1
+ import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
+ import { Select as C } from "../../Select/ui/Select.js";
3
+ import { NewIcon as m } from "../../NewIcon/ui/NewIcon.js";
4
+ const O = "_root_156r8_1", N = "_nameWrapper_156r8_8", p = "_clearBtn_156r8_18", f = "_summaryList_156r8_33", V = "_summaryOption_156r8_40", S = "_categoryOption_156r8_62", B = "_summaryCategory_156r8_71", L = "_headerCategory_156r8_81", b = "_categoryTitle_156r8_87", k = "_categoryOptions_156r8_95", t = {
5
+ root: O,
6
+ nameWrapper: N,
7
+ clearBtn: p,
8
+ summaryList: f,
9
9
  summaryOption: V,
10
- categoryOption: B,
11
- summaryCategory: b,
12
- headerCategory: k,
13
- categoryTitle: T,
14
- categoryOptions: W
15
- }, j = ({
16
- label: _ = "",
17
- isShowReset: g,
10
+ categoryOption: S,
11
+ summaryCategory: B,
12
+ headerCategory: L,
13
+ categoryTitle: b,
14
+ categoryOptions: k
15
+ }, z = ({
16
+ label: y = "",
17
+ isShowReset: _,
18
+ isShowCategoryDelete: d = !1,
18
19
  ...a
19
20
  }) => {
20
- var y;
21
- const c = (e) => {
21
+ const s = (e) => {
22
22
  a.onChange && a.onChange(e);
23
23
  }, u = (e) => {
24
- var r;
25
- const o = ((r = a.selectedValues) == null ? void 0 : r.filter((n) => n.value !== e)) || [];
26
- c(o);
27
- }, h = () => {
28
- c([]);
29
- }, v = (e) => {
30
- var o;
31
- c(
32
- ((o = a.selectedValues) == null ? void 0 : o.filter((r) => r.value !== e.value).filter(
33
- (r) => !e.options.some((n) => n.value === r.value)
34
- )) ?? []
24
+ const l = a.selectedValues?.filter((n) => n.value !== e) || [];
25
+ s(l);
26
+ }, g = () => {
27
+ s([]);
28
+ }, h = (e) => {
29
+ s(
30
+ a.selectedValues?.filter((l) => l.value !== e.value).filter(
31
+ (l) => !e.options.some((n) => n.value === l.value)
32
+ ) ?? []
35
33
  );
36
- }, m = (y = a.selectedValues) == null ? void 0 : y.filter((e) => "options" in e);
37
- return /* @__PURE__ */ s("div", { className: t.root, children: [
38
- /* @__PURE__ */ s("div", { className: t.nameWrapper, children: [
39
- /* @__PURE__ */ l("div", { children: _ }),
40
- g && /* @__PURE__ */ l(
34
+ }, v = a.selectedValues?.filter((e) => "options" in e);
35
+ return /* @__PURE__ */ o("div", { className: t.root, children: [
36
+ /* @__PURE__ */ o("div", { className: t.nameWrapper, children: [
37
+ /* @__PURE__ */ r("div", { children: y }),
38
+ _ && /* @__PURE__ */ r(
41
39
  "div",
42
40
  {
43
41
  className: t.clearBtn,
44
- onClick: h,
42
+ onClick: g,
45
43
  children: "Очистить"
46
44
  }
47
45
  )
48
46
  ] }),
49
- /* @__PURE__ */ l(
50
- O,
47
+ /* @__PURE__ */ r(
48
+ C,
51
49
  {
52
50
  ...a,
53
- onChange: c
51
+ onChange: s
54
52
  }
55
53
  ),
56
- a.mode === "options" && a.selectedValues && a.selectedValues.length > 0 && /* @__PURE__ */ l("div", { className: t.summaryList, children: a.selectedValues.map((e) => /* @__PURE__ */ s(
54
+ !d && a.mode === "options" && a.selectedValues && a.selectedValues.length > 0 && /* @__PURE__ */ r("div", { className: t.summaryList, children: a.selectedValues.map((e) => /* @__PURE__ */ o(
57
55
  "div",
58
56
  {
59
57
  onClick: () => u(e.value.toString()),
60
58
  className: t.summaryOption,
61
59
  children: [
62
60
  e.label,
63
- /* @__PURE__ */ l(
64
- d,
61
+ /* @__PURE__ */ r(
62
+ m,
65
63
  {
66
64
  name: "close",
67
65
  size: "16"
@@ -71,22 +69,22 @@ const N = "_root_156r8_1", p = "_nameWrapper_156r8_8", f = "_clearBtn_156r8_18",
71
69
  },
72
70
  e.value
73
71
  )) }),
74
- a.mode === "double" && (m == null ? void 0 : m.map((e, o) => {
75
- const r = e;
76
- return /* @__PURE__ */ s(
72
+ !d && a.mode === "double" && v?.map((e, l) => {
73
+ const n = e;
74
+ return /* @__PURE__ */ o(
77
75
  "div",
78
76
  {
79
77
  className: t.summaryCategory,
80
78
  children: [
81
- /* @__PURE__ */ s("div", { className: t.headerCategory, children: [
82
- /* @__PURE__ */ l("div", { className: t.categoryTitle, children: r.label }),
83
- /* @__PURE__ */ l(
79
+ /* @__PURE__ */ o("div", { className: t.headerCategory, children: [
80
+ /* @__PURE__ */ r("div", { className: t.categoryTitle, children: n.label }),
81
+ /* @__PURE__ */ r(
84
82
  "div",
85
83
  {
86
- onClick: () => v(e),
84
+ onClick: () => h(e),
87
85
  className: t.clearBtn,
88
- children: /* @__PURE__ */ l(
89
- d,
86
+ children: /* @__PURE__ */ r(
87
+ m,
90
88
  {
91
89
  name: "close",
92
90
  size: "16"
@@ -95,18 +93,15 @@ const N = "_root_156r8_1", p = "_nameWrapper_156r8_8", f = "_clearBtn_156r8_18",
95
93
  }
96
94
  )
97
95
  ] }),
98
- /* @__PURE__ */ l("div", { className: t.categoryOptions, children: r.options.filter((n) => {
99
- var i;
100
- return (i = a.selectedValues) == null ? void 0 : i.some((C) => n.value === C.value);
101
- }).map((n, i) => /* @__PURE__ */ s(
96
+ /* @__PURE__ */ r("div", { className: t.categoryOptions, children: n.options.filter((c) => a.selectedValues?.some((i) => c.value === i.value)).map((c, i) => /* @__PURE__ */ o(
102
97
  "div",
103
98
  {
104
- onClick: () => u(n.value.toString()),
99
+ onClick: () => u(c.value.toString()),
105
100
  className: `${t.summaryOption} ${t.categoryOption}`,
106
101
  children: [
107
- n.label,
108
- /* @__PURE__ */ l(
109
- d,
102
+ c.label,
103
+ /* @__PURE__ */ r(
104
+ m,
110
105
  {
111
106
  name: "close",
112
107
  size: "16"
@@ -118,11 +113,11 @@ const N = "_root_156r8_1", p = "_nameWrapper_156r8_8", f = "_clearBtn_156r8_18",
118
113
  )) })
119
114
  ]
120
115
  },
121
- o
116
+ l
122
117
  );
123
- }))
118
+ })
124
119
  ] });
125
120
  };
126
121
  export {
127
- j as SummarySelect
122
+ z as SummarySelect
128
123
  };
@@ -1,3 +1,2 @@
1
1
  import { ISwitcherProps } from './Switcher.types';
2
-
3
2
  export declare const Switcher: ({ children, isActive, onClick, isReverse, isBetween, dataTestId }: ISwitcherProps) => import("react/jsx-runtime").JSX.Element;
@@ -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-rKuIKazb.js";
3
+ import { c as v } from "../../../index-B2JRaoNz.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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface ISwitcherProps extends React.HTMLAttributes<HTMLDivElement> {
3
2
  children?: React.ReactNode;
4
3
  isActive?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type TBtn = {
3
2
  isLong?: boolean;
4
3
  additionalClassName?: string;
@@ -1,8 +1,8 @@
1
1
  import { jsxs as N, jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as T } from "react";
3
- import { c as k } from "../../../index-rKuIKazb.js";
4
- import { Text as y } from "../../Text/ui/Text.js";
5
- import { useClientWidth as z } from "../../../shared/useClientWidth.js";
3
+ import { c as k } from "../../../index-B2JRaoNz.js";
4
+ import { useClientWidth as y } from "../../../shared/useClientWidth.js";
5
+ import { Text as z } from "../../Text/ui/Text.js";
6
6
  const W = "_root_pbslz_1", D = "_whiteFill_pbslz_29", F = "_text_pbslz_34", P = "_fullWhite_pbslz_48", C = "_whiteStroke_pbslz_67", I = "_withPadding_pbslz_105", j = "_grayDesign_pbslz_109", t = {
7
7
  root: W,
8
8
  whiteFill: D,
@@ -17,7 +17,7 @@ const W = "_root_pbslz_1", D = "_whiteFill_pbslz_29", F = "_text_pbslz_34", P =
17
17
  grayDesign: "grayDesign",
18
18
  fullWhite: "fullWhite"
19
19
  }, A = ({ variant: s = "whiteFill", classname: l, children: a }) => /* @__PURE__ */ e("div", { className: i(t.root, t[`${s}`], l), children: a }), r = T((s, l) => {
20
- const { isTablet: a, isDesktop: c } = z(), h = (S, x) => S && o ? o : x && n ? n : f, {
20
+ const { isTablet: a, isDesktop: c } = y(), h = (S, x) => S && o ? o : x && n ? n : f, {
21
21
  children: d,
22
22
  className: _,
23
23
  additionalClassName: m,
@@ -46,7 +46,7 @@ const W = "_root_pbslz_1", D = "_whiteFill_pbslz_29", F = "_text_pbslz_34", P =
46
46
  {
47
47
  className: i(_, m, { isLong: b }),
48
48
  style: { width: h(a, c) },
49
- children: /* @__PURE__ */ e(y, { className: i(t.text), children: d })
49
+ children: /* @__PURE__ */ e(z, { className: i(t.text), children: d })
50
50
  }
51
51
  )
52
52
  ] });
@@ -1,4 +1,4 @@
1
- import { S as e } from "../../FilterWithSave-DkVYQ7W8.js";
1
+ import { TabSwitcher as o } from "./ui/TabSwitcher.js";
2
2
  export {
3
- e as TabSwitcher
3
+ o as TabSwitcher
4
4
  };
@@ -1,5 +1,4 @@
1
1
  import { ITabSwitcherItem, TabSwitcherProps } from './TabSwitcher.types';
2
-
3
2
  declare const SwitcherNamespace: (({ children, variant, isApart, addClassName, col, }: TabSwitcherProps) => import("react/jsx-runtime").JSX.Element) & {
4
3
  Item: import('react').ForwardRefExoticComponent<ITabSwitcherItem & import('react').RefAttributes<HTMLInputElement>>;
5
4
  };
@@ -1,28 +1,120 @@
1
- import "react/jsx-runtime";
2
- import "react";
3
- import { S as y } from "../../../FilterWithSave-DkVYQ7W8.js";
4
- import "../../Text/ui/Text.js";
5
- import "../../../index-rKuIKazb.js";
6
- import "../../Button/ui/Button.js";
7
- import "../../mobileButton/ui/MobileButton.js";
8
- import "../../NewIcon/ui/NewIcon.js";
9
- import "../../DestinationTab/ui/DestinationTab.js";
10
- import "../../RoundButton/ui/RoundButton.js";
11
- import "../../Tag/ui/Tag.js";
12
- import "../../Switcher/ui/Switcher.js";
13
- import "../../Flex/ui/Flex.js";
14
- import "../../Input/ui/Input.js";
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";
1
+ import { jsxs as W, jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as $ } from "react";
3
+ import { c as D } from "../../../index-B2JRaoNz.js";
4
+ import { useClientWidth as M } from "../../../shared/useClientWidth.js";
5
+ import { Text as j } from "../../Text/ui/Text.js";
6
+ const G = "_root_1t61b_1", k = "_text_1t61b_18", v = "_textMini_1t61b_26", O = "_rootCol_1t61b_32", A = "_item_1t61b_38", q = "_whiteRow_1t61b_57", B = "_firstItem_1t61b_68", E = "_lastItem_1t61b_72", F = "_whiteRowGrayLabel_1t61b_103", H = "_labelItem_1t61b_118", J = "_apart_1t61b_147", K = "_isLong_1t61b_147", P = "_autoWidth_1t61b_162", Q = "_mini_1t61b_176", U = "_isDisabled_1t61b_184", V = "_grayRow_1t61b_208", t = {
7
+ root: G,
8
+ text: k,
9
+ textMini: v,
10
+ rootCol: O,
11
+ item: A,
12
+ whiteRow: q,
13
+ firstItem: B,
14
+ lastItem: E,
15
+ whiteRowGrayLabel: F,
16
+ labelItem: H,
17
+ apart: J,
18
+ isLong: K,
19
+ autoWidth: P,
20
+ mini: Q,
21
+ isDisabled: U,
22
+ grayRow: V,
23
+ "tiny-size": "_tiny-size_1t61b_236",
24
+ "small-size": "_small-size_1t61b_241",
25
+ "medium-size": "_medium-size_1t61b_246",
26
+ "large-size": "_large-size_1t61b_251",
27
+ "text-tiny-size": "_text-tiny-size_1t61b_256",
28
+ "text-small-size": "_text-small-size_1t61b_262",
29
+ "text-medium-size": "_text-medium-size_1t61b_267",
30
+ "text-large-size": "_text-large-size_1t61b_272",
31
+ "small-size_m": "_small-size_m_1t61b_278",
32
+ "medium-size_m": "_medium-size_m_1t61b_282",
33
+ "large-size_m": "_large-size_m_1t61b_286",
34
+ "text-small-size_m": "_text-small-size_m_1t61b_290",
35
+ "text-medium-size_m": "_text-medium-size_m_1t61b_294",
36
+ "text-large-size_m": "_text-large-size_m_1t61b_298",
37
+ "small-size_l": "_small-size_l_1t61b_313",
38
+ "medium-size_l": "_medium-size_l_1t61b_317",
39
+ "large-size_l": "_large-size_l_1t61b_321",
40
+ "text-small-size_l": "_text-small-size_l_1t61b_325",
41
+ "text-medium-size_l": "_text-medium-size_l_1t61b_329",
42
+ "text-large-size_l": "_text-large-size_l_1t61b_333"
43
+ }, e = D.bind(t), X = ({
44
+ children: _,
45
+ variant: l = "whiteRow",
46
+ isApart: a = !1,
47
+ addClassName: m = "",
48
+ col: s = !1
49
+ }) => /* @__PURE__ */ i("div", { className: e(t.root, t[l], { [t.rootCol]: s, [t.apart]: a }, m), children: _ }), w = $((_, l) => {
50
+ const { isTablet: a, isDesktop: m } = M(), {
51
+ index: s,
52
+ children: o,
53
+ addItemClassName: u,
54
+ addLabelClassname: f,
55
+ addTextClass: I,
56
+ size_s: b = "large",
57
+ size_m: z,
58
+ size_l: d,
59
+ disabled: c = !1,
60
+ itemsLength: p = 0,
61
+ isLongOn: y = !0,
62
+ width: x,
63
+ width_m: r,
64
+ width_l: n,
65
+ mini: h = !1,
66
+ dataTestId: L,
67
+ ...R
68
+ } = _, g = (o?.toString().length ? o?.toString().length > 2 : !1) && y, C = (T, S) => T && r ? r : S && n ? n : x, N = !x && !r && !n && g;
69
+ return /* @__PURE__ */ W("label", { className: e(t.labelItem, { [t.isLong]: g }, f), children: [
70
+ /* @__PURE__ */ i(
71
+ "input",
72
+ {
73
+ ref: l,
74
+ type: "checkbox",
75
+ ...R,
76
+ disabled: c
77
+ }
78
+ ),
79
+ /* @__PURE__ */ i(
80
+ "div",
81
+ {
82
+ style: { width: C(a, m) },
83
+ "data-testid": L,
84
+ className: e(
85
+ e(
86
+ t.item,
87
+ { [t.firstItem]: s === 0 },
88
+ { [t.lastItem]: s === p - 1 },
89
+ { [t.isDisabled]: c },
90
+ { [t.autoWidth]: N },
91
+ t[`${b}-size`],
92
+ t[`${z}-size_m`],
93
+ t[`${d}-size_l`],
94
+ { [t.mini]: h }
95
+ ),
96
+ u
97
+ ),
98
+ children: /* @__PURE__ */ i(
99
+ j,
100
+ {
101
+ className: e(
102
+ t.text,
103
+ t[`text-${b}-size`],
104
+ t[`text-${z}-size_m`],
105
+ t[`text-${d}-size_l`],
106
+ { [t.textMini]: h },
107
+ I
108
+ ),
109
+ children: o
110
+ }
111
+ )
112
+ }
113
+ )
114
+ ] });
115
+ });
116
+ w.displayName = "TabSwitcherItem";
117
+ const it = Object.assign(X, { Item: w });
26
118
  export {
27
- y as TabSwitcher
119
+ it as TabSwitcher
28
120
  };
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  declare const TAB_SWITCHER_VARIANTS: {
4
3
  whiteRow: string;
5
4
  grayRow: string;
@@ -1,4 +1,3 @@
1
1
  import { default as React } from 'react';
2
2
  import { ComponentProps } from './Tag.types';
3
-
4
3
  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 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,
2
+ import { c as h } from "../../../index-B2JRaoNz.js";
3
+ const o = "_tagCommon_18las_1", y = "_red_18las_149", p = "_gray_18las_155", g = "_shade_18las_161", x = "_blackGrey_18las_167", c = "_blackWhite_18las_173", d = "_gray5_18las_179", u = "_gray8_18las_185", k = "_chineseBlack_18las_191", G = "_white_18las_198", f = "_fullWhite_18las_205", W = "_shadeWhite_18las_212", w = "_transparent_18las_222", b = "_transWhite_18las_229", L = "_neutralGray6_18las_239", T = "_whiteGrayStroke_18las_245", B = "_whiteGray_18las_245", S = "_lightGray_18las_259", $ = "_black_18las_167", C = "_blackStroke_18las_271", N = "_darkGray_18las_278", j = "_lightBlue_18las_283", v = "_lightGrayTrans_18las_289", q = "_whiteGrayTrans_18las_295", A = "_preLarge_size_m_18las_342", _ = {
4
+ tagCommon: o,
5
+ "auto-width": "_auto-width_18las_21",
6
+ "full-width": "_full-width_18las_25",
7
+ "medium-size": "_medium-size_18las_29",
8
+ "mini-size": "_mini-size_18las_37",
9
+ "mini-12px-size": "_mini-12px-size_18las_45",
10
+ "tiny-size": "_tiny-size_18las_53",
11
+ "small-size": "_small-size_18las_61",
12
+ "preLarge-size": "_preLarge-size_18las_69",
13
+ "large-size": "_large-size_18las_77",
14
+ "tiny-7px-size": "_tiny-7px-size_18las_85",
15
+ "tiny-10px-size": "_tiny-10px-size_18las_93",
16
+ "tiny-12px-size": "_tiny-12px-size_18las_101",
17
+ "small-10px-size": "_small-10px-size_18las_109",
18
+ "small-13px-size": "_small-13px-size_18las_117",
19
+ "small-font-14-size": "_small-font-14-size_18las_125",
20
+ "extra-small-size": "_extra-small-size_18las_133",
21
+ "small-height-28px-size": "_small-height-28px-size_18las_141",
22
+ red: y,
23
+ gray: p,
24
+ shade: g,
25
+ blackGrey: x,
26
+ blackWhite: c,
27
+ gray5: d,
28
+ gray8: u,
29
+ chineseBlack: k,
30
+ white: G,
31
+ fullWhite: f,
32
+ shadeWhite: W,
33
+ transparent: w,
34
+ transWhite: b,
35
+ neutralGray6: L,
36
+ whiteGrayStroke: T,
37
+ whiteGray: B,
38
+ lightGray: S,
39
+ black: $,
40
+ blackStroke: C,
41
+ darkGray: N,
42
+ lightBlue: j,
43
+ lightGrayTrans: v,
44
44
  whiteGrayTrans: q,
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",
45
+ "tiny-fontWeight": "_tiny-fontWeight_18las_301",
46
+ "medium-fontWeight": "_medium-fontWeight_18las_305",
47
+ "large-fontWeight": "_large-fontWeight_18las_309",
48
+ "mini-size_m": "_mini-size_m_18las_314",
49
+ "tiny-size_m": "_tiny-size_m_18las_321",
50
+ "medium-size_m": "_medium-size_m_18las_328",
51
+ "small-size_m": "_small-size_m_18las_335",
52
52
  preLarge_size_m: A,
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 = ({
53
+ "large-size_m": "_large-size_m_18las_349",
54
+ "tiny-7px-size_m": "_tiny-7px-size_m_18las_356",
55
+ "tiny-10px-size_m": "_tiny-10px-size_m_18las_363",
56
+ "tiny-12px-size_m": "_tiny-12px-size_m_18las_370",
57
+ "small-10px-size_m": "_small-10px-size_m_18las_377",
58
+ "small-13px-size_m": "_small-13px-size_m_18las_384",
59
+ "small-font-14-size_m": "_small-font-14-size_m_18las_391",
60
+ "mini-12px-size_m": "_mini-12px-size_m_18las_398",
61
+ "extra-small-size_m": "_extra-small-size_m_18las_405",
62
+ "small-height-28px-size_m": "_small-height-28px-size_m_18las_412",
63
+ "mini-size_l": "_mini-size_l_18las_421",
64
+ "tiny-size_l": "_tiny-size_l_18las_428",
65
+ "medium-size_l": "_medium-size_l_18las_435",
66
+ "small-size_l": "_small-size_l_18las_442",
67
+ "preLarge-size_l": "_preLarge-size_l_18las_449",
68
+ "large-size_l": "_large-size_l_18las_456",
69
+ "tiny-7px-size_l": "_tiny-7px-size_l_18las_463",
70
+ "tiny-10px-size_l": "_tiny-10px-size_l_18las_470",
71
+ "tiny-12px-size_l": "_tiny-12px-size_l_18las_477",
72
+ "small-10px-size_l": "_small-10px-size_l_18las_484",
73
+ "small-13px-size_l": "_small-13px-size_l_18las_491",
74
+ "small-font-14-size_l": "_small-font-14-size_l_18las_498",
75
+ "mini-12px-size_l": "_mini-12px-size_l_18las_505",
76
+ "extra-small-size_l": "_extra-small-size_l_18las_512",
77
+ "small-height-28px-size_l": "_small-height-28px-size_l_18las_519"
78
+ }, D = h.bind(_), H = ({
79
79
  size: s = "medium",
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
80
+ size_m: l,
81
+ size_l: a,
82
+ children: i = "",
83
+ variant: e = "gray",
84
+ width: t = "auto",
85
+ additionalClass: m = "",
86
+ fontWeight: n = "medium",
87
+ ...r
88
88
  }) => /* @__PURE__ */ z(
89
89
  "div",
90
90
  {
91
91
  className: D(
92
92
  _.tagCommon,
93
93
  _[`${s}-size`],
94
- _[`${t}-size_m`],
95
- _[`${i}-size_l`],
96
- _[`${r}`],
97
- _[`${l}-width`],
98
- _[`${m}-fontWeight`],
99
- a
94
+ _[`${l}-size_m`],
95
+ _[`${a}-size_l`],
96
+ _[`${e}`],
97
+ _[`${t}-width`],
98
+ _[`${n}-fontWeight`],
99
+ m
100
100
  ),
101
- ...n,
102
- children: e
101
+ ...r,
102
+ children: i
103
103
  }
104
104
  );
105
105
  export {
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  type tagWidth = 'auto' | 'full';
4
3
  export declare const TAG_VARIANTS: {
5
4
  red: string;
@@ -1,3 +1,2 @@
1
1
  import { ITextProps } from './Text.types';
2
-
3
2
  export declare const Text: ({ children, className, additionalClass, html, ...rest }: ITextProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
- import { c as _ } from "../../../index-rKuIKazb.js";
2
+ import { c as _ } from "../../../index-B2JRaoNz.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(
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface ITextProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
3
2
  children?: React.ReactNode | 'string';
4
3
  className?: string;