stone-kit 0.0.574 → 0.0.576

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,10 +1,10 @@
1
- import { jsxs as b, jsx as e, Fragment as F } from "react/jsx-runtime";
2
- import { forwardRef as Z, useState as B, useRef as q, useEffect as L } from "react";
1
+ import { jsxs as b, jsx as e, Fragment as z } from "react/jsx-runtime";
2
+ import { forwardRef as Z, useState as B, useRef as q, useEffect as R } from "react";
3
3
  import { NewIcon as A } 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 tt } from "./index-rKuIKazb.js";
7
- import { Button as P } from "./components/Button/ui/Button.js";
7
+ import { Button as F } from "./components/Button/ui/Button.js";
8
8
  import "./components/mobileButton/ui/MobileButton.js";
9
9
  import "./components/DestinationTab/ui/DestinationTab.js";
10
10
  import "./components/RoundButton/ui/RoundButton.js";
@@ -17,20 +17,20 @@ import "./components/MetroTag/ui/MetroTag.js";
17
17
  import "./components/LotCard/ui/LotCard.js";
18
18
  import "./components/Select/ui/Select.js";
19
19
  import { useClientWidth as E } from "./shared/useClientWidth.js";
20
- import { s as c, u as et } from "./useSortSelect-CjZXLFOG.js";
20
+ import { s as l, u as et } from "./useSortSelect-CjZXLFOG.js";
21
21
  import "./components/SliderNavigation/ui/SliderNavigation.js";
22
22
  import "./components/LotCardSkeleton/ui/LotCardSkeleton.js";
23
23
  import "./components/TabSelect/ui/TabSelect.js";
24
24
  import "./components/FormModal/ui/ModalForm.js";
25
25
  import { O as it } from "./Option-CyYM1iBJ.js";
