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
|
@@ -2,11 +2,6 @@ function c(e) {
|
|
|
2
2
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3
3
|
}
|
|
4
4
|
var o = { exports: {} };
|
|
5
|
-
/*!
|
|
6
|
-
Copyright (c) 2018 Jed Watson.
|
|
7
|
-
Licensed under the MIT License (MIT), see
|
|
8
|
-
http://jedwatson.github.io/classnames
|
|
9
|
-
*/
|
|
10
5
|
var i;
|
|
11
6
|
function p() {
|
|
12
7
|
return i || (i = 1, (function(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Menu as w } from "../Menu.js";
|
|
3
3
|
import { useState as r } from "react";
|
|
4
4
|
import { NewIcon as a } from "../../../components/NewIcon/ui/NewIcon.js";
|
|
5
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 = {
|
|
@@ -1,6 +1,109 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../../components/NewIcon/ui/NewIcon.js";
|
|
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,
|
|
10
|
+
{
|
|
11
|
+
to: l,
|
|
12
|
+
className: i.linkWrap,
|
|
13
|
+
children: [
|
|
14
|
+
n,
|
|
15
|
+
/* @__PURE__ */ t(
|
|
16
|
+
s,
|
|
17
|
+
{
|
|
18
|
+
size: "24",
|
|
19
|
+
name: "play2",
|
|
20
|
+
deg: "90",
|
|
21
|
+
color: "white"
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
return /* @__PURE__ */ e("div", { className: i.root, children: [
|
|
28
|
+
/* @__PURE__ */ t(
|
|
29
|
+
o,
|
|
30
|
+
{
|
|
31
|
+
to: "/buttons",
|
|
32
|
+
title: "КНОПКИ"
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
/* @__PURE__ */ t(
|
|
36
|
+
o,
|
|
37
|
+
{
|
|
38
|
+
to: "/modals",
|
|
39
|
+
title: "МОДАЛКИ"
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
/* @__PURE__ */ t(
|
|
43
|
+
o,
|
|
44
|
+
{
|
|
45
|
+
to: "/tabs",
|
|
46
|
+
title: "ТАБЫ"
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ t(
|
|
50
|
+
o,
|
|
51
|
+
{
|
|
52
|
+
to: "/icons",
|
|
53
|
+
title: "ИКОНКИ"
|
|
54
|
+
}
|
|
55
|
+
),
|
|
56
|
+
/* @__PURE__ */ t(
|
|
57
|
+
o,
|
|
58
|
+
{
|
|
59
|
+
to: "/lots",
|
|
60
|
+
title: "ЛОТЫ"
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
/* @__PURE__ */ t(
|
|
64
|
+
o,
|
|
65
|
+
{
|
|
66
|
+
to: "/tags",
|
|
67
|
+
title: "ТЭГИ"
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
/* @__PURE__ */ t(
|
|
71
|
+
o,
|
|
72
|
+
{
|
|
73
|
+
to: "/select",
|
|
74
|
+
title: "СЕЛЕКТ"
|
|
75
|
+
}
|
|
76
|
+
),
|
|
77
|
+
/* @__PURE__ */ t(
|
|
78
|
+
o,
|
|
79
|
+
{
|
|
80
|
+
to: "/forms",
|
|
81
|
+
title: "ФОРМЫ"
|
|
82
|
+
}
|
|
83
|
+
),
|
|
84
|
+
/* @__PURE__ */ t(
|
|
85
|
+
o,
|
|
86
|
+
{
|
|
87
|
+
to: "/logo",
|
|
88
|
+
title: "ЛОГО"
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ t(
|
|
92
|
+
o,
|
|
93
|
+
{
|
|
94
|
+
to: "/input",
|
|
95
|
+
title: "ИНПУТЫ"
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
/* @__PURE__ */ t(
|
|
99
|
+
o,
|
|
100
|
+
{
|
|
101
|
+
to: "/checkbox",
|
|
102
|
+
title: "ЧЕКБОКСЫ"
|
|
103
|
+
}
|
|
104
|
+
)
|
|
105
|
+
] });
|
|
106
|
+
};
|
|
4
107
|
export {
|
|
5
|
-
|
|
108
|
+
_ as Menu
|
|
6
109
|
};
|
|
@@ -1,76 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { NewIcon as d
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
pre: m ? t(d, { name: m, size: N ?? "24" }) : null,
|
|
20
|
-
post: p ? t(d, { name: p, size: k ?? "24" }) : null
|
|
21
|
-
}), x = ["auto", "full"], L = Object.values(w), v = Object.keys(A);
|
|
22
|
-
return i("div", { className: a.root, children: [_, i("div", { className: a.optionsWrapper, children: [t("div", { children: i("label", { children: ["Width:", t("select", { onChange: (e) => r(e.target.value), children: x.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Variants:", t("select", { onChange: (e) => f(e.target.value), children: L.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Pre Icon:", t("select", { onChange: (e) => I(e.target.value), children: v.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Post Icon:", t("select", { onChange: (e) => S(e.target.value), children: v.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Pre Icon Size:", t("select", { onChange: (e) => C(e.target.value), children: u.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Post Icon Size:", t("select", { onChange: (e) => P(e.target.value), children: u.map((e) => t("option", { value: e, children: e }, e)) })] }) }), i("label", { className: a.isLoading, children: ["isLoading", t("input", { type: "checkbox", onChange: () => z(!h) })] })] })] });
|
|
23
|
-
}, J = () => {
|
|
24
|
-
const [o, l] = n(!0), [r, s] = n(!1);
|
|
25
|
-
return /* @__PURE__ */ i("div", { className: c.root, children: [
|
|
26
|
-
/* @__PURE__ */ i("div", { className: c.clearButton, children: [
|
|
27
|
-
/* @__PURE__ */ t("h2", { children: "Обычная" }),
|
|
28
|
-
/* @__PURE__ */ t("div", { className: c.buttonsWrapper, children: /* @__PURE__ */ t(V, { children: /* @__PURE__ */ t(
|
|
29
|
-
B,
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s } from "react";
|
|
3
|
+
import { Button as m } from "../../components/Button/ui/Button.js";
|
|
4
|
+
import { RoundButton as c } from "../../components/RoundButton/ui/RoundButton.js";
|
|
5
|
+
import { NewIcon as d } from "../../components/NewIcon/ui/NewIcon.js";
|
|
6
|
+
import { ZoomControls as h } from "../../components/ZoomControls/ui/ZoomControls.js";
|
|
7
|
+
import { SliderNavigation as p } from "../../components/SliderNavigation/ui/SliderNavigation.js";
|
|
8
|
+
import { Switcher as l } from "../../components/Switcher/ui/Switcher.js";
|
|
9
|
+
const u = "_root_iex42_1", v = "_buttonsWrapper_iex42_11", t = {
|
|
10
|
+
root: u,
|
|
11
|
+
buttonsWrapper: v
|
|
12
|
+
}, S = () => {
|
|
13
|
+
const [i, r] = s(!0), [n, a] = s(!1);
|
|
14
|
+
return /* @__PURE__ */ o("div", { className: t.root, children: [
|
|
15
|
+
/* @__PURE__ */ o("div", { className: t.clearButton, children: [
|
|
16
|
+
/* @__PURE__ */ e("h2", { children: "Обычная" }),
|
|
17
|
+
/* @__PURE__ */ e("div", { className: t.buttonsWrapper, children: /* @__PURE__ */ e(
|
|
18
|
+
m,
|
|
30
19
|
{
|
|
31
20
|
as: "button",
|
|
32
21
|
size: "large",
|
|
33
22
|
variant: "blue",
|
|
34
23
|
children: "Приветики"
|
|
35
24
|
}
|
|
36
|
-
) })
|
|
25
|
+
) })
|
|
37
26
|
] }),
|
|
38
|
-
/* @__PURE__ */
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
/* @__PURE__ */
|
|
42
|
-
|
|
27
|
+
/* @__PURE__ */ o("div", { className: t.clearButton, children: [
|
|
28
|
+
/* @__PURE__ */ e("h2", { children: "Круглая" }),
|
|
29
|
+
/* @__PURE__ */ o("div", { className: t.buttonsWrapper, children: [
|
|
30
|
+
/* @__PURE__ */ e(
|
|
31
|
+
c,
|
|
43
32
|
{
|
|
44
|
-
variant:
|
|
33
|
+
variant: i ? "blackFill" : "whiteStroke",
|
|
45
34
|
size: "tiny",
|
|
46
|
-
onClick: () =>
|
|
47
|
-
children: /* @__PURE__ */
|
|
35
|
+
onClick: () => r(!i),
|
|
36
|
+
children: /* @__PURE__ */ e(
|
|
48
37
|
d,
|
|
49
38
|
{
|
|
50
39
|
name: "close",
|
|
51
40
|
size: "12",
|
|
52
|
-
color:
|
|
41
|
+
color: i ? "#fff" : "#000"
|
|
53
42
|
}
|
|
54
43
|
)
|
|
55
44
|
}
|
|
56
45
|
),
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
|
|
46
|
+
/* @__PURE__ */ e(
|
|
47
|
+
c,
|
|
59
48
|
{
|
|
60
49
|
iconName: "close",
|
|
61
|
-
variant:
|
|
50
|
+
variant: i ? "blackFill" : "whiteStroke",
|
|
62
51
|
deg: "90",
|
|
63
52
|
size: "tiny",
|
|
64
53
|
size_l: "small",
|
|
65
|
-
onClick: () =>
|
|
54
|
+
onClick: () => r(!i)
|
|
66
55
|
}
|
|
67
56
|
)
|
|
68
57
|
] })
|
|
69
58
|
] }),
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
/* @__PURE__ */
|
|
72
|
-
/* @__PURE__ */
|
|
73
|
-
|
|
59
|
+
/* @__PURE__ */ o("div", { children: [
|
|
60
|
+
/* @__PURE__ */ e("h2", { children: "Зум" }),
|
|
61
|
+
/* @__PURE__ */ e(
|
|
62
|
+
h,
|
|
74
63
|
{
|
|
75
64
|
size: "medium",
|
|
76
65
|
zoomIn: () => {
|
|
@@ -80,10 +69,10 @@ const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", c = {
|
|
|
80
69
|
}
|
|
81
70
|
)
|
|
82
71
|
] }),
|
|
83
|
-
/* @__PURE__ */
|
|
84
|
-
/* @__PURE__ */
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
-
|
|
72
|
+
/* @__PURE__ */ o("div", { children: [
|
|
73
|
+
/* @__PURE__ */ e("h2", { children: "Слайдер" }),
|
|
74
|
+
/* @__PURE__ */ e(
|
|
75
|
+
p,
|
|
87
76
|
{
|
|
88
77
|
goNext: () => {
|
|
89
78
|
},
|
|
@@ -94,24 +83,24 @@ const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", c = {
|
|
|
94
83
|
}
|
|
95
84
|
)
|
|
96
85
|
] }),
|
|
97
|
-
/* @__PURE__ */
|
|
98
|
-
|
|
86
|
+
/* @__PURE__ */ e(
|
|
87
|
+
l,
|
|
99
88
|
{
|
|
100
|
-
isActive:
|
|
101
|
-
onClick: () =>
|
|
89
|
+
isActive: i,
|
|
90
|
+
onClick: () => r(!i),
|
|
102
91
|
children: "В продаже"
|
|
103
92
|
}
|
|
104
93
|
),
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
-
|
|
94
|
+
/* @__PURE__ */ e(
|
|
95
|
+
l,
|
|
107
96
|
{
|
|
108
|
-
isActive:
|
|
109
|
-
onClick: () =>
|
|
97
|
+
isActive: n,
|
|
98
|
+
onClick: () => a(!n),
|
|
110
99
|
children: "В продаже"
|
|
111
100
|
}
|
|
112
101
|
)
|
|
113
102
|
] });
|
|
114
103
|
};
|
|
115
104
|
export {
|
|
116
|
-
|
|
105
|
+
S as ButtonsPage
|
|
117
106
|
};
|