stone-kit 0.0.547 → 0.0.548

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.
@@ -52,13 +52,13 @@ const st = "_root_2bilg_1", ot = "_text_2bilg_18", nt = "_textMini_2bilg_26", at
52
52
  addTextClass: d,
53
53
  disabled: O = !1,
54
54
  itemsLength: k = 0,
55
- isLongOn: g = !0,
55
+ isLongOn: N = !0,
56
56
  width: m,
57
57
  width_m: l,
58
58
  width_l: u,
59
59
  mini: S = !1,
60
60
  ...C
61
- } = n, x = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) && g, w = (y, N) => y && l ? l : N && u ? u : m, f = !m && !l && !u && x;
61
+ } = n, x = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) && N, w = (y, g) => y && l ? l : g && u ? u : m, f = !m && !l && !u && x;
62
62
  return /* @__PURE__ */ W("label", { className: j({ [p.isLong]: x }), children: [
63
63
  /* @__PURE__ */ e(
64
64
  "input",
@@ -101,13 +101,13 @@ const q = Object.assign(vt, { Item: K }), M = J.bind(c), bt = ({
101
101
  onBlur: d,
102
102
  mini: O,
103
103
  openOnTop: k = !1,
104
- onClickItem: g,
104
+ onClickItem: N,
105
105
  onCLickSelect: m
106
106
  }) => {
107
107
  const [l, u] = B(!1), S = H(null), { isMobile: C } = D(), { handleBlur: x, getInputValue: w, getOption: f, handleDocumentClick: y } = it(
108
108
  {
109
109
  selectedOption: o,
110
- onClickOption: g,
110
+ onClickOption: N,
111
111
  setSelectedOption: i,
112
112
  setIsOpen: u,
113
113
  containerRef: S,
@@ -180,11 +180,11 @@ const q = Object.assign(vt, { Item: K }), M = J.bind(c), bt = ({
180
180
  }
181
181
  ) })
182
182
  ] }),
183
- /* @__PURE__ */ e("div", { className: c.mobileOptionList, children: n == null ? void 0 : n.map((N) => f(N)) })
183
+ /* @__PURE__ */ e("div", { className: c.mobileOptionList, children: n == null ? void 0 : n.map((g) => f(g)) })
184
184
  ]
185
185
  }
186
186
  ),
187
- l && !C && /* @__PURE__ */ e("div", { className: M(c.optionsList, { [c.optionListOnTop]: k }), children: n == null ? void 0 : n.map((N) => f(N)) })
187
+ l && !C && /* @__PURE__ */ e("div", { className: M(c.optionsList, { [c.optionListOnTop]: k }), children: n == null ? void 0 : n.map((g) => f(g)) })
188
188
  ]
189
189
  }
190
190
  );
@@ -258,17 +258,17 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
258
258
  onCLickSelect: O,
259
259
  btnName: k = "Фильтр"
260
260
  }) => {
261
- const { isMobile: g } = D(), [m, l] = B(!1), u = H(null), [S, C] = B(i), [x] = B(h), [w, f] = B(S), [y, N] = B(x), U = (s) => {
261
+ const { isMobile: N } = D(), [m, l] = B(!1), u = H(null), [S, C] = B(i), [x] = B(h), [w, f] = B(S), [y, g] = B(x), U = (s) => {
262
262
  if (d && d(s), n.some((b) => b.value === s.value))
263
263
  return;
264
264
  const v = y.some((b) => b.value === s.value) ? y.filter((b) => b.value !== s.value) : [...y, s];
265
- N(v);
265
+ g(v);
266
266
  }, X = () => {
267
- C(o), N([]), _ && (_([]), t == null || t(o));
267
+ C(o), g([]), _ && (_([]), t == null || t(o));
268
268
  }, Y = () => {
269
- N(h), f(i);
269
+ g(h), f(i);
270
270
  }, E = () => {
271
- Y(), g && l(!1);
271
+ Y(), l(!1);
272
272
  }, Z = () => {
273
273
  _ && (t == null || t(w), _(y)), l(!1);
274
274
  };
@@ -276,12 +276,12 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
276
276
  m && f(i);
277
277
  }, [m]);
278
278
  const T = (s) => {
279
- if (!m || g)
279
+ if (!m || N)
280
280
  return;
281
281
  const v = s.target;
282
282
  u.current && !u.current.contains(v) && E();
283
283
  };
284
- A(() => (m && !g && document.addEventListener("click", T), () => {
284
+ A(() => (m && !N && document.addEventListener("click", T), () => {
285
285
  document.removeEventListener("click", T);
286
286
  }), [m]);
287
287
  const $ = () => /* @__PURE__ */ W(z, { children: [
@@ -382,7 +382,7 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
382
382
  {
383
383
  className: r.root,
384
384
  onClick: (s) => {
385
- s.stopPropagation(), O && O(), l(g ? (v) => !v : !0);
385
+ s.stopPropagation(), O && O(), l(N ? (v) => !v : !0);
386
386
  },
387
387
  children: [
388
388
  /* @__PURE__ */ e("div", { className: r.btnName, children: k }),
@@ -405,7 +405,7 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
405
405
  ]
406
406
  }
407
407
  ),
408
- g && /* @__PURE__ */ e(
408
+ N && /* @__PURE__ */ e(
409
409
  V,
410
410
  {
411
411
  isOpen: m,
@@ -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-DRs53Rq4.js";
4
+ import { F as w } from "../../../FilterWithSave-DxzFoKBs.js";
5
5
  import "../../../Modal-BZv6nlLe.js";
6
6
  import "../../../Option-CyYM1iBJ.js";
7
7
  import "../../Button/ui/Button.js";
@@ -1,4 +1,4 @@
1
- import { a as r } from "../../FilterWithSave-DRs53Rq4.js";
1
+ import { a as r } from "../../FilterWithSave-DxzFoKBs.js";
2
2
  export {
3
3
  r as SortSelect
4
4
  };
@@ -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-DRs53Rq4.js";
16
+ import { a as z } from "../../../FilterWithSave-DxzFoKBs.js";
17
17
  import "../../GroupedInput/ui/GroupedInputs.js";
18
18
  import "../../MetroTag/ui/MetroTag.js";
19
19
  import "../../LotCard/ui/LotCard.js";
@@ -1,4 +1,4 @@
1
- import { S as e } from "../../FilterWithSave-DRs53Rq4.js";
1
+ import { S as e } from "../../FilterWithSave-DxzFoKBs.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 v } from "../../../FilterWithSave-DRs53Rq4.js";
3
+ import { S as v } from "../../../FilterWithSave-DxzFoKBs.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-DRs53Rq4.js";
14
+ import "../../../FilterWithSave-DxzFoKBs.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-DRs53Rq4.js";
13
+ import { F as B, a as L, S as k } from "./FilterWithSave-DxzFoKBs.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
@@ -2,7 +2,7 @@
2
2
  "name": "stone-kit",
3
3
  "description": "uikit for redesign",
4
4
  "private": false,
5
- "version": "0.0.547",
5
+ "version": "0.0.548",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",