@yakavkaz/uikit 0.0.9 → 0.0.11
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/select/Select.d.ts +2 -2
- package/dist/components/select/Select.d.ts.map +1 -1
- package/dist/components/typography/typography.enum.d.ts +4 -0
- package/dist/components/typography/typography.enum.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +164 -148
- 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
1
|
import { jsx as A, jsxs as B, 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 = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, 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 =
|
|
9
|
+
const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, 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), eA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 380 100", ref: g, ...e, 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(eA), BA = (e, g) => /* @__PURE__ */ B(
|
|
10
10
|
"svg",
|
|
11
11
|
{
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -228,37 +228,37 @@ 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(BA), MA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, 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 =
|
|
237
|
+
] }), EA = E(iA), IA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
238
238
|
/* @__PURE__ */ B("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 =
|
|
243
|
+
] }), xA = E(IA), mA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
244
244
|
/* @__PURE__ */ B("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
|
-
] }),
|
|
249
|
+
] }), wA = E(mA), nA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
250
250
|
/* @__PURE__ */ B("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 =
|
|
255
|
+
] }), JA = E(nA), hA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: [
|
|
256
256
|
/* @__PURE__ */ B("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 = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M13 9V7h3V3h2v4h3v2zm3 12V11h2v10zM6 21v-4H3v-2h8v2H8v4zm0-8V3h2v10z" }) }), GA = E(CA), lA = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 60 60", ref: g, ...e, 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" }),
|
|
@@ -270,29 +270,29 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
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 = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 62 62", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, children: /* @__PURE__ */ A("path", { fill: "currentColor", d: "M3 18v-2h18v2zm0-5v-2h18v2zm0-5V6h18v2z" }) }), uA = E(FA), jA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 62 62", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 20 20", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 34 24", ref: g, ...e, 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 = (e, g) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 62 62", ref: g, ...e, 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,
|
|
@@ -300,7 +300,7 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
300
300
|
CheckmarkOutline: YA,
|
|
301
301
|
Close: EA,
|
|
302
302
|
Eye: zA,
|
|
303
|
-
EyeOff:
|
|
303
|
+
EyeOff: wA,
|
|
304
304
|
EyeOffOutline: xA,
|
|
305
305
|
EyeOutline: JA,
|
|
306
306
|
Filter: GA,
|
|
@@ -321,7 +321,7 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
321
321
|
}, Symbol.toStringTag, { value: "Module" })), pA = ({ iconId: e, ...g }, c) => {
|
|
322
322
|
const Y = PA[e];
|
|
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)
|
|
@@ -337,17 +337,22 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
337
337
|
// 24px regular (бывш. h2_normal)
|
|
338
338
|
heading_3_bold: "heading_3_bold",
|
|
339
339
|
// 18px bold (бывш. h3)
|
|
340
|
+
heading_3_semibold: "heading_3_semibold",
|
|
341
|
+
// 18px bold (бывш. h3)
|
|
340
342
|
// Текстовые размеры
|
|
341
343
|
text_30_semibold: "text_30_semibold",
|
|
342
344
|
// 30px semibold (бывш. semibold_text_30)
|
|
345
|
+
text_28_semibold: "text_28_semibold",
|
|
346
|
+
text_20_semibold: "text_20_semibold",
|
|
343
347
|
text_26_medium: "text_26_medium",
|
|
344
|
-
// 26px medium
|
|
348
|
+
// 26px medium
|
|
345
349
|
text_16_regular: "text_16_regular",
|
|
346
350
|
// 16px regular (бывш. regular_text_16)
|
|
347
351
|
text_16_semibold: "text_16_semibold",
|
|
348
352
|
// 16px semibold (бывш. semibold_text_16)
|
|
349
353
|
text_16_bold: "text_16_bold",
|
|
350
354
|
// 16px bold (бывш. bold_text_16)
|
|
355
|
+
text_16_medium: "text_16_medium",
|
|
351
356
|
text_14_regular: "text_14_regular",
|
|
352
357
|
// 14px regular (бывш. regular_text_14)
|
|
353
358
|
text_14_medium: "text_14_medium",
|
|
@@ -369,21 +374,27 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
369
374
|
// 44px
|
|
370
375
|
[J.heading_1_semibold]: "text-xl font-semibold",
|
|
371
376
|
// 44px
|
|
372
|
-
[J.heading_2_bold]: "text-
|
|
377
|
+
[J.heading_2_bold]: "text-md font-bold",
|
|
373
378
|
// 24px
|
|
374
|
-
[J.heading_2_semibold]: "text-
|
|
379
|
+
[J.heading_2_semibold]: "text-md font-semibold",
|
|
375
380
|
// 24px
|
|
376
|
-
[J.heading_2_regular]: "text-
|
|
381
|
+
[J.heading_2_regular]: "text-md font-regular",
|
|
377
382
|
// 24px
|
|
378
|
-
[J.heading_3_bold]: "text-s font-
|
|
383
|
+
[J.heading_3_bold]: "text-s font-semibold",
|
|
384
|
+
// 18px
|
|
385
|
+
[J.heading_3_semibold]: "text-s font-bold",
|
|
379
386
|
// 18px
|
|
380
387
|
// Текст
|
|
381
388
|
[J.text_30_semibold]: "text-[30px] font-semibold",
|
|
389
|
+
[J.text_28_semibold]: "text-[28px] font-semibold",
|
|
382
390
|
[J.text_26_medium]: "text-[26px] font-medium",
|
|
391
|
+
[J.text_20_semibold]: "text-[20px] font-semibold",
|
|
383
392
|
[J.text_16_regular]: "text-xs font-regular",
|
|
384
393
|
// 16px
|
|
385
394
|
[J.text_16_semibold]: "text-xs font-semibold",
|
|
386
395
|
// 16px
|
|
396
|
+
[J.text_16_medium]: "text-xs font-medium",
|
|
397
|
+
// 16px
|
|
387
398
|
[J.text_16_bold]: "text-xs font-bold",
|
|
388
399
|
// 16px
|
|
389
400
|
[J.text_14_regular]: "text-xxs font-regular",
|
|
@@ -399,9 +410,9 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
399
410
|
// 16px
|
|
400
411
|
[J.link_14_regular]: "text-xxs font-regular text-primary-500 underline cursor-pointer"
|
|
401
412
|
// 14px
|
|
402
|
-
}, C =
|
|
413
|
+
}, C = E(
|
|
403
414
|
({ asChild: e, variant: g = J.text_16_regular, className: c, ...Y }, M) => {
|
|
404
|
-
const I = e ? o : "span",
|
|
415
|
+
const I = e ? o : "span", i = qA[g];
|
|
405
416
|
return /* @__PURE__ */ A(
|
|
406
417
|
I,
|
|
407
418
|
{
|
|
@@ -409,7 +420,7 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
409
420
|
className: x(
|
|
410
421
|
"font-primary",
|
|
411
422
|
// Базовый шрифт
|
|
412
|
-
|
|
423
|
+
i,
|
|
413
424
|
c
|
|
414
425
|
),
|
|
415
426
|
...Y
|
|
@@ -418,61 +429,66 @@ const AA = (e, g) => /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/s
|
|
|
418
429
|
}
|
|
419
430
|
);
|
|
420
431
|
C.displayName = "Typography";
|
|
421
|
-
const T =
|
|
432
|
+
const T = E(
|
|
422
433
|
({
|
|
423
434
|
children: e,
|
|
424
435
|
className: g,
|
|
425
|
-
defaultValue: c
|
|
436
|
+
defaultValue: c,
|
|
426
437
|
triggerIcon: Y,
|
|
427
438
|
style: M,
|
|
428
439
|
placeholder: I,
|
|
429
|
-
label:
|
|
440
|
+
label: i,
|
|
430
441
|
labelColor: n,
|
|
431
|
-
...
|
|
432
|
-
},
|
|
433
|
-
|
|
434
|
-
/* @__PURE__ */ B(
|
|
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
|
-
|
|
442
|
+
...w
|
|
443
|
+
}, m) => {
|
|
444
|
+
const h = w.value !== void 0 ? w : { ...w, defaultValue: c };
|
|
445
|
+
return /* @__PURE__ */ B("div", { className: x("flex flex-col gap-1", g), children: [
|
|
446
|
+
i && /* @__PURE__ */ A(C, { style: { color: n }, variant: "text_16_regular", children: i[0]?.toUpperCase() + i.slice(1) }),
|
|
447
|
+
/* @__PURE__ */ B(l.Root, { ...h, children: [
|
|
448
|
+
/* @__PURE__ */ B(
|
|
449
|
+
l.Trigger,
|
|
450
|
+
{
|
|
451
|
+
ref: m,
|
|
452
|
+
style: M,
|
|
453
|
+
"aria-label": i,
|
|
454
|
+
className: x(
|
|
455
|
+
"inline-flex items-center justify-between gap-2",
|
|
456
|
+
"px-3 py-1.5 text-black",
|
|
457
|
+
"transition-colors",
|
|
458
|
+
"hover:text-light-900",
|
|
459
|
+
"data-[disabled]:text-primary-100",
|
|
460
|
+
"data-[placeholder]:text-primary-100",
|
|
461
|
+
"data-[state=open]:text-light-900 outline-none"
|
|
462
|
+
),
|
|
463
|
+
children: [
|
|
464
|
+
/* @__PURE__ */ A("div", { className: "flex items-center gap-2", children: Y && /* @__PURE__ */ A(l.Icon, { className: "h-6 w-6", children: Y }) }),
|
|
465
|
+
/* @__PURE__ */ A(l.Value, { placeholder: I }),
|
|
466
|
+
/* @__PURE__ */ A(l.Icon, { className: "text-black transition-transform duration-300 data-[state=open]:rotate-180", children: /* @__PURE__ */ A(
|
|
467
|
+
z,
|
|
468
|
+
{
|
|
469
|
+
iconId: "KeyboardArrowDown",
|
|
470
|
+
className: "h-6 w-6"
|
|
471
|
+
}
|
|
472
|
+
) })
|
|
473
|
+
]
|
|
474
|
+
}
|
|
475
|
+
),
|
|
476
|
+
/* @__PURE__ */ A(l.Portal, { children: /* @__PURE__ */ A(
|
|
477
|
+
l.Content,
|
|
478
|
+
{
|
|
479
|
+
className: "z-50 w-[var(--radix-select-trigger-width)] overflow-hidden bg-white shadow-lg",
|
|
480
|
+
position: "popper",
|
|
481
|
+
sideOffset: 4,
|
|
482
|
+
collisionPadding: 10,
|
|
483
|
+
children: /* @__PURE__ */ A(l.Viewport, { className: "max-h-[200px] p-1 overflow-y-auto", children: e })
|
|
484
|
+
}
|
|
485
|
+
) })
|
|
486
|
+
] })
|
|
487
|
+
] });
|
|
488
|
+
}
|
|
473
489
|
);
|
|
474
490
|
T.displayName = "Selector";
|
|
475
|
-
const K =
|
|
491
|
+
const K = E(
|
|
476
492
|
({ children: e, className: g = "", value: c, disabled: Y }, M) => /* @__PURE__ */ A(
|
|
477
493
|
l.Item,
|
|
478
494
|
{
|
|
@@ -481,8 +497,8 @@ const K = i(
|
|
|
481
497
|
disabled: Y,
|
|
482
498
|
className: x(
|
|
483
499
|
"text-sm relative flex cursor-pointer select-none items-center px-3 py-1.5",
|
|
484
|
-
"
|
|
485
|
-
"
|
|
500
|
+
"data-[highlighted]:text-success-300",
|
|
501
|
+
"data-[disabled]:pointer-events-none data-[disabled]:text-primary-900",
|
|
486
502
|
"outline-none",
|
|
487
503
|
g
|
|
488
504
|
),
|
|
@@ -491,15 +507,15 @@ const K = i(
|
|
|
491
507
|
)
|
|
492
508
|
);
|
|
493
509
|
K.displayName = "SelectItem";
|
|
494
|
-
const VA =
|
|
495
|
-
const
|
|
496
|
-
return c ? /* @__PURE__ */ A(
|
|
510
|
+
const VA = E(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
511
|
+
const i = g ? o : "div";
|
|
512
|
+
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: "Пустая карточка" });
|
|
497
513
|
}), _A = (e) => {
|
|
498
514
|
const g = r();
|
|
499
515
|
return e || g;
|
|
500
|
-
}, $A =
|
|
501
|
-
({ checked: e, className: g, disabled: c = !1, id: Y, children: M, onValueChange: I, ...
|
|
502
|
-
const
|
|
516
|
+
}, $A = E(
|
|
517
|
+
({ checked: e, className: g, disabled: c = !1, id: Y, children: M, onValueChange: I, ...i }, n) => {
|
|
518
|
+
const w = _A(Y);
|
|
503
519
|
return /* @__PURE__ */ B("div", { className: "leading-tight flex items-start gap-2", children: [
|
|
504
520
|
/* @__PURE__ */ A(
|
|
505
521
|
S.Root,
|
|
@@ -517,10 +533,10 @@ const VA = i(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
|
517
533
|
"active:before:bg-gray-100",
|
|
518
534
|
g
|
|
519
535
|
),
|
|
520
|
-
id:
|
|
536
|
+
id: w,
|
|
521
537
|
disabled: c,
|
|
522
538
|
onCheckedChange: I,
|
|
523
|
-
...
|
|
539
|
+
...i,
|
|
524
540
|
ref: n,
|
|
525
541
|
children: /* @__PURE__ */ A(
|
|
526
542
|
S.Indicator,
|
|
@@ -541,7 +557,7 @@ const VA = i(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
|
541
557
|
"cursor-pointer select-none text-dark-900",
|
|
542
558
|
c && "cursor-default text-gray-300"
|
|
543
559
|
),
|
|
544
|
-
htmlFor:
|
|
560
|
+
htmlFor: w,
|
|
545
561
|
children: M
|
|
546
562
|
}
|
|
547
563
|
) })
|
|
@@ -549,9 +565,9 @@ const VA = i(function({ asChild: g = !1, children: c, className: Y, ...M }, I) {
|
|
|
549
565
|
}
|
|
550
566
|
);
|
|
551
567
|
$A.displayName = "Checkbox";
|
|
552
|
-
const W =
|
|
553
|
-
({ asChild: e, onClick: g, variant: c = "primary", fullWidth: Y, className: M, disabled: I, ...
|
|
554
|
-
const
|
|
568
|
+
const W = E(
|
|
569
|
+
({ asChild: e, onClick: g, variant: c = "primary", fullWidth: Y, className: M, disabled: I, ...i }, n) => {
|
|
570
|
+
const w = e ? o : "button", m = (G) => {
|
|
555
571
|
I && G.preventDefault();
|
|
556
572
|
}, h = x(
|
|
557
573
|
"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",
|
|
@@ -561,19 +577,19 @@ const W = i(
|
|
|
561
577
|
}
|
|
562
578
|
);
|
|
563
579
|
return /* @__PURE__ */ A(
|
|
564
|
-
|
|
580
|
+
w,
|
|
565
581
|
{
|
|
566
582
|
disabled: I,
|
|
567
|
-
onClick: e && I ?
|
|
583
|
+
onClick: e && I ? m : g,
|
|
568
584
|
ref: n,
|
|
569
|
-
...
|
|
585
|
+
...i,
|
|
570
586
|
className: x(
|
|
571
587
|
// Base style
|
|
572
|
-
"
|
|
588
|
+
"box-border inline-flex items-center justify-center gap-2.5 text-center text-xs leading-6 font-semibold whitespace-nowrap",
|
|
573
589
|
"cursor-pointer px-4 py-3 outline-none",
|
|
574
590
|
{
|
|
575
591
|
// Primary
|
|
576
|
-
"hover:bg-success-600 active:bg-success-800 focus:ring-success-800 bg-success-700
|
|
592
|
+
"hover:bg-success-600 active:bg-success-800 focus:ring-success-800 bg-success-700 text-light-100 focus:bg-success-700 disabled:bg-success-300 font-semibold focus:ring-2 disabled:text-gray-300": c === "primary",
|
|
577
593
|
//Outline or outlineBlackText
|
|
578
594
|
[h]: c === "outline" || c === "outlineBlackText"
|
|
579
595
|
},
|
|
@@ -586,7 +602,7 @@ const W = i(
|
|
|
586
602
|
}
|
|
587
603
|
);
|
|
588
604
|
W.displayName = "Button";
|
|
589
|
-
const Ag =
|
|
605
|
+
const Ag = E(
|
|
590
606
|
({
|
|
591
607
|
asChild: e,
|
|
592
608
|
className: g,
|
|
@@ -594,8 +610,8 @@ const Ag = i(
|
|
|
594
610
|
color: Y = "success",
|
|
595
611
|
typographyVariant: M = "text_14_semibold",
|
|
596
612
|
iconId: I,
|
|
597
|
-
...
|
|
598
|
-
}, n) => /* @__PURE__ */ A(e ? o : "span", { ref: n, className: x("flex items-center gap-2", g), ...
|
|
613
|
+
...i
|
|
614
|
+
}, n) => /* @__PURE__ */ A(e ? o : "span", { ref: n, className: x("flex items-center gap-2", g), ...i, children: /* @__PURE__ */ B(k, { children: [
|
|
599
615
|
I && /* @__PURE__ */ A(z, { iconId: I, width: 24, height: 24 }),
|
|
600
616
|
/* @__PURE__ */ A(
|
|
601
617
|
C,
|
|
@@ -623,7 +639,7 @@ function gg(e, g = "short") {
|
|
|
623
639
|
day: "numeric",
|
|
624
640
|
month: "long"
|
|
625
641
|
}).format(c).replace(/\./g, "")}` : "Дата вне диапазона";
|
|
626
|
-
const
|
|
642
|
+
const i = new Intl.DateTimeFormat("ru-RU", {
|
|
627
643
|
timeZone: "Europe/Paris",
|
|
628
644
|
// CEST
|
|
629
645
|
weekday: "short",
|
|
@@ -644,11 +660,11 @@ function gg(e, g = "short") {
|
|
|
644
660
|
}
|
|
645
661
|
}).formatToParts(c);
|
|
646
662
|
if (g === "short")
|
|
647
|
-
return
|
|
648
|
-
const n =
|
|
649
|
-
return `${n} в ${
|
|
663
|
+
return i.filter((m) => ["weekday", "day", "month", "year"].includes(m.type)).map((m) => m.type === "weekday" ? m.value.charAt(0).toUpperCase() + m.value.slice(1) : m.value).join(" ").replace(/\./g, "");
|
|
664
|
+
const n = i.filter((m) => ["weekday", "day", "month", "year"].includes(m.type)).map((m) => m.type === "weekday" ? m.value.charAt(0).toUpperCase() + m.value.slice(1) : m.value).join(" ").replace(/\./g, ""), w = i.filter((m) => ["hour", "minute"].includes(m.type)).map((m) => m.value).join(":");
|
|
665
|
+
return `${n} в ${w}`;
|
|
650
666
|
}
|
|
651
|
-
const eg =
|
|
667
|
+
const eg = E(
|
|
652
668
|
({ className: e, date: g, variant: c = "short", ...Y }) => {
|
|
653
669
|
const M = gg(g, c);
|
|
654
670
|
return /* @__PURE__ */ A(
|
|
@@ -665,7 +681,7 @@ const eg = i(
|
|
|
665
681
|
}
|
|
666
682
|
);
|
|
667
683
|
eg.displayName = "FormattedDate";
|
|
668
|
-
const Bg =
|
|
684
|
+
const Bg = E(
|
|
669
685
|
({
|
|
670
686
|
asChild: e,
|
|
671
687
|
className: g,
|
|
@@ -673,25 +689,25 @@ const Bg = i(
|
|
|
673
689
|
typographyVariant: Y = "heading_3_bold",
|
|
674
690
|
children: M,
|
|
675
691
|
...I
|
|
676
|
-
},
|
|
692
|
+
}, i) => /* @__PURE__ */ A(
|
|
677
693
|
e ? o : "div",
|
|
678
694
|
{
|
|
679
|
-
ref:
|
|
695
|
+
ref: i,
|
|
680
696
|
className: x(
|
|
681
697
|
"relative flex w-full max-w-[500px] items-center justify-between",
|
|
682
|
-
"pl-6 before:absolute before:
|
|
698
|
+
"before:bg-success-700 pl-6 before:absolute before:top-1/2 before:left-0 before:h-6 before:w-3 before:-translate-y-1/2 before:content-['']",
|
|
683
699
|
g
|
|
684
700
|
),
|
|
685
701
|
...I,
|
|
686
702
|
children: /* @__PURE__ */ B("div", { className: "flex w-full items-center justify-between", children: [
|
|
687
703
|
M && /* @__PURE__ */ A(C, { variant: Y, children: M }),
|
|
688
|
-
/* @__PURE__ */ A(z, { iconId: c, width: 24, height: 24 })
|
|
704
|
+
/* @__PURE__ */ A(z, { iconId: c, width: 24, height: 24, className: "text-light-700" })
|
|
689
705
|
] })
|
|
690
706
|
}
|
|
691
707
|
)
|
|
692
708
|
);
|
|
693
709
|
Bg.displayName = "PreviewTitle";
|
|
694
|
-
const H =
|
|
710
|
+
const H = E(
|
|
695
711
|
({
|
|
696
712
|
asChild: e,
|
|
697
713
|
className: g,
|
|
@@ -699,10 +715,10 @@ const H = i(
|
|
|
699
715
|
iconId: Y = "Yak",
|
|
700
716
|
variant: M = "large",
|
|
701
717
|
withTM: I = !1,
|
|
702
|
-
iconColor:
|
|
718
|
+
iconColor: i = "text-success-700",
|
|
703
719
|
...n
|
|
704
|
-
},
|
|
705
|
-
const
|
|
720
|
+
}, w) => {
|
|
721
|
+
const m = e ? o : "div", h = () => {
|
|
706
722
|
switch (M) {
|
|
707
723
|
case "large":
|
|
708
724
|
return { width: 61, height: 44 };
|
|
@@ -723,16 +739,16 @@ const H = i(
|
|
|
723
739
|
return "heading_2_semibold";
|
|
724
740
|
}
|
|
725
741
|
};
|
|
726
|
-
return /* @__PURE__ */ A(
|
|
742
|
+
return /* @__PURE__ */ A(m, { ref: w, className: x("inline-flex items-center gap-1", g), ...n, children: /* @__PURE__ */ B("div", { className: "flex items-center gap-1", children: [
|
|
727
743
|
/* @__PURE__ */ A(
|
|
728
744
|
z,
|
|
729
745
|
{
|
|
730
746
|
iconId: Y,
|
|
731
747
|
width: h().width,
|
|
732
748
|
height: h().height,
|
|
733
|
-
className: x("fill-current",
|
|
749
|
+
className: x("fill-current", i),
|
|
734
750
|
style: {
|
|
735
|
-
color:
|
|
751
|
+
color: i !== "currentColor" && !i.startsWith("text-") ? i : void 0
|
|
736
752
|
}
|
|
737
753
|
}
|
|
738
754
|
),
|
|
@@ -746,7 +762,7 @@ const H = i(
|
|
|
746
762
|
);
|
|
747
763
|
H.displayName = "Logo";
|
|
748
764
|
const cg = ({ children: e, className: g, label: c, required: Y, labelColor: M = "primary", ...I }) => {
|
|
749
|
-
const
|
|
765
|
+
const i = q(
|
|
750
766
|
() => ({
|
|
751
767
|
label: _(
|
|
752
768
|
"inline-block mb-1 text-sm leading-6",
|
|
@@ -759,22 +775,22 @@ const cg = ({ children: e, className: g, label: c, required: Y, labelColor: M =
|
|
|
759
775
|
[g, M]
|
|
760
776
|
);
|
|
761
777
|
return /* @__PURE__ */ B($.Root, { ...I, children: [
|
|
762
|
-
c && /* @__PURE__ */ B("div", { className:
|
|
778
|
+
c && /* @__PURE__ */ B("div", { className: i.label, children: [
|
|
763
779
|
c,
|
|
764
|
-
Y && /* @__PURE__ */ A("span", { className:
|
|
780
|
+
Y && /* @__PURE__ */ A("span", { className: i.required, children: "*" })
|
|
765
781
|
] }),
|
|
766
782
|
e
|
|
767
783
|
] });
|
|
768
|
-
}, Mg =
|
|
784
|
+
}, Mg = E(function({
|
|
769
785
|
className: g,
|
|
770
786
|
onClearClick: c,
|
|
771
787
|
errorMessage: Y,
|
|
772
788
|
iconEnd: M,
|
|
773
789
|
iconStart: I,
|
|
774
|
-
label:
|
|
790
|
+
label: i,
|
|
775
791
|
onEnter: n,
|
|
776
|
-
onKeyDown:
|
|
777
|
-
required:
|
|
792
|
+
onKeyDown: w,
|
|
793
|
+
required: m,
|
|
778
794
|
search: h,
|
|
779
795
|
type: G,
|
|
780
796
|
labelColor: F,
|
|
@@ -799,10 +815,10 @@ const cg = ({ children: e, className: g, label: c, required: Y, labelColor: M =
|
|
|
799
815
|
height: 24
|
|
800
816
|
}
|
|
801
817
|
) : M, N = G === "password" ? R ? "text" : "password" : h ? "search" : G, P = (d) => {
|
|
802
|
-
n && d.key === "Enter" && n(d),
|
|
818
|
+
n && d.key === "Enter" && n(d), w?.(d);
|
|
803
819
|
}, L = !!c && !!Q.value && String(Q.value).length > 0, p = (f ? "start" : "") + (a ? "end" : "");
|
|
804
820
|
return /* @__PURE__ */ B("div", { className: x("flex w-full flex-col", g), children: [
|
|
805
|
-
|
|
821
|
+
i && /* @__PURE__ */ A(cg, { htmlFor: t, label: i, required: m, labelColor: F }),
|
|
806
822
|
/* @__PURE__ */ B("div", { className: "relative flex items-center", children: [
|
|
807
823
|
!!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
824
|
/* @__PURE__ */ A(
|
|
@@ -828,7 +844,7 @@ const cg = ({ children: e, className: g, label: c, required: Y, labelColor: M =
|
|
|
828
844
|
name: "text",
|
|
829
845
|
onKeyDown: P,
|
|
830
846
|
ref: v,
|
|
831
|
-
required:
|
|
847
|
+
required: m,
|
|
832
848
|
type: N,
|
|
833
849
|
...Q
|
|
834
850
|
}
|
|
@@ -851,7 +867,7 @@ const cg = ({ children: e, className: g, label: c, required: Y, labelColor: M =
|
|
|
851
867
|
] });
|
|
852
868
|
});
|
|
853
869
|
Mg.displayName = "TextField";
|
|
854
|
-
const y =
|
|
870
|
+
const y = E(
|
|
855
871
|
({
|
|
856
872
|
items: e,
|
|
857
873
|
triggerLabel: g = "Ещё",
|
|
@@ -859,7 +875,7 @@ const y = i(
|
|
|
859
875
|
labelTypography: Y = "text_16_semibold",
|
|
860
876
|
className: M,
|
|
861
877
|
style: I,
|
|
862
|
-
children:
|
|
878
|
+
children: i
|
|
863
879
|
}, n) => /* @__PURE__ */ B("div", { ref: n, className: x("inline-flex items-center", M), style: I, children: [
|
|
864
880
|
/* @__PURE__ */ B(Z.Root, { children: [
|
|
865
881
|
/* @__PURE__ */ A(Z.Trigger, { asChild: !0, children: /* @__PURE__ */ B(
|
|
@@ -892,31 +908,31 @@ const y = i(
|
|
|
892
908
|
),
|
|
893
909
|
sideOffset: 4,
|
|
894
910
|
align: "end",
|
|
895
|
-
children: e.map((
|
|
911
|
+
children: e.map((w) => /* @__PURE__ */ A(
|
|
896
912
|
Z.Item,
|
|
897
913
|
{
|
|
898
914
|
asChild: !0,
|
|
899
|
-
disabled:
|
|
915
|
+
disabled: w.disabled,
|
|
900
916
|
className: x(
|
|
901
917
|
"flex cursor-pointer items-center px-3 py-1.5 text-sm",
|
|
902
918
|
"hover:bg-light-100 hover:text-success-300",
|
|
903
919
|
"data-[disabled]:pointer-events-none data-[disabled]:text-primary-900",
|
|
904
920
|
"outline-none"
|
|
905
921
|
),
|
|
906
|
-
children: /* @__PURE__ */ A("a", { href:
|
|
922
|
+
children: /* @__PURE__ */ A("a", { href: w.href, children: /* @__PURE__ */ A(C, { variant: Y, children: w.label }) })
|
|
907
923
|
},
|
|
908
|
-
|
|
924
|
+
w.label
|
|
909
925
|
))
|
|
910
926
|
}
|
|
911
927
|
) })
|
|
912
928
|
] }),
|
|
913
|
-
|
|
929
|
+
i
|
|
914
930
|
] })
|
|
915
931
|
);
|
|
916
932
|
y.displayName = "DropdownMenu";
|
|
917
|
-
const X =
|
|
933
|
+
const X = E(
|
|
918
934
|
({ items: e, className: g, style: c, children: Y, lengthItem: M = 5 }, I) => {
|
|
919
|
-
const
|
|
935
|
+
const i = e.slice(0, M), n = e.slice(M);
|
|
920
936
|
return /* @__PURE__ */ B(
|
|
921
937
|
"ul",
|
|
922
938
|
{
|
|
@@ -924,7 +940,7 @@ const X = i(
|
|
|
924
940
|
className: x("mx-auto flex max-w-[630px] items-center justify-center gap-6", g),
|
|
925
941
|
style: c,
|
|
926
942
|
children: [
|
|
927
|
-
|
|
943
|
+
i.map((w) => /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A("a", { href: w.href, children: /* @__PURE__ */ A(C, { variant: "text_16_semibold", children: w.label }) }) }, w.label)),
|
|
928
944
|
n.length > 0 && /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A(y, { items: n }) }),
|
|
929
945
|
Y
|
|
930
946
|
]
|
|
@@ -939,16 +955,16 @@ const Yg = [
|
|
|
939
955
|
{ label: "Госуслуги", href: "/services" },
|
|
940
956
|
{ label: "Здоровье", href: "/health" },
|
|
941
957
|
{ label: "Образование", href: "/education" }
|
|
942
|
-
], ig = ["Ингушетия", "Чечня", "Дагестан"], zg =
|
|
958
|
+
], ig = ["Ингушетия", "Чечня", "Дагестан"], zg = E(function({
|
|
943
959
|
navigation: g,
|
|
944
960
|
navItems: c = Yg,
|
|
945
961
|
lengthItem: Y = 5,
|
|
946
962
|
locations: M = ig,
|
|
947
963
|
defaultLocation: I = M[0],
|
|
948
|
-
locationValue:
|
|
964
|
+
locationValue: i,
|
|
949
965
|
onLocationChange: n,
|
|
950
|
-
withSearchAndMenu:
|
|
951
|
-
onLoginClick:
|
|
966
|
+
withSearchAndMenu: w = !1,
|
|
967
|
+
onLoginClick: m,
|
|
952
968
|
onMenuClick: h,
|
|
953
969
|
onSearchClick: G,
|
|
954
970
|
className: F,
|
|
@@ -965,14 +981,14 @@ const Yg = [
|
|
|
965
981
|
ref: O,
|
|
966
982
|
role: "banner",
|
|
967
983
|
className: x(
|
|
968
|
-
"flex items-center justify-between bg-white
|
|
984
|
+
"flex items-center justify-between bg-white py-3",
|
|
969
985
|
F
|
|
970
986
|
),
|
|
971
987
|
style: Q,
|
|
972
988
|
children: [
|
|
973
989
|
/* @__PURE__ */ B("div", { className: "flex min-w-0 items-center", children: [
|
|
974
990
|
/* @__PURE__ */ B("div", { className: "flex items-center gap-3 sm:gap-4", children: [
|
|
975
|
-
|
|
991
|
+
w && /* @__PURE__ */ B(k, { children: [
|
|
976
992
|
/* @__PURE__ */ A(
|
|
977
993
|
"button",
|
|
978
994
|
{
|
|
@@ -990,7 +1006,7 @@ const Yg = [
|
|
|
990
1006
|
/* @__PURE__ */ A(
|
|
991
1007
|
"nav",
|
|
992
1008
|
{
|
|
993
|
-
className: x("ml-4 sm:ml-6",
|
|
1009
|
+
className: x("ml-4 sm:ml-6", w && "hidden md:block"),
|
|
994
1010
|
"aria-label": "Основная навигация",
|
|
995
1011
|
children: g ?? /* @__PURE__ */ A(X, { items: c, lengthItem: Y })
|
|
996
1012
|
}
|
|
@@ -1000,8 +1016,8 @@ const Yg = [
|
|
|
1000
1016
|
R && /* @__PURE__ */ A(
|
|
1001
1017
|
T,
|
|
1002
1018
|
{
|
|
1003
|
-
defaultValue:
|
|
1004
|
-
value:
|
|
1019
|
+
defaultValue: i ? void 0 : I,
|
|
1020
|
+
value: i,
|
|
1005
1021
|
onValueChange: n,
|
|
1006
1022
|
className: "w-[140px] sm:w-[150px]",
|
|
1007
1023
|
labelColor: "black",
|
|
@@ -1010,7 +1026,7 @@ const Yg = [
|
|
|
1010
1026
|
children: M.map((s) => /* @__PURE__ */ A(K, { value: s, children: s }, s))
|
|
1011
1027
|
}
|
|
1012
1028
|
),
|
|
1013
|
-
/* @__PURE__ */ A(W, { type: "button", onClick:
|
|
1029
|
+
/* @__PURE__ */ A(W, { type: "button", onClick: m, variant: "outlineBlackText", children: "Войти" })
|
|
1014
1030
|
] })
|
|
1015
1031
|
]
|
|
1016
1032
|
}
|
|
@@ -1243,7 +1259,7 @@ const Yg = [
|
|
|
1243
1259
|
] })
|
|
1244
1260
|
]
|
|
1245
1261
|
}
|
|
1246
|
-
), Ig =
|
|
1262
|
+
), Ig = E(Eg), Cg = ({
|
|
1247
1263
|
children: e,
|
|
1248
1264
|
onClick: g,
|
|
1249
1265
|
variantColor: c = "success",
|
|
@@ -1251,7 +1267,7 @@ const Yg = [
|
|
|
1251
1267
|
href: M = "#",
|
|
1252
1268
|
className: I
|
|
1253
1269
|
}) => {
|
|
1254
|
-
const
|
|
1270
|
+
const i = {
|
|
1255
1271
|
success: {
|
|
1256
1272
|
text: "text-success-700",
|
|
1257
1273
|
bgButton: "!bg-success-700",
|
|
@@ -1262,14 +1278,14 @@ const Yg = [
|
|
|
1262
1278
|
bgButton: "!bg-purple-800",
|
|
1263
1279
|
bgCard: "bg-purple-100"
|
|
1264
1280
|
}
|
|
1265
|
-
}, { text: n, bgButton:
|
|
1281
|
+
}, { text: n, bgButton: w, bgCard: m } = i[c], h = Y === "primary";
|
|
1266
1282
|
return /* @__PURE__ */ B(
|
|
1267
1283
|
VA,
|
|
1268
1284
|
{
|
|
1269
1285
|
className: x(
|
|
1270
1286
|
"flex w-full overflow-hidden",
|
|
1271
1287
|
h ? "max-h-[100px] items-center justify-between overflow-hidden px-7" : "relative min-h-[602px] max-w-[416px] flex-col justify-between p-7",
|
|
1272
|
-
|
|
1288
|
+
m,
|
|
1273
1289
|
I
|
|
1274
1290
|
),
|
|
1275
1291
|
children: [
|
|
@@ -1279,7 +1295,7 @@ const Yg = [
|
|
|
1279
1295
|
] }),
|
|
1280
1296
|
h ? /* @__PURE__ */ B(k, { children: [
|
|
1281
1297
|
/* @__PURE__ */ A(U, { className: x("fill-current", n), width: "380px" }),
|
|
1282
|
-
/* @__PURE__ */ A(W, { variant: "primary", className: x(
|
|
1298
|
+
/* @__PURE__ */ A(W, { variant: "primary", className: x(w), onClick: g, children: /* @__PURE__ */ A("a", { href: M, children: "Подробнее" }) })
|
|
1283
1299
|
] }) : /* @__PURE__ */ B(k, { children: [
|
|
1284
1300
|
/* @__PURE__ */ A(
|
|
1285
1301
|
Ig,
|
|
@@ -1308,7 +1324,7 @@ export {
|
|
|
1308
1324
|
y as DropdownMenu,
|
|
1309
1325
|
z as DynamicIcon,
|
|
1310
1326
|
zA as Eye,
|
|
1311
|
-
|
|
1327
|
+
wA as EyeOff,
|
|
1312
1328
|
xA as EyeOffOutline,
|
|
1313
1329
|
JA as EyeOutline,
|
|
1314
1330
|
GA as Filter,
|