stone-kit 0.0.1029 → 0.0.1031

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.
Files changed (72) hide show
  1. package/dist/App.js +4 -4
  2. package/dist/Menu-CdJTzN7T.js +494 -0
  3. package/dist/{Option-CtwUzW8a.js → Option-rFBMQAPk.js} +1 -1
  4. package/dist/Router.js +1 -1
  5. package/dist/components/Button/ui/Button.js +1 -1
  6. package/dist/components/CheckBoxNew/CheckBoxNew.js +1 -1
  7. package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +1 -1
  8. package/dist/components/CommercialLotCard/CommercialLotCard.js +1 -1
  9. package/dist/components/CommercialLotCard/components/Price/Price.js +11 -11
  10. package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +1 -1
  11. package/dist/components/DestinationTab/ui/DestinationTab.js +1 -1
  12. package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +1 -1
  13. package/dist/components/FilterWithSave/ui/FilterWithSave.js +7 -2
  14. package/dist/components/Flex/ui/Flex.js +1 -1
  15. package/dist/components/FormModal/ui/ModalForm.js +641 -656
  16. package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
  17. package/dist/components/Input/ui/Input.js +22 -1
  18. package/dist/components/Logo/ui/Logo.js +1 -1
  19. package/dist/components/LotCard/hooks/useLotCard.js +2 -2
  20. package/dist/components/LotCard/ui/LotCard.js +2 -2
  21. package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +1 -1
  22. package/dist/components/MetroLabel/ui/MetroLabel.js +1 -1
  23. package/dist/components/MetroTag/ui/MetroTag.js +1 -1
  24. package/dist/components/NewIcon/ui/NewIcon.js +1 -1
  25. package/dist/components/RoundButton/ui/RoundButton.js +1 -1
  26. package/dist/components/Select/ui/Category.js +2 -2
  27. package/dist/components/Select/ui/Option.js +2 -2
  28. package/dist/components/Select/ui/Select.js +2 -2
  29. package/dist/components/SliderNavigation/ui/SliderNavigation.js +1 -1
  30. package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
  31. package/dist/components/SortSelect/ui/SortSelect.js +2 -2
  32. package/dist/components/Switcher/ui/Switcher.js +1 -1
  33. package/dist/components/TabSelect/ui/TabSelect.js +1 -1
  34. package/dist/components/TabSwitcher/ui/TabSwitcher.js +1 -1
  35. package/dist/components/Tag/ui/Tag.js +1 -1
  36. package/dist/components/Text/ui/Text.js +1 -1
  37. package/dist/components/TextArea/TextArea.js +1 -1
  38. package/dist/components/mobileButton/ui/MobileButton.js +1 -1
  39. package/dist/{index-BJwl9stn.js → index-3E04UaC2.js} +784 -785
  40. package/dist/{index-YnD2EP-S.js → index-B2JRaoNz.js} +5 -0
  41. package/dist/index-CBdtKu-u.js +891 -0
  42. package/dist/layout/components/Header/Header.js +1 -1
  43. package/dist/layout/components/Menu.js +4 -107
  44. package/dist/stone-kit.css +1 -1
  45. package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +1 -1
  46. package/dist/stories/shared/ui/Button/Button.stories.js +1 -1
  47. package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +1 -1
  48. package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +1 -1
  49. package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +1 -1
  50. package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +1 -1
  51. package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +1 -1
  52. package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +1 -1
  53. package/dist/stories/shared/ui/FormModal/FormModal.stories.js +1 -1
  54. package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +1 -1
  55. package/dist/stories/shared/ui/Logo/Logo.stories.js +1 -1
  56. package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +1 -1
  57. package/dist/stories/shared/ui/Modal/Modal.stories.js +1 -1
  58. package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +1 -1
  59. package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +1 -1
  60. package/dist/stories/shared/ui/Select/Select.stories.js +1 -1
  61. package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +1 -1
  62. package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +1 -1
  63. package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +1 -1
  64. package/dist/stories/shared/ui/Switcher/Switcher.stories.js +1 -1
  65. package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +1 -1
  66. package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +1 -1
  67. package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
  68. package/dist/{useLotCard-CYcRSogE.js → useLotCard-DG9doKCX.js} +1 -1
  69. package/dist/useSortSelect-B8HOGdOt.js +79 -0
  70. package/package.json +1 -1
  71. package/dist/chunk-4WY6JWTD-BeveLKf_.js +0 -1582
  72. package/dist/useSortSelect-Cy3od4ig.js +0 -80
