stone-kit 0.0.538 → 0.0.540

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