stone-kit 0.0.559 → 0.0.560

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,6 +1,6 @@
1
1
  import { jsxs as b, jsx as e, Fragment as z } from "react/jsx-runtime";
2
- import { forwardRef as tt, useState as B, useRef as q, useEffect as A } from "react";
3
- import { NewIcon as R } from "./components/NewIcon/ui/NewIcon.js";
2
+ import { forwardRef as tt, useState as B, useRef as q, useEffect as R } from "react";
3
+ import { NewIcon as L } from "./components/NewIcon/ui/NewIcon.js";
4
4
  import { M as H } from "./Modal-BZv6nlLe.js";
5
5
  import { Text as V } from "./components/Text/ui/Text.js";
6
6
  import { c as G, g as et } from "./index-rKuIKazb.js";
@@ -118,7 +118,7 @@ const P = Object.assign(vt, { Item: J }), M = G.bind(c), bt = ({
118
118
  onBlur: d
119
119
  }
120
120
  );
121
- return A(() => (document.addEventListener("click", y), () => {
121
+ return R(() => (document.addEventListener("click", y), () => {
122
122
  document.removeEventListener("click", y);
123
123
  }), []), /* @__PURE__ */ b(
124
124
  "div",
@@ -152,7 +152,7 @@ const P = Object.assign(vt, { Item: J }), M = G.bind(c), bt = ({
152
152
  }
153
153
  ),
154
154
  /* @__PURE__ */ e(
155
- R,
155
+ L,
156
156
  {
157
157
  name: "twoArrows",
158
158
  size: "24",
@@ -173,7 +173,7 @@ const P = Object.assign(vt, { Item: J }), M = G.bind(c), bt = ({
173
173
  /* @__PURE__ */ b("div", { className: c.mobileSortHeader, children: [
174
174
  /* @__PURE__ */ e(V, { children: "Сортировка" }),
175
175
  /* @__PURE__ */ e("div", { onClick: () => u(!1), children: /* @__PURE__ */ e(
176
- R,
176
+ L,
177
177
  {
178
178
  name: "close",
179
179
  size: "20"
@@ -246,7 +246,7 @@ var K = { exports: {} };
246
246
  })();
247
247
  })(K);
248
248
  var Et = K.exports;
249
- const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
249
+ const $t = /* @__PURE__ */ et(Et), Tt = $t.bind(r), pe = ({
250
250
  disabledOptions: n = [],
251
251
  tabs: s = [],
252
252
  selectOptions: a = [],
@@ -272,23 +272,24 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
272
272
  }, Z = () => {
273
273
  m && (t == null || t(w), m(y)), o(!1);
274
274
  };
275
- A(() => {
275
+ R(() => {
276
276
  h && f(i);
277
- }, [h]);
277
+ }, [h]), R(() => {
278
+ }, [i]);
278
279
  const E = (l) => {
279
280
  h && !N && u.current && !u.current.contains(l.target) && o(!1);
280
281
  };
281
- A(() => (document.addEventListener("click", E), () => {
282
+ R(() => (document.addEventListener("click", E), () => {
282
283
  document.removeEventListener("click", E);
283
284
  }), [h]);
284
- const T = () => /* @__PURE__ */ b(z, { children: [
285
+ const $ = () => /* @__PURE__ */ b(z, { children: [
285
286
  /* @__PURE__ */ e(
286
287
  "div",
287
288
  {
288
289
  className: r.closeBtn,
289
290
  onClick: Y,
290
291
  children: /* @__PURE__ */ e(
291
- R,
292
+ L,
292
293
  {
293
294
  name: "close",
294
295
  size: "24"
@@ -306,7 +307,7 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
306
307
  addClassName: r.tabs,
307
308
  isApart: !0,
308
309
  children: s == null ? void 0 : s.map((l, g) => {
309
- var $;
310
+ var T;
310
311
  const v = l.value;
311
312
  return /* @__PURE__ */ e(
312
313
  P.Item,
@@ -316,10 +317,10 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
316
317
  value: v,
317
318
  onClick: () => {
318
319
  },
319
- checked: (($ = w == null ? void 0 : w.find((L) => L.value === v)) == null ? void 0 : $.state) ?? !1,
320
+ checked: ((T = w == null ? void 0 : w.find((A) => A.value === v)) == null ? void 0 : T.state) ?? !1,
320
321
  onChange: () => {
321
322
  f == null || f(
322
- (L) => L.map((I) => I.value === v ? { ...I, state: !I.state } : I)
323
+ (A) => A.map((I) => I.value === v ? { ...I, state: !I.state } : I)
323
324
  );
324
325
  },
325
326
  index: g,
@@ -384,7 +385,7 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
384
385
  children: [
385
386
  /* @__PURE__ */ e("div", { className: r.btnName, children: k }),
386
387
  /* @__PURE__ */ e(
387
- R,
388
+ L,
388
389
  {
389
390
  name: "filter",
390
391
  size: "16"
@@ -394,9 +395,9 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
394
395
  "div",
395
396
  {
396
397
  ref: u,
397
- className: $t(r.desktopWrapper, { [r.desktopWrapperOpen]: h }),
398
+ className: Tt(r.desktopWrapper, { [r.desktopWrapperOpen]: h }),
398
399
  onClick: (l) => l.stopPropagation(),
399
- children: /* @__PURE__ */ e(T, {})
400
+ children: /* @__PURE__ */ e($, {})
400
401
  }
401
402
  )
402
403
  ]
@@ -410,7 +411,7 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
410
411
  isTransparentBack: !0,
411
412
  additionalClassModalBody: r.modalAddBody,
412
413
  additionalClass: r.filterWithSaveModal,
413
- children: /* @__PURE__ */ e(T, {})
414
+ children: /* @__PURE__ */ e($, {})
414
415
  }
415
416
  )
416
417
  ] });
@@ -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-7jY9EYl5.js";
4
+ import { F as w } from "../../../FilterWithSave-JB10JJkz.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-7jY9EYl5.js";
1
+ import { a as r } from "../../FilterWithSave-JB10JJkz.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-7jY9EYl5.js";
16
+ import { a as z } from "../../../FilterWithSave-JB10JJkz.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-7jY9EYl5.js";
1
+ import { S as e } from "../../FilterWithSave-JB10JJkz.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-7jY9EYl5.js";
3
+ import { S as v } from "../../../FilterWithSave-JB10JJkz.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-7jY9EYl5.js";
14
+ import "../../../FilterWithSave-JB10JJkz.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-7jY9EYl5.js";
13
+ import { F as B, a as L, S as k } from "./FilterWithSave-JB10JJkz.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.559",
5
+ "version": "0.0.560",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",