stone-kit 0.0.1028 → 0.0.1029
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/{Option-rFBMQAPk.js → Option-CtwUzW8a.js} +1 -1
- package/dist/Router.js +1 -1
- package/dist/chunk-4WY6JWTD-BeveLKf_.js +1582 -0
- package/dist/components/Button/ui/Button.js +1 -1
- package/dist/components/CheckBoxNew/CheckBoxNew.js +1 -1
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +1 -1
- package/dist/components/CommercialLotCard/CommercialLotCard.js +1 -1
- package/dist/components/CommercialLotCard/components/Price/Price.js +1 -1
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +1 -1
- package/dist/components/DestinationTab/ui/DestinationTab.js +1 -1
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +1 -1
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +9 -14
- package/dist/components/Flex/ui/Flex.js +1 -1
- package/dist/components/FormModal/ui/ModalForm.js +656 -641
- package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
- package/dist/components/Input/ui/Input.js +1 -22
- package/dist/components/Logo/ui/Logo.js +1 -1
- package/dist/components/LotCard/hooks/useLotCard.js +2 -2
- package/dist/components/LotCard/ui/LotCard.js +2 -2
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +1 -1
- package/dist/components/MetroLabel/ui/MetroLabel.js +1 -1
- package/dist/components/MetroTag/ui/MetroTag.js +1 -1
- package/dist/components/NewIcon/ui/NewIcon.js +3 -3
- 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 +1 -1
- package/dist/components/SortSelect/hooks/useSortSelect.d.ts +1 -1
- package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
- package/dist/components/SortSelect/ui/SortSelect.js +12 -12
- package/dist/components/Switcher/ui/Switcher.js +1 -1
- package/dist/components/TabSelect/ui/TabSelect.d.ts +12 -7
- package/dist/components/TabSelect/ui/TabSelect.js +43 -38
- package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +4 -3
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +75 -73
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +1 -1
- package/dist/components/Tag/ui/Tag.js +1 -1
- package/dist/components/Text/ui/Text.js +1 -1
- package/dist/components/TextArea/TextArea.d.ts +8 -0
- package/dist/components/TextArea/TextArea.js +18 -12
- package/dist/components/mobileButton/ui/MobileButton.js +1 -1
- package/dist/{index-3E04UaC2.js → index-BJwl9stn.js} +785 -784
- package/dist/{index-B2JRaoNz.js → index-YnD2EP-S.js} +0 -5
- package/dist/layout/components/Header/Header.js +1 -1
- package/dist/layout/components/Menu.js +107 -4
- package/dist/pages/ButtonsPage/Buttons.js +49 -60
- 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 +1 -1
- 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 +1 -1
- package/dist/stories/shared/ui/FormModal/FormModal.stories.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
- package/dist/{useLotCard-DG9doKCX.js → useLotCard-CYcRSogE.js} +1 -1
- package/dist/{useSortSelect-C72ddcYI.js → useSortSelect-Cy3od4ig.js} +6 -6
- package/package.json +22 -31
- package/dist/ButtonState.module-DtW3aevR.js +0 -8
- package/dist/Menu-CdJTzN7T.js +0 -494
- package/dist/components/TextArea/TextArea.types.d.ts +0 -10
- package/dist/components/TextArea/TextArea.types.js +0 -1
- package/dist/index-CBdtKu-u.js +0 -891
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.d.ts +0 -6
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +0 -121
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as m, Fragment as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as k } from "../../../index-
|
|
2
|
+
import { c as k } from "../../../index-YnD2EP-S.js";
|
|
3
3
|
import { NewIcon as y } from "../../NewIcon/ui/NewIcon.js";
|
|
4
4
|
const w = "_btnCommon_1n16j_1", f = "_btnLoading_1n16j_20", C = "_pre_1n16j_24", N = "_post_1n16j_25", p = "_isHidden_1n16j_29", v = "_blue_1n16j_73", H = "_lightBlue_1n16j_87", S = "_sokolniki_1n16j_102", B = "_black_1n16j_116", L = "_gray_1n16j_130", $ = "_whiteStroke_1n16j_144", x = "_whiteFilled_1n16j_156", F = "_shade_1n16j_170", I = "_transparent_1n16j_176", q = "_volodiyaLight_1n16j_197", A = "_loader_1n16j_203", D = "_LoaderSpin_1n16j_1", e = {
|
|
5
5
|
btnCommon: w,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as _, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../index-
|
|
2
|
+
import { c as m } from "../../index-YnD2EP-S.js";
|
|
3
3
|
import { forwardRef as h } from "react";
|
|
4
4
|
import { Input as p } from "../Input/ui/Input.js";
|
|
5
5
|
import { NewIcon as d } from "../NewIcon/ui/NewIcon.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as h } from "../../../index-
|
|
2
|
+
import { c as h } from "../../../index-YnD2EP-S.js";
|
|
3
3
|
const _ = "_root_19qpl_1", b = "_nameWrapper_19qpl_8", d = "_large_19qpl_18", x = "_clearBtn_19qpl_25", k = "_checkboxWrapper_19qpl_40", m = "_checkboxItem_19qpl_46", I = "_checkboxItemActive_19qpl_64", q = "_checkboxItemDisabled_19qpl_76", v = "_checkBoxLarge_19qpl_81", e = {
|
|
4
4
|
root: _,
|
|
5
5
|
nameWrapper: b,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as g } from "../../index-
|
|
2
|
+
import { c as g } from "../../index-YnD2EP-S.js";
|
|
3
3
|
import { fmtNumber as w } from "../../shared/fmtNumber.js";
|
|
4
4
|
import { Price as W } from "./components/Price/Price.js";
|
|
5
5
|
import { Snippets as f } from "./components/Snippets/Snippets.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as o, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { c as P } from "../../../../index-
|
|
2
|
+
import { c as P } from "../../../../index-YnD2EP-S.js";
|
|
3
3
|
import { formatPrice as g } from "../../utils/formatPrice.js";
|
|
4
4
|
import { NewIcon as y } from "../../../NewIcon/ui/NewIcon.js";
|
|
5
5
|
const N = "_root_u8cpd_1", w = "_price_u8cpd_7", b = "_paymentWrapper_u8cpd_19", x = "_rootVertical_u8cpd_39", r = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as f, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useState as A } from "react";
|
|
3
3
|
import { getTagsFeatures as B } from "../../utils/getTagsFeatures.js";
|
|
4
|
-
import { c as I } from "../../../../index-
|
|
4
|
+
import { c as I } from "../../../../index-YnD2EP-S.js";
|
|
5
5
|
import { useClientWidth as k } from "../../../../shared/useClientWidth.js";
|
|
6
6
|
import { NewIcon as C } from "../../../NewIcon/ui/NewIcon.js";
|
|
7
7
|
const M = "_snippet_1vgdm_1", W = "_snippetLast_1vgdm_9", j = "_snippets_1vgdm_25", D = "_retailSnippets_1vgdm_30", E = "_shownSnippets_1vgdm_35", F = "_addSnippets_1vgdm_64", T = "_addSnippetsActive_1vgdm_80", V = "_addSnippetsList_1vgdm_85", y = "_closeSnippetBtn_1vgdm_129", t = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as z } from "../../../index-
|
|
2
|
+
import { c as z } from "../../../index-YnD2EP-S.js";
|
|
3
3
|
const N = "_destination_1c7de_1", x = "_destinationName_1c7de_40", w = "_routeText_1c7de_45", g = "_whiteStroke_1c7de_65", k = "_routeWrapper_1c7de_78", e = {
|
|
4
4
|
destination: N,
|
|
5
5
|
"auto-width": "_auto-width_1c7de_29",
|
|
@@ -38,6 +38,6 @@ export declare const useFilterWithSave: ({ selectedTabs, selectedValues, onClick
|
|
|
38
38
|
value: string;
|
|
39
39
|
state: boolean;
|
|
40
40
|
}[]>>;
|
|
41
|
-
containerRef: import('react').
|
|
41
|
+
containerRef: import('react').RefObject<HTMLDivElement | null>;
|
|
42
42
|
};
|
|
43
43
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as d, Fragment as I, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { O as M } from "../../../Option-
|
|
3
|
-
import { g as D } from "../../../index-
|
|
2
|
+
import { O as M } from "../../../Option-CtwUzW8a.js";
|
|
3
|
+
import { g as D } from "../../../index-YnD2EP-S.js";
|
|
4
4
|
import { useFilterWithSave as P } from "../hooks/useFilterWithSave.js";
|
|
5
5
|
import { NewIcon as S } from "../../NewIcon/ui/NewIcon.js";
|
|
6
6
|
import { TabSwitcher as _ } from "../../TabSwitcher/ui/TabSwitcher.js";
|
|
@@ -26,11 +26,6 @@ const G = "_root_1v1y9_1", H = "_filterWithSaveModal_1v1y9_15", J = "_modalAddBo
|
|
|
26
26
|
desktopWrapperOpen: le
|
|
27
27
|
};
|
|
28
28
|
var N = { exports: {} };
|
|
29
|
-
/*!
|
|
30
|
-
Copyright (c) 2018 Jed Watson.
|
|
31
|
-
Licensed under the MIT License (MIT), see
|
|
32
|
-
http://jedwatson.github.io/classnames
|
|
33
|
-
*/
|
|
34
29
|
var A;
|
|
35
30
|
function oe() {
|
|
36
31
|
return A || (A = 1, (function(v) {
|
|
@@ -86,11 +81,11 @@ const de = /* @__PURE__ */ D(ce), pe = de.bind(e), ye = ({
|
|
|
86
81
|
handleCloseModal: C,
|
|
87
82
|
localSelectedTabs: O,
|
|
88
83
|
selectedOptions: k,
|
|
89
|
-
isMobile:
|
|
84
|
+
isMobile: b,
|
|
90
85
|
handleOptionClick: w,
|
|
91
86
|
handleClearClick: T,
|
|
92
87
|
handleSaveClick: x,
|
|
93
|
-
isModalOpen:
|
|
88
|
+
isModalOpen: W,
|
|
94
89
|
setLocalSelectedTabs: g,
|
|
95
90
|
setIsModalOpen: y,
|
|
96
91
|
containerRef: L
|
|
@@ -199,7 +194,7 @@ const de = /* @__PURE__ */ D(ce), pe = de.bind(e), ye = ({
|
|
|
199
194
|
className: e.root,
|
|
200
195
|
"data-testid": j,
|
|
201
196
|
onClick: () => {
|
|
202
|
-
B && B(), h && h(),
|
|
197
|
+
B && B(), h && h(), b ? y((o) => !o) : W || y(!0);
|
|
203
198
|
},
|
|
204
199
|
children: [
|
|
205
200
|
/* @__PURE__ */ t("div", { className: e.btnName, children: E }),
|
|
@@ -213,11 +208,11 @@ const de = /* @__PURE__ */ D(ce), pe = de.bind(e), ye = ({
|
|
|
213
208
|
]
|
|
214
209
|
}
|
|
215
210
|
),
|
|
216
|
-
!
|
|
211
|
+
!b && /* @__PURE__ */ d(
|
|
217
212
|
"div",
|
|
218
213
|
{
|
|
219
214
|
ref: L,
|
|
220
|
-
className: pe(e.desktopWrapper, { [e.desktopWrapperOpen]:
|
|
215
|
+
className: pe(e.desktopWrapper, { [e.desktopWrapperOpen]: W }),
|
|
221
216
|
children: [
|
|
222
217
|
/* @__PURE__ */ t(
|
|
223
218
|
"div",
|
|
@@ -312,10 +307,10 @@ const de = /* @__PURE__ */ D(ce), pe = de.bind(e), ye = ({
|
|
|
312
307
|
}
|
|
313
308
|
)
|
|
314
309
|
] }),
|
|
315
|
-
|
|
310
|
+
b && /* @__PURE__ */ t(
|
|
316
311
|
V,
|
|
317
312
|
{
|
|
318
|
-
isOpen:
|
|
313
|
+
isOpen: W,
|
|
319
314
|
emitIsOpen: y,
|
|
320
315
|
isTransparentBack: !0,
|
|
321
316
|
additionalClassModalBody: e.modalAddBody,
|