stone-kit 0.0.704 → 0.0.705
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/{FilterWithSave-D3IRqD9F.js → FilterWithSave-CAQoOkFd.js} +1 -1
- package/dist/Option--45TMhIr.js +82 -0
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +1 -1
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +2 -2
- package/dist/components/Select/ui/Category.js +25 -25
- package/dist/components/Select/ui/Option.js +1 -1
- package/dist/components/Select/ui/Select.js +1 -1
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.js +1 -1
- package/dist/components/TabSwitcher/index.js +1 -1
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +1 -1
- package/dist/components/ZoomControls/ui/ZoomControls.js +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/dist/Option-CWNUthnJ.js +0 -82
|
@@ -23,7 +23,7 @@ import "./components/SliderNavigation/ui/SliderNavigation.js";
|
|
|
23
23
|
import "./components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
24
24
|
import "./components/TabSelect/ui/TabSelect.js";
|
|
25
25
|
import "./components/FormModal/ui/ModalForm.js";
|
|
26
|
-
import { O as P } from "./Option
|
|
26
|
+
import { O as P } from "./Option--45TMhIr.js";
|
|
27
27
|
const Y = "_root_lgek7_1", Z = "_text_lgek7_18", ee = "_textMini_lgek7_26", te = "_rootCol_lgek7_32", ie = "_item_lgek7_38", se = "_whiteRow_lgek7_57", le = "_firstItem_lgek7_68", re = "_lastItem_lgek7_72", ae = "_apart_lgek7_103", ne = "_isLong_lgek7_103", oe = "_autoWidth_lgek7_128", ce = "_mini_lgek7_132", de = "_isDisabled_lgek7_140", me = "_grayRow_lgek7_164", o = {
|
|
28
28
|
root: Y,
|
|
29
29
|
text: Z,
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { jsxs as z, jsx as _ } from "react/jsx-runtime";
|
|
2
|
+
import { NewIcon as p } from "./components/NewIcon/ui/NewIcon.js";
|
|
3
|
+
import { c as g } from "./index-rKuIKazb.js";
|
|
4
|
+
const O = "_multiSelectWrapper_c3wo1_1", b = "_selectedOptions_c3wo1_8", C = "_selectedOptionsBtn_c3wo1_24", h = "_selectedOptionsOpened_c3wo1_49", f = "_selectedOptionsNotEmpty_c3wo1_53", k = "_selectOptionsDisabled_c3wo1_58", v = "_optionsList_c3wo1_65", y = "_listRight_c3wo1_81", D = "_inputWrapper_c3wo1_85", B = "_option_c3wo1_65", N = "_category_c3wo1_107", S = "_leftSide_c3wo1_113", W = "_optionCategory_c3wo1_118", x = "_optionDisabled_c3wo1_124", A = "_optionClickable_c3wo1_128", E = "_icon_c3wo1_132", L = "_iconArrow_c3wo1_138", R = "_iconBtn_c3wo1_144", o = {
|
|
5
|
+
multiSelectWrapper: O,
|
|
6
|
+
selectedOptions: b,
|
|
7
|
+
selectedOptionsBtn: C,
|
|
8
|
+
"small-size": "_small-size_c3wo1_28",
|
|
9
|
+
"medium-size": "_medium-size_c3wo1_35",
|
|
10
|
+
"large-size": "_large-size_c3wo1_42",
|
|
11
|
+
selectedOptionsOpened: h,
|
|
12
|
+
selectedOptionsNotEmpty: f,
|
|
13
|
+
selectOptionsDisabled: k,
|
|
14
|
+
optionsList: v,
|
|
15
|
+
listRight: y,
|
|
16
|
+
inputWrapper: D,
|
|
17
|
+
option: B,
|
|
18
|
+
category: N,
|
|
19
|
+
leftSide: S,
|
|
20
|
+
optionCategory: W,
|
|
21
|
+
optionDisabled: x,
|
|
22
|
+
optionClickable: A,
|
|
23
|
+
icon: E,
|
|
24
|
+
iconArrow: L,
|
|
25
|
+
iconBtn: R,
|
|
26
|
+
"small-size_m": "_small-size_m_c3wo1_157",
|
|
27
|
+
"medium-size_m": "_medium-size_m_c3wo1_163",
|
|
28
|
+
"large-size_m": "_large-size_m_c3wo1_169",
|
|
29
|
+
"small-size_l": "_small-size_l_c3wo1_184",
|
|
30
|
+
"medium-size_l": "_medium-size_l_c3wo1_190",
|
|
31
|
+
"large-size_l": "_large-size_l_c3wo1_196"
|
|
32
|
+
}, j = g.bind(o), F = ({
|
|
33
|
+
option: e,
|
|
34
|
+
selectedOptions: a,
|
|
35
|
+
disabledOptions: r,
|
|
36
|
+
clickableOptions: t,
|
|
37
|
+
handleOptionClick: d,
|
|
38
|
+
isOptionCategory: s,
|
|
39
|
+
sizeIcon: n,
|
|
40
|
+
isDisabledNotClickable: m,
|
|
41
|
+
addClassName: w = ""
|
|
42
|
+
}) => {
|
|
43
|
+
const u = t ? t.includes(`${e.value}`) : !0, c = a.some((i) => i.value === e.value), l = () => m && t ? !t.includes(`${e.value}`) : r.some((i) => i.value === e.value);
|
|
44
|
+
return /* @__PURE__ */ z(
|
|
45
|
+
"div",
|
|
46
|
+
{
|
|
47
|
+
className: j(
|
|
48
|
+
o.option,
|
|
49
|
+
{
|
|
50
|
+
[o.optionDisabled]: l(),
|
|
51
|
+
[o.optionCategory]: s,
|
|
52
|
+
[o.optionClickable]: u
|
|
53
|
+
},
|
|
54
|
+
w
|
|
55
|
+
),
|
|
56
|
+
onClick: () => {
|
|
57
|
+
l() && !c || d(e);
|
|
58
|
+
},
|
|
59
|
+
children: [
|
|
60
|
+
s && /* @__PURE__ */ _(
|
|
61
|
+
p,
|
|
62
|
+
{
|
|
63
|
+
size: n ?? "20",
|
|
64
|
+
name: c ? "selectChecked" : "selectUnchecked"
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
/* @__PURE__ */ _("div", { children: e.label }),
|
|
68
|
+
!s && /* @__PURE__ */ _(
|
|
69
|
+
p,
|
|
70
|
+
{
|
|
71
|
+
size: n ?? "20",
|
|
72
|
+
name: c ? "selectChecked" : "selectUnchecked"
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
};
|
|
79
|
+
export {
|
|
80
|
+
F as O,
|
|
81
|
+
o as s
|
|
82
|
+
};
|
|
@@ -11,7 +11,7 @@ import "../../Flex/ui/Flex.js";
|
|
|
11
11
|
import "../../Input/ui/Input.js";
|
|
12
12
|
import "react/jsx-runtime";
|
|
13
13
|
import "react-dom";
|
|
14
|
-
import { u as q } from "../../../FilterWithSave-
|
|
14
|
+
import { u as q } from "../../../FilterWithSave-CAQoOkFd.js";
|
|
15
15
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../../index-rKuIKazb.js";
|
|
17
17
|
import "../../MetroTag/ui/MetroTag.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../NewIcon/ui/NewIcon.js";
|
|
3
|
-
import { F as a } from "../../../FilterWithSave-
|
|
3
|
+
import { F as a } from "../../../FilterWithSave-CAQoOkFd.js";
|
|
4
4
|
import "../../Modal/ui/Modal.js";
|
|
5
|
-
import "../../../Option
|
|
5
|
+
import "../../../Option--45TMhIr.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
|
7
7
|
export {
|
|
8
8
|
a as FilterWithSave
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { jsxs as u, Fragment as
|
|
2
|
-
import { s as n, O as
|
|
3
|
-
import { NewIcon as
|
|
4
|
-
import { c as
|
|
5
|
-
import { useState as
|
|
6
|
-
const
|
|
1
|
+
import { jsxs as u, Fragment as I, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { s as n, O as J } from "../../../Option--45TMhIr.js";
|
|
3
|
+
import { NewIcon as N } from "../../NewIcon/ui/NewIcon.js";
|
|
4
|
+
import { c as O } from "../../../index-rKuIKazb.js";
|
|
5
|
+
import { useState as U } from "react";
|
|
6
|
+
const j = O.bind(n), z = ({
|
|
7
7
|
category: t,
|
|
8
8
|
selectedOptions: r,
|
|
9
9
|
disabledOptions: m,
|
|
10
|
-
clickableOptions:
|
|
10
|
+
clickableOptions: s,
|
|
11
11
|
handleOptionClick: d,
|
|
12
12
|
sizeIcon: i,
|
|
13
13
|
isDisabledNotClickable: p,
|
|
14
14
|
mode: f
|
|
15
15
|
}) => {
|
|
16
|
-
const [l, h] =
|
|
16
|
+
const [l, h] = U(!1), w = r.map((e) => JSON.stringify(e)), c = f === "category", g = f === "double", k = c && t.options.every((e) => w.includes(JSON.stringify(e))), x = s ? s.includes(t.value.toString()) : !0, v = r.some((e) => e.value === t.value), C = () => p && s ? !s.includes(t.value.toString()) : m.some(
|
|
17
17
|
(e) => e.value === t.value
|
|
18
|
-
),
|
|
19
|
-
return /* @__PURE__ */ u(
|
|
18
|
+
), F = c ? k ? "selectChecked" : "selectUnchecked" : g && v ? "selectChecked" : "selectUnchecked", S = t.options.length > 1;
|
|
19
|
+
return /* @__PURE__ */ u(I, { children: [
|
|
20
20
|
/* @__PURE__ */ u(
|
|
21
21
|
"div",
|
|
22
22
|
{
|
|
23
|
-
className:
|
|
23
|
+
className: j(
|
|
24
24
|
n.option,
|
|
25
25
|
n.category,
|
|
26
26
|
{
|
|
27
|
-
[n.optionDisabled]:
|
|
28
|
-
[n.optionClickable]:
|
|
27
|
+
[n.optionDisabled]: C(),
|
|
28
|
+
[n.optionClickable]: x
|
|
29
29
|
}
|
|
30
30
|
),
|
|
31
31
|
onClick: () => {
|
|
32
|
-
|
|
32
|
+
C() && !v || (g && !l && h(!0), d(c ? t.options : t));
|
|
33
33
|
},
|
|
34
34
|
children: [
|
|
35
35
|
/* @__PURE__ */ u("div", { className: n.leftSide, children: [
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
|
|
36
|
+
/* @__PURE__ */ o(
|
|
37
|
+
N,
|
|
38
38
|
{
|
|
39
39
|
size: i ?? "20",
|
|
40
|
-
name:
|
|
40
|
+
name: F
|
|
41
41
|
}
|
|
42
42
|
),
|
|
43
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ o("div", { children: t.label })
|
|
44
44
|
] }),
|
|
45
|
-
|
|
45
|
+
S && /* @__PURE__ */ o("div", { className: n.iconArrow, onClick: (e) => {
|
|
46
46
|
e.stopPropagation(), h((a) => !a);
|
|
47
|
-
}, children: /* @__PURE__ */
|
|
48
|
-
|
|
47
|
+
}, children: /* @__PURE__ */ o(
|
|
48
|
+
N,
|
|
49
49
|
{
|
|
50
50
|
name: "arrowShort",
|
|
51
51
|
deg: l ? "180" : "0",
|
|
@@ -55,15 +55,15 @@ const U = J.bind(n), q = ({
|
|
|
55
55
|
]
|
|
56
56
|
}
|
|
57
57
|
),
|
|
58
|
-
l &&
|
|
59
|
-
|
|
58
|
+
l && S && t.options.map((e, a) => /* @__PURE__ */ o(
|
|
59
|
+
J,
|
|
60
60
|
{
|
|
61
61
|
option: e,
|
|
62
62
|
disabledOptions: m,
|
|
63
63
|
selectedOptions: r,
|
|
64
64
|
handleOptionClick: () => d(e),
|
|
65
65
|
sizeIcon: i,
|
|
66
|
-
clickableOptions:
|
|
66
|
+
clickableOptions: s,
|
|
67
67
|
isOptionCategory: !0,
|
|
68
68
|
isDisabledNotClickable: p
|
|
69
69
|
},
|
|
@@ -72,5 +72,5 @@ const U = J.bind(n), q = ({
|
|
|
72
72
|
] });
|
|
73
73
|
};
|
|
74
74
|
export {
|
|
75
|
-
|
|
75
|
+
z as Category
|
|
76
76
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, Fragment as w, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as W, useRef as j, useEffect as z } from "react";
|
|
3
3
|
import { c as J } from "../../../index-rKuIKazb.js";
|
|
4
|
-
import { s as e, O as K } from "../../../Option
|
|
4
|
+
import { s as e, O as K } from "../../../Option--45TMhIr.js";
|
|
5
5
|
import { NewIcon as B } from "../../NewIcon/ui/NewIcon.js";
|
|
6
6
|
import { Category as Q } from "./Category.js";
|
|
7
7
|
import { handleClickModeOption as T, handleClickModeCategory as U } from "../model/selectMode.js";
|
|
@@ -13,7 +13,7 @@ import "../../Text/ui/Text.js";
|
|
|
13
13
|
import "../../Flex/ui/Flex.js";
|
|
14
14
|
import "../../Input/ui/Input.js";
|
|
15
15
|
import "../../Modal/ui/Modal.js";
|
|
16
|
-
import { a as z } from "../../../FilterWithSave-
|
|
16
|
+
import { a as z } from "../../../FilterWithSave-CAQoOkFd.js";
|
|
17
17
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
18
18
|
import "../../MetroTag/ui/MetroTag.js";
|
|
19
19
|
import "../../LotCard/ui/LotCard.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { S as v } from "../../../FilterWithSave-
|
|
3
|
+
import { S as v } from "../../../FilterWithSave-CAQoOkFd.js";
|
|
4
4
|
import "../../Text/ui/Text.js";
|
|
5
5
|
import "../../../index-rKuIKazb.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
|
@@ -11,7 +11,7 @@ import "../../Flex/ui/Flex.js";
|
|
|
11
11
|
import "../../Input/ui/Input.js";
|
|
12
12
|
import "react";
|
|
13
13
|
import "react-dom";
|
|
14
|
-
import "../../../FilterWithSave-
|
|
14
|
+
import "../../../FilterWithSave-CAQoOkFd.js";
|
|
15
15
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../../index-rKuIKazb.js";
|
|
17
17
|
import "../../MetroTag/ui/MetroTag.js";
|
package/dist/main.js
CHANGED
|
@@ -10,7 +10,7 @@ import { Flex as C } from "./components/Flex/ui/Flex.js";
|
|
|
10
10
|
import { Input as M } from "./components/Input/ui/Input.js";
|
|
11
11
|
import { Modal as g } from "./components/Modal/ui/Modal.js";
|
|
12
12
|
import { FieldInput as I } from "./components/FieldInput/ui/FieldInput.js";
|
|
13
|
-
import { F as B, a as L, S as k } from "./FilterWithSave-
|
|
13
|
+
import { F as B, a as L, S as k } from "./FilterWithSave-CAQoOkFd.js";
|
|
14
14
|
import { GroupedInputs as N } from "./components/GroupedInput/ui/GroupedInputs.js";
|
|
15
15
|
import { Logo as j } from "./components/Logo/ui/Logo.js";
|
|
16
16
|
import { MetroTag as D } from "./components/MetroTag/ui/MetroTag.js";
|
package/package.json
CHANGED
package/dist/Option-CWNUthnJ.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { jsxs as u, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { NewIcon as a } from "./components/NewIcon/ui/NewIcon.js";
|
|
3
|
-
import { c as z } from "./index-rKuIKazb.js";
|
|
4
|
-
const g = "_multiSelectWrapper_c3wo1_1", O = "_selectedOptions_c3wo1_8", b = "_selectedOptionsBtn_c3wo1_24", v = "_selectedOptionsOpened_c3wo1_49", C = "_selectedOptionsNotEmpty_c3wo1_53", h = "_selectOptionsDisabled_c3wo1_58", f = "_optionsList_c3wo1_65", y = "_listRight_c3wo1_81", D = "_inputWrapper_c3wo1_85", k = "_option_c3wo1_65", B = "_category_c3wo1_107", N = "_leftSide_c3wo1_113", S = "_optionCategory_c3wo1_118", W = "_optionDisabled_c3wo1_124", x = "_optionClickable_c3wo1_128", A = "_icon_c3wo1_132", E = "_iconArrow_c3wo1_138", L = "_iconBtn_c3wo1_144", t = {
|
|
5
|
-
multiSelectWrapper: g,
|
|
6
|
-
selectedOptions: O,
|
|
7
|
-
selectedOptionsBtn: b,
|
|
8
|
-
"small-size": "_small-size_c3wo1_28",
|
|
9
|
-
"medium-size": "_medium-size_c3wo1_35",
|
|
10
|
-
"large-size": "_large-size_c3wo1_42",
|
|
11
|
-
selectedOptionsOpened: v,
|
|
12
|
-
selectedOptionsNotEmpty: C,
|
|
13
|
-
selectOptionsDisabled: h,
|
|
14
|
-
optionsList: f,
|
|
15
|
-
listRight: y,
|
|
16
|
-
inputWrapper: D,
|
|
17
|
-
option: k,
|
|
18
|
-
category: B,
|
|
19
|
-
leftSide: N,
|
|
20
|
-
optionCategory: S,
|
|
21
|
-
optionDisabled: W,
|
|
22
|
-
optionClickable: x,
|
|
23
|
-
icon: A,
|
|
24
|
-
iconArrow: E,
|
|
25
|
-
iconBtn: L,
|
|
26
|
-
"small-size_m": "_small-size_m_c3wo1_157",
|
|
27
|
-
"medium-size_m": "_medium-size_m_c3wo1_163",
|
|
28
|
-
"large-size_m": "_large-size_m_c3wo1_169",
|
|
29
|
-
"small-size_l": "_small-size_l_c3wo1_184",
|
|
30
|
-
"medium-size_l": "_medium-size_l_c3wo1_190",
|
|
31
|
-
"large-size_l": "_large-size_l_c3wo1_196"
|
|
32
|
-
}, R = z.bind(t), q = ({
|
|
33
|
-
option: e,
|
|
34
|
-
selectedOptions: _,
|
|
35
|
-
disabledOptions: p,
|
|
36
|
-
clickableOptions: s,
|
|
37
|
-
handleOptionClick: r,
|
|
38
|
-
isOptionCategory: c,
|
|
39
|
-
sizeIcon: l,
|
|
40
|
-
isDisabledNotClickable: m,
|
|
41
|
-
addClassName: d = ""
|
|
42
|
-
}) => {
|
|
43
|
-
const w = s ? s.includes(`${e.value}`) : !0, n = () => m && s ? !s.includes(`${e.value}`) : p.some((o) => o.value === e.value);
|
|
44
|
-
return /* @__PURE__ */ u(
|
|
45
|
-
"div",
|
|
46
|
-
{
|
|
47
|
-
className: R(
|
|
48
|
-
t.option,
|
|
49
|
-
{
|
|
50
|
-
[t.optionDisabled]: n(),
|
|
51
|
-
[t.optionCategory]: c,
|
|
52
|
-
[t.optionClickable]: w
|
|
53
|
-
},
|
|
54
|
-
d
|
|
55
|
-
),
|
|
56
|
-
onClick: () => {
|
|
57
|
-
n() || r(e);
|
|
58
|
-
},
|
|
59
|
-
children: [
|
|
60
|
-
c && /* @__PURE__ */ i(
|
|
61
|
-
a,
|
|
62
|
-
{
|
|
63
|
-
size: l ?? "20",
|
|
64
|
-
name: _.some((o) => o.value === e.value) ? "selectChecked" : "selectUnchecked"
|
|
65
|
-
}
|
|
66
|
-
),
|
|
67
|
-
/* @__PURE__ */ i("div", { children: e.label }),
|
|
68
|
-
!c && /* @__PURE__ */ i(
|
|
69
|
-
a,
|
|
70
|
-
{
|
|
71
|
-
size: l ?? "20",
|
|
72
|
-
name: _.some((o) => o.value === e.value) ? "selectChecked" : "selectUnchecked"
|
|
73
|
-
}
|
|
74
|
-
)
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
);
|
|
78
|
-
};
|
|
79
|
-
export {
|
|
80
|
-
q as O,
|
|
81
|
-
t as s
|
|
82
|
-
};
|