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.
@@ -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-worbwJxC.js";
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-DY3KQYpI.js";
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,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { u as m } from "../../../useSortSelect-worbwJxC.js";
2
+ import { u as m } from "../../../useSortSelect-Bcfdak2g.js";
3
3
  import "../../../index-rKuIKazb.js";
4
4
  export {
5
5
  m as useSortSelect
@@ -1,4 +1,4 @@
1
- import { a as r } from "../../SortSelect-DY3KQYpI.js";
1
+ import { a as r } from "../../SortSelect-ChtUdXSV.js";
2
2
  export {
3
3
  r as SortSelect
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../index-rKuIKazb.js";
4
- import "../../../useSortSelect-worbwJxC.js";
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-DY3KQYpI.js";
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,4 +1,4 @@
1
- import { S as e } from "../../SortSelect-DY3KQYpI.js";
1
+ import { S as e } from "../../SortSelect-ChtUdXSV.js";
2
2
  export {
3
3
  e as TabSwitcher
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { S as q } from "../../../SortSelect-DY3KQYpI.js";
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-DY3KQYpI.js";
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-DY3KQYpI.js";
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", f = "_selectOptionsDisabled_1nhlt_45", L = "_optionsList_1nhlt_52", W = "_mobileOptionList_1nhlt_67", g = "_mobileSortHeader_1nhlt_74", D = "_modalAddBody_1nhlt_88", M = "_inputWrapper_1nhlt_94", T = "_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 = {
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: f,
10
- optionsList: L,
11
- mobileOptionList: W,
9
+ selectOptionsDisabled: L,
10
+ optionsList: W,
11
+ mobileOptionList: f,
12
12
  mobileSortHeader: g,
13
- modalAddBody: D,
14
- inputWrapper: M,
15
- option: T,
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: a,
28
- onChange: i,
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), i)) {
35
+ if (c && (l && l(c), a)) {
36
36
  const m = {
37
37
  ...e,
38
38
  target: { value: c }
39
39
  };
40
- i(m);
40
+ a(m);
41
41
  }
42
42
  };
43
43
  return { handleDocumentClick: (n) => {
44
- n.preventDefault(), n.stopPropagation(), r.current && !r.current.contains(n.target) && h(!1);
44
+ r.current && !r.current.contains(n.target) && h(!1);
45
45
  }, handleBlur: (n) => {
46
- if (a) {
46
+ if (i) {
47
47
  const e = {
48
48
  ...n,
49
49
  target: { value: t }
50
50
  };
51
- a(e);
51
+ i(e);
52
52
  }
53
53
  }, getInputValue: () => p ? t ? t.label : u : "", getOption: (n) => /* @__PURE__ */ k(
54
54
  "div",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "stone-kit",
3
3
  "description": "uikit for redesign",
4
4
  "private": false,
5
- "version": "0.0.334",
5
+ "version": "0.0.335",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",