stone-kit 0.0.571 → 0.0.573
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-B1v4cN1L.js → FilterWithSave-ChQ2Rjx4.js} +22 -22
- package/dist/components/FilterWithSave/ui/FilterWithSave.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
|
@@ -23,7 +23,7 @@ import "./components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
|
23
23
|
import "./components/TabSelect/ui/TabSelect.js";
|
|
24
24
|
import "./components/FormModal/ui/ModalForm.js";
|
|
25
25
|
import { O as it } from "./Option-CyYM1iBJ.js";
|
|
26
|
-
const ot = "_root_2bilg_1", rt = "_text_2bilg_18", st = "_textMini_2bilg_26", nt = "_rootCol_2bilg_32", at = "_item_2bilg_38", lt = "_whiteRow_2bilg_57", ct = "_firstItem_2bilg_68", dt = "_lastItem_2bilg_72", pt = "_apart_2bilg_103", mt = "_isLong_2bilg_103", _t = "_autoWidth_2bilg_128", ht = "_mini_2bilg_132", ut = "_isDisabled_2bilg_140", ft = "_grayRow_2bilg_164",
|
|
26
|
+
const ot = "_root_2bilg_1", rt = "_text_2bilg_18", st = "_textMini_2bilg_26", nt = "_rootCol_2bilg_32", at = "_item_2bilg_38", lt = "_whiteRow_2bilg_57", ct = "_firstItem_2bilg_68", dt = "_lastItem_2bilg_72", pt = "_apart_2bilg_103", mt = "_isLong_2bilg_103", _t = "_autoWidth_2bilg_128", ht = "_mini_2bilg_132", ut = "_isDisabled_2bilg_140", ft = "_grayRow_2bilg_164", m = {
|
|
27
27
|
root: ot,
|
|
28
28
|
text: rt,
|
|
29
29
|
textMini: st,
|
|
@@ -38,13 +38,13 @@ const ot = "_root_2bilg_1", rt = "_text_2bilg_18", st = "_textMini_2bilg_26", nt
|
|
|
38
38
|
mini: ht,
|
|
39
39
|
isDisabled: ut,
|
|
40
40
|
grayRow: ft
|
|
41
|
-
}, I = G.bind(
|
|
41
|
+
}, I = G.bind(m), gt = ({
|
|
42
42
|
children: n,
|
|
43
43
|
variant: r = "whiteRow",
|
|
44
44
|
isApart: a = !1,
|
|
45
45
|
addClassName: h = "",
|
|
46
46
|
col: u = !1
|
|
47
|
-
}) => /* @__PURE__ */ e("div", { className: I(
|
|
47
|
+
}) => /* @__PURE__ */ e("div", { className: I(m.root, m[r], h, { [m.rootCol]: u, [m.apart]: a }), children: n }), J = Z((n, r) => {
|
|
48
48
|
const { isTablet: a, isDesktop: h } = E(), {
|
|
49
49
|
index: u,
|
|
50
50
|
children: t,
|
|
@@ -59,7 +59,7 @@ const ot = "_root_2bilg_1", rt = "_text_2bilg_18", st = "_textMini_2bilg_26", nt
|
|
|
59
59
|
mini: C = !1,
|
|
60
60
|
...k
|
|
61
61
|
} = n, y = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) && S, w = (W, N) => W && l ? l : N && f ? f : v, g = !v && !l && !f && y;
|
|
62
|
-
return /* @__PURE__ */ b("label", { className: I({ [
|
|
62
|
+
return /* @__PURE__ */ b("label", { className: I({ [m.isLong]: y }), children: [
|
|
63
63
|
/* @__PURE__ */ e(
|
|
64
64
|
"input",
|
|
65
65
|
{
|
|
@@ -75,16 +75,16 @@ const ot = "_root_2bilg_1", rt = "_text_2bilg_18", st = "_textMini_2bilg_26", nt
|
|
|
75
75
|
style: { width: w(a, h) },
|
|
76
76
|
className: I(
|
|
77
77
|
I(
|
|
78
|
-
|
|
79
|
-
{ [
|
|
80
|
-
{ [
|
|
81
|
-
{ [
|
|
82
|
-
{ [
|
|
83
|
-
{ [
|
|
78
|
+
m.item,
|
|
79
|
+
{ [m.firstItem]: u === 0 },
|
|
80
|
+
{ [m.lastItem]: u === x - 1 },
|
|
81
|
+
{ [m.isDisabled]: O },
|
|
82
|
+
{ [m.autoWidth]: g },
|
|
83
|
+
{ [m.mini]: C }
|
|
84
84
|
),
|
|
85
85
|
i
|
|
86
86
|
),
|
|
87
|
-
children: /* @__PURE__ */ e(V, { className: I(
|
|
87
|
+
children: /* @__PURE__ */ e(V, { className: I(m.text, { [m.textMini]: C }, d), children: t })
|
|
88
88
|
}
|
|
89
89
|
)
|
|
90
90
|
] });
|
|
@@ -261,8 +261,8 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
|
|
|
261
261
|
const { isMobile: S } = E(), [v, l] = B(!1), f = q(null), [C, k] = B(i), [y] = B(u), [w, g] = B(C), [W, N] = B(y), Q = (s) => {
|
|
262
262
|
if (d && d(s), n.some((_) => _.value === s.value))
|
|
263
263
|
return;
|
|
264
|
-
const
|
|
265
|
-
N(
|
|
264
|
+
const p = W.some((_) => _.value === s.value) ? W.filter((_) => _.value !== s.value) : [...W, s];
|
|
265
|
+
N(p);
|
|
266
266
|
}, U = () => {
|
|
267
267
|
k(r), g(r), N([]), h && (h([]), t == null || t(r));
|
|
268
268
|
}, X = () => {
|
|
@@ -277,9 +277,9 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
|
|
|
277
277
|
}, [v]), L(() => {
|
|
278
278
|
g(i);
|
|
279
279
|
}, [i]), L(() => {
|
|
280
|
-
const s = (
|
|
280
|
+
const s = (p) => {
|
|
281
281
|
var _;
|
|
282
|
-
console.log((_ =
|
|
282
|
+
console.log(p.target.closest("div")), console.log((_ = p == null ? void 0 : p.target) == null ? void 0 : _.closest("#id")), f.current && !f.current.contains(p.target) && j();
|
|
283
283
|
};
|
|
284
284
|
return document.addEventListener("click", s), () => {
|
|
285
285
|
document.removeEventListener("click", s);
|
|
@@ -309,7 +309,7 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
|
|
|
309
309
|
variant: "grayRow",
|
|
310
310
|
addClassName: o.tabs,
|
|
311
311
|
isApart: !0,
|
|
312
|
-
children: r == null ? void 0 : r.map((s,
|
|
312
|
+
children: r == null ? void 0 : r.map((s, p) => {
|
|
313
313
|
var z;
|
|
314
314
|
const _ = s.value;
|
|
315
315
|
return /* @__PURE__ */ e(
|
|
@@ -326,17 +326,17 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
|
|
|
326
326
|
(D) => D.map((M) => M.value === _ ? { ...M, state: !M.state } : M)
|
|
327
327
|
);
|
|
328
328
|
},
|
|
329
|
-
index:
|
|
329
|
+
index: p,
|
|
330
330
|
addItemClassName: o.tabSwitcher,
|
|
331
331
|
children: _
|
|
332
332
|
},
|
|
333
|
-
|
|
333
|
+
p
|
|
334
334
|
);
|
|
335
335
|
})
|
|
336
336
|
}
|
|
337
337
|
) })
|
|
338
338
|
] }),
|
|
339
|
-
/* @__PURE__ */ e("div", { className: o.selectWrapper, children: a == null ? void 0 : a.map((s,
|
|
339
|
+
/* @__PURE__ */ e("div", { className: o.selectWrapper, children: a == null ? void 0 : a.map((s, p) => /* @__PURE__ */ e(
|
|
340
340
|
it,
|
|
341
341
|
{
|
|
342
342
|
addClassName: o.filterOption,
|
|
@@ -346,7 +346,7 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
|
|
|
346
346
|
option: s,
|
|
347
347
|
handleOptionClick: Q
|
|
348
348
|
},
|
|
349
|
-
|
|
349
|
+
p
|
|
350
350
|
)) }),
|
|
351
351
|
/* @__PURE__ */ b("div", { className: o.btnWrapper, children: [
|
|
352
352
|
/* @__PURE__ */ e(
|
|
@@ -374,10 +374,11 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
|
|
|
374
374
|
/* @__PURE__ */ b(
|
|
375
375
|
"div",
|
|
376
376
|
{
|
|
377
|
+
ref: f,
|
|
377
378
|
className: o.root,
|
|
378
379
|
id: "modal-container",
|
|
379
380
|
onClick: (s) => {
|
|
380
|
-
s.stopPropagation(), O && O(), l(S ? (
|
|
381
|
+
s.stopPropagation(), O && O(), l(S ? (p) => !p : !0);
|
|
381
382
|
},
|
|
382
383
|
children: [
|
|
383
384
|
/* @__PURE__ */ e("div", { className: o.btnName, children: x }),
|
|
@@ -391,7 +392,6 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
|
|
|
391
392
|
!S && /* @__PURE__ */ e(
|
|
392
393
|
"div",
|
|
393
394
|
{
|
|
394
|
-
ref: f,
|
|
395
395
|
className: $t(o.desktopWrapper, { [o.desktopWrapperOpen]: v }),
|
|
396
396
|
onClick: (s) => s.stopPropagation(),
|
|
397
397
|
children: /* @__PURE__ */ e($, {})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../NewIcon/ui/NewIcon.js";
|
|
4
|
-
import { F as w } from "../../../FilterWithSave-
|
|
4
|
+
import { F as w } from "../../../FilterWithSave-ChQ2Rjx4.js";
|
|
5
5
|
import "../../../Modal-BZv6nlLe.js";
|
|
6
6
|
import "../../../Option-CyYM1iBJ.js";
|
|
7
7
|
import "../../Button/ui/Button.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-BZv6nlLe.js";
|
|
16
|
-
import { a as z } from "../../../FilterWithSave-
|
|
16
|
+
import { a as z } from "../../../FilterWithSave-ChQ2Rjx4.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-ChQ2Rjx4.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 "../../../Modal-BZv6nlLe.js";
|
|
14
|
-
import "../../../FilterWithSave-
|
|
14
|
+
import "../../../FilterWithSave-ChQ2Rjx4.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 T } from "./components/Flex/ui/Flex.js";
|
|
|
10
10
|
import { Input as F } from "./components/Input/ui/Input.js";
|
|
11
11
|
import { M as g } from "./Modal-BZv6nlLe.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-ChQ2Rjx4.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";
|