stone-kit 0.0.525 → 0.0.526

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.
@@ -29,15 +29,15 @@ const q = "_root_1fkwh_1", D = "_filterWithSaveModal_1fkwh_15", E = "_modalAddBo
29
29
  setSelectedTabs: r,
30
30
  selectedTabs: M = []
31
31
  }) => {
32
- const [y, h] = c(!1), [k] = c(M), [W] = c(S), [m, o] = c(k), [s, v] = c(W), A = (a) => {
32
+ const [y, h] = c(!1), [v] = c(M), [W] = c(S), [m, o] = c(v), [s, w] = c(W), A = (a) => {
33
33
  if (O.some((i) => i.value === a.value))
34
34
  return;
35
35
  const n = s.some((i) => i.value === a.value) ? s.filter((i) => i.value !== a.value) : [...s, a];
36
- v(n);
36
+ w(n);
37
37
  }, I = () => {
38
- o([]), v([]), d && (d([]), r == null || r([]));
38
+ o([]), w([]), d && (d([]), r == null || r(v));
39
39
  }, x = () => {
40
- v(W), o(k);
40
+ w(W), o(v);
41
41
  }, g = () => {
42
42
  x(), h(!1);
43
43
  }, j = () => {
@@ -103,10 +103,10 @@ const q = "_root_1fkwh_1", D = "_filterWithSaveModal_1fkwh_15", E = "_modalAddBo
103
103
  value: i,
104
104
  onClick: () => {
105
105
  },
106
- checked: ((u = m == null ? void 0 : m.find((w) => w.value === i)) == null ? void 0 : u.state) ?? !1,
106
+ checked: ((u = m == null ? void 0 : m.find((k) => k.value === i)) == null ? void 0 : u.state) ?? !1,
107
107
  onChange: () => {
108
108
  o == null || o(
109
- (w) => w.map((p) => p.value === i ? { ...p, state: !p.state } : p)
109
+ (k) => k.map((p) => p.value === i ? { ...p, state: !p.state } : p)
110
110
  );
111
111
  },
112
112
  index: n,
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.525",
5
+ "version": "0.0.526",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",