@post-pioneer/ui-kit 0.1.30 → 0.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- import { jsx as t, jsxs as C, Fragment as B } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as h, Fragment as B } from "react/jsx-runtime";
2
2
  import $, { forwardRef as c } from "react";
3
3
  const S = c(
4
- ({ width: e = "12", height: a = "14", color: o = "currentColor", ...n }, r) => /* @__PURE__ */ t(
4
+ ({ width: e = "12", height: n = "14", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
5
5
  "svg",
6
6
  {
7
7
  ref: r,
8
8
  width: e,
9
- height: a,
9
+ height: n,
10
10
  viewBox: "0 0 16 16",
11
11
  fill: "none",
12
12
  color: o,
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
- ...n,
14
+ ...a,
15
15
  children: /* @__PURE__ */ t(
16
16
  "path",
17
17
  {
@@ -26,17 +26,17 @@ const S = c(
26
26
  );
27
27
  S.displayName = "AlertsBellIcon";
28
28
  const G = c(
29
- ({ width: e = "6", height: a = "10", color: o = "currentColor", ...n }, r) => /* @__PURE__ */ t(
29
+ ({ width: e = "6", height: n = "10", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
30
30
  "svg",
31
31
  {
32
32
  ref: r,
33
33
  width: e,
34
- height: a,
34
+ height: n,
35
35
  viewBox: "0 0 6 10",
36
36
  fill: "none",
37
37
  color: o,
38
38
  xmlns: "http://www.w3.org/2000/svg",
39
- ...n,
39
+ ...a,
40
40
  children: /* @__PURE__ */ t(
41
41
  "path",
42
42
  {
@@ -49,17 +49,17 @@ const G = c(
49
49
  );
50
50
  G.displayName = "ArrowChevronLeftIcon";
51
51
  const I = c(
52
- ({ width: e = "6", height: a = "10", color: o = "currentColor", ...n }, r) => /* @__PURE__ */ t(
52
+ ({ width: e = "6", height: n = "10", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
53
53
  "svg",
54
54
  {
55
55
  ref: r,
56
56
  width: e,
57
- height: a,
57
+ height: n,
58
58
  viewBox: "0 0 6 10",
59
59
  fill: "none",
60
60
  color: o,
61
61
  xmlns: "http://www.w3.org/2000/svg",
62
- ...n,
62
+ ...a,
63
63
  children: /* @__PURE__ */ t(
64
64
  "path",
65
65
  {
@@ -72,17 +72,17 @@ const I = c(
72
72
  );
73
73
  I.displayName = "ArrowChevronRightIcon";
74
74
  const z = c(
75
- ({ width: e = "16", height: a = "16", color: o = "currentColor", ...n }, r) => /* @__PURE__ */ t(
75
+ ({ width: e = "16", height: n = "16", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
76
76
  "svg",
77
77
  {
78
78
  ref: r,
79
79
  width: e,
80
- height: a,
80
+ height: n,
81
81
  viewBox: "0 0 16 16",
82
82
  fill: "none",
83
83
  color: o,
84
84
  xmlns: "http://www.w3.org/2000/svg",
85
- ...n,
85
+ ...a,
86
86
  children: /* @__PURE__ */ t(
87
87
  "path",
88
88
  {
@@ -97,17 +97,17 @@ const z = c(
97
97
  );
98
98
  z.displayName = "ImagePhotoIcon";
99
99
  const A = c(
100
- ({ width: e = "12", height: a = "14", color: o = "currentColor", ...n }, r) => /* @__PURE__ */ t(
100
+ ({ width: e = "12", height: n = "14", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
101
101
  "svg",
102
102
  {
103
103
  ref: r,
104
104
  width: e,
105
- height: a,
105
+ height: n,
106
106
  viewBox: "0 0 16 16",
107
107
  fill: "none",
108
108
  color: o,
109
109
  xmlns: "http://www.w3.org/2000/svg",
110
- ...n,
110
+ ...a,
111
111
  children: /* @__PURE__ */ t(
112
112
  "path",
113
113
  {
@@ -122,18 +122,18 @@ const A = c(
122
122
  );
123
123
  A.displayName = "ImagePhotoOutline";
124
124
  const T = c(
125
- ({ width: e = "16", height: a = "16", color: o = "currentColor", ...n }, r) => /* @__PURE__ */ t(
125
+ ({ width: e = "16", height: n = "16", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
126
126
  "svg",
127
127
  {
128
128
  ref: r,
129
129
  width: e,
130
- height: a,
130
+ height: n,
131
131
  viewBox: "0 0 16 16",
132
132
  fill: "none",
133
133
  color: o,
134
134
  xmlns: "http://www.w3.org/2000/svg",
135
- ...n,
136
- children: /* @__PURE__ */ C("g", { opacity: "0.9", children: [
135
+ ...a,
136
+ children: /* @__PURE__ */ h("g", { opacity: "0.9", children: [
137
137
  /* @__PURE__ */ t(
138
138
  "path",
139
139
  {
@@ -156,14 +156,14 @@ const T = c(
156
156
  );
157
157
  T.displayName = "MathSymbolsAddSquareV2Icon";
158
158
  const P = c(
159
- ({ size: e = 16, color: a = "currentColor", ...o }, n) => /* @__PURE__ */ t(
159
+ ({ size: e = 16, color: n = "currentColor", ...o }, a) => /* @__PURE__ */ t(
160
160
  "svg",
161
161
  {
162
- ref: n,
162
+ ref: a,
163
163
  width: e,
164
164
  height: e,
165
165
  viewBox: "0 0 16 16",
166
- color: a,
166
+ color: n,
167
167
  fill: "none",
168
168
  xmlns: "http://www.w3.org/2000/svg",
169
169
  ...o,
@@ -181,22 +181,22 @@ const P = c(
181
181
  );
182
182
  P.displayName = "SwapIcon";
183
183
  const O = c(
184
- ({ width: e = "16", height: a = "16", color: o = "currentColor", ...n }, r) => /* @__PURE__ */ t(
184
+ ({ width: e = "16", height: n = "16", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
185
185
  "svg",
186
186
  {
187
187
  ref: r,
188
188
  width: e,
189
- height: a,
189
+ height: n,
190
190
  viewBox: "0 0 16 16",
191
191
  fill: "none",
192
192
  xmlns: "http://www.w3.org/2000/svg",
193
- ...n,
193
+ ...a,
194
194
  children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.5008 1.33398C4.8359 1.33398 5.10754 1.60533 5.10754 1.94005V2.37294H10.764V1.94005C10.764 1.60533 11.0357 1.33398 11.3708 1.33398C11.7059 1.33398 11.9775 1.60533 11.9775 1.94005V2.4444C13.1464 2.72526 14 3.79983 14 5.05691L14 11.9833C14 13.4495 12.8389 14.6673 11.3708 14.6673H4.62921C3.16114 14.6673 2 13.4495 2 11.9833V5.05691C2 3.84634 2.79165 2.80503 3.89406 2.4788V1.94005C3.89406 1.60533 4.16571 1.33398 4.5008 1.33398ZM4.62921 3.58506C3.86332 3.58506 3.21348 4.22783 3.21348 5.05691V5.32035C3.23562 5.3179 3.25811 5.31665 3.2809 5.31665H12.7191C12.7419 5.31665 12.7644 5.3179 12.7865 5.32035V5.05691C12.7865 4.22783 12.1367 3.58506 11.3708 3.58506H4.62921ZM12.7865 6.52507C12.7644 6.52751 12.7419 6.52877 12.7191 6.52877H3.2809C3.25811 6.52877 3.23562 6.52751 3.21348 6.52507V11.9833C3.21348 12.8124 3.86332 13.4552 4.62921 13.4552H11.3708C12.1367 13.4552 12.7865 12.8124 12.7865 11.9833L12.7865 6.52507ZM8.33708 8.03515C8.67217 8.03515 8.94382 8.30649 8.94382 8.64121V8.69329C8.94382 9.02801 8.67217 9.29935 8.33708 9.29935C8.00198 9.29935 7.73034 9.02801 7.73034 8.69329V8.64121C7.73034 8.30649 8.00198 8.03515 8.33708 8.03515ZM11.0337 8.03515C11.3688 8.03515 11.6404 8.30649 11.6404 8.64121V8.69329C11.6404 9.02801 11.3688 9.29935 11.0337 9.29935C10.6986 9.29935 10.427 9.02801 10.427 8.69329V8.64121C10.427 8.30649 10.6986 8.03515 11.0337 8.03515ZM5.30337 10.8578C5.63847 10.8578 5.91011 11.1291 5.91011 11.4638V11.5159C5.91011 11.8506 5.63847 12.122 5.30337 12.122C4.96828 12.122 4.69663 11.8506 4.69663 11.5159V11.4638C4.69663 11.1291 4.96828 10.8578 5.30337 10.8578ZM8.33708 10.8578C8.67217 10.8578 8.94382 11.1291 8.94382 11.4638V11.5159C8.94382 11.8506 8.67217 12.122 8.33708 12.122C8.00198 12.122 7.73034 11.8506 7.73034 11.5159V11.4638C7.73034 11.1291 8.00198 10.8578 8.33708 10.8578Z" })
195
195
  }
196
196
  )
197
197
  );
198
198
  O.displayName = "TimeCalendarV2Icon";
199
- const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_687", U = "_avatar_18phg_779", q = "_avatar__wrapper_18phg_830", E = "_avatar__content_18phg_835", J = "_avatar__image_18phg_845", K = "_avatar__initials_18phg_851", Q = "_avatar__placeholder_18phg_880", X = "_avatar__status_18phg_911", h = {
199
+ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_687", U = "_avatar_18phg_779", q = "_avatar__wrapper_18phg_830", E = "_avatar__content_18phg_835", J = "_avatar__image_18phg_845", K = "_avatar__initials_18phg_851", Q = "_avatar__placeholder_18phg_880", X = "_avatar__status_18phg_911", w = {
200
200
  focus: W,
201
201
  "focus--default": "_focus--default_18phg_566",
202
202
  "focus--danger": "_focus--danger_18phg_570",
@@ -237,20 +237,20 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
237
237
  avatar__status: X
238
238
  }, Y = ({
239
239
  src: e,
240
- name: a,
241
- size: o = "m",
242
- status: n = null,
240
+ name: n,
241
+ size: o = "s",
242
+ status: a = null,
243
243
  bordered: r = !1,
244
244
  backgroundColor: l,
245
245
  className: i = "",
246
- onError: g
246
+ onError: p
247
247
  }) => {
248
- const d = (_) => {
249
- const u = _.trim().split(" ");
250
- return u.length === 1 ? u[0].charAt(0).toUpperCase() : `${u[0].charAt(0)}${u[u.length - 1].charAt(0)}`.toUpperCase();
251
- }, w = () => {
248
+ const g = (_) => {
249
+ const d = _.trim().split(" ");
250
+ return d.length === 1 ? d[0].charAt(0).toUpperCase() : `${d[0].charAt(0)}${d[d.length - 1].charAt(0)}`.toUpperCase();
251
+ }, C = () => {
252
252
  if (l) return l;
253
- if (a) {
253
+ if (n) {
254
254
  const _ = [
255
255
  "var(--color-blue-gray-600)",
256
256
  "var(--color-indigo-600)",
@@ -268,19 +268,19 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
268
268
  "var(--color-yellow-600)",
269
269
  "var(--color-rose-600)",
270
270
  "var(--color-pink-600)"
271
- ], u = a.split("").reduce((b, L) => b + L.charCodeAt(0), 0);
272
- return _[u % _.length];
271
+ ], d = n.split("").reduce((b, L) => b + L.charCodeAt(0), 0);
272
+ return _[d % _.length];
273
273
  }
274
274
  return "var(--color-blue-gray-300)";
275
- }, p = {
275
+ }, u = {
276
276
  online: "var(--color-success-500)",
277
277
  offline: "var(--color-blue-gray-400)",
278
278
  away: "var(--color-warning-500)",
279
279
  busy: "var(--color-danger-500)"
280
280
  }, m = [
281
- h.avatar,
282
- h[`avatar--${o}`],
283
- r ? h["avatar--bordered"] : "",
281
+ w.avatar,
282
+ w[`avatar--${o}`],
283
+ r ? w["avatar--bordered"] : "",
284
284
  i
285
285
  ].filter(Boolean).join(" "), x = () => {
286
286
  if (e)
@@ -288,23 +288,23 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
288
288
  "img",
289
289
  {
290
290
  src: e,
291
- alt: a ? `${a} avatar` : "Avatar",
292
- className: h.avatar__image,
293
- onError: g
291
+ alt: n ? `${n} avatar` : "Avatar",
292
+ className: w.avatar__image,
293
+ onError: p
294
294
  }
295
295
  );
296
- if (a) {
297
- const _ = d(a);
296
+ if (n) {
297
+ const _ = g(n);
298
298
  return /* @__PURE__ */ t(
299
299
  "div",
300
300
  {
301
- className: h.avatar__initials,
302
- style: { backgroundColor: w() },
301
+ className: w.avatar__initials,
302
+ style: { backgroundColor: C() },
303
303
  children: _
304
304
  }
305
305
  );
306
306
  }
307
- return /* @__PURE__ */ t("div", { className: h.avatar__placeholder, children: /* @__PURE__ */ C(
307
+ return /* @__PURE__ */ t("div", { className: w.avatar__placeholder, children: /* @__PURE__ */ h(
308
308
  "svg",
309
309
  {
310
310
  width: "24",
@@ -320,40 +320,40 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
320
320
  }
321
321
  ) });
322
322
  };
323
- return /* @__PURE__ */ C("div", { className: m, children: [
324
- /* @__PURE__ */ t("div", { className: h.avatar__content, children: x() }),
325
- n && /* @__PURE__ */ t(
323
+ return /* @__PURE__ */ h("div", { className: m, children: [
324
+ /* @__PURE__ */ t("div", { className: w.avatar__content, children: x() }),
325
+ a && /* @__PURE__ */ t(
326
326
  "div",
327
327
  {
328
- className: h.avatar__status,
329
- style: { backgroundColor: p[n] }
328
+ className: w.avatar__status,
329
+ style: { backgroundColor: u[a] }
330
330
  }
331
331
  )
332
332
  ] });
333
- }, t1 = "_avatarGroup_1teei_779", e1 = "_avatarGroup__item_1teei_783", a1 = "_avatarGroup__more_1teei_794", y = {
333
+ }, t1 = "_avatarGroup_1teei_779", e1 = "_avatarGroup__item_1teei_783", n1 = "_avatarGroup__more_1teei_794", y = {
334
334
  avatarGroup: t1,
335
335
  "avatarGroup--overlap": "_avatarGroup--overlap_1teei_783",
336
336
  avatarGroup__item: e1,
337
- avatarGroup__more: a1
337
+ avatarGroup__more: n1
338
338
  }, q1 = ({
339
339
  items: e,
340
- max: a = 5,
340
+ max: n = 5,
341
341
  size: o = "m",
342
- overlap: n = !0,
342
+ overlap: a = !0,
343
343
  className: r = ""
344
344
  }) => {
345
- const l = e.slice(0, a), i = e.length - l.length;
346
- return /* @__PURE__ */ C(
345
+ const l = e.slice(0, n), i = e.length - l.length;
346
+ return /* @__PURE__ */ h(
347
347
  "div",
348
348
  {
349
349
  className: [
350
350
  y.avatarGroup,
351
- n ? y["avatarGroup--overlap"] : "",
351
+ a ? y["avatarGroup--overlap"] : "",
352
352
  r
353
353
  ].filter(Boolean).join(" "),
354
354
  children: [
355
- l.map((g, d) => /* @__PURE__ */ t("div", { className: y.avatarGroup__item, children: /* @__PURE__ */ t(Y, { ...g, size: o }) }, d)),
356
- i > 0 && /* @__PURE__ */ C("div", { className: `${y.avatarGroup__item} ${y.avatarGroup__more}`, children: [
355
+ l.map((p, g) => /* @__PURE__ */ t("div", { className: y.avatarGroup__item, children: /* @__PURE__ */ t(Y, { ...p, size: o }) }, g)),
356
+ i > 0 && /* @__PURE__ */ h("div", { className: `${y.avatarGroup__item} ${y.avatarGroup__more}`, children: [
357
357
  "+",
358
358
  i
359
359
  ] })
@@ -362,9 +362,9 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
362
362
  );
363
363
  }, E1 = ({
364
364
  size: e = 80,
365
- borderColor: a = "#D6DDFF",
365
+ borderColor: n = "#D6DDFF",
366
366
  borderWidth: o = 2,
367
- borderStyle: n = "dashed",
367
+ borderStyle: a = "dashed",
368
368
  children: r
369
369
  }) => /* @__PURE__ */ t(
370
370
  "div",
@@ -373,7 +373,7 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
373
373
  width: e,
374
374
  height: e,
375
375
  borderRadius: "50%",
376
- border: `${o}px ${n} ${a}`,
376
+ border: `${o}px ${a} ${n}`,
377
377
  padding: o,
378
378
  boxSizing: "border-box",
379
379
  display: "flex",
@@ -394,8 +394,8 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
394
394
  }
395
395
  )
396
396
  }
397
- ), n1 = "_focus_1ckja_549", o1 = "_swap_1ckja_631", r1 = "_swap__content_1ckja_687", s1 = "_spinner_1ckja_779", l1 = "_spinner__label_1ckja_841", f = {
398
- focus: n1,
397
+ ), a1 = "_focus_1ckja_549", o1 = "_swap_1ckja_631", r1 = "_swap__content_1ckja_687", s1 = "_spinner_1ckja_779", l1 = "_spinner__label_1ckja_841", f = {
398
+ focus: a1,
399
399
  "focus--default": "_focus--default_1ckja_566",
400
400
  "focus--danger": "_focus--danger_1ckja_570",
401
401
  "focus--visible": "_focus--visible_1ckja_576",
@@ -439,22 +439,22 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
439
439
  "spinner-svg": "_spinner-svg_1ckja_856"
440
440
  }, _1 = ({
441
441
  size: e = "m",
442
- color: a,
442
+ color: n,
443
443
  className: o = "",
444
- label: n,
444
+ label: a,
445
445
  labelPosition: r = "bottom"
446
446
  }) => {
447
- const l = !!n, i = [
447
+ const l = !!a, i = [
448
448
  f["spinner-container"],
449
449
  l && f[`spinner-container--label-${r}`],
450
450
  o
451
- ].filter(Boolean).join(" "), g = [
451
+ ].filter(Boolean).join(" "), p = [
452
452
  f.spinner,
453
453
  f[`spinner--${e}`],
454
- f[`spinner--${a}`]
454
+ f[`spinner--${n}`]
455
455
  ].filter(Boolean).join(" ");
456
- return /* @__PURE__ */ C("div", { className: i, children: [
457
- /* @__PURE__ */ t("div", { className: g, children: (() => {
456
+ return /* @__PURE__ */ h("div", { className: i, children: [
457
+ /* @__PURE__ */ t("div", { className: p, children: (() => {
458
458
  switch (e) {
459
459
  case "xs":
460
460
  return /* @__PURE__ */ t("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.0271 9.32414C11.5487 8.54345 11.8786 7.65462 11.9948 6.7298C12.0466 6.31739 11.7048 5.97912 11.2891 5.97912C10.8735 5.97912 10.5431 6.3186 10.4746 6.72857C10.1176 8.86575 8.25944 10.4946 6.02088 10.4946C3.52695 10.4946 1.50522 8.47291 1.50522 5.97898C1.50522 3.74035 3.13422 1.88219 5.27149 1.52522C5.68143 1.45675 6.02088 1.1264 6.02088 0.710787C6.02088 0.29517 5.68266 -0.0466028 5.27028 0.00521079C4.34544 0.121414 3.45658 0.451289 2.67586 0.972945C1.68573 1.63453 0.914021 2.57486 0.458315 3.67503C0.00260876 4.7752 -0.116625 5.9858 0.115692 7.15374C0.348009 8.32167 0.921443 9.39449 1.76348 10.2365C2.60551 11.0786 3.67833 11.652 4.84627 11.8843C6.0142 12.1166 7.2248 11.9974 8.32497 11.5417C9.42515 11.086 10.3655 10.3143 11.0271 9.32414Z", fill: "currentColor" }) });
@@ -472,9 +472,9 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
472
472
  return null;
473
473
  }
474
474
  })() }),
475
- n && /* @__PURE__ */ t("span", { className: f.spinner__label, "aria-hidden": "true", children: n })
475
+ a && /* @__PURE__ */ t("span", { className: f.spinner__label, "aria-hidden": "true", children: a })
476
476
  ] });
477
- }, i1 = "_focus_1tyc7_549", c1 = "_swap_1tyc7_631", g1 = "_swap__content_1tyc7_687", p1 = "_button_1tyc7_779", u1 = "_sizeL_1tyc7_804", d1 = "_sizeM_1tyc7_808", h1 = "_sizeS_1tyc7_812", C1 = "_iconOnly_1tyc7_816", w1 = "_primary_1tyc7_828", m1 = "_disabled_1tyc7_833", v1 = "_count_1tyc7_847", x1 = "_secondary_1tyc7_851", f1 = "_ghost_1tyc7_874", y1 = "_link_1tyc7_897", b1 = "_dangerPrimary_1tyc7_926", L1 = "_dangerSecondary_1tyc7_952", k1 = "_dangerGhost_1tyc7_978", j1 = "_dangerLink_1tyc7_1004", V1 = "_open_1tyc7_1031", M1 = "_content_1tyc7_1043", N1 = "_loader_1tyc7_1048", H1 = "_text_1tyc7_1054", R1 = "_icon_1tyc7_816", Z1 = "_chevron_1tyc7_1081", B1 = "_loading_1tyc7_1109", s = {
477
+ }, i1 = "_focus_1tyc7_549", c1 = "_swap_1tyc7_631", p1 = "_swap__content_1tyc7_687", u1 = "_button_1tyc7_779", d1 = "_sizeL_1tyc7_804", g1 = "_sizeM_1tyc7_808", w1 = "_sizeS_1tyc7_812", h1 = "_iconOnly_1tyc7_816", C1 = "_primary_1tyc7_828", m1 = "_disabled_1tyc7_833", v1 = "_count_1tyc7_847", x1 = "_secondary_1tyc7_851", f1 = "_ghost_1tyc7_874", y1 = "_link_1tyc7_897", b1 = "_dangerPrimary_1tyc7_926", L1 = "_dangerSecondary_1tyc7_952", k1 = "_dangerGhost_1tyc7_978", j1 = "_dangerLink_1tyc7_1004", V1 = "_open_1tyc7_1031", M1 = "_content_1tyc7_1043", N1 = "_loader_1tyc7_1048", H1 = "_text_1tyc7_1054", R1 = "_icon_1tyc7_816", Z1 = "_chevron_1tyc7_1081", B1 = "_loading_1tyc7_1109", s = {
478
478
  focus: i1,
479
479
  "focus--default": "_focus--default_1tyc7_566",
480
480
  "focus--danger": "_focus--danger_1tyc7_570",
@@ -493,18 +493,18 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
493
493
  "swap--icon-m": "_swap--icon-m_1tyc7_671",
494
494
  "swap--icon-l": "_swap--icon-l_1tyc7_676",
495
495
  "swap--icon-xl": "_swap--icon-xl_1tyc7_681",
496
- swap__content: g1,
496
+ swap__content: p1,
497
497
  "swap--group-horizontal": "_swap--group-horizontal_1tyc7_696",
498
498
  "swap--group-vertical": "_swap--group-vertical_1tyc7_703",
499
499
  "swap--with-background": "_swap--with-background_1tyc7_711",
500
500
  "swap--with-border": "_swap--with-border_1tyc7_717",
501
501
  "swap--interactive": "_swap--interactive_1tyc7_725",
502
- button: p1,
503
- sizeL: u1,
504
- sizeM: d1,
505
- sizeS: h1,
506
- iconOnly: C1,
507
- primary: w1,
502
+ button: u1,
503
+ sizeL: d1,
504
+ sizeM: g1,
505
+ sizeS: w1,
506
+ iconOnly: h1,
507
+ primary: C1,
508
508
  disabled: m1,
509
509
  count: v1,
510
510
  secondary: x1,
@@ -533,38 +533,38 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
533
533
  return "s";
534
534
  }
535
535
  }, S1 = c(
536
- (e, a) => {
536
+ (e, n) => {
537
537
  const {
538
538
  size: o = "m",
539
- variant: n = "primary",
539
+ variant: a = "primary",
540
540
  disabled: r = !1,
541
541
  loading: l = !1,
542
542
  active: i = !1,
543
- open: g = !1,
544
- className: d = "",
545
- children: w,
546
- icon: p,
543
+ open: p = !1,
544
+ className: g = "",
545
+ children: C,
546
+ icon: u,
547
547
  iconPosition: m = "left",
548
548
  tooltip: x,
549
549
  count: _,
550
- withChevron: u = !1,
550
+ withChevron: d = !1,
551
551
  href: b,
552
552
  ...L
553
- } = e, k = m === "only" || !w && p, H = u && !k, j = [
553
+ } = e, k = m === "only" || !C && u, H = d && !k, j = [
554
554
  s.button,
555
555
  s[`size${o.toUpperCase()}`],
556
- s[n],
556
+ s[a],
557
557
  r && s.disabled,
558
558
  l && s.loading,
559
559
  i && s.active,
560
- g && s.open,
560
+ p && s.open,
561
561
  k && s.iconOnly,
562
- d
563
- ].filter(Boolean).join(" "), V = () => /* @__PURE__ */ C(B, { children: [
564
- /* @__PURE__ */ C("span", { className: s.content, children: [
565
- p && m !== "right" && /* @__PURE__ */ t("span", { className: s.icon, children: p }),
566
- w && /* @__PURE__ */ t("span", { className: s.text, children: w }),
567
- p && m === "right" && /* @__PURE__ */ t("span", { className: s.icon, children: p }),
562
+ g
563
+ ].filter(Boolean).join(" "), V = () => /* @__PURE__ */ h(B, { children: [
564
+ /* @__PURE__ */ h("span", { className: s.content, children: [
565
+ u && m !== "right" && /* @__PURE__ */ t("span", { className: s.icon, children: u }),
566
+ C && /* @__PURE__ */ t("span", { className: s.text, children: C }),
567
+ u && m === "right" && /* @__PURE__ */ t("span", { className: s.icon, children: u }),
568
568
  H && /* @__PURE__ */ t("span", { className: s.chevron }),
569
569
  _ !== void 0 && /* @__PURE__ */ t("span", { className: s.count, children: _ > 99 ? "+99" : _ })
570
570
  ] }),
@@ -575,7 +575,7 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
575
575
  return r || l ? /* @__PURE__ */ t("span", { className: j, ...M, children: V() }) : /* @__PURE__ */ t(
576
576
  "a",
577
577
  {
578
- ref: a,
578
+ ref: n,
579
579
  href: b,
580
580
  className: j,
581
581
  ...M,
@@ -587,7 +587,7 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
587
587
  return /* @__PURE__ */ t(
588
588
  "button",
589
589
  {
590
- ref: a,
590
+ ref: n,
591
591
  type: R,
592
592
  className: j,
593
593
  disabled: r || l,
@@ -600,80 +600,80 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
600
600
  );
601
601
  S1.displayName = "Button";
602
602
  function N(e) {
603
- var a, o, n = "";
604
- if (typeof e == "string" || typeof e == "number") n += e;
603
+ var n, o, a = "";
604
+ if (typeof e == "string" || typeof e == "number") a += e;
605
605
  else if (typeof e == "object") if (Array.isArray(e)) {
606
606
  var r = e.length;
607
- for (a = 0; a < r; a++) e[a] && (o = N(e[a])) && (n && (n += " "), n += o);
608
- } else for (o in e) e[o] && (n && (n += " "), n += o);
609
- return n;
607
+ for (n = 0; n < r; n++) e[n] && (o = N(e[n])) && (a && (a += " "), a += o);
608
+ } else for (o in e) e[o] && (a && (a += " "), a += o);
609
+ return a;
610
610
  }
611
611
  function G1() {
612
- for (var e, a, o = 0, n = "", r = arguments.length; o < r; o++) (e = arguments[o]) && (a = N(e)) && (n && (n += " "), n += a);
613
- return n;
612
+ for (var e, n, o = 0, a = "", r = arguments.length; o < r; o++) (e = arguments[o]) && (n = N(e)) && (a && (a += " "), a += n);
613
+ return a;
614
614
  }
615
- const I1 = "_focus_489g6_549", z1 = "_swap_489g6_631", A1 = "_swap__content_489g6_687", T1 = "_typography_489g6_779", P1 = "_truncate_489g6_990", v = {
615
+ const I1 = "_focus_1n4w9_549", z1 = "_swap_1n4w9_631", A1 = "_swap__content_1n4w9_687", T1 = "_typography_1n4w9_779", P1 = "_truncate_1n4w9_990", v = {
616
616
  focus: I1,
617
- "focus--default": "_focus--default_489g6_566",
618
- "focus--danger": "_focus--danger_489g6_570",
619
- "focus--visible": "_focus--visible_489g6_576",
620
- "focus-danger": "_focus-danger_489g6_591",
621
- "focus-within--default": "_focus-within--default_489g6_597",
622
- "focus-within--danger": "_focus-within--danger_489g6_601",
623
- "focus--input": "_focus--input_489g6_606",
624
- "focus--button": "_focus--button_489g6_611",
625
- "focus--card": "_focus--card_489g6_616",
617
+ "focus--default": "_focus--default_1n4w9_566",
618
+ "focus--danger": "_focus--danger_1n4w9_570",
619
+ "focus--visible": "_focus--visible_1n4w9_576",
620
+ "focus-danger": "_focus-danger_1n4w9_591",
621
+ "focus-within--default": "_focus-within--default_1n4w9_597",
622
+ "focus-within--danger": "_focus-within--danger_1n4w9_601",
623
+ "focus--input": "_focus--input_1n4w9_606",
624
+ "focus--button": "_focus--button_1n4w9_611",
625
+ "focus--card": "_focus--card_1n4w9_616",
626
626
  swap: z1,
627
- "swap--text": "_swap--text_489g6_640",
628
- "swap--icon": "_swap--icon_489g6_651",
629
- "swap--icon-xs": "_swap--icon-xs_489g6_661",
630
- "swap--icon-s": "_swap--icon-s_489g6_666",
631
- "swap--icon-m": "_swap--icon-m_489g6_671",
632
- "swap--icon-l": "_swap--icon-l_489g6_676",
633
- "swap--icon-xl": "_swap--icon-xl_489g6_681",
627
+ "swap--text": "_swap--text_1n4w9_640",
628
+ "swap--icon": "_swap--icon_1n4w9_651",
629
+ "swap--icon-xs": "_swap--icon-xs_1n4w9_661",
630
+ "swap--icon-s": "_swap--icon-s_1n4w9_666",
631
+ "swap--icon-m": "_swap--icon-m_1n4w9_671",
632
+ "swap--icon-l": "_swap--icon-l_1n4w9_676",
633
+ "swap--icon-xl": "_swap--icon-xl_1n4w9_681",
634
634
  swap__content: A1,
635
- "swap--group-horizontal": "_swap--group-horizontal_489g6_696",
636
- "swap--group-vertical": "_swap--group-vertical_489g6_703",
637
- "swap--with-background": "_swap--with-background_489g6_711",
638
- "swap--with-border": "_swap--with-border_489g6_717",
639
- "swap--interactive": "_swap--interactive_489g6_725",
635
+ "swap--group-horizontal": "_swap--group-horizontal_1n4w9_696",
636
+ "swap--group-vertical": "_swap--group-vertical_1n4w9_703",
637
+ "swap--with-background": "_swap--with-background_1n4w9_711",
638
+ "swap--with-border": "_swap--with-border_1n4w9_717",
639
+ "swap--interactive": "_swap--interactive_1n4w9_725",
640
640
  typography: T1,
641
- "align-left": "_align-left_489g6_785",
642
- "align-center": "_align-center_489g6_789",
643
- "align-right": "_align-right_489g6_793",
644
- "align-inherit": "_align-inherit_489g6_797",
645
- "headline-xl": "_headline-xl_489g6_801",
646
- "headline-l": "_headline-l_489g6_808",
647
- "headline-ml": "_headline-ml_489g6_815",
648
- "headline-m": "_headline-m_489g6_815",
649
- "headline-s": "_headline-s_489g6_829",
650
- "headline-xs": "_headline-xs_489g6_836",
651
- "text-long-l-regular": "_text-long-l-regular_489g6_843",
652
- "text-long-m-regular": "_text-long-m-regular_489g6_849",
653
- "text-long-s-regular": "_text-long-s-regular_489g6_855",
654
- "text-long-xs-regular": "_text-long-xs-regular_489g6_861",
655
- "text-long-l-medium": "_text-long-l-medium_489g6_867",
656
- "text-long-m-medium": "_text-long-m-medium_489g6_873",
657
- "text-long-s-medium": "_text-long-s-medium_489g6_879",
658
- "text-long-xs-medium": "_text-long-xs-medium_489g6_885",
659
- "text-long-l-bold": "_text-long-l-bold_489g6_891",
660
- "text-long-m-bold": "_text-long-m-bold_489g6_897",
661
- "text-long-s-bold": "_text-long-s-bold_489g6_903",
662
- "text-short-m-regular": "_text-short-m-regular_489g6_909",
663
- "text-short-s-regular": "_text-short-s-regular_489g6_915",
664
- "text-short-xs-regular": "_text-short-xs-regular_489g6_921",
665
- "text-short-2xs-regular": "_text-short-2xs-regular_489g6_927",
666
- "text-short-m-medium": "_text-short-m-medium_489g6_933",
667
- "text-short-s-medium": "_text-short-s-medium_489g6_939",
668
- "text-short-xs-medium": "_text-short-xs-medium_489g6_945",
669
- "text-short-m-bold": "_text-short-m-bold_489g6_951",
670
- "text-short-s-bold": "_text-short-s-bold_489g6_957",
671
- "regular-link": "_regular-link_489g6_973",
672
- "small-link": "_small-link_489g6_974",
641
+ "align-left": "_align-left_1n4w9_785",
642
+ "align-center": "_align-center_1n4w9_789",
643
+ "align-right": "_align-right_1n4w9_793",
644
+ "align-inherit": "_align-inherit_1n4w9_797",
645
+ "headline-xl": "_headline-xl_1n4w9_801",
646
+ "headline-l": "_headline-l_1n4w9_808",
647
+ "headline-ml": "_headline-ml_1n4w9_815",
648
+ "headline-m": "_headline-m_1n4w9_815",
649
+ "headline-s": "_headline-s_1n4w9_829",
650
+ "headline-xs": "_headline-xs_1n4w9_836",
651
+ "text-long-l-regular": "_text-long-l-regular_1n4w9_843",
652
+ "text-long-m-regular": "_text-long-m-regular_1n4w9_849",
653
+ "text-long-s-regular": "_text-long-s-regular_1n4w9_855",
654
+ "text-long-xs-regular": "_text-long-xs-regular_1n4w9_861",
655
+ "text-long-l-medium": "_text-long-l-medium_1n4w9_867",
656
+ "text-long-m-medium": "_text-long-m-medium_1n4w9_873",
657
+ "text-long-s-medium": "_text-long-s-medium_1n4w9_879",
658
+ "text-long-xs-medium": "_text-long-xs-medium_1n4w9_885",
659
+ "text-long-l-bold": "_text-long-l-bold_1n4w9_891",
660
+ "text-long-m-bold": "_text-long-m-bold_1n4w9_897",
661
+ "text-long-s-bold": "_text-long-s-bold_1n4w9_903",
662
+ "text-short-m-regular": "_text-short-m-regular_1n4w9_909",
663
+ "text-short-s-regular": "_text-short-s-regular_1n4w9_915",
664
+ "text-short-xs-regular": "_text-short-xs-regular_1n4w9_921",
665
+ "text-short-2xs-regular": "_text-short-2xs-regular_1n4w9_927",
666
+ "text-short-m-medium": "_text-short-m-medium_1n4w9_933",
667
+ "text-short-s-medium": "_text-short-s-medium_1n4w9_939",
668
+ "text-short-xs-medium": "_text-short-xs-medium_1n4w9_945",
669
+ "text-short-m-bold": "_text-short-m-bold_1n4w9_951",
670
+ "text-short-s-bold": "_text-short-s-bold_1n4w9_957",
671
+ "regular-link": "_regular-link_1n4w9_973",
672
+ "small-link": "_small-link_1n4w9_974",
673
673
  truncate: P1,
674
- "multiline-truncate": "_multiline-truncate_489g6_996",
675
- "no-wrap": "_no-wrap_489g6_1003",
676
- "break-word": "_break-word_489g6_1007"
674
+ "multiline-truncate": "_multiline-truncate_1n4w9_996",
675
+ "no-wrap": "_no-wrap_1n4w9_1003",
676
+ "break-word": "_break-word_1n4w9_1007"
677
677
  }, O1 = {
678
678
  // Headlines
679
679
  "headline-xl": "headline-xl",
@@ -708,7 +708,6 @@ const I1 = "_focus_489g6_549", z1 = "_swap_489g6_631", A1 = "_swap__content_489g
708
708
  // Text Short (Bold)
709
709
  "text-short-m-bold": "text-short-m-bold",
710
710
  "text-short-s-bold": "text-short-s-bold",
711
- // Legacy variants (для обратной совместимости)
712
711
  H1: "headline-xl",
713
712
  H2: "headline-l",
714
713
  H3: "headline-ml",
@@ -723,39 +722,39 @@ const I1 = "_focus_489g6_549", z1 = "_swap_489g6_631", A1 = "_swap__content_489g
723
722
  RegularLink: "text-long-m-regular",
724
723
  SmallLink: "text-short-s-regular"
725
724
  }, W1 = c(
726
- (e, a) => {
725
+ (e, n) => {
727
726
  const {
728
727
  as: o = "p",
729
- children: n,
728
+ children: a,
730
729
  className: r,
731
730
  textAlign: l = "left",
732
731
  variant: i = "text-long-m-regular",
733
- truncate: g = !1,
734
- multilineTruncate: d = !1,
735
- noWrap: w = !1,
736
- breakWord: p = !1,
732
+ truncate: p = !1,
733
+ multilineTruncate: g = !1,
734
+ noWrap: C = !1,
735
+ breakWord: u = !1,
737
736
  ...m
738
737
  } = e, x = O1[i], _ = G1(
739
738
  v.typography,
740
739
  v[x],
741
740
  v[`align-${l}`],
742
741
  {
743
- [v.truncate]: g,
744
- [v.multilineTruncate]: d,
745
- [v.noWrap]: w,
746
- [v.breakWord]: p
742
+ [v.truncate]: p,
743
+ [v.multilineTruncate]: g,
744
+ [v.noWrap]: C,
745
+ [v.breakWord]: u
747
746
  },
748
747
  r
749
748
  );
750
749
  return D1(o, {
751
750
  className: _,
752
- ref: a,
751
+ ref: n,
753
752
  ...m
754
- }, n);
753
+ }, a);
755
754
  }
756
755
  );
757
- function D1(e, a, o) {
758
- return $.createElement(e, a, o);
756
+ function D1(e, n, o) {
757
+ return $.createElement(e, n, o);
759
758
  }
760
759
  W1.displayName = "Typography";
761
760
  export {