stone-kit 0.0.334 → 0.0.335
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/{SortSelect-DY3KQYpI.js → SortSelect-ChtUdXSV.js} +1 -1
- package/dist/components/LotCard/ui/LotCard.js +1 -1
- package/dist/components/SortSelect/hooks/useSortSelect.js +1 -1
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.js +2 -2
- 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/dist/{useSortSelect-worbwJxC.js → useSortSelect-Bcfdak2g.js} +14 -14
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as u, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as T, useState as L, useCallback as M, useEffect as W, useRef as E } from "react";
|
|
3
3
|
import { c as O } from "./index-rKuIKazb.js";
|
|
4
|
-
import { s as e, u as B } from "./useSortSelect-
|
|
4
|
+
import { s as e, u as B } from "./useSortSelect-Bcfdak2g.js";
|
|
5
5
|
import { NewIcon as y } from "./components/NewIcon/ui/NewIcon.js";
|
|
6
6
|
import "./components/Button/ui/Button.js";
|
|
7
7
|
import "./components/mobileButton/ui/MobileButton.js";
|
|
@@ -13,7 +13,7 @@ import "../../Flex/ui/Flex.js";
|
|
|
13
13
|
import "../../Input/ui/Input.js";
|
|
14
14
|
import "react";
|
|
15
15
|
import "../../../Modal-DbD1tgiF.js";
|
|
16
|
-
import { u as W } from "../../../SortSelect-
|
|
16
|
+
import { u as W } from "../../../SortSelect-ChtUdXSV.js";
|
|
17
17
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
18
18
|
import "../../../index-rKuIKazb.js";
|
|
19
19
|
import "../../MetroTag/ui/MetroTag.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../index-rKuIKazb.js";
|
|
4
|
-
import "../../../useSortSelect-
|
|
4
|
+
import "../../../useSortSelect-Bcfdak2g.js";
|
|
5
5
|
import "../../NewIcon/ui/NewIcon.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
|
7
7
|
import "../../mobileButton/ui/MobileButton.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-DbD1tgiF.js";
|
|
16
|
-
import { a as y } from "../../../SortSelect-
|
|
16
|
+
import { a as y } from "../../../SortSelect-ChtUdXSV.js";
|
|
17
17
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
18
18
|
import "../../MetroTag/ui/MetroTag.js";
|
|
19
19
|
import "../../Select/ui/Select.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { S as q } from "../../../SortSelect-
|
|
3
|
+
import { S as q } from "../../../SortSelect-ChtUdXSV.js";
|
|
4
4
|
import "../../Text/ui/Text.js";
|
|
5
5
|
import "../../../index-rKuIKazb.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
|
@@ -10,7 +10,7 @@ import "../../Flex/ui/Flex.js";
|
|
|
10
10
|
import "../../Input/ui/Input.js";
|
|
11
11
|
import "react";
|
|
12
12
|
import "../../../Modal-DbD1tgiF.js";
|
|
13
|
-
import { u as l } from "../../../SortSelect-
|
|
13
|
+
import { u as l } from "../../../SortSelect-ChtUdXSV.js";
|
|
14
14
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
15
15
|
import "../../../index-rKuIKazb.js";
|
|
16
16
|
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 b } from "./components/Input/ui/Input.js";
|
|
11
11
|
import { M as I } from "./Modal-DbD1tgiF.js";
|
|
12
12
|
import { FieldInput as w } from "./components/FieldInput/ui/FieldInput.js";
|
|
13
|
-
import { a as F, S as L, u as k } from "./SortSelect-
|
|
13
|
+
import { a as F, S as L, u as k } from "./SortSelect-ChtUdXSV.js";
|
|
14
14
|
import { GroupedInputs as j } from "./components/GroupedInput/ui/GroupedInputs.js";
|
|
15
15
|
import { Logo as y } from "./components/Logo/ui/Logo.js";
|
|
16
16
|
import { MetroTag as G } from "./components/MetroTag/ui/MetroTag.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs as k, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { c as v } from "./index-rKuIKazb.js";
|
|
3
|
-
const b = "_sortSelectWrapper_1nhlt_1", x = "_selectedOptions_1nhlt_10", B = "_selectModal_1nhlt_33", C = "_selectionOptionMini_1nhlt_37", S = "_selectedOptionsOpened_1nhlt_41",
|
|
3
|
+
const b = "_sortSelectWrapper_1nhlt_1", x = "_selectedOptions_1nhlt_10", B = "_selectModal_1nhlt_33", C = "_selectionOptionMini_1nhlt_37", S = "_selectedOptionsOpened_1nhlt_41", L = "_selectOptionsDisabled_1nhlt_45", W = "_optionsList_1nhlt_52", f = "_mobileOptionList_1nhlt_67", g = "_mobileSortHeader_1nhlt_74", M = "_modalAddBody_1nhlt_88", T = "_inputWrapper_1nhlt_94", D = "_option_1nhlt_52", N = "_icon_1nhlt_122", y = "_checkBox_1nhlt_129", A = "_checkBoxChecked_1nhlt_136", H = "_innerCheck_1nhlt_143", j = "_sortSelectWrapperTop_1nhlt_157", E = "_optionListOnTop_1nhlt_160", o = {
|
|
4
4
|
sortSelectWrapper: b,
|
|
5
5
|
selectedOptions: x,
|
|
6
6
|
selectModal: B,
|
|
7
7
|
selectionOptionMini: C,
|
|
8
8
|
selectedOptionsOpened: S,
|
|
9
|
-
selectOptionsDisabled:
|
|
10
|
-
optionsList:
|
|
11
|
-
mobileOptionList:
|
|
9
|
+
selectOptionsDisabled: L,
|
|
10
|
+
optionsList: W,
|
|
11
|
+
mobileOptionList: f,
|
|
12
12
|
mobileSortHeader: g,
|
|
13
|
-
modalAddBody:
|
|
14
|
-
inputWrapper:
|
|
15
|
-
option:
|
|
13
|
+
modalAddBody: M,
|
|
14
|
+
inputWrapper: T,
|
|
15
|
+
option: D,
|
|
16
16
|
icon: N,
|
|
17
17
|
checkBox: y,
|
|
18
18
|
checkBoxChecked: A,
|
|
@@ -24,31 +24,31 @@ const b = "_sortSelectWrapper_1nhlt_1", x = "_selectedOptions_1nhlt_10", B = "_s
|
|
|
24
24
|
setSelectedOption: l,
|
|
25
25
|
setIsOpen: h,
|
|
26
26
|
containerRef: r,
|
|
27
|
-
onBlur:
|
|
28
|
-
onChange:
|
|
27
|
+
onBlur: i,
|
|
28
|
+
onChange: a,
|
|
29
29
|
isDesktop: p,
|
|
30
30
|
placeholder: u
|
|
31
31
|
}) => {
|
|
32
32
|
const d = (n) => (e) => {
|
|
33
33
|
e.stopPropagation();
|
|
34
34
|
const c = (t == null ? void 0 : t.value) === n.value ? null : n;
|
|
35
|
-
if (c && (l && l(c),
|
|
35
|
+
if (c && (l && l(c), a)) {
|
|
36
36
|
const m = {
|
|
37
37
|
...e,
|
|
38
38
|
target: { value: c }
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
a(m);
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
return { handleDocumentClick: (n) => {
|
|
44
|
-
|
|
44
|
+
r.current && !r.current.contains(n.target) && h(!1);
|
|
45
45
|
}, handleBlur: (n) => {
|
|
46
|
-
if (
|
|
46
|
+
if (i) {
|
|
47
47
|
const e = {
|
|
48
48
|
...n,
|
|
49
49
|
target: { value: t }
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
i(e);
|
|
52
52
|
}
|
|
53
53
|
}, getInputValue: () => p ? t ? t.label : u : "", getOption: (n) => /* @__PURE__ */ k(
|
|
54
54
|
"div",
|