26
- const ot = "_root_2bilg_1", rt = "_text_2bilg_18", st = "_textMini_2bilg_26", nt = "_rootCol_2bilg_32", at = "_item_2bilg_38", lt = "_whiteRow_2bilg_57", ct = "_firstItem_2bilg_68", dt = "_lastItem_2bilg_72", pt = "_apart_2bilg_103", mt = "_isLong_2bilg_103", _t = "_autoWidth_2bilg_128", ht = "_mini_2bilg_132", ut = "_isDisabled_2bilg_140", ft = "_grayRow_2bilg_164", m = {
26
+ const ot = "_root_2bilg_1", rt = "_text_2bilg_18", st = "_textMini_2bilg_26", nt = "_rootCol_2bilg_32", at = "_item_2bilg_38", ct = "_whiteRow_2bilg_57", lt = "_firstItem_2bilg_68", dt = "_lastItem_2bilg_72", pt = "_apart_2bilg_103", mt = "_isLong_2bilg_103", _t = "_autoWidth_2bilg_128", ht = "_mini_2bilg_132", ut = "_isDisabled_2bilg_140", ft = "_grayRow_2bilg_164", p = {
27
27
  root: ot,
28
28
  text: rt,
29
29
  textMini: st,
30
30
  rootCol: nt,
31
31
  item: at,
32
- whiteRow: lt,
33
- firstItem: ct,
32
+ whiteRow: ct,
33
+ firstItem: lt,
34
34
  lastItem: dt,
35
35
  apart: pt,
36
36
  isLong: mt,
@@ -38,117 +38,117 @@ const ot = "_root_2bilg_1", rt = "_text_2bilg_18", st = "_textMini_2bilg_26", nt
38
38
  mini: ht,
39
39
  isDisabled: ut,
40
40
  grayRow: ft
41
- }, I = G.bind(m), gt = ({
41
+ }, I = G.bind(p), vt = ({
42
42
  children: n,
43
- variant: r = "whiteRow",
43
+ variant: s = "whiteRow",
44
44
  isApart: a = !1,
45
- addClassName: h = "",
46
- col: u = !1
47
- }) => /* @__PURE__ */ e("div", { className: I(m.root, m[r], h, { [m.rootCol]: u, [m.apart]: a }), children: n }), J = Z((n, r) => {
48
- const { isTablet: a, isDesktop: h } = E(), {
49
- index: u,
45
+ addClassName: m = "",
46
+ col: _ = !1
47
+ }) => /* @__PURE__ */ e("div", { className: I(p.root, p[s], m, { [p.rootCol]: _, [p.apart]: a }), children: n }), J = Z((n, s) => {
48
+ const { isTablet: a, isDesktop: m } = E(), {
49
+ index: _,
50
50
  children: t,
51
51
  addItemClassName: i,
52
52
  addTextClass: d,
53
53
  disabled: O = !1,
54
54
  itemsLength: x = 0,
55
55
  isLongOn: S = !0,
56
- width: v,
57
- width_m: l,
58
- width_l: f,
59
- mini: C = !1,
60
- ...k
61
- } = n, y = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) && S, w = (W, N) => W && l ? l : N && f ? f : v, g = !v && !l && !f && y;
62
- return /* @__PURE__ */ b("label", { className: I({ [m.isLong]: y }), children: [
56
+ width: h,
57
+ width_m: c,
58
+ width_l: u,
59
+ mini: k = !1,
60
+ ...C
61
+ } = n, y = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) && S, w = (v, N) => v && c ? c : N && u ? u : h, f = !h && !c && !u && y;
62
+ return /* @__PURE__ */ b("label", { className: I({ [p.isLong]: y }), children: [
63
63
  /* @__PURE__ */ e(
64
64
  "input",
65
65
  {
66
- ref: r,
66
+ ref: s,
67
67
  type: "checkbox",
68
- ...k,
68
+ ...C,
69
69
  disabled: O
70
70
  }
71
71
  ),
72
72
  /* @__PURE__ */ e(
73
73
  "div",
74
74
  {
75
- style: { width: w(a, h) },
75
+ style: { width: w(a, m) },
76
76
  className: I(
77
77
  I(
78
- m.item,
79
- { [m.firstItem]: u === 0 },
80
- { [m.lastItem]: u === x - 1 },
81
- { [m.isDisabled]: O },
82
- { [m.autoWidth]: g },
83
- { [m.mini]: C }
78
+ p.item,
79
+ { [p.firstItem]: _ === 0 },
80
+ { [p.lastItem]: _ === x - 1 },
81
+ { [p.isDisabled]: O },
82
+ { [p.autoWidth]: f },
83
+ { [p.mini]: k }
84
84
  ),
85
85
  i
86
86
  ),
87
- children: /* @__PURE__ */ e(V, { className: I(m.text, { [m.textMini]: C }, d), children: t })
87
+ children: /* @__PURE__ */ e(V, { className: I(p.text, { [p.textMini]: k }, d), children: t })
88
88
  }
89
89
  )
90
90
  ] });
91
91
  });
92
92
  J.displayName = "TabSwitcherItem";
93
- const T = Object.assign(gt, { Item: J }), R = G.bind(c), vt = ({
93
+ const T = Object.assign(vt, { Item: J }), L = G.bind(l), gt = ({
94
94
  options: n,
95
- selectedOption: r,
95
+ selectedOption: s,
96
96
  placeholder: a = "",
97
- error: h,
98
- disabled: u,
97
+ error: m,
98
+ disabled: _,
99
99
  additionalClass: t = "",
100
100
  onChange: i,
101
101
  onBlur: d,
102
102
  mini: O,
103
103
  openOnTop: x = !1,
104
104
  onClickItem: S,
105
- onCLickSelect: v
105
+ onCLickSelect: h
106
106
  }) => {
107
- const [l, f] = B(!1), C = q(null), { isMobile: k } = E(), { handleBlur: y, getInputValue: w, getOption: g, handleDocumentClick: W } = et(
107
+ const [c, u] = B(!1), k = q(null), { isMobile: C } = E(), { handleBlur: y, getInputValue: w, getOption: f, handleDocumentClick: v } = et(
108
108
  {
109
- selectedOption: r,
109
+ selectedOption: s,
110
110
  onClickOption: S,
111
111
  setSelectedOption: i,
112
- setIsOpen: f,
113
- containerRef: C,
114
- isOpen: l,
115
- isMobile: k,
112
+ setIsOpen: u,
113
+ containerRef: k,
114
+ isOpen: c,
115
+ isMobile: C,
116
116
  placeholder: a,
117
117
  onChange: i,
118
118
  onBlur: d
119
119
  }
120
120
  );
121
- return L(() => (document.addEventListener("click", W), () => {
122
- document.removeEventListener("click", W);
121
+ return R(() => (document.addEventListener("click", v), () => {
122
+ document.removeEventListener("click", v);
123
123
  }), []), /* @__PURE__ */ b(
124
124
  "div",
125
125
  {
126
- ref: C,
127
- className: R(
128
- c.sortSelectWrapper,
129
- { [c.sortSelectWrapperError]: h },
130
- { [c.sortSelectWrapperTop]: x },
126
+ ref: k,
127
+ className: L(
128
+ l.sortSelectWrapper,
129
+ { [l.sortSelectWrapperError]: m },
130
+ { [l.sortSelectWrapperTop]: x },
131
131
  t
132
132
  ),
133
133
  tabIndex: 0,
134
134
  onBlur: y,
135
135
  onClick: () => {
136
- v && v();
136
+ h && h();
137
137
  },
138
138
  children: [
139
- /* @__PURE__ */ b("div", { className: R(c.inputWrapper), children: [
139
+ /* @__PURE__ */ b("div", { className: L(l.inputWrapper), children: [
140
140
  /* @__PURE__ */ e(
141
141
  "input",
142
142
  {
143
143
  type: "text",
144
144
  readOnly: !0,
145
145
  value: w(),
146
- className: R(
147
- c.selectedOptions,
148
- { [c.selectOptionsDisabled]: u },
149
- { [c.selectionOptionMini]: O }
146
+ className: L(
147
+ l.selectedOptions,
148
+ { [l.selectOptionsDisabled]: _ },
149
+ { [l.selectionOptionMini]: O }
150
150
  ),
151
- onClick: () => f(!l)
151
+ onClick: () => u(!c)
152
152
  }
153
153
  ),
154
154
  /* @__PURE__ */ e(
@@ -156,23 +156,23 @@ const T = Object.assign(gt, { Item: J }), R = G.bind(c), vt = ({
156
156
  {
157
157
  name: "twoArrows",
158
158
  size: "24",
159
- additionalClass: c.icon
159
+ additionalClass: l.icon
160
160
  }
161
161
  )
162
162
  ] }),
163
- l && k && /* @__PURE__ */ b(
163
+ c && C && /* @__PURE__ */ b(
164
164
  H,
165
165
  {
166
- isOpen: l,
167
- emitIsOpen: f,
168
- additionalClassModalBody: c.modalAddBody,
169
- additionalClass: c.selectModal,
166
+ isOpen: c,
167
+ emitIsOpen: u,
168
+ additionalClassModalBody: l.modalAddBody,
169
+ additionalClass: l.selectModal,
170
170
  createPortalObj: { domNode: document.querySelector("body") },
171
171
  isTransparentBack: !0,
172
172
  children: [
173
- /* @__PURE__ */ b("div", { className: c.mobileSortHeader, children: [
173
+ /* @__PURE__ */ b("div", { className: l.mobileSortHeader, children: [
174
174
  /* @__PURE__ */ e(V, { children: "Сортировка" }),
175
- /* @__PURE__ */ e("div", { onClick: () => f(!1), children: /* @__PURE__ */ e(
175
+ /* @__PURE__ */ e("div", { onClick: () => u(!1), children: /* @__PURE__ */ e(
176
176
  A,
177
177
  {
178
178
  name: "close",
@@ -180,32 +180,32 @@ const T = Object.assign(gt, { Item: J }), R = G.bind(c), vt = ({
180
180
  }
181
181
  ) })
182
182
  ] }),
183
- /* @__PURE__ */ e("div", { className: c.mobileOptionList, children: n == null ? void 0 : n.map((N) => g(N)) })
183
+ /* @__PURE__ */ e("div", { className: l.mobileOptionList, children: n == null ? void 0 : n.map((N) => f(N)) })
184
184
  ]
185
185
  }
186
186
  ),
187
- l && !k && /* @__PURE__ */ e("div", { className: R(c.optionsList, { [c.optionListOnTop]: x }), children: n == null ? void 0 : n.map((N) => g(N)) })
187
+ c && !C && /* @__PURE__ */ e("div", { className: L(l.optionsList, { [l.optionListOnTop]: x }), children: n == null ? void 0 : n.map((N) => f(N)) })
188
188
  ]
189
189
  }
190
190
  );
191
191
  };
192
- vt.displayName = "SortSelect";
193
- const Wt = "_root_1occg_1", bt = "_filterWithSaveModal_1occg_15", Nt = "_modalAddBody_1occg_20", wt = "_closeBtn_1occg_29", Ot = "_btnName_1occg_35", St = "_modalTitle_1occg_39", Ct = "_tabSWitcherWrapper_1occg_48", kt = "_switcherTitle_1occg_56", xt = "_switcherScroll_1occg_63", yt = "_tabs_1occg_67", Bt = "_selectWrapper_1occg_72", It = "_filterOption_1occg_76", Mt = "_btnWrapper_1occg_83", Rt = "_resetBtn_1occg_89", Lt = "_saveBtn_1occg_90", At = "_desktopWrapper_1occg_94", Dt = "_desktopWrapperOpen_1occg_116", o = {
192
+ gt.displayName = "SortSelect";
193
+ const Wt = "_root_1occg_1", bt = "_filterWithSaveModal_1occg_15", Nt = "_modalAddBody_1occg_20", wt = "_closeBtn_1occg_29", Ot = "_btnName_1occg_35", St = "_modalTitle_1occg_39", kt = "_tabSWitcherWrapper_1occg_48", Ct = "_switcherTitle_1occg_56", xt = "_switcherScroll_1occg_63", yt = "_tabs_1occg_67", Bt = "_selectWrapper_1occg_72", It = "_filterOption_1occg_76", Mt = "_btnWrapper_1occg_83", Lt = "_resetBtn_1occg_89", Rt = "_saveBtn_1occg_90", At = "_desktopWrapper_1occg_94", Dt = "_desktopWrapperOpen_1occg_116", r = {
194
194
  root: Wt,
195
195
  filterWithSaveModal: bt,
196
196
  modalAddBody: Nt,
197
197
  closeBtn: wt,
198
198
  btnName: Ot,
199
199
  modalTitle: St,
200
- tabSWitcherWrapper: Ct,
201
- switcherTitle: kt,
200
+ tabSWitcherWrapper: kt,
201
+ switcherTitle: Ct,
202
202
  switcherScroll: xt,
203
203
  tabs: yt,
204
204
  selectWrapper: Bt,
205
205
  filterOption: It,
206
206
  btnWrapper: Mt,
207
- resetBtn: Rt,
208
- saveBtn: Lt,
207
+ resetBtn: Lt,
208
+ saveBtn: Rt,
209
209
  desktopWrapper: At,
210
210
  desktopWrapperOpen: Dt
211
211
  };
@@ -217,15 +217,15 @@ var K = { exports: {} };
217
217
  */
218
218
  (function(n) {
219
219
  (function() {
220
- var r = {}.hasOwnProperty;
220
+ var s = {}.hasOwnProperty;
221
221
  function a() {
222
222
  for (var t = "", i = 0; i < arguments.length; i++) {
223
223
  var d = arguments[i];
224
- d && (t = u(t, h.call(this, d)));
224
+ d && (t = _(t, m.call(this, d)));
225
225
  }
226
226
  return t;
227
227
  }
228
- function h(t) {
228
+ function m(t) {
229
229
  if (typeof t == "string" || typeof t == "number")
230
230
  return this && this[t] || t;
231
231
  if (typeof t != "object")
@@ -236,61 +236,62 @@ var K = { exports: {} };
236
236
  return t.toString();
237
237
  var i = "";
238
238
  for (var d in t)
239
- r.call(t, d) && t[d] && (i = u(i, this && this[d] || d));
239
+ s.call(t, d) && t[d] && (i = _(i, this && this[d] || d));
240
240
  return i;
241
241
  }
242
- function u(t, i) {
242
+ function _(t, i) {
243
243
  return i ? t ? t + " " + i : t + i : t;
244
244
  }
245
245
  n.exports ? (a.default = a, n.exports = a) : window.classNames = a;
246
246
  })();
247
247
  })(K);
248
248
  var Et = K.exports;
249
- const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
249
+ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(r), de = ({
250
250
  disabledOptions: n = [],
251
- tabs: r = [],
251
+ tabs: s = [],
252
252
  selectOptions: a = [],
253
- onChange: h,
254
- selectedValues: u = [],
253
+ onChange: m,
254
+ selectedValues: _ = [],
255
255
  setSelectedTabs: t,
256
256
  selectedTabs: i = [],
257
257
  onClickItem: d,
258
258
  onCLickSelect: O,
259
259
  btnName: x = "Фильтр"
260
260
  }) => {
261
- const { isMobile: S } = E(), [v, l] = B(!1), f = q(null), [C, k] = B(i), [y] = B(u), [w, g] = B(C), [W, N] = B(y), Q = (s) => {
262
- if (d && d(s), n.some((_) => _.value === s.value))
261
+ const { isMobile: S } = E(), [h, c] = B(!1), u = q(null), [k, C] = B(i), [y] = B(_), [w, f] = B(k), [v, N] = B(y), Q = (o) => {
262
+ if (d && d(o), n.some((W) => W.value === o.value))
263
263
  return;
264
- const p = W.some((_) => _.value === s.value) ? W.filter((_) => _.value !== s.value) : [...W, s];
265
- N(p);
264
+ const g = v.some((W) => W.value === o.value) ? v.filter((W) => W.value !== o.value) : [...v, o];
265
+ N(g);
266
266
  }, U = () => {
267
- k(r), g(r), N([]), h && (h([]), t == null || t(r));
267
+ C(s), f(s), N([]), m && (m([]), t == null || t(s));
268
268
  }, X = () => {
269
- N(u), g(i);
269
+ N(_), f(i);
270
270
  }, j = () => {
271
- X(), l(!1);
271
+ X(), c(!1);
272
272
  }, Y = () => {
273
- h && (t == null || t(w), h(W)), l(!1);
273
+ m && (t == null || t(w), m(v)), c(!1);
274
274
  };
275
- L(() => {
276
- v || g(i);
277
- }, [v]), L(() => {
278
- g(i);
279
- }, [i]), L(() => {
280
- const s = (p) => {
281
- var _;
282
- console.log(p.target.closest("div")), console.log((_ = p == null ? void 0 : p.target) == null ? void 0 : _.closest("#id")), f.current && !f.current.contains(p.target) && j();
275
+ R(() => {
276
+ h || f(i);
277
+ }, [h]), R(() => {
278
+ f(i);
279
+ }, [i]), R(() => {
280
+ const o = (g) => {
281
+ u.current && u.current.contains(g.target) || j();
283
282
  };
284
- return document.addEventListener("click", s), () => {
285
- document.removeEventListener("click", s);
283
+ return h ? document.addEventListener("click", o) : document.removeEventListener("click", o), () => {
284
+ document.removeEventListener("click", o);
286
285
  };
287
- }, [v]);
288
- const $ = () => /* @__PURE__ */ b(F, { children: [
286
+ }, [h]);
287
+ const $ = () => /* @__PURE__ */ b(z, { children: [
289
288
  /* @__PURE__ */ e(
290
289
  "div",
291
290
  {
292
- className: o.closeBtn,
293
- onClick: j,
291
+ className: r.closeBtn,
292
+ onClick: (o) => {
293
+ o.stopPropagation(), j();
294
+ },
294
295
  children: /* @__PURE__ */ e(
295
296
  A,
296
297
  {
@@ -300,88 +301,88 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
300
301
  )
301
302
  }
302
303
  ),
303
- /* @__PURE__ */ e("div", { className: o.modalTitle, children: "Фильтры" }),
304
- /* @__PURE__ */ b("div", { className: o.tabSWitcherWrapper, children: [
305
- /* @__PURE__ */ e("div", { className: o.switcherTitle, children: "Готовность" }),
306
- /* @__PURE__ */ e("div", { className: o.switcherScroll, children: /* @__PURE__ */ e(
304
+ /* @__PURE__ */ e("div", { className: r.modalTitle, children: "Фильтры" }),
305
+ /* @__PURE__ */ b("div", { className: r.tabSWitcherWrapper, children: [
306
+ /* @__PURE__ */ e("div", { className: r.switcherTitle, children: "Готовность" }),
307
+ /* @__PURE__ */ e("div", { className: r.switcherScroll, children: /* @__PURE__ */ e(
307
308
  T,
308
309
  {
309
310
  variant: "grayRow",
310
- addClassName: o.tabs,
311
+ addClassName: r.tabs,
311
312
  isApart: !0,
312
- children: r == null ? void 0 : r.map((s, p) => {
313
- var z;
314
- const _ = s.value;
313
+ children: s == null ? void 0 : s.map((o, g) => {
314
+ var P;
315
+ const W = o.value;
315
316
  return /* @__PURE__ */ e(
316
317
  T.Item,
317
318
  {
318
- itemsLength: r == null ? void 0 : r.length,
319
+ itemsLength: s == null ? void 0 : s.length,
319
320
  mini: !0,
320
- value: _,
321
+ value: W,
321
322
  onClick: () => {
322
323
  },
323
- checked: ((z = w == null ? void 0 : w.find((D) => D.value === _)) == null ? void 0 : z.state) ?? !1,
324
+ checked: ((P = w == null ? void 0 : w.find((D) => D.value === W)) == null ? void 0 : P.state) ?? !1,
324
325
  onChange: () => {
325
- g == null || g(
326
- (D) => D.map((M) => M.value === _ ? { ...M, state: !M.state } : M)
326
+ f == null || f(
327
+ (D) => D.map((M) => M.value === W ? { ...M, state: !M.state } : M)
327
328
  );
328
329
  },
329
- index: p,
330
- addItemClassName: o.tabSwitcher,
331
- children: _
330
+ index: g,
331
+ addItemClassName: r.tabSwitcher,
332
+ children: W
332
333
  },
333
- p
334
+ g
334
335
  );
335
336
  })
336
337
  }
337
338
  ) })
338
339
  ] }),
339
- /* @__PURE__ */ e("div", { className: o.selectWrapper, children: a == null ? void 0 : a.map((s, p) => /* @__PURE__ */ e(
340
+ /* @__PURE__ */ e("div", { className: r.selectWrapper, children: a == null ? void 0 : a.map((o, g) => /* @__PURE__ */ e(
340
341
  it,
341
342
  {
342
- addClassName: o.filterOption,
343
+ addClassName: r.filterOption,
343
344
  disabledOptions: [],
344
345
  clickableOptions: [],
345
- selectedOptions: W,
346
- option: s,
346
+ selectedOptions: v,
347
+ option: o,
347
348
  handleOptionClick: Q
348
349
  },
349
- p
350
+ g
350
351
  )) }),
351
- /* @__PURE__ */ b("div", { className: o.btnWrapper, children: [
352
+ /* @__PURE__ */ b("div", { className: r.btnWrapper, children: [
352
353
  /* @__PURE__ */ e(
353
- P,
354
+ F,
354
355
  {
355
356
  as: "button",
356
357
  variant: "gray",
357
- additionalClass: o.resetBtn,
358
+ additionalClass: r.resetBtn,
358
359
  onClick: U,
359
360
  children: "Сбросить"
360
361
  }
361
362
  ),
362
363
  /* @__PURE__ */ e(
363
- P,
364
+ F,
364
365
  {
365
366
  as: "button",
366
- additionalClass: o.saveBtn,
367
+ additionalClass: r.saveBtn,
367
368
  onClick: Y,
368
369
  children: "Сохранить"
369
370
  }
370
371
  )
371
372
  ] })
372
373
  ] });
373
- return /* @__PURE__ */ b(F, { children: [
374
+ return /* @__PURE__ */ b(z, { children: [
374
375
  /* @__PURE__ */ b(
375
376
  "div",
376
377
  {
377
- ref: f,
378
- className: o.root,
378
+ ref: u,
379
+ className: r.root,
379
380
  id: "modal-container",
380
- onClick: (s) => {
381
- s.stopPropagation(), O && O(), l(S ? (p) => !p : !0);
381
+ onClick: (o) => {
382
+ o.stopPropagation(), O && O(), c(S ? (g) => !g : !0);
382
383
  },
383
384
  children: [
384
- /* @__PURE__ */ e("div", { className: o.btnName, children: x }),
385
+ /* @__PURE__ */ e("div", { className: r.btnName, children: x }),
385
386
  /* @__PURE__ */ e(
386
387
  A,
387
388
  {
@@ -392,8 +393,8 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
392
393
  !S && /* @__PURE__ */ e(
393
394
  "div",
394
395
  {
395
- className: $t(o.desktopWrapper, { [o.desktopWrapperOpen]: v }),
396
- onClick: (s) => s.stopPropagation(),
396
+ className: $t(r.desktopWrapper, { [r.desktopWrapperOpen]: h }),
397
+ onClick: (o) => o.stopPropagation(),
397
398
  children: /* @__PURE__ */ e($, {})
398
399
  }
399
400
  )
@@ -403,11 +404,11 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
403
404
  S && /* @__PURE__ */ e(
404
405
  H,
405
406
  {
406
- isOpen: v,
407
- emitIsOpen: l,
407
+ isOpen: h,
408
+ emitIsOpen: c,
408
409
  isTransparentBack: !0,
409
- additionalClassModalBody: o.modalAddBody,
410
- additionalClass: o.filterWithSaveModal,
410
+ additionalClassModalBody: r.modalAddBody,
411
+ additionalClass: r.filterWithSaveModal,
411
412
  children: /* @__PURE__ */ e($, {})
412
413
  }
413
414
  )
@@ -416,5 +417,5 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(o), de = ({
416
417
  export {
417
418
  de as F,
418
419
  T as S,
419
- vt as a
420
+ gt as a
420
421
  };
@@ -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-usSqjx95.js";
4
+ import { F as w } from "../../../FilterWithSave-mnIFUia7.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-usSqjx95.js";
1
+ import { a as r } from "../../FilterWithSave-mnIFUia7.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-usSqjx95.js";
16
+ import { a as z } from "../../../FilterWithSave-mnIFUia7.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-usSqjx95.js";
1
+ import { S as e } from "../../FilterWithSave-mnIFUia7.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-usSqjx95.js";
3
+ import { S as v } from "../../../FilterWithSave-mnIFUia7.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-usSqjx95.js";
14
+ import "../../../FilterWithSave-mnIFUia7.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-usSqjx95.js";
13
+ import { F as B, a as L, S as k } from "./FilterWithSave-mnIFUia7.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.574",
5
+ "version": "0.0.576",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",