package/dist/App.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import o from "./layout/Layout.js";
3
- import t from "./Router.js";
4
- import { B as p } from "./chunk-4WY6JWTD-BeveLKf_.js";
2
+ import { B as o } from "./Menu-CdJTzN7T.js";
3
+ import t from "./layout/Layout.js";
4
+ import p from "./Router.js";
5
5
  function u() {
6
- return /* @__PURE__ */ r(p, { children: /* @__PURE__ */ r(o, { children: /* @__PURE__ */ r(t, {}) }) });
6
+ return /* @__PURE__ */ r(o, { children: /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(p, {}) }) });
7
7
  }
8
8
  export {
9
9
  u as default
@@ -0,0 +1,494 @@
1
+ import { jsxs as j, jsx as w } from "react/jsx-runtime";
2
+ import * as u from "react";
3
+ import "react-dom";
4
+ import { c as $, l as ee, b as te, N as D, s as S, w as X, u as ne, d as re, e as W, f as P, g as I, D as ae, i as N, m as z, h as oe, j as ie, k as le, n as se } from "./index-CBdtKu-u.js";
5
+ import { NewIcon as ce } from "./components/NewIcon/ui/NewIcon.js";
6
+ /**
7
+ * React Router DOM v6.30.1
8
+ *
9
+ * Copyright (c) Remix Software Inc.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE.md file in the root directory of this source tree.
13
+ *
14
+ * @license MIT
15
+ */
16
+ function x() {
17
+ return x = Object.assign ? Object.assign.bind() : function(e) {
18
+ for (var n = 1; n < arguments.length; n++) {
19
+ var r = arguments[n];
20
+ for (var a in r)
21
+ Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
22
+ }
23
+ return e;
24
+ }, x.apply(this, arguments);
25
+ }
26
+ function M(e, n) {
27
+ if (e == null) return {};
28
+ var r = {}, a = Object.keys(e), t, o;
29
+ for (o = 0; o < a.length; o++)
30
+ t = a[o], !(n.indexOf(t) >= 0) && (r[t] = e[t]);
31
+ return r;
32
+ }
33
+ const L = "get", _ = "application/x-www-form-urlencoded";
34
+ function F(e) {
35
+ return e != null && typeof e.tagName == "string";
36
+ }
37
+ function ue(e) {
38
+ return F(e) && e.tagName.toLowerCase() === "button";
39
+ }
40
+ function fe(e) {
41
+ return F(e) && e.tagName.toLowerCase() === "form";
42
+ }
43
+ function me(e) {
44
+ return F(e) && e.tagName.toLowerCase() === "input";
45
+ }
46
+ function de(e) {
47
+ return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
48
+ }
49
+ function pe(e, n) {
50
+ return e.button === 0 && // Ignore everything but left clicks
51
+ (!n || n === "_self") && // Let browser handle "target=_blank" etc.
52
+ !de(e);
53
+ }
54
+ let T = null;
55
+ function he() {
56
+ if (T === null)
57
+ try {
58
+ new FormData(
59
+ document.createElement("form"),
60
+ // @ts-expect-error if FormData supports the submitter parameter, this will throw
61
+ 0
62
+ ), T = !1;
63
+ } catch {
64
+ T = !0;
65
+ }
66
+ return T;
67
+ }
68
+ const ve = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
69
+ function U(e) {
70
+ return e != null && !ve.has(e) ? (process.env.NODE_ENV !== "production" && X(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + _ + '"')), null) : e;
71
+ }
72
+ function we(e, n) {
73
+ let r, a, t, o, i;
74
+ if (fe(e)) {
75
+ let s = e.getAttribute("action");
76
+ a = s ? S(s, n) : null, r = e.getAttribute("method") || L, t = U(e.getAttribute("enctype")) || _, o = new FormData(e);
77
+ } else if (ue(e) || me(e) && (e.type === "submit" || e.type === "image")) {
78
+ let s = e.form;
79
+ if (s == null)
80
+ throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
81
+ let c = e.getAttribute("formaction") || s.getAttribute("action");
82
+ if (a = c ? S(c, n) : null, r = e.getAttribute("formmethod") || s.getAttribute("method") || L, t = U(e.getAttribute("formenctype")) || U(s.getAttribute("enctype")) || _, o = new FormData(s, e), !he()) {
83
+ let {
84
+ name: l,
85
+ type: f,
86
+ value: m
87
+ } = e;
88
+ if (f === "image") {
89
+ let v = l ? l + "." : "";
90
+ o.append(v + "x", "0"), o.append(v + "y", "0");
91
+ } else l && o.append(l, m);
92
+ }
93
+ } else {
94
+ if (F(e))
95
+ throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
96
+ r = L, a = null, t = _, i = e;
97
+ }
98
+ return o && t === "text/plain" && (i = o, o = void 0), {
99
+ action: a,
100
+ method: r.toLowerCase(),
101
+ encType: t,
102
+ formData: o,
103
+ body: i
104
+ };
105
+ }
106
+ const ye = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset", "viewTransition"], be = ["aria-current", "caseSensitive", "className", "end", "style", "to", "viewTransition", "children"], ge = ["fetcherKey", "navigate", "reloadDocument", "replace", "state", "method", "action", "onSubmit", "relative", "preventScrollReset", "viewTransition"], Ee = "6";
107
+ try {
108
+ window.__reactRouterVersion = Ee;
109
+ } catch {
110
+ }
111
+ const Y = /* @__PURE__ */ u.createContext({
112
+ isTransitioning: !1
113
+ });
114
+ process.env.NODE_ENV !== "production" && (Y.displayName = "ViewTransition");
115
+ const Se = /* @__PURE__ */ u.createContext(/* @__PURE__ */ new Map());
116
+ process.env.NODE_ENV !== "production" && (Se.displayName = "Fetchers");
117
+ const Ne = "startTransition", q = u[Ne];
118
+ function Ke(e) {
119
+ let {
120
+ basename: n,
121
+ children: r,
122
+ future: a,
123
+ window: t
124
+ } = e, o = u.useRef();
125
+ o.current == null && (o.current = $({
126
+ window: t,
127
+ v5Compat: !0
128
+ }));
129
+ let i = o.current, [s, c] = u.useState({
130
+ action: i.action,
131
+ location: i.location
132
+ }), {
133
+ v7_startTransition: l
134
+ } = a || {}, f = u.useCallback((m) => {
135
+ l && q ? q(() => c(m)) : c(m);
136
+ }, [c, l]);
137
+ return u.useLayoutEffect(() => i.listen(f), [i, f]), u.useEffect(() => ee(a), [a]), /* @__PURE__ */ u.createElement(te, {
138
+ basename: n,
139
+ children: r,
140
+ location: s.location,
141
+ navigationType: s.action,
142
+ navigator: i,
143
+ future: a
144
+ });
145
+ }
146
+ process.env.NODE_ENV;
147
+ const xe = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Ce = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, B = /* @__PURE__ */ u.forwardRef(function(n, r) {
148
+ let {
149
+ onClick: a,
150
+ relative: t,
151
+ reloadDocument: o,
152
+ replace: i,
153
+ state: s,
154
+ target: c,
155
+ to: l,
156
+ preventScrollReset: f,
157
+ viewTransition: m
158
+ } = n, v = M(n, ye), {
159
+ basename: C
160
+ } = u.useContext(D), y, b = !1;
161
+ if (typeof l == "string" && Ce.test(l) && (y = l, xe))
162
+ try {
163
+ let h = new URL(window.location.href), p = l.startsWith("//") ? new URL(h.protocol + l) : new URL(l), R = S(p.pathname, C);
164
+ p.origin === h.origin && R != null ? l = R + p.search + p.hash : b = !0;
165
+ } catch {
166
+ process.env.NODE_ENV !== "production" && X(!1, '<Link to="' + l + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
167
+ }
168
+ let g = ne(l, {
169
+ relative: t
170
+ }), E = _e(l, {
171
+ replace: i,
172
+ state: s,
173
+ target: c,
174
+ preventScrollReset: f,
175
+ relative: t,
176
+ viewTransition: m
177
+ });
178
+ function d(h) {
179
+ a && a(h), h.defaultPrevented || E(h);
180
+ }
181
+ return (
182
+ // eslint-disable-next-line jsx-a11y/anchor-has-content
183
+ /* @__PURE__ */ u.createElement("a", x({}, v, {
184
+ href: y || g,
185
+ onClick: b || o ? a : d,
186
+ ref: r,
187
+ target: c
188
+ }))
189
+ );
190
+ });
191
+ process.env.NODE_ENV !== "production" && (B.displayName = "Link");
192
+ const Re = /* @__PURE__ */ u.forwardRef(function(n, r) {
193
+ let {
194
+ "aria-current": a = "page",
195
+ caseSensitive: t = !1,
196
+ className: o = "",
197
+ end: i = !1,
198
+ style: s,
199
+ to: c,
200
+ viewTransition: l,
201
+ children: f
202
+ } = n, m = M(n, be), v = P(c, {
203
+ relative: m.relative
204
+ }), C = W(), y = u.useContext(ae), {
205
+ navigator: b,
206
+ basename: g
207
+ } = u.useContext(D), E = y != null && // Conditional usage is OK here because the usage of a data router is static
208
+ // eslint-disable-next-line react-hooks/rules-of-hooks
209
+ Ve(v) && l === !0, d = b.encodeLocation ? b.encodeLocation(v).pathname : v.pathname, h = C.pathname, p = y && y.navigation && y.navigation.location ? y.navigation.location.pathname : null;
210
+ t || (h = h.toLowerCase(), p = p ? p.toLowerCase() : null, d = d.toLowerCase()), p && g && (p = S(p, g) || p);
211
+ const R = d !== "/" && d.endsWith("/") ? d.length - 1 : d.length;
212
+ let O = h === d || !i && h.startsWith(d) && h.charAt(R) === "/", K = p != null && (p === d || !i && p.startsWith(d) && p.charAt(d.length) === "/"), V = {
213
+ isActive: O,
214
+ isPending: K,
215
+ isTransitioning: E
216
+ }, Q = O ? a : void 0, A;
217
+ typeof o == "function" ? A = o(V) : A = [o, O ? "active" : null, K ? "pending" : null, E ? "transitioning" : null].filter(Boolean).join(" ");
218
+ let Z = typeof s == "function" ? s(V) : s;
219
+ return /* @__PURE__ */ u.createElement(B, x({}, m, {
220
+ "aria-current": Q,
221
+ className: A,
222
+ ref: r,
223
+ style: Z,
224
+ to: c,
225
+ viewTransition: l
226
+ }), typeof f == "function" ? f(V) : f);
227
+ });
228
+ process.env.NODE_ENV !== "production" && (Re.displayName = "NavLink");
229
+ const Te = /* @__PURE__ */ u.forwardRef((e, n) => {
230
+ let {
231
+ fetcherKey: r,
232
+ navigate: a,
233
+ reloadDocument: t,
234
+ replace: o,
235
+ state: i,
236
+ method: s = L,
237
+ action: c,
238
+ onSubmit: l,
239
+ relative: f,
240
+ preventScrollReset: m,
241
+ viewTransition: v
242
+ } = e, C = M(e, ge), y = Fe(), b = Oe(c, {
243
+ relative: f
244
+ }), g = s.toLowerCase() === "get" ? "get" : "post", E = (d) => {
245
+ if (l && l(d), d.defaultPrevented) return;
246
+ d.preventDefault();
247
+ let h = d.nativeEvent.submitter, p = h?.getAttribute("formmethod") || s;
248
+ y(h || d.currentTarget, {
249
+ fetcherKey: r,
250
+ method: p,
251
+ navigate: a,
252
+ replace: o,
253
+ state: i,
254
+ relative: f,
255
+ preventScrollReset: m,
256
+ viewTransition: v
257
+ });
258
+ };
259
+ return /* @__PURE__ */ u.createElement("form", x({
260
+ ref: n,
261
+ method: g,
262
+ action: b,
263
+ onSubmit: t ? l : E
264
+ }, C));
265
+ });
266
+ process.env.NODE_ENV !== "production" && (Te.displayName = "Form");
267
+ process.env.NODE_ENV;
268
+ var k;
269
+ (function(e) {
270
+ e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFetcher", e.useViewTransitionState = "useViewTransitionState";
271
+ })(k || (k = {}));
272
+ var H;
273
+ (function(e) {
274
+ e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
275
+ })(H || (H = {}));
276
+ function Le(e) {
277
+ return e + " must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router.";
278
+ }
279
+ function J(e) {
280
+ let n = u.useContext(se);
281
+ return n || (process.env.NODE_ENV !== "production" ? N(!1, Le(e)) : N(!1)), n;
282
+ }
283
+ function _e(e, n) {
284
+ let {
285
+ target: r,
286
+ replace: a,
287
+ state: t,
288
+ preventScrollReset: o,
289
+ relative: i,
290
+ viewTransition: s
291
+ } = n === void 0 ? {} : n, c = re(), l = W(), f = P(e, {
292
+ relative: i
293
+ });
294
+ return u.useCallback((m) => {
295
+ if (pe(m, r)) {
296
+ m.preventDefault();
297
+ let v = a !== void 0 ? a : I(l) === I(f);
298
+ c(e, {
299
+ replace: v,
300
+ state: t,
301
+ preventScrollReset: o,
302
+ relative: i,
303
+ viewTransition: s
304
+ });
305
+ }
306
+ }, [l, c, f, a, t, r, e, o, i, s]);
307
+ }
308
+ function ke() {
309
+ if (typeof document > "u")
310
+ throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");
311
+ }
312
+ let De = 0, Pe = () => "__" + String(++De) + "__";
313
+ function Fe() {
314
+ let {
315
+ router: e
316
+ } = J(k.UseSubmit), {
317
+ basename: n
318
+ } = u.useContext(D), r = oe();
319
+ return u.useCallback(function(a, t) {
320
+ t === void 0 && (t = {}), ke();
321
+ let {
322
+ action: o,
323
+ method: i,
324
+ encType: s,
325
+ formData: c,
326
+ body: l
327
+ } = we(a, n);
328
+ if (t.navigate === !1) {
329
+ let f = t.fetcherKey || Pe();
330
+ e.fetch(f, r, t.action || o, {
331
+ preventScrollReset: t.preventScrollReset,
332
+ formData: c,
333
+ body: l,
334
+ formMethod: t.method || i,
335
+ formEncType: t.encType || s,
336
+ flushSync: t.flushSync
337
+ });
338
+ } else
339
+ e.navigate(t.action || o, {
340
+ preventScrollReset: t.preventScrollReset,
341
+ formData: c,
342
+ body: l,
343
+ formMethod: t.method || i,
344
+ formEncType: t.encType || s,
345
+ replace: t.replace,
346
+ state: t.state,
347
+ fromRouteId: r,
348
+ flushSync: t.flushSync,
349
+ viewTransition: t.viewTransition
350
+ });
351
+ }, [e, n, r]);
352
+ }
353
+ function Oe(e, n) {
354
+ let {
355
+ relative: r
356
+ } = n === void 0 ? {} : n, {
357
+ basename: a
358
+ } = u.useContext(D), t = u.useContext(ie);
359
+ t || (process.env.NODE_ENV !== "production" ? N(!1, "useFormAction must be used inside a RouteContext") : N(!1));
360
+ let [o] = t.matches.slice(-1), i = x({}, P(e || ".", {
361
+ relative: r
362
+ })), s = W();
363
+ if (e == null) {
364
+ i.search = s.search;
365
+ let c = new URLSearchParams(i.search), l = c.getAll("index");
366
+ if (l.some((m) => m === "")) {
367
+ c.delete("index"), l.filter((v) => v).forEach((v) => c.append("index", v));
368
+ let m = c.toString();
369
+ i.search = m ? "?" + m : "";
370
+ }
371
+ }
372
+ return (!e || e === ".") && o.route.index && (i.search = i.search ? i.search.replace(/^\?/, "?index&") : "?index"), a !== "/" && (i.pathname = i.pathname === "/" ? a : le([a, i.pathname])), I(i);
373
+ }
374
+ function Ve(e, n) {
375
+ n === void 0 && (n = {});
376
+ let r = u.useContext(Y);
377
+ r == null && (process.env.NODE_ENV !== "production" ? N(!1, "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : N(!1));
378
+ let {
379
+ basename: a
380
+ } = J(k.useViewTransitionState), t = P(e, {
381
+ relative: n.relative
382
+ });
383
+ if (!r.isTransitioning)
384
+ return !1;
385
+ let o = S(r.currentLocation.pathname, a) || r.currentLocation.pathname, i = S(r.nextLocation.pathname, a) || r.nextLocation.pathname;
386
+ return z(t.pathname, i) != null || z(t.pathname, o) != null;
387
+ }
388
+ const Ae = "_root_9577c_1", Ue = "_linkWrap_9577c_8", G = {
389
+ root: Ae,
390
+ linkWrap: Ue
391
+ }, je = () => {
392
+ const e = ({ to: n, title: r }) => /* @__PURE__ */ j(
393
+ B,
394
+ {
395
+ to: n,
396
+ className: G.linkWrap,
397
+ children: [
398
+ r,
399
+ /* @__PURE__ */ w(
400
+ ce,
401
+ {
402
+ size: "24",
403
+ name: "play2",
404
+ deg: "90",
405
+ color: "white"
406
+ }
407
+ )
408
+ ]
409
+ }
410
+ );
411
+ return /* @__PURE__ */ j("div", { className: G.root, children: [
412
+ /* @__PURE__ */ w(
413
+ e,
414
+ {
415
+ to: "/buttons",
416
+ title: "КНОПКИ"
417
+ }
418
+ ),
419
+ /* @__PURE__ */ w(
420
+ e,
421
+ {
422
+ to: "/modals",
423
+ title: "МОДАЛКИ"
424
+ }
425
+ ),
426
+ /* @__PURE__ */ w(
427
+ e,
428
+ {
429
+ to: "/tabs",
430
+ title: "ТАБЫ"
431
+ }
432
+ ),
433
+ /* @__PURE__ */ w(
434
+ e,
435
+ {
436
+ to: "/icons",
437
+ title: "ИКОНКИ"
438
+ }
439
+ ),
440
+ /* @__PURE__ */ w(
441
+ e,
442
+ {
443
+ to: "/lots",
444
+ title: "ЛОТЫ"
445
+ }
446
+ ),
447
+ /* @__PURE__ */ w(
448
+ e,
449
+ {
450
+ to: "/tags",
451
+ title: "ТЭГИ"
452
+ }
453
+ ),
454
+ /* @__PURE__ */ w(
455
+ e,
456
+ {
457
+ to: "/select",
458
+ title: "СЕЛЕКТ"
459
+ }
460
+ ),
461
+ /* @__PURE__ */ w(
462
+ e,
463
+ {
464
+ to: "/forms",
465
+ title: "ФОРМЫ"
466
+ }
467
+ ),
468
+ /* @__PURE__ */ w(
469
+ e,
470
+ {
471
+ to: "/logo",
472
+ title: "ЛОГО"
473
+ }
474
+ ),
475
+ /* @__PURE__ */ w(
476
+ e,
477
+ {
478
+ to: "/input",
479
+ title: "ИНПУТЫ"
480
+ }
481
+ ),
482
+ /* @__PURE__ */ w(
483
+ e,
484
+ {
485
+ to: "/checkbox",
486
+ title: "ЧЕКБОКСЫ"
487
+ }
488
+ )
489
+ ] });
490
+ };
491
+ export {
492
+ Ke as B,
493
+ je as M
494
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as O, jsx as n } from "react/jsx-runtime";
2
- import { c as g } from "./index-YnD2EP-S.js";
2
+ import { c as g } from "./index-B2JRaoNz.js";
3
3
  import { NewIcon as m } from "./components/NewIcon/ui/NewIcon.js";
4
4
  const C = "_multiSelectWrapper_1vjmo_1", b = "_selectedOptions_1vjmo_8", h = "_selectedText_1vjmo_26", f = "_selectedOptionsBtn_1vjmo_34", k = "_selectedOptionsOpened_1vjmo_60", y = "_selectedOptionsNotEmpty_1vjmo_64", D = "_selectOptionsDisabled_1vjmo_69", x = "_optionsOuterContainer_1vjmo_76", S = "_optionsList_1vjmo_89", B = "_lastList_1vjmo_118", L = "_listRight_1vjmo_123", N = "_inputWrapper_1vjmo_127", W = "_option_1vjmo_76", A = "_category_1vjmo_149", w = "_leftSide_1vjmo_155", E = "_optionCategory_1vjmo_160", R = "_optionDisabled_1vjmo_166", T = "_optionClickable_1vjmo_170", U = "_icon_1vjmo_174", $ = "_iconArrow_1vjmo_180", q = "_iconBtn_1vjmo_186", t = {
5
5
  multiSelectWrapper: C,
package/dist/Router.js CHANGED
@@ -11,7 +11,7 @@ import f from "./pages/FormsPage/FormsPage.js";
11
11
  import { LogoPage as g } from "./pages/LogoPage/LogoPage.js";
12
12
  import { InputPage as h } from "./pages/InputPage/InputPage.js";
13
13
  import { CheckBoxPage as P } from "./pages/CheckboxPage/CheckboxPage.js";
14
- import { R as c, a as t } from "./chunk-4WY6JWTD-BeveLKf_.js";
14
+ import { R as c, a as t } from "./index-CBdtKu-u.js";
15
15
  const H = () => /* @__PURE__ */ o(c, { children: [
16
16
  /* @__PURE__ */ e(
17
17
  t,
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as m, Fragment as r } from "react/jsx-runtime";
2
- import { c as k } from "../../../index-YnD2EP-S.js";
2
+ import { c as k } from "../../../index-B2JRaoNz.js";
3
3
  import { NewIcon as y } from "../../NewIcon/ui/NewIcon.js";
4
4
  const w = "_btnCommon_1n16j_1", f = "_btnLoading_1n16j_20", C = "_pre_1n16j_24", N = "_post_1n16j_25", p = "_isHidden_1n16j_29", v = "_blue_1n16j_73", H = "_lightBlue_1n16j_87", S = "_sokolniki_1n16j_102", B = "_black_1n16j_116", L = "_gray_1n16j_130", $ = "_whiteStroke_1n16j_144", x = "_whiteFilled_1n16j_156", F = "_shade_1n16j_170", I = "_transparent_1n16j_176", q = "_volodiyaLight_1n16j_197", A = "_loader_1n16j_203", D = "_LoaderSpin_1n16j_1", e = {
5
5
  btnCommon: w,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as _, jsx as o } from "react/jsx-runtime";
2
- import { c as m } from "../../index-YnD2EP-S.js";
2
+ import { c as m } from "../../index-B2JRaoNz.js";
3
3
  import { forwardRef as h } from "react";
4
4
  import { Input as p } from "../Input/ui/Input.js";
5
5
  import { NewIcon as d } from "../NewIcon/ui/NewIcon.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as o, jsx as a } from "react/jsx-runtime";
2
- import { c as h } from "../../../index-YnD2EP-S.js";
2
+ import { c as h } from "../../../index-B2JRaoNz.js";
3
3
  const _ = "_root_19qpl_1", b = "_nameWrapper_19qpl_8", d = "_large_19qpl_18", x = "_clearBtn_19qpl_25", k = "_checkboxWrapper_19qpl_40", m = "_checkboxItem_19qpl_46", I = "_checkboxItemActive_19qpl_64", q = "_checkboxItemDisabled_19qpl_76", v = "_checkBoxLarge_19qpl_81", e = {
4
4
  root: _,
5
5
  nameWrapper: b,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
- import { c as g } from "../../index-YnD2EP-S.js";
2
+ import { c as g } from "../../index-B2JRaoNz.js";
3
3
  import { fmtNumber as w } from "../../shared/fmtNumber.js";
4
4
  import { Price as W } from "./components/Price/Price.js";
5
5
  import { Snippets as f } from "./components/Snippets/Snippets.js";
@@ -1,13 +1,13 @@
1
1
  import { jsxs as o, jsx as c } from "react/jsx-runtime";
2
- import { c as P } from "../../../../index-YnD2EP-S.js";
2
+ import { c as P } from "../../../../index-B2JRaoNz.js";
3
3
  import { formatPrice as g } from "../../utils/formatPrice.js";
4
4
  import { NewIcon as y } from "../../../NewIcon/ui/NewIcon.js";
5
- const N = "_root_u8cpd_1", w = "_price_u8cpd_7", b = "_paymentWrapper_u8cpd_19", x = "_rootVertical_u8cpd_39", r = {
5
+ const N = "_root_z3d8u_1", w = "_price_z3d8u_7", z = "_paymentWrapper_z3d8u_19", b = "_rootVertical_z3d8u_36", r = {
6
6
  root: N,
7
7
  price: w,
8
- paymentWrapper: b,
9
- rootVertical: x
10
- }, V = P.bind(r), S = ({ lot: i, onPriceClickHandler: s, isVertical: n }) => {
8
+ paymentWrapper: z,
9
+ rootVertical: b
10
+ }, x = P.bind(r), B = ({ lot: i, onPriceClickHandler: s, isVertical: p }) => {
11
11
  const {
12
12
  project: l,
13
13
  sellingPriceBeforeDiscount: m,
@@ -15,13 +15,13 @@ const N = "_root_u8cpd_1", w = "_price_u8cpd_7", b = "_paymentWrapper_u8cpd_19",
15
15
  direction: _,
16
16
  specialProgram: f,
17
17
  sellingPrice: h
18
- } = i || {}, u = !!l?.showPriceSubType?.some((e) => Number(e.filter) === i.subType), t = !!f, p = m ?? h, a = p && d && !t && u;
19
- return /* @__PURE__ */ o("div", { className: V(r.root, { [r.rootVertical]: n }), children: [
20
- a && /* @__PURE__ */ o("p", { className: r.price, children: [
18
+ } = i || {}, u = !!l?.showPriceSubType?.some((e) => Number(e.filter) === i.subType), t = !!f, a = m ?? h, n = a && d && !t && u;
19
+ return /* @__PURE__ */ o("div", { className: x(r.root, { [r.rootVertical]: p }), children: [
20
+ n && /* @__PURE__ */ o("p", { className: r.price, children: [
21
21
  " ",
22
- g(p, !1, _)
22
+ g(a, !1, _)
23
23
  ] }),
24
- !a && /* @__PURE__ */ o(
24
+ !n && /* @__PURE__ */ o(
25
25
  "p",
26
26
  {
27
27
  className: r.price,
@@ -47,5 +47,5 @@ const N = "_root_u8cpd_1", w = "_price_u8cpd_7", b = "_paymentWrapper_u8cpd_19",
47
47
  ] });
48
48
  };
49
49
  export {
50
- S as Price
50
+ B as Price
51
51
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as f, jsx as o } from "react/jsx-runtime";
2
2
  import { useState as A } from "react";
3
3
  import { getTagsFeatures as B } from "../../utils/getTagsFeatures.js";
4
- import { c as I } from "../../../../index-YnD2EP-S.js";
4
+ import { c as I } from "../../../../index-B2JRaoNz.js";
5
5
  import { useClientWidth as k } from "../../../../shared/useClientWidth.js";
6
6
  import { NewIcon as C } from "../../../NewIcon/ui/NewIcon.js";
7
7
  const M = "_snippet_1vgdm_1", W = "_snippetLast_1vgdm_9", j = "_snippets_1vgdm_25", D = "_retailSnippets_1vgdm_30", E = "_shownSnippets_1vgdm_35", F = "_addSnippets_1vgdm_64", T = "_addSnippetsActive_1vgdm_80", V = "_addSnippetsList_1vgdm_85", y = "_closeSnippetBtn_1vgdm_129", t = {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as s, jsx as i } from "react/jsx-runtime";
2
- import { c as z } from "../../../index-YnD2EP-S.js";
2
+ import { c as z } from "../../../index-B2JRaoNz.js";
3
3
  const N = "_destination_1c7de_1", x = "_destinationName_1c7de_40", w = "_routeText_1c7de_45", g = "_whiteStroke_1c7de_65", k = "_routeWrapper_1c7de_78", e = {
4
4
  destination: N,
5
5
  "auto-width": "_auto-width_1c7de_29",
@@ -38,6 +38,6 @@ export declare const useFilterWithSave: ({ selectedTabs, selectedValues, onClick
38
38
  value: string;
39
39
  state: boolean;
40
40
  }[]>>;
41
- containerRef: import('react').RefObject<HTMLDivElement | null>;
41
+ containerRef: import('react').MutableRefObject<HTMLDivElement | null>;
42
42
  };
43
43
  export {};
@@ -1,6 +1,6 @@
1
1
  import { jsxs as d, Fragment as I, jsx as t } from "react/jsx-runtime";
2
- import { O as M } from "../../../Option-CtwUzW8a.js";
3
- import { g as D } from "../../../index-YnD2EP-S.js";
2
+ import { O as M } from "../../../Option-rFBMQAPk.js";
3
+ import { g as D } from "../../../index-B2JRaoNz.js";
4
4
  import { useFilterWithSave as P } from "../hooks/useFilterWithSave.js";
5
5
  import { NewIcon as S } from "../../NewIcon/ui/NewIcon.js";
6
6
  import { TabSwitcher as _ } from "../../TabSwitcher/ui/TabSwitcher.js";
@@ -26,6 +26,11 @@ const G = "_root_1v1y9_1", H = "_filterWithSaveModal_1v1y9_15", J = "_modalAddBo
26
26
  desktopWrapperOpen: le
27
27
  };
28
28
  var N = { exports: {} };
29
+ /*!
30
+ Copyright (c) 2018 Jed Watson.
31
+ Licensed under the MIT License (MIT), see
32
+ http://jedwatson.github.io/classnames
33
+ */
29
34
  var A;
30
35
  function oe() {
31
36
  return A || (A = 1, (function(v) {
@@ -1,5 +1,5 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { c as t } from "../../../index-YnD2EP-S.js";
2
+ import { c as t } from "../../../index-B2JRaoNz.js";
3
3
  const o = "_root_fi64k_1", _ = {
4
4
  root: o,
5
5
  "gap-1": "_gap-1_fi64k_5",