@yakavkaz/uikit 0.0.7 → 0.0.10
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.
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/select/Select.d.ts +2 -2
- package/dist/components/select/Select.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +187 -182
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +83 -83
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as A, jsxs as
|
|
1
|
+
import { jsx as A, jsxs as e, Fragment as k } from "react/jsx-runtime";
|
|
2
2
|
import * as l from "@radix-ui/react-select";
|
|
3
|
-
import { forwardRef as
|
|
3
|
+
import { forwardRef as E, memo as b, useId as r, useMemo as q, useState as V } from "react";
|
|
4
4
|
import x, { clsx as _ } from "clsx";
|
|
5
5
|
import { Slot as o } from "@radix-ui/react-slot";
|
|
6
6
|
import * as S from "@radix-ui/react-checkbox";
|
|
7
7
|
import * as $ from "@radix-ui/react-label";
|
|
8
8
|
import * as Z from "@radix-ui/react-dropdown-menu";
|
|
9
|
-
const AA = (
|
|
9
|
+
const AA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M16.175 13H4v-2h12.175l-5.6-5.6L12 4l8 8-8 8-1.425-1.4z" }) }), gA = E(AA), BA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 380 100", ref: g, ...B, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M237.5 166.759V214h-95v-47.241zM47.5 34.483c0 26.09 21.266 47.241 47.5 47.241v47.242c-52.467 0-95-42.302-95-94.483zM95 34.483c52.467 0 95 42.301 95 94.483h-47.5c0-26.091-21.266-47.242-47.5-47.242zM285 81.724c-26.234 0-47.5 21.151-47.5 47.242H190c0-52.182 42.533-94.483 95-94.483zM380 34.483c0 52.181-42.533 94.483-95 94.483V81.724c26.234 0 47.5-21.15 47.5-47.241zM142.5-12.759c-26.234 0-47.5 21.151-47.5 47.242H47.5C47.5-17.7 90.033-60 142.5-60zM237.5-60c52.467 0 95 42.301 95 94.483H285c0-26.09-21.266-47.242-47.5-47.242z" }) }), U = E(BA), eA = (B, g) => /* @__PURE__ */ e(
|
|
10
10
|
"svg",
|
|
11
11
|
{
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14,7 +14,7 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
14
14
|
fill: "none",
|
|
15
15
|
viewBox: "0 0 274 395",
|
|
16
16
|
ref: g,
|
|
17
|
-
...
|
|
17
|
+
...B,
|
|
18
18
|
children: [
|
|
19
19
|
/* @__PURE__ */ A("path", { fill: "#00AA85", d: "M342.5 326.897V395h-137v-68.103z" }),
|
|
20
20
|
/* @__PURE__ */ A("path", { fill: "url(#banner_bg_yak_half_news_svg__a)", d: "M342.5 326.897V395h-137v-68.103z" }),
|
|
@@ -102,7 +102,7 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
102
102
|
d: "M342.5 0c75.663 0 137 60.982 137 136.207H411c0-37.613-30.668-68.104-68.5-68.104z"
|
|
103
103
|
}
|
|
104
104
|
),
|
|
105
|
-
/* @__PURE__ */
|
|
105
|
+
/* @__PURE__ */ e("defs", { children: [
|
|
106
106
|
/* @__PURE__ */ A(
|
|
107
107
|
"pattern",
|
|
108
108
|
{
|
|
@@ -228,71 +228,71 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
228
228
|
] })
|
|
229
229
|
]
|
|
230
230
|
}
|
|
231
|
-
), cA =
|
|
231
|
+
), cA = E(eA), MA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: [
|
|
232
232
|
/* @__PURE__ */ A("g", { clipPath: "url(#checkmark-outline_svg__a)", children: /* @__PURE__ */ A("path", { fill: "#000", d: "M9.86 18a1 1 0 0 1-.73-.32l-4.86-5.17a1.001 1.001 0 0 1 1.46-1.37l4.12 4.39 8.41-9.2a1 1 0 1 1 1.48 1.34l-9.14 10a1 1 0 0 1-.73.33z" }) }),
|
|
233
233
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "checkmark-outline_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
234
|
-
] }), YA =
|
|
234
|
+
] }), YA = E(MA), iA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: [
|
|
235
235
|
/* @__PURE__ */ A("g", { clipPath: "url(#close_svg__a)", children: /* @__PURE__ */ A("path", { fill: "#000", d: "m13.41 12 4.3-4.29a1.004 1.004 0 1 0-1.42-1.42L12 10.59l-4.29-4.3a1.004 1.004 0 0 0-1.42 1.42l4.3 4.29-4.3 4.29a1 1 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219l4.29-4.3 4.29 4.3a1.002 1.002 0 0 0 1.639-.325 1 1 0 0 0-.219-1.095z" }) }),
|
|
236
236
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "close_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
237
|
-
] }), EA =
|
|
238
|
-
/* @__PURE__ */
|
|
237
|
+
] }), EA = E(iA), IA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: [
|
|
238
|
+
/* @__PURE__ */ e("g", { fill: "#000", clipPath: "url(#eye-off-outline_svg__a)", children: [
|
|
239
239
|
/* @__PURE__ */ A("path", { d: "M4.71 3.29a1.004 1.004 0 1 0-1.42 1.42l5.63 5.63a3.5 3.5 0 0 0 4.74 4.74l5.63 5.63a1.002 1.002 0 0 0 1.639-.325 1 1 0 0 0-.219-1.095zM12 13.5a1.5 1.5 0 0 1-1.5-1.5v-.07l1.56 1.56z" }),
|
|
240
240
|
/* @__PURE__ */ A("path", { d: "M12.22 17c-4.3.1-7.12-3.59-8-5 .626-1 1.38-1.914 2.24-2.72L5 7.87a15.9 15.9 0 0 0-2.87 3.63 1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25a9.5 9.5 0 0 0 3.23-.67l-1.58-1.58a7.7 7.7 0 0 1-1.7.25M21.87 11.5c-.64-1.11-4.17-6.68-10.14-6.5a9.5 9.5 0 0 0-3.23.67l1.58 1.58a7.7 7.7 0 0 1 1.7-.25c4.29-.11 7.11 3.59 8 5a13.7 13.7 0 0 1-2.29 2.72L19 16.13a15.9 15.9 0 0 0 2.91-3.63 1 1 0 0 0-.04-1" })
|
|
241
241
|
] }),
|
|
242
242
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "eye-off-outline_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
243
|
-
] }), xA =
|
|
244
|
-
/* @__PURE__ */
|
|
243
|
+
] }), xA = E(IA), wA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: [
|
|
244
|
+
/* @__PURE__ */ e("g", { fill: "#000", clipPath: "url(#eye-off_svg__a)", children: [
|
|
245
245
|
/* @__PURE__ */ A("path", { d: "M12 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M15.29 18.12 14 16.78l-.07-.07-1.27-1.27A3.5 3.5 0 0 1 8.5 12a4 4 0 0 1 .06-.61l-2-2L5 7.87a15.9 15.9 0 0 0-2.87 3.63 1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25a9.5 9.5 0 0 0 3.23-.67zM8.59 5.76l2.8 2.8A4 4 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5 4 4 0 0 1-.06.61l2.68 2.68.84.84a15.9 15.9 0 0 0 2.91-3.63 1 1 0 0 0 0-1c-.64-1.11-4.16-6.68-10.14-6.5a9.5 9.5 0 0 0-3.23.67z" }),
|
|
246
246
|
/* @__PURE__ */ A("path", { d: "M20.71 19.29 19.41 18l-2-2-9.52-9.53L6.42 5 4.71 3.29a1.004 1.004 0 1 0-1.42 1.42L5.53 7l1.75 1.7 7.31 7.3.07.07L16 17.41l.59.59 2.7 2.71a1.002 1.002 0 0 0 1.639-.325 1 1 0 0 0-.219-1.095" })
|
|
247
247
|
] }),
|
|
248
248
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "eye-off_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
249
|
-
] }), mA =
|
|
250
|
-
/* @__PURE__ */
|
|
249
|
+
] }), mA = E(wA), nA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: [
|
|
250
|
+
/* @__PURE__ */ e("g", { fill: "#000", clipPath: "url(#eye-outline_svg__a)", children: [
|
|
251
251
|
/* @__PURE__ */ A("path", { d: "M21.87 11.5c-.64-1.11-4.16-6.68-10.14-6.5-5.53.14-8.73 5-9.6 6.5a1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25c5.53-.14 8.74-5 9.6-6.5a1 1 0 0 0 0-1M12.22 17c-4.31.1-7.12-3.59-8-5 1-1.61 3.61-4.9 7.61-5 4.29-.11 7.11 3.59 8 5-1.03 1.61-3.61 4.9-7.61 5" }),
|
|
252
252
|
/* @__PURE__ */ A("path", { d: "M12 8.5a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7m0 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3" })
|
|
253
253
|
] }),
|
|
254
254
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "eye-outline_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
255
|
-
] }), JA =
|
|
256
|
-
/* @__PURE__ */
|
|
255
|
+
] }), JA = E(nA), hA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: [
|
|
256
|
+
/* @__PURE__ */ e("g", { fill: "#000", clipPath: "url(#eye_svg__a)", children: [
|
|
257
257
|
/* @__PURE__ */ A("path", { d: "M12 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3" }),
|
|
258
258
|
/* @__PURE__ */ A("path", { d: "M21.87 11.5c-.64-1.11-4.16-6.68-10.14-6.5-5.53.14-8.73 5-9.6 6.5a1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25c5.53-.14 8.74-5 9.6-6.5a1 1 0 0 0 0-1m-9.87 4a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7" })
|
|
259
259
|
] }),
|
|
260
260
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "eye_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
261
|
-
] }), zA =
|
|
261
|
+
] }), zA = E(hA), CA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M13 9V7h3V3h2v4h3v2zm3 12V11h2v10zM6 21v-4H3v-2h8v2H8v4zm0-8V3h2v10z" }) }), GA = E(CA), lA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 60 60", ref: g, ...B, children: [
|
|
262
262
|
/* @__PURE__ */ A("path", { fill: "#fff", d: "M.5.5h59v59H.5z" }),
|
|
263
263
|
/* @__PURE__ */ A("path", { stroke: "#D9D9D9", d: "M.5.5h59v59H.5z" }),
|
|
264
264
|
/* @__PURE__ */ A("path", { fill: "url(#gos_svg__a)", d: "M44.392 24.615c-.126-1.65-1.385-3.763-2.643-4.778a48 48 0 0 0-4.406-2.876 49 49 0 0 0-4.657-2.452A6.8 6.8 0 0 0 30 14a6.6 6.6 0 0 0-2.685.508 49 49 0 0 0-4.658 2.452 85 85 0 0 0-4.405 2.876 7.8 7.8 0 0 0-2.24 3.13c-.122.311.119.633.453.633h1.664c.372 0 .707-.21.91-.52a6.4 6.4 0 0 1 1.254-1.414s1.628-1.144 3.637-2.358a41 41 0 0 1 3.846-2.01 5.5 5.5 0 0 1 2.217-.417 5.6 5.6 0 0 1 2.217.416q1.976.903 3.846 2.011a40 40 0 0 1 3.637 2.358c1.04.832 2.079 2.566 2.183 3.918 0 0 .242 2.011.277 4.393a41 41 0 0 1-.242 4.404 6.42 6.42 0 0 1-2.218 3.918s-1.628 1.179-3.637 2.393a41 41 0 0 1-3.846 2.01 5.5 5.5 0 0 1-2.217.417 5.6 5.6 0 0 1-2.217-.406 41 41 0 0 1-3.846-2.011 45 45 0 0 1-3.637-2.392c-.43-.344-.858-.841-1.224-1.402a1.08 1.08 0 0 0-.897-.508h-1.695c-.338 0-.578.33-.445.64.513 1.212 1.366 2.406 2.22 3.094 0 0 1.972 1.48 4.406 2.917a49 49 0 0 0 4.657 2.453 6.8 6.8 0 0 0 2.685.495c.92.019 1.835-.154 2.686-.508a49 49 0 0 0 4.657-2.453c2.433-1.48 4.406-2.917 4.406-2.917a7.84 7.84 0 0 0 2.685-4.778 51 51 0 0 0 .294-5.37 58 58 0 0 0-.336-5.358" }),
|
|
265
265
|
/* @__PURE__ */ A("path", { fill: "#0066B3", d: "M15.273 26.482a.64.64 0 0 1 .64-.64h9.92a.64.64 0 0 1 .64.64v1.92a.64.64 0 0 1-.64.64h-10.56z" }),
|
|
266
266
|
/* @__PURE__ */ A("path", { fill: "#EE2F53", d: "M15.273 30.961h20.16a.64.64 0 0 1 .64.64v1.92a.64.64 0 0 1-.64.64h-19.52a.64.64 0 0 1-.64-.64z" }),
|
|
267
|
-
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */
|
|
267
|
+
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ e("linearGradient", { id: "gos_svg__a", x1: 30.26, x2: 30.26, y1: 14, y2: 46, gradientUnits: "userSpaceOnUse", children: [
|
|
268
268
|
/* @__PURE__ */ A("stop", { stopColor: "#0066B3" }),
|
|
269
269
|
/* @__PURE__ */ A("stop", { offset: 0.354, stopColor: "#0066B3" }),
|
|
270
270
|
/* @__PURE__ */ A("stop", { offset: 0.688, stopColor: "#EE2F53" }),
|
|
271
271
|
/* @__PURE__ */ A("stop", { offset: 1, stopColor: "#EE2F53" })
|
|
272
272
|
] }) })
|
|
273
|
-
] }), aA =
|
|
273
|
+
] }), aA = E(lA), oA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M5 19V5v4.475V9zm2-6h5.525q.05-.55.25-1.05t.5-.95H7zm0 4h3.925q.425-.5.975-.812t1.15-.513a2 2 0 0 1-.175-.325 3 3 0 0 1-.125-.35H7zm-4 4V3h18v8.45a4.9 4.9 0 0 0-.85-1.15A4.4 4.4 0 0 0 19 9.475V5H5v14h5.05a3.7 3.7 0 0 0-.05.6V21zm14-5q-1.05 0-1.775-.725T14.5 13.5t.725-1.775T17 11t1.775.725.725 1.775-.725 1.775T17 16m-5 5v-1.4q0-.6.313-1.113a1.76 1.76 0 0 1 .887-.737q.9-.375 1.863-.562a10.1 10.1 0 0 1 3.874 0 9.6 9.6 0 0 1 1.863.562q.575.225.887.738Q22 19 22 19.6V21zM7 9h10V7H7z" }) }), QA = E(oA), RA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "m12 15.4-6-6L7.4 8l4.6 4.6L16.6 8 18 9.4z" }) }), sA = E(RA), ZA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M12 22a.93.93 0 0 1-.6-.2 1.2 1.2 0 0 1-.375-.525 14 14 0 0 0-1.2-2.625q-.7-1.225-1.975-2.875t-2.075-3.15Q5 11.125 5 9q0-2.925 2.025-4.95Q9.075 2 12 2t4.95 2.05Q19 6.075 19 9q0 2.275-.875 3.8-.85 1.5-1.975 2.975-1.35 1.8-2.05 3a14 14 0 0 0-1.125 2.5 1.13 1.13 0 0 1-.4.55A.98.98 0 0 1 12 22m0-3.575q.425-.85.95-1.675.55-.825 1.6-2.2 1.075-1.4 1.75-2.575.7-1.2.7-2.975 0-2.075-1.475-3.525Q14.075 4 12 4T8.45 5.475Q7 6.925 7 9q0 1.775.675 2.975A27 27 0 0 0 9.45 14.55q1.05 1.375 1.575 2.2.55.825.975 1.675m0-6.925q1.05 0 1.775-.725T14.5 9t-.725-1.775T12 6.5t-1.775.725T9.5 9t.725 1.775T12 11.5" }) }), OA = E(ZA), fA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 62 62", ref: g, ...B, children: [
|
|
274
274
|
/* @__PURE__ */ A("path", { stroke: "#D9D9D9", d: "M1 1h60v60H1z" }),
|
|
275
275
|
/* @__PURE__ */ A("path", { fill: "#07F", d: "M35.813 31A4.82 4.82 0 0 1 31 35.813 4.82 4.82 0 0 1 26.187 31 4.82 4.82 0 0 1 31 26.187 4.82 4.82 0 0 1 35.813 31M31 15c-8.822 0-16 7.178-16 16s7.178 16 16 16c3.232 0 6.349-.962 9.013-2.783l.046-.032-2.156-2.506-.036.024A12.67 12.67 0 0 1 31 43.72c-7.014 0-12.72-5.706-12.72-12.72S23.986 18.28 31 18.28 43.72 23.986 43.72 31c0 .909-.101 1.829-.3 2.734-.402 1.651-1.558 2.157-2.426 2.09-.873-.071-1.894-.693-1.901-2.215V31c0-4.463-3.63-8.093-8.093-8.093s-8.093 3.63-8.093 8.093 3.63 8.093 8.093 8.093a8.03 8.03 0 0 0 5.734-2.389 5.2 5.2 0 0 0 3.997 2.389q.214.018.431.018a5.4 5.4 0 0 0 3.247-1.096c.959-.728 1.675-1.781 2.071-3.046.063-.204.179-.672.18-.675l.003-.017C46.896 33.262 47 32.25 47 31c0-8.822-7.178-16-16-16" })
|
|
276
|
-
] }), kA =
|
|
276
|
+
] }), kA = E(fA), FA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M3 18v-2h18v2zm0-5v-2h18v2zm0-5V6h18v2z" }) }), uA = E(FA), jA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "m19.6 21-6.3-6.3q-.75.6-1.725.95T9.5 16q-2.725 0-4.612-1.887T3 9.5t1.888-4.612T9.5 3t4.613 1.888T16 9.5a6.1 6.1 0 0 1-1.3 3.8l6.3 6.3zM9.5 14q1.875 0 3.188-1.312Q14 11.375 14 9.5t-1.312-3.187T9.5 5 6.313 6.313 5 9.5t1.313 3.188T9.5 14" }) }), vA = E(jA), DA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: [
|
|
277
277
|
/* @__PURE__ */ A("g", { clipPath: "url(#telegram_svg__a)", children: /* @__PURE__ */ A("path", { fill: "#005341", d: "m9.417 15.181-.397 5.584c.568 0 .814-.244 1.11-.537l2.662-2.545 5.518 4.041c1.012.564 1.725.267 1.998-.931L23.93 3.821l.001-.001c.321-1.496-.54-2.081-1.527-1.714l-21.29 8.151c-1.453.564-1.43 1.374-.247 1.741l5.443 1.693L18.953 5.78c.595-.394 1.136-.176.691.218z" }) }),
|
|
278
278
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "telegram_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
279
|
-
] }), LA =
|
|
279
|
+
] }), LA = E(DA), dA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: [
|
|
280
280
|
/* @__PURE__ */ A("g", { clipPath: "url(#vk_svg__a)", children: /* @__PURE__ */ A("path", { fill: "#005341", d: "M22.316 1.684C20.632 0 17.92 0 12.5 0h-1C6.079 0 3.368 0 1.684 1.684S0 6.08 0 11.5v1c0 5.421 0 8.132 1.684 9.816S6.08 24 11.5 24h1c5.421 0 8.132 0 9.816-1.684S24 17.92 24 12.5v-1c0-5.421 0-8.132-1.684-9.816M19.503 17h-1.75c-.668 0-.863-.532-2.05-1.719-1.039-1.001-1.483-1.13-1.743-1.13-.353 0-.458.099-.458.6v1.569c0 .43-.138.68-1.25.68-1.855 0-3.893-1.126-5.339-3.202-2.17-3.04-2.763-5.34-2.763-5.803 0-.26.1-.495.6-.495H6.5c.448 0 .616.196.784.68.856 2.493 2.3 4.673 2.893 4.673.222 0 .324-.103.324-.668V9.608c-.065-1.186-.695-1.284-.695-1.706 0-.195.167-.402.445-.402h2.75c.372 0 .5.198.5.643v3.467c0 .37.162.5.273.5.223 0 .409-.13.816-.537 1.261-1.41 2.151-3.578 2.151-3.578.112-.26.317-.495.762-.495h1.75c.53 0 .641.272.53.643-.223 1.02-2.355 4.023-2.355 4.023-.186.297-.26.445 0 .779.185.26.797.779 1.205 1.26.752.847 1.318 1.56 1.476 2.052.145.493-.106.743-.606.743" }) }),
|
|
281
281
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "vk_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
|
|
282
|
-
] }), WA =
|
|
282
|
+
] }), WA = E(dA), HA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 62 62", ref: g, ...B, children: [
|
|
283
283
|
/* @__PURE__ */ A("path", { stroke: "#D9D9D9", d: "M1 1h60v60H1z" }),
|
|
284
284
|
/* @__PURE__ */ A("path", { fill: "#07F", d: "M15 30.36c0-7.24 0-10.861 2.25-13.11C19.498 15 23.12 15 30.36 15h1.28c7.24 0 10.861 0 13.11 2.25C47 19.498 47 23.12 47 30.36v1.28c0 7.24 0 10.861-2.25 13.11C42.502 47 38.88 47 31.64 47h-1.28c-7.24 0-10.861 0-13.11-2.25C15 42.502 15 38.88 15 31.64z" }),
|
|
285
285
|
/* @__PURE__ */ A("path", { fill: "#fff", d: "M32.027 38.053c-7.294 0-11.454-5-11.627-13.32h3.653c.12 6.107 2.814 8.694 4.947 9.227v-9.227h3.44V30c2.107-.227 4.32-2.627 5.067-5.267h3.44c-.574 3.254-2.974 5.654-4.68 6.64 1.706.8 4.44 2.894 5.48 6.68H37.96c-.813-2.533-2.84-4.493-5.52-4.76v4.76z" })
|
|
286
|
-
] }), tA =
|
|
286
|
+
] }), tA = E(HA), SA = (B, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...B, children: /* @__PURE__ */ A("path", { fill: "currentColor", fillRule: "evenodd", d: "M19.15 3.27A11.08 11.08 0 0 0 11.264 0C5.118 0 .116 5.001.114 11.149c0 1.965.512 3.883 1.488 5.574L.021 22.5l5.91-1.55a11.14 11.14 0 0 0 5.328 1.357h.005c6.144 0 11.147-5.002 11.149-11.15A11.08 11.08 0 0 0 19.15 3.27m-7.886 17.154h-.004a9.26 9.26 0 0 1-4.717-1.292l-.338-.201-3.508.92.937-3.42-.22-.35a9.24 9.24 0 0 1-1.418-4.932c.002-5.11 4.16-9.266 9.271-9.266 2.475 0 4.802.966 6.552 2.718a9.21 9.21 0 0 1 2.711 6.556c-.002 5.11-4.159 9.267-9.266 9.267m5.083-6.94c-.279-.14-1.649-.814-1.904-.907s-.441-.14-.627.14c-.186.278-.72.906-.882 1.092s-.325.209-.603.07c-.28-.14-1.177-.434-2.24-1.383-.829-.74-1.388-1.651-1.55-1.93-.163-.28-.002-.416.122-.569.301-.374.603-.767.696-.953s.046-.348-.023-.488c-.07-.14-.627-1.51-.86-2.068-.225-.543-.455-.47-.626-.479A11 11 0 0 0 7.316 6c-.186 0-.487.07-.743.35-.255.278-.975.952-.975 2.323 0 1.372.998 2.696 1.138 2.882s1.964 3 4.759 4.207c.664.287 1.183.458 1.588.587.667.212 1.274.182 1.755.11.535-.08 1.648-.674 1.88-1.325s.232-1.208.162-1.324-.255-.186-.533-.326", clipRule: "evenodd" }) }), rA = E(SA), UA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 20 20", ref: g, ...B, children: [
|
|
287
287
|
/* @__PURE__ */ A("g", { clipPath: "url(#x_svg__a)", children: /* @__PURE__ */ A("path", { fill: "#005341", d: "M11.862 8.469 19.147 0h-1.726l-6.326 7.353L6.042 0H.215l7.64 11.12L.215 20h1.726l6.68-7.765L13.958 20h5.828zm-2.365 2.748-.774-1.107-6.16-8.81h2.652l4.971 7.11.774 1.107 6.462 9.242H14.77z" }) }),
|
|
288
288
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ A("clipPath", { id: "x_svg__a", children: /* @__PURE__ */ A("path", { fill: "#fff", d: "M0 0h20v20H0z" }) }) })
|
|
289
|
-
] }), TA =
|
|
289
|
+
] }), TA = E(UA), KA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 34 24", ref: g, ...B, children: [
|
|
290
290
|
/* @__PURE__ */ A("path", { fill: "currentColor", d: "M20.796 19.862V24h-8.319v-4.138zM4.16 8.276c0 2.285 1.861 4.138 4.158 4.138v4.138C3.724 16.552 0 12.847 0 8.276zM8.318 8.276c4.594 0 8.318 3.705 8.318 8.276h-4.159c0-2.286-1.862-4.138-4.159-4.138zM24.955 12.414c-2.297 0-4.16 1.852-4.16 4.138h-4.159c0-4.57 3.724-8.276 8.319-8.276z" }),
|
|
291
291
|
/* @__PURE__ */ A("path", { fill: "currentColor", d: "M33.273 8.276c0 4.57-3.724 8.276-8.319 8.276v-4.138c2.297 0 4.16-1.853 4.16-4.138zM12.477 4.138c-2.297 0-4.159 1.853-4.159 4.138H4.16C4.16 3.706 7.883 0 12.477 0zM20.796 0c4.594 0 8.318 3.705 8.318 8.276h-4.16c0-2.285-1.861-4.138-4.158-4.138z" })
|
|
292
|
-
] }), yA =
|
|
292
|
+
] }), yA = E(KA), XA = (B, g) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 62 62", ref: g, ...B, children: [
|
|
293
293
|
/* @__PURE__ */ A("path", { stroke: "#D9D9D9", d: "M1 1h60v60H1z" }),
|
|
294
294
|
/* @__PURE__ */ A("path", { fill: "#FC3F1D", d: "M36.098 19.328h-2.502c-4.589 0-6.999 2.302-6.999 5.71 0 3.867 1.668 5.663 5.098 7.965l2.827 1.888L26.365 47h-6.071l7.323-10.82c-4.218-2.993-6.582-5.894-6.582-10.82 0-6.17 4.31-10.36 12.514-10.36h8.157v32h-5.608z" })
|
|
295
|
-
] }), NA =
|
|
295
|
+
] }), NA = E(XA), PA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
296
296
|
__proto__: null,
|
|
297
297
|
Arrow: gA,
|
|
298
298
|
BannerBgYak: U,
|
|
@@ -318,10 +318,10 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
318
318
|
X: TA,
|
|
319
319
|
Yak: yA,
|
|
320
320
|
Yandex: NA
|
|
321
|
-
}, Symbol.toStringTag, { value: "Module" })), pA = ({ iconId:
|
|
322
|
-
const Y = PA[
|
|
321
|
+
}, Symbol.toStringTag, { value: "Module" })), pA = ({ iconId: B, ...g }, c) => {
|
|
322
|
+
const Y = PA[B];
|
|
323
323
|
return Y ? /* @__PURE__ */ A(Y, { ...g, ref: c }) : null;
|
|
324
|
-
}, bA =
|
|
324
|
+
}, bA = E(pA), z = b(bA), J = {
|
|
325
325
|
// Заголовки
|
|
326
326
|
display_48_semibold: "display_48_semibold",
|
|
327
327
|
// 48px semibold (бывш. large)
|
|
@@ -399,9 +399,9 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
399
399
|
// 16px
|
|
400
400
|
[J.link_14_regular]: "text-xxs font-regular text-primary-500 underline cursor-pointer"
|
|
401
401
|
// 14px
|
|
402
|
-
}, C =
|
|
403
|
-
({ asChild:
|
|
404
|
-
const I =
|
|
402
|
+
}, C = E(
|
|
403
|
+
({ asChild: B, variant: g = J.text_16_regular, className: c, ...Y }, M) => {
|
|
404
|
+
const I = B ? o : "span", i = qA[g];
|
|
405
405
|
return /* @__PURE__ */ A(
|
|
406
406
|
I,
|
|
407
407
|
{
|
|
@@ -409,7 +409,7 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
409
409
|
className: x(
|
|
410
410
|
"font-primary",
|
|
411
411
|
// Базовый шрифт
|
|
412
|
-
|
|
412
|
+
i,
|
|
413
413
|
c
|
|
414
414
|
),
|
|
415
415
|
...Y
|
|
@@ -418,62 +418,67 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
418
418
|
}
|
|
419
419
|
);
|
|
420
420
|
C.displayName = "Typography";
|
|
421
|
-
const T =
|
|
421
|
+
const T = E(
|
|
422
422
|
({
|
|
423
|
-
children:
|
|
423
|
+
children: B,
|
|
424
424
|
className: g,
|
|
425
|
-
defaultValue: c
|
|
425
|
+
defaultValue: c,
|
|
426
426
|
triggerIcon: Y,
|
|
427
427
|
style: M,
|
|
428
428
|
placeholder: I,
|
|
429
|
-
label:
|
|
429
|
+
label: i,
|
|
430
430
|
labelColor: n,
|
|
431
431
|
...m
|
|
432
|
-
}, w) =>
|
|
433
|
-
|
|
434
|
-
/* @__PURE__ */
|
|
435
|
-
/* @__PURE__ */
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
"
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
{
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
432
|
+
}, w) => {
|
|
433
|
+
const h = m.value !== void 0 ? m : { ...m, defaultValue: c };
|
|
434
|
+
return /* @__PURE__ */ e("div", { className: x("flex flex-col gap-1", g), children: [
|
|
435
|
+
i && /* @__PURE__ */ A(C, { style: { color: n }, variant: "text_16_regular", children: i[0]?.toUpperCase() + i.slice(1) }),
|
|
436
|
+
/* @__PURE__ */ e(l.Root, { ...h, children: [
|
|
437
|
+
/* @__PURE__ */ e(
|
|
438
|
+
l.Trigger,
|
|
439
|
+
{
|
|
440
|
+
ref: w,
|
|
441
|
+
style: M,
|
|
442
|
+
"aria-label": i,
|
|
443
|
+
className: x(
|
|
444
|
+
"inline-flex items-center justify-between gap-2",
|
|
445
|
+
"px-3 py-1.5 text-black",
|
|
446
|
+
"transition-colors",
|
|
447
|
+
"hover:text-light-900",
|
|
448
|
+
"data-[disabled]:text-primary-100",
|
|
449
|
+
"data-[placeholder]:text-primary-100",
|
|
450
|
+
"data-[state=open]:text-light-900 outline-none"
|
|
451
|
+
),
|
|
452
|
+
children: [
|
|
453
|
+
/* @__PURE__ */ A("div", { className: "flex items-center gap-2", children: Y && /* @__PURE__ */ A(l.Icon, { className: "h-6 w-6", children: Y }) }),
|
|
454
|
+
/* @__PURE__ */ A(l.Value, { placeholder: I }),
|
|
455
|
+
/* @__PURE__ */ A(l.Icon, { className: "text-black transition-transform duration-300 data-[state=open]:rotate-180", children: /* @__PURE__ */ A(
|
|
456
|
+
z,
|
|
457
|
+
{
|
|
458
|
+
iconId: "KeyboardArrowDown",
|
|
459
|
+
className: "h-6 w-6"
|
|
460
|
+
}
|
|
461
|
+
) })
|
|
462
|
+
]
|
|
463
|
+
}
|
|
464
|
+
),
|
|
465
|
+
/* @__PURE__ */ A(l.Portal, { children: /* @__PURE__ */ A(
|
|
466
|
+
l.Content,
|
|
467
|
+
{
|
|
468
|
+
className: "z-50 w-[var(--radix-select-trigger-width)] overflow-hidden bg-white shadow-lg",
|
|
469
|
+
position: "popper",
|
|
470
|
+
sideOffset: 4,
|
|
471
|
+
collisionPadding: 10,
|
|
472
|
+
children: /* @__PURE__ */ A(l.Viewport, { className: "max-h-[200px] p-1 overflow-y-auto", children: B })
|
|
473
|
+
}
|
|
474
|
+
) })
|
|
475
|
+
] })
|
|
476
|
+
] });
|
|
477
|
+
}
|
|
473
478
|
);
|
|
474
479
|
T.displayName = "Selector";
|
|
475
|
-
const K =
|
|
476
|
-
({ children:
|
|
480
|
+
const K = E(
|
|
481
|
+
({ children: B, className: g = "", value: c, disabled: Y }, M) => /* @__PURE__ */ A(
|
|
477
482
|
l.Item,
|
|
478
483
|
{
|
|
479
484
|
ref: M,
|
|
@@ -481,36 +486,36 @@ const K = i(
|
|
|
481
486
|
disabled: Y,
|
|
482
487
|
className: x(
|
|
483
488
|
"text-sm relative flex cursor-pointer select-none items-center px-3 py-1.5",
|
|
484
|
-
"
|
|
485
|
-
"
|
|
489
|
+
"data-[highlighted]:text-success-300",
|
|
490
|
+
"data-[disabled]:pointer-events-none data-[disabled]:text-primary-900",
|
|
486
491
|
"outline-none",
|
|
487
492
|
g
|
|
488
493
|
),
|
|
489
|
-
children: /* @__PURE__ */ A(l.ItemText, { children:
|
|
494
|
+
children: /* @__PURE__ */ A(l.ItemText, { children: B })
|
|
490
495
|
}
|
|
491
496
|
)
|
|
492
497
|
);
|
|
493
498
|
K.displayName = "SelectItem";
|
|
494
|
-
const VA =
|
|
495
|
-
const
|
|
496
|
-
return c ? /* @__PURE__ */ A(
|
|
497
|
-
}), _A = (
|
|
499
|
+
const VA = E(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
500
|
+
const i = g ? o : "div";
|
|
501
|
+
return c ? /* @__PURE__ */ A(i, { ref: I, className: x("w-full", Y), ...M, children: c }) : /* @__PURE__ */ A("div", { ref: I, className: x("w-full bg-light-100", Y), ...M, children: "Пустая карточка" });
|
|
502
|
+
}), _A = (B) => {
|
|
498
503
|
const g = r();
|
|
499
|
-
return
|
|
500
|
-
}, $A =
|
|
501
|
-
({ checked:
|
|
504
|
+
return B || g;
|
|
505
|
+
}, $A = E(
|
|
506
|
+
({ checked: B, className: g, disabled: c = !1, id: Y, children: M, onValueChange: I, ...i }, n) => {
|
|
502
507
|
const m = _A(Y);
|
|
503
|
-
return /* @__PURE__ */
|
|
508
|
+
return /* @__PURE__ */ e("div", { className: "leading-tight flex items-start gap-2", children: [
|
|
504
509
|
/* @__PURE__ */ A(
|
|
505
510
|
S.Root,
|
|
506
511
|
{
|
|
507
|
-
checked:
|
|
512
|
+
checked: B,
|
|
508
513
|
className: x(
|
|
509
|
-
"relative flex h-[18px] w-[18px]
|
|
510
|
-
"
|
|
511
|
-
"
|
|
512
|
-
"
|
|
513
|
-
"
|
|
514
|
+
"relative mt-[2px] flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-sm border-2 border-dark-900",
|
|
515
|
+
"data-[state=checked]:border-dark-900 data-[state=checked]:bg-white",
|
|
516
|
+
"data-[disabled]:cursor-default",
|
|
517
|
+
"data-[disabled]:data-[state=checked]:border-gray-700 data-[disabled]:data-[state=checked]:bg-gray-700",
|
|
518
|
+
"data-[disabled]:data-[state=unchecked]:border-gray-300 data-[disabled]:data-[state=unchecked]:bg-inherit",
|
|
514
519
|
'before:absolute before:-z-10 before:h-9 before:w-9 before:rounded-full before:content-[""]',
|
|
515
520
|
"focus:before:bg-gray-100",
|
|
516
521
|
"hover:before:bg-gray-100",
|
|
@@ -520,14 +525,14 @@ const VA = i(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
|
520
525
|
id: m,
|
|
521
526
|
disabled: c,
|
|
522
527
|
onCheckedChange: I,
|
|
523
|
-
...
|
|
528
|
+
...i,
|
|
524
529
|
ref: n,
|
|
525
530
|
children: /* @__PURE__ */ A(
|
|
526
531
|
S.Indicator,
|
|
527
532
|
{
|
|
528
533
|
className: x(
|
|
529
534
|
"flex items-center justify-center text-gray-900",
|
|
530
|
-
"
|
|
535
|
+
"data-[disabled]:text-gray-400"
|
|
531
536
|
),
|
|
532
537
|
children: /* @__PURE__ */ A(z, { iconId: "CheckmarkOutline", width: 18 })
|
|
533
538
|
}
|
|
@@ -538,7 +543,7 @@ const VA = i(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
|
538
543
|
"label",
|
|
539
544
|
{
|
|
540
545
|
className: x(
|
|
541
|
-
"cursor-pointer select-none
|
|
546
|
+
"cursor-pointer select-none text-dark-900",
|
|
542
547
|
c && "cursor-default text-gray-300"
|
|
543
548
|
),
|
|
544
549
|
htmlFor: m,
|
|
@@ -549,9 +554,9 @@ const VA = i(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
|
549
554
|
}
|
|
550
555
|
);
|
|
551
556
|
$A.displayName = "Checkbox";
|
|
552
|
-
const W =
|
|
553
|
-
({ asChild:
|
|
554
|
-
const m =
|
|
557
|
+
const W = E(
|
|
558
|
+
({ asChild: B, onClick: g, variant: c = "primary", fullWidth: Y, className: M, disabled: I, ...i }, n) => {
|
|
559
|
+
const m = B ? o : "button", w = (G) => {
|
|
555
560
|
I && G.preventDefault();
|
|
556
561
|
}, h = x(
|
|
557
562
|
"border border-success-700 font-medium hover:border-success-600 active:border-success-800 focus:ring-2 focus:ring-success-800 disabled:border-success-300 disabled:cursor-not-allowed disabled:pointer-events-none",
|
|
@@ -564,9 +569,9 @@ const W = i(
|
|
|
564
569
|
m,
|
|
565
570
|
{
|
|
566
571
|
disabled: I,
|
|
567
|
-
onClick:
|
|
572
|
+
onClick: B && I ? w : g,
|
|
568
573
|
ref: n,
|
|
569
|
-
...
|
|
574
|
+
...i,
|
|
570
575
|
className: x(
|
|
571
576
|
// Base style
|
|
572
577
|
"leading-6 box-border inline-flex items-center justify-center gap-2.5 whitespace-nowrap text-center text-xs font-semibold",
|
|
@@ -579,29 +584,29 @@ const W = i(
|
|
|
579
584
|
},
|
|
580
585
|
Y && "w-full text-center",
|
|
581
586
|
M,
|
|
582
|
-
|
|
587
|
+
B && I && "pointer-events-none cursor-not-allowed"
|
|
583
588
|
)
|
|
584
589
|
}
|
|
585
590
|
);
|
|
586
591
|
}
|
|
587
592
|
);
|
|
588
593
|
W.displayName = "Button";
|
|
589
|
-
const Ag =
|
|
594
|
+
const Ag = E(
|
|
590
595
|
({
|
|
591
|
-
asChild:
|
|
596
|
+
asChild: B,
|
|
592
597
|
className: g,
|
|
593
598
|
children: c,
|
|
594
599
|
color: Y = "success",
|
|
595
600
|
typographyVariant: M = "text_14_semibold",
|
|
596
601
|
iconId: I,
|
|
597
|
-
...
|
|
598
|
-
}, n) => /* @__PURE__ */ A(
|
|
602
|
+
...i
|
|
603
|
+
}, n) => /* @__PURE__ */ A(B ? o : "span", { ref: n, className: x("flex items-center gap-2", g), ...i, children: /* @__PURE__ */ e(k, { children: [
|
|
599
604
|
I && /* @__PURE__ */ A(z, { iconId: I, width: 24, height: 24 }),
|
|
600
605
|
/* @__PURE__ */ A(
|
|
601
606
|
C,
|
|
602
607
|
{
|
|
603
608
|
variant: M,
|
|
604
|
-
asChild:
|
|
609
|
+
asChild: B,
|
|
605
610
|
className: x({
|
|
606
611
|
"text-dark-900": Y === "dark",
|
|
607
612
|
"text-success-700": Y === "success",
|
|
@@ -613,8 +618,8 @@ const Ag = i(
|
|
|
613
618
|
] }) })
|
|
614
619
|
);
|
|
615
620
|
Ag.displayName = "Tag";
|
|
616
|
-
function gg(
|
|
617
|
-
const c = typeof
|
|
621
|
+
function gg(B, g = "short") {
|
|
622
|
+
const c = typeof B == "string" ? new Date(B) : B;
|
|
618
623
|
if (isNaN(c.getTime()))
|
|
619
624
|
return "Неверная дата";
|
|
620
625
|
const Y = /* @__PURE__ */ new Date("2025-08-05T15:18:00+02:00"), M = /* @__PURE__ */ new Date("2025-08-12T23:59:59+02:00");
|
|
@@ -623,7 +628,7 @@ function gg(e, g = "short") {
|
|
|
623
628
|
day: "numeric",
|
|
624
629
|
month: "long"
|
|
625
630
|
}).format(c).replace(/\./g, "")}` : "Дата вне диапазона";
|
|
626
|
-
const
|
|
631
|
+
const i = new Intl.DateTimeFormat("ru-RU", {
|
|
627
632
|
timeZone: "Europe/Paris",
|
|
628
633
|
// CEST
|
|
629
634
|
weekday: "short",
|
|
@@ -644,18 +649,18 @@ function gg(e, g = "short") {
|
|
|
644
649
|
}
|
|
645
650
|
}).formatToParts(c);
|
|
646
651
|
if (g === "short")
|
|
647
|
-
return
|
|
648
|
-
const n =
|
|
652
|
+
return i.filter((w) => ["weekday", "day", "month", "year"].includes(w.type)).map((w) => w.type === "weekday" ? w.value.charAt(0).toUpperCase() + w.value.slice(1) : w.value).join(" ").replace(/\./g, "");
|
|
653
|
+
const n = i.filter((w) => ["weekday", "day", "month", "year"].includes(w.type)).map((w) => w.type === "weekday" ? w.value.charAt(0).toUpperCase() + w.value.slice(1) : w.value).join(" ").replace(/\./g, ""), m = i.filter((w) => ["hour", "minute"].includes(w.type)).map((w) => w.value).join(":");
|
|
649
654
|
return `${n} в ${m}`;
|
|
650
655
|
}
|
|
651
|
-
const
|
|
652
|
-
({ className:
|
|
656
|
+
const Bg = E(
|
|
657
|
+
({ className: B, date: g, variant: c = "short", ...Y }) => {
|
|
653
658
|
const M = gg(g, c);
|
|
654
659
|
return /* @__PURE__ */ A(
|
|
655
660
|
C,
|
|
656
661
|
{
|
|
657
662
|
variant: "text_14_medium",
|
|
658
|
-
className: x("text-light-900",
|
|
663
|
+
className: x("text-light-900", B, {
|
|
659
664
|
"text-red-600": M === "Неверная дата" || M === "Дата вне диапазона"
|
|
660
665
|
}),
|
|
661
666
|
...Y,
|
|
@@ -664,45 +669,45 @@ const eg = i(
|
|
|
664
669
|
);
|
|
665
670
|
}
|
|
666
671
|
);
|
|
667
|
-
|
|
668
|
-
const
|
|
672
|
+
Bg.displayName = "FormattedDate";
|
|
673
|
+
const eg = E(
|
|
669
674
|
({
|
|
670
|
-
asChild:
|
|
675
|
+
asChild: B,
|
|
671
676
|
className: g,
|
|
672
677
|
iconId: c = "Arrow",
|
|
673
678
|
typographyVariant: Y = "heading_3_bold",
|
|
674
679
|
children: M,
|
|
675
680
|
...I
|
|
676
|
-
},
|
|
677
|
-
|
|
681
|
+
}, i) => /* @__PURE__ */ A(
|
|
682
|
+
B ? o : "div",
|
|
678
683
|
{
|
|
679
|
-
ref:
|
|
684
|
+
ref: i,
|
|
680
685
|
className: x(
|
|
681
686
|
"relative flex w-full max-w-[500px] items-center justify-between",
|
|
682
687
|
"pl-6 before:absolute before:left-0 before:top-1/2 before:h-6 before:w-3 before:-translate-y-1/2 before:bg-success-700 before:content-['']",
|
|
683
688
|
g
|
|
684
689
|
),
|
|
685
690
|
...I,
|
|
686
|
-
children: /* @__PURE__ */
|
|
691
|
+
children: /* @__PURE__ */ e("div", { className: "flex w-full items-center justify-between", children: [
|
|
687
692
|
M && /* @__PURE__ */ A(C, { variant: Y, children: M }),
|
|
688
693
|
/* @__PURE__ */ A(z, { iconId: c, width: 24, height: 24 })
|
|
689
694
|
] })
|
|
690
695
|
}
|
|
691
696
|
)
|
|
692
697
|
);
|
|
693
|
-
|
|
694
|
-
const H =
|
|
698
|
+
eg.displayName = "PreviewTitle";
|
|
699
|
+
const H = E(
|
|
695
700
|
({
|
|
696
|
-
asChild:
|
|
701
|
+
asChild: B,
|
|
697
702
|
className: g,
|
|
698
703
|
sectionName: c = "",
|
|
699
704
|
iconId: Y = "Yak",
|
|
700
705
|
variant: M = "large",
|
|
701
706
|
withTM: I = !1,
|
|
702
|
-
iconColor:
|
|
707
|
+
iconColor: i = "text-success-700",
|
|
703
708
|
...n
|
|
704
709
|
}, m) => {
|
|
705
|
-
const w =
|
|
710
|
+
const w = B ? o : "div", h = () => {
|
|
706
711
|
switch (M) {
|
|
707
712
|
case "large":
|
|
708
713
|
return { width: 61, height: 44 };
|
|
@@ -723,20 +728,20 @@ const H = i(
|
|
|
723
728
|
return "heading_2_semibold";
|
|
724
729
|
}
|
|
725
730
|
};
|
|
726
|
-
return /* @__PURE__ */ A(w, { ref: m, className: x("inline-flex items-center gap-1", g), ...n, children: /* @__PURE__ */
|
|
731
|
+
return /* @__PURE__ */ A(w, { ref: m, className: x("inline-flex items-center gap-1", g), ...n, children: /* @__PURE__ */ e("div", { className: "flex items-center gap-1", children: [
|
|
727
732
|
/* @__PURE__ */ A(
|
|
728
733
|
z,
|
|
729
734
|
{
|
|
730
735
|
iconId: Y,
|
|
731
736
|
width: h().width,
|
|
732
737
|
height: h().height,
|
|
733
|
-
className: x("fill-current",
|
|
738
|
+
className: x("fill-current", i),
|
|
734
739
|
style: {
|
|
735
|
-
color:
|
|
740
|
+
color: i !== "currentColor" && !i.startsWith("text-") ? i : void 0
|
|
736
741
|
}
|
|
737
742
|
}
|
|
738
743
|
),
|
|
739
|
-
/* @__PURE__ */
|
|
744
|
+
/* @__PURE__ */ e(C, { variant: G(), children: [
|
|
740
745
|
"Якавказ",
|
|
741
746
|
I && /* @__PURE__ */ A("sup", { className: "align-super text-[9px] tracking-tight", children: "™" })
|
|
742
747
|
] }),
|
|
@@ -745,8 +750,8 @@ const H = i(
|
|
|
745
750
|
}
|
|
746
751
|
);
|
|
747
752
|
H.displayName = "Logo";
|
|
748
|
-
const cg = ({ children:
|
|
749
|
-
const
|
|
753
|
+
const cg = ({ children: B, className: g, label: c, required: Y, labelColor: M = "primary", ...I }) => {
|
|
754
|
+
const i = q(
|
|
750
755
|
() => ({
|
|
751
756
|
label: _(
|
|
752
757
|
"inline-block mb-1 text-sm leading-6",
|
|
@@ -758,20 +763,20 @@ const cg = ({ children: e, className: g, label: c, required: Y, labelColor: M =
|
|
|
758
763
|
}),
|
|
759
764
|
[g, M]
|
|
760
765
|
);
|
|
761
|
-
return /* @__PURE__ */
|
|
762
|
-
c && /* @__PURE__ */
|
|
766
|
+
return /* @__PURE__ */ e($.Root, { ...I, children: [
|
|
767
|
+
c && /* @__PURE__ */ e("div", { className: i.label, children: [
|
|
763
768
|
c,
|
|
764
|
-
Y && /* @__PURE__ */ A("span", { className:
|
|
769
|
+
Y && /* @__PURE__ */ A("span", { className: i.required, children: "*" })
|
|
765
770
|
] }),
|
|
766
|
-
|
|
771
|
+
B
|
|
767
772
|
] });
|
|
768
|
-
}, Mg =
|
|
773
|
+
}, Mg = E(function({
|
|
769
774
|
className: g,
|
|
770
775
|
onClearClick: c,
|
|
771
776
|
errorMessage: Y,
|
|
772
777
|
iconEnd: M,
|
|
773
778
|
iconStart: I,
|
|
774
|
-
label:
|
|
779
|
+
label: i,
|
|
775
780
|
onEnter: n,
|
|
776
781
|
onKeyDown: m,
|
|
777
782
|
required: w,
|
|
@@ -801,9 +806,9 @@ const cg = ({ children: e, className: g, label: c, required: Y, labelColor: M =
|
|
|
801
806
|
) : M, N = G === "password" ? R ? "text" : "password" : h ? "search" : G, P = (d) => {
|
|
802
807
|
n && d.key === "Enter" && n(d), m?.(d);
|
|
803
808
|
}, L = !!c && !!Q.value && String(Q.value).length > 0, p = (f ? "start" : "") + (a ? "end" : "");
|
|
804
|
-
return /* @__PURE__ */
|
|
805
|
-
|
|
806
|
-
/* @__PURE__ */
|
|
809
|
+
return /* @__PURE__ */ e("div", { className: x("flex w-full flex-col", g), children: [
|
|
810
|
+
i && /* @__PURE__ */ A(cg, { htmlFor: t, label: i, required: w, labelColor: F }),
|
|
811
|
+
/* @__PURE__ */ e("div", { className: "relative flex items-center", children: [
|
|
807
812
|
!!f && /* @__PURE__ */ A("span", { className: "absolute left-5 top-1/2 grid h-6 w-6 -translate-y-1/2 place-items-center", children: f }),
|
|
808
813
|
/* @__PURE__ */ A(
|
|
809
814
|
"input",
|
|
@@ -851,18 +856,18 @@ const cg = ({ children: e, className: g, label: c, required: Y, labelColor: M =
|
|
|
851
856
|
] });
|
|
852
857
|
});
|
|
853
858
|
Mg.displayName = "TextField";
|
|
854
|
-
const y =
|
|
859
|
+
const y = E(
|
|
855
860
|
({
|
|
856
|
-
items:
|
|
861
|
+
items: B,
|
|
857
862
|
triggerLabel: g = "Ещё",
|
|
858
863
|
triggerIcon: c = "KeyboardArrowDown",
|
|
859
864
|
labelTypography: Y = "text_16_semibold",
|
|
860
865
|
className: M,
|
|
861
866
|
style: I,
|
|
862
|
-
children:
|
|
863
|
-
}, n) => /* @__PURE__ */
|
|
864
|
-
/* @__PURE__ */
|
|
865
|
-
/* @__PURE__ */ A(Z.Trigger, { asChild: !0, children: /* @__PURE__ */
|
|
867
|
+
children: i
|
|
868
|
+
}, n) => /* @__PURE__ */ e("div", { ref: n, className: x("inline-flex items-center", M), style: I, children: [
|
|
869
|
+
/* @__PURE__ */ e(Z.Root, { children: [
|
|
870
|
+
/* @__PURE__ */ A(Z.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
|
|
866
871
|
"button",
|
|
867
872
|
{
|
|
868
873
|
className: x(
|
|
@@ -892,7 +897,7 @@ const y = i(
|
|
|
892
897
|
),
|
|
893
898
|
sideOffset: 4,
|
|
894
899
|
align: "end",
|
|
895
|
-
children:
|
|
900
|
+
children: B.map((m) => /* @__PURE__ */ A(
|
|
896
901
|
Z.Item,
|
|
897
902
|
{
|
|
898
903
|
asChild: !0,
|
|
@@ -910,21 +915,21 @@ const y = i(
|
|
|
910
915
|
}
|
|
911
916
|
) })
|
|
912
917
|
] }),
|
|
913
|
-
|
|
918
|
+
i
|
|
914
919
|
] })
|
|
915
920
|
);
|
|
916
921
|
y.displayName = "DropdownMenu";
|
|
917
|
-
const X =
|
|
918
|
-
({ items:
|
|
919
|
-
const
|
|
920
|
-
return /* @__PURE__ */
|
|
922
|
+
const X = E(
|
|
923
|
+
({ items: B, className: g, style: c, children: Y, lengthItem: M = 5 }, I) => {
|
|
924
|
+
const i = B.slice(0, M), n = B.slice(M);
|
|
925
|
+
return /* @__PURE__ */ e(
|
|
921
926
|
"ul",
|
|
922
927
|
{
|
|
923
928
|
ref: I,
|
|
924
929
|
className: x("mx-auto flex max-w-[630px] items-center justify-center gap-6", g),
|
|
925
930
|
style: c,
|
|
926
931
|
children: [
|
|
927
|
-
|
|
932
|
+
i.map((m) => /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A("a", { href: m.href, children: /* @__PURE__ */ A(C, { variant: "text_16_semibold", children: m.label }) }) }, m.label)),
|
|
928
933
|
n.length > 0 && /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A(y, { items: n }) }),
|
|
929
934
|
Y
|
|
930
935
|
]
|
|
@@ -939,13 +944,13 @@ const Yg = [
|
|
|
939
944
|
{ label: "Госуслуги", href: "/services" },
|
|
940
945
|
{ label: "Здоровье", href: "/health" },
|
|
941
946
|
{ label: "Образование", href: "/education" }
|
|
942
|
-
], ig = ["Ингушетия", "Чечня", "Дагестан"], zg =
|
|
947
|
+
], ig = ["Ингушетия", "Чечня", "Дагестан"], zg = E(function({
|
|
943
948
|
navigation: g,
|
|
944
949
|
navItems: c = Yg,
|
|
945
950
|
lengthItem: Y = 5,
|
|
946
951
|
locations: M = ig,
|
|
947
952
|
defaultLocation: I = M[0],
|
|
948
|
-
locationValue:
|
|
953
|
+
locationValue: i,
|
|
949
954
|
onLocationChange: n,
|
|
950
955
|
withSearchAndMenu: m = !1,
|
|
951
956
|
onLoginClick: w,
|
|
@@ -959,20 +964,20 @@ const Yg = [
|
|
|
959
964
|
// например, прокинуть из next: Link
|
|
960
965
|
}, O) {
|
|
961
966
|
const R = Array.isArray(M) && M.length > 0, D = v ?? "a";
|
|
962
|
-
return /* @__PURE__ */
|
|
967
|
+
return /* @__PURE__ */ e(
|
|
963
968
|
"header",
|
|
964
969
|
{
|
|
965
970
|
ref: O,
|
|
966
971
|
role: "banner",
|
|
967
972
|
className: x(
|
|
968
|
-
"flex items-center justify-between bg-white
|
|
973
|
+
"flex items-center justify-between bg-white py-3",
|
|
969
974
|
F
|
|
970
975
|
),
|
|
971
976
|
style: Q,
|
|
972
977
|
children: [
|
|
973
|
-
/* @__PURE__ */
|
|
974
|
-
/* @__PURE__ */
|
|
975
|
-
m && /* @__PURE__ */
|
|
978
|
+
/* @__PURE__ */ e("div", { className: "flex min-w-0 items-center", children: [
|
|
979
|
+
/* @__PURE__ */ e("div", { className: "flex items-center gap-3 sm:gap-4", children: [
|
|
980
|
+
m && /* @__PURE__ */ e(k, { children: [
|
|
976
981
|
/* @__PURE__ */ A(
|
|
977
982
|
"button",
|
|
978
983
|
{
|
|
@@ -996,12 +1001,12 @@ const Yg = [
|
|
|
996
1001
|
}
|
|
997
1002
|
)
|
|
998
1003
|
] }),
|
|
999
|
-
/* @__PURE__ */
|
|
1004
|
+
/* @__PURE__ */ e("div", { className: "flex items-center gap-3 sm:gap-6", children: [
|
|
1000
1005
|
R && /* @__PURE__ */ A(
|
|
1001
1006
|
T,
|
|
1002
1007
|
{
|
|
1003
|
-
defaultValue:
|
|
1004
|
-
value:
|
|
1008
|
+
defaultValue: i ? void 0 : I,
|
|
1009
|
+
value: i,
|
|
1005
1010
|
onValueChange: n,
|
|
1006
1011
|
className: "w-[140px] sm:w-[150px]",
|
|
1007
1012
|
labelColor: "black",
|
|
@@ -1015,7 +1020,7 @@ const Yg = [
|
|
|
1015
1020
|
]
|
|
1016
1021
|
}
|
|
1017
1022
|
);
|
|
1018
|
-
}), Eg = (
|
|
1023
|
+
}), Eg = (B, g) => /* @__PURE__ */ e(
|
|
1019
1024
|
"svg",
|
|
1020
1025
|
{
|
|
1021
1026
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1023,7 +1028,7 @@ const Yg = [
|
|
|
1023
1028
|
fill: "none",
|
|
1024
1029
|
viewBox: "0 0 274 395",
|
|
1025
1030
|
ref: g,
|
|
1026
|
-
...
|
|
1031
|
+
...B,
|
|
1027
1032
|
children: [
|
|
1028
1033
|
/* @__PURE__ */ A("path", { fill: "#00AA85", d: "M342.5 326.897V395h-137v-68.103z" }),
|
|
1029
1034
|
/* @__PURE__ */ A(
|
|
@@ -1117,7 +1122,7 @@ const Yg = [
|
|
|
1117
1122
|
d: "M342.5 0c75.663 0 137 60.982 137 136.207H411c0-37.613-30.668-68.104-68.5-68.104z"
|
|
1118
1123
|
}
|
|
1119
1124
|
),
|
|
1120
|
-
/* @__PURE__ */
|
|
1125
|
+
/* @__PURE__ */ e("defs", { children: [
|
|
1121
1126
|
/* @__PURE__ */ A(
|
|
1122
1127
|
"pattern",
|
|
1123
1128
|
{
|
|
@@ -1243,15 +1248,15 @@ const Yg = [
|
|
|
1243
1248
|
] })
|
|
1244
1249
|
]
|
|
1245
1250
|
}
|
|
1246
|
-
), Ig =
|
|
1247
|
-
children:
|
|
1251
|
+
), Ig = E(Eg), Cg = ({
|
|
1252
|
+
children: B,
|
|
1248
1253
|
onClick: g,
|
|
1249
1254
|
variantColor: c = "success",
|
|
1250
1255
|
variantView: Y = "secondary",
|
|
1251
1256
|
href: M = "#",
|
|
1252
1257
|
className: I
|
|
1253
1258
|
}) => {
|
|
1254
|
-
const
|
|
1259
|
+
const i = {
|
|
1255
1260
|
success: {
|
|
1256
1261
|
text: "text-success-700",
|
|
1257
1262
|
bgButton: "!bg-success-700",
|
|
@@ -1262,8 +1267,8 @@ const Yg = [
|
|
|
1262
1267
|
bgButton: "!bg-purple-800",
|
|
1263
1268
|
bgCard: "bg-purple-100"
|
|
1264
1269
|
}
|
|
1265
|
-
}, { text: n, bgButton: m, bgCard: w } =
|
|
1266
|
-
return /* @__PURE__ */
|
|
1270
|
+
}, { text: n, bgButton: m, bgCard: w } = i[c], h = Y === "primary";
|
|
1271
|
+
return /* @__PURE__ */ e(
|
|
1267
1272
|
VA,
|
|
1268
1273
|
{
|
|
1269
1274
|
className: x(
|
|
@@ -1273,14 +1278,14 @@ const Yg = [
|
|
|
1273
1278
|
I
|
|
1274
1279
|
),
|
|
1275
1280
|
children: [
|
|
1276
|
-
/* @__PURE__ */
|
|
1281
|
+
/* @__PURE__ */ e("div", { className: x(h ? "flex items-center" : "flex flex-col gap-10"), children: [
|
|
1277
1282
|
/* @__PURE__ */ A(H, { iconColor: n, variant: "medium", withTM: !0 }),
|
|
1278
|
-
/* @__PURE__ */ A("div", { className: x("ml-10", h ? "max-w-[340px] text-xs" : "max-w-[200px]"), children:
|
|
1283
|
+
/* @__PURE__ */ A("div", { className: x("ml-10", h ? "max-w-[340px] text-xs" : "max-w-[200px]"), children: B })
|
|
1279
1284
|
] }),
|
|
1280
|
-
h ? /* @__PURE__ */
|
|
1285
|
+
h ? /* @__PURE__ */ e(k, { children: [
|
|
1281
1286
|
/* @__PURE__ */ A(U, { className: x("fill-current", n), width: "380px" }),
|
|
1282
1287
|
/* @__PURE__ */ A(W, { variant: "primary", className: x(m), onClick: g, children: /* @__PURE__ */ A("a", { href: M, children: "Подробнее" }) })
|
|
1283
|
-
] }) : /* @__PURE__ */
|
|
1288
|
+
] }) : /* @__PURE__ */ e(k, { children: [
|
|
1284
1289
|
/* @__PURE__ */ A(
|
|
1285
1290
|
Ig,
|
|
1286
1291
|
{
|
|
@@ -1312,7 +1317,7 @@ export {
|
|
|
1312
1317
|
xA as EyeOffOutline,
|
|
1313
1318
|
JA as EyeOutline,
|
|
1314
1319
|
GA as Filter,
|
|
1315
|
-
|
|
1320
|
+
Bg as FormattedDate,
|
|
1316
1321
|
aA as Gos,
|
|
1317
1322
|
zg as Header,
|
|
1318
1323
|
QA as Journalist,
|
|
@@ -1323,7 +1328,7 @@ export {
|
|
|
1323
1328
|
kA as MailAuth,
|
|
1324
1329
|
uA as Menu,
|
|
1325
1330
|
X as Navigation,
|
|
1326
|
-
|
|
1331
|
+
eg as PreviewTitle,
|
|
1327
1332
|
vA as Search,
|
|
1328
1333
|
K as SelectItem,
|
|
1329
1334
|
T as Selector,
|