@post-pioneer/ui-kit 0.1.31 → 0.1.32

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,15 +1,15 @@
1
- import { jsx as t, jsxs as h, Fragment as B } from "react/jsx-runtime";
2
- import $, { forwardRef as c } from "react";
3
- const S = c(
4
- ({ width: e = "12", height: n = "14", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
1
+ import { jsx as t, jsxs as v, Fragment as B } from "react/jsx-runtime";
2
+ import z, { forwardRef as u } from "react";
3
+ const S = u(
4
+ ({ width: e = "12", height: n = "14", color: r = "currentColor", ...a }, o) => /* @__PURE__ */ t(
5
5
  "svg",
6
6
  {
7
- ref: r,
7
+ ref: o,
8
8
  width: e,
9
9
  height: n,
10
10
  viewBox: "0 0 16 16",
11
11
  fill: "none",
12
- color: o,
12
+ color: r,
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  ...a,
15
15
  children: /* @__PURE__ */ t(
@@ -25,16 +25,16 @@ const S = c(
25
25
  )
26
26
  );
27
27
  S.displayName = "AlertsBellIcon";
28
- const G = c(
29
- ({ width: e = "6", height: n = "10", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
28
+ const G = u(
29
+ ({ width: e = "6", height: n = "10", color: r = "currentColor", ...a }, o) => /* @__PURE__ */ t(
30
30
  "svg",
31
31
  {
32
- ref: r,
32
+ ref: o,
33
33
  width: e,
34
34
  height: n,
35
35
  viewBox: "0 0 6 10",
36
36
  fill: "none",
37
- color: o,
37
+ color: r,
38
38
  xmlns: "http://www.w3.org/2000/svg",
39
39
  ...a,
40
40
  children: /* @__PURE__ */ t(
@@ -48,16 +48,16 @@ const G = c(
48
48
  )
49
49
  );
50
50
  G.displayName = "ArrowChevronLeftIcon";
51
- const I = c(
52
- ({ width: e = "6", height: n = "10", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
51
+ const I = u(
52
+ ({ width: e = "6", height: n = "10", color: r = "currentColor", ...a }, o) => /* @__PURE__ */ t(
53
53
  "svg",
54
54
  {
55
- ref: r,
55
+ ref: o,
56
56
  width: e,
57
57
  height: n,
58
58
  viewBox: "0 0 6 10",
59
59
  fill: "none",
60
- color: o,
60
+ color: r,
61
61
  xmlns: "http://www.w3.org/2000/svg",
62
62
  ...a,
63
63
  children: /* @__PURE__ */ t(
@@ -71,16 +71,16 @@ const I = c(
71
71
  )
72
72
  );
73
73
  I.displayName = "ArrowChevronRightIcon";
74
- const z = c(
75
- ({ width: e = "16", height: n = "16", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
74
+ const A = u(
75
+ ({ width: e = "16", height: n = "16", color: r = "currentColor", ...a }, o) => /* @__PURE__ */ t(
76
76
  "svg",
77
77
  {
78
- ref: r,
78
+ ref: o,
79
79
  width: e,
80
80
  height: n,
81
81
  viewBox: "0 0 16 16",
82
82
  fill: "none",
83
- color: o,
83
+ color: r,
84
84
  xmlns: "http://www.w3.org/2000/svg",
85
85
  ...a,
86
86
  children: /* @__PURE__ */ t(
@@ -95,17 +95,17 @@ const z = c(
95
95
  }
96
96
  )
97
97
  );
98
- z.displayName = "ImagePhotoIcon";
99
- const A = c(
100
- ({ width: e = "12", height: n = "14", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
98
+ A.displayName = "ImagePhotoIcon";
99
+ const T = u(
100
+ ({ width: e = "12", height: n = "14", color: r = "currentColor", ...a }, o) => /* @__PURE__ */ t(
101
101
  "svg",
102
102
  {
103
- ref: r,
103
+ ref: o,
104
104
  width: e,
105
105
  height: n,
106
106
  viewBox: "0 0 16 16",
107
107
  fill: "none",
108
- color: o,
108
+ color: r,
109
109
  xmlns: "http://www.w3.org/2000/svg",
110
110
  ...a,
111
111
  children: /* @__PURE__ */ t(
@@ -120,20 +120,20 @@ const A = c(
120
120
  }
121
121
  )
122
122
  );
123
- A.displayName = "ImagePhotoOutline";
124
- const T = c(
125
- ({ width: e = "16", height: n = "16", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
123
+ T.displayName = "ImagePhotoOutline";
124
+ const P = u(
125
+ ({ width: e = "16", height: n = "16", color: r = "currentColor", ...a }, o) => /* @__PURE__ */ t(
126
126
  "svg",
127
127
  {
128
- ref: r,
128
+ ref: o,
129
129
  width: e,
130
130
  height: n,
131
131
  viewBox: "0 0 16 16",
132
132
  fill: "none",
133
- color: o,
133
+ color: r,
134
134
  xmlns: "http://www.w3.org/2000/svg",
135
135
  ...a,
136
- children: /* @__PURE__ */ h("g", { opacity: "0.9", children: [
136
+ children: /* @__PURE__ */ v("g", { opacity: "0.9", children: [
137
137
  /* @__PURE__ */ t(
138
138
  "path",
139
139
  {
@@ -154,9 +154,9 @@ const T = c(
154
154
  }
155
155
  )
156
156
  );
157
- T.displayName = "MathSymbolsAddSquareV2Icon";
158
- const P = c(
159
- ({ size: e = 16, color: n = "currentColor", ...o }, a) => /* @__PURE__ */ t(
157
+ P.displayName = "MathSymbolsAddSquareV2Icon";
158
+ const O = u(
159
+ ({ size: e = 16, color: n = "currentColor", ...r }, a) => /* @__PURE__ */ t(
160
160
  "svg",
161
161
  {
162
162
  ref: a,
@@ -166,7 +166,7 @@ const P = c(
166
166
  color: n,
167
167
  fill: "none",
168
168
  xmlns: "http://www.w3.org/2000/svg",
169
- ...o,
169
+ ...r,
170
170
  children: /* @__PURE__ */ t(
171
171
  "path",
172
172
  {
@@ -179,12 +179,12 @@ const P = c(
179
179
  }
180
180
  )
181
181
  );
182
- P.displayName = "SwapIcon";
183
- const O = c(
184
- ({ width: e = "16", height: n = "16", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
182
+ O.displayName = "SwapIcon";
183
+ const W = u(
184
+ ({ width: e = "16", height: n = "16", color: r = "currentColor", ...a }, o) => /* @__PURE__ */ t(
185
185
  "svg",
186
186
  {
187
- ref: r,
187
+ ref: o,
188
188
  width: e,
189
189
  height: n,
190
190
  viewBox: "0 0 16 16",
@@ -195,9 +195,9 @@ const O = c(
195
195
  }
196
196
  )
197
197
  );
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", w = {
200
- focus: W,
198
+ W.displayName = "TimeCalendarV2Icon";
199
+ const D = "_focus_18phg_549", F = "_swap_18phg_631", U = "_swap__content_18phg_687", q = "_avatar_18phg_779", E = "_avatar__wrapper_18phg_830", J = "_avatar__content_18phg_835", K = "_avatar__image_18phg_845", Q = "_avatar__initials_18phg_851", X = "_avatar__placeholder_18phg_880", Y = "_avatar__status_18phg_911", h = {
200
+ focus: D,
201
201
  "focus--default": "_focus--default_18phg_566",
202
202
  "focus--danger": "_focus--danger_18phg_570",
203
203
  "focus--visible": "_focus--visible_18phg_576",
@@ -207,7 +207,7 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
207
207
  "focus--input": "_focus--input_18phg_606",
208
208
  "focus--button": "_focus--button_18phg_611",
209
209
  "focus--card": "_focus--card_18phg_616",
210
- swap: D,
210
+ swap: F,
211
211
  "swap--text": "_swap--text_18phg_640",
212
212
  "swap--icon": "_swap--icon_18phg_651",
213
213
  "swap--icon-xs": "_swap--icon-xs_18phg_661",
@@ -215,13 +215,13 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
215
215
  "swap--icon-m": "_swap--icon-m_18phg_671",
216
216
  "swap--icon-l": "_swap--icon-l_18phg_676",
217
217
  "swap--icon-xl": "_swap--icon-xl_18phg_681",
218
- swap__content: F,
218
+ swap__content: U,
219
219
  "swap--group-horizontal": "_swap--group-horizontal_18phg_696",
220
220
  "swap--group-vertical": "_swap--group-vertical_18phg_703",
221
221
  "swap--with-background": "_swap--with-background_18phg_711",
222
222
  "swap--with-border": "_swap--with-border_18phg_717",
223
223
  "swap--interactive": "_swap--interactive_18phg_725",
224
- avatar: U,
224
+ avatar: q,
225
225
  "avatar--xs": "_avatar--xs_18phg_789",
226
226
  "avatar--s": "_avatar--s_18phg_795",
227
227
  "avatar--m": "_avatar--m_18phg_801",
@@ -229,29 +229,29 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
229
229
  "avatar--xl": "_avatar--xl_18phg_813",
230
230
  "avatar--xxl": "_avatar--xxl_18phg_819",
231
231
  "avatar--bordered": "_avatar--bordered_18phg_825",
232
- avatar__wrapper: q,
233
- avatar__content: E,
234
- avatar__image: J,
235
- avatar__initials: K,
236
- avatar__placeholder: Q,
237
- avatar__status: X
238
- }, Y = ({
232
+ avatar__wrapper: E,
233
+ avatar__content: J,
234
+ avatar__image: K,
235
+ avatar__initials: Q,
236
+ avatar__placeholder: X,
237
+ avatar__status: Y
238
+ }, e1 = ({
239
239
  src: e,
240
240
  name: n,
241
- size: o = "s",
241
+ size: r = "s",
242
242
  status: a = null,
243
- bordered: r = !1,
244
- backgroundColor: l,
243
+ bordered: o = !1,
244
+ backgroundColor: s,
245
245
  className: i = "",
246
- onError: p
246
+ onError: l
247
247
  }) => {
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
- if (l) return l;
248
+ const c = (d) => {
249
+ const g = d.trim().split(" ");
250
+ return g.length === 1 ? g[0].charAt(0).toUpperCase() : `${g[0].charAt(0)}${g[g.length - 1].charAt(0)}`.toUpperCase();
251
+ }, p = () => {
252
+ if (s) return s;
253
253
  if (n) {
254
- const _ = [
254
+ const d = [
255
255
  "var(--color-blue-gray-600)",
256
256
  "var(--color-indigo-600)",
257
257
  "var(--color-success-600)",
@@ -268,43 +268,43 @@ 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
- ], d = n.split("").reduce((b, L) => b + L.charCodeAt(0), 0);
272
- return _[d % _.length];
271
+ ], g = n.split("").reduce((k, L) => k + L.charCodeAt(0), 0);
272
+ return d[g % d.length];
273
273
  }
274
274
  return "var(--color-blue-gray-300)";
275
- }, u = {
275
+ }, w = {
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
- }, m = [
281
- w.avatar,
282
- w[`avatar--${o}`],
283
- r ? w["avatar--bordered"] : "",
280
+ }, x = [
281
+ h.avatar,
282
+ h[`avatar--${r}`],
283
+ o ? h["avatar--bordered"] : "",
284
284
  i
285
- ].filter(Boolean).join(" "), x = () => {
285
+ ].filter(Boolean).join(" "), f = () => {
286
286
  if (e)
287
287
  return /* @__PURE__ */ t(
288
288
  "img",
289
289
  {
290
290
  src: e,
291
291
  alt: n ? `${n} avatar` : "Avatar",
292
- className: w.avatar__image,
293
- onError: p
292
+ className: h.avatar__image,
293
+ onError: l
294
294
  }
295
295
  );
296
296
  if (n) {
297
- const _ = g(n);
297
+ const d = c(n);
298
298
  return /* @__PURE__ */ t(
299
299
  "div",
300
300
  {
301
- className: w.avatar__initials,
302
- style: { backgroundColor: C() },
303
- children: _
301
+ className: h.avatar__initials,
302
+ style: { backgroundColor: p() },
303
+ children: d
304
304
  }
305
305
  );
306
306
  }
307
- return /* @__PURE__ */ t("div", { className: w.avatar__placeholder, children: /* @__PURE__ */ h(
307
+ return /* @__PURE__ */ t("div", { className: h.avatar__placeholder, children: /* @__PURE__ */ v(
308
308
  "svg",
309
309
  {
310
310
  width: "24",
@@ -320,52 +320,52 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
320
320
  }
321
321
  ) });
322
322
  };
323
- return /* @__PURE__ */ h("div", { className: m, children: [
324
- /* @__PURE__ */ t("div", { className: w.avatar__content, children: x() }),
323
+ return /* @__PURE__ */ v("div", { className: x, children: [
324
+ /* @__PURE__ */ t("div", { className: h.avatar__content, children: f() }),
325
325
  a && /* @__PURE__ */ t(
326
326
  "div",
327
327
  {
328
- className: w.avatar__status,
329
- style: { backgroundColor: u[a] }
328
+ className: h.avatar__status,
329
+ style: { backgroundColor: w[a] }
330
330
  }
331
331
  )
332
332
  ] });
333
- }, t1 = "_avatarGroup_1teei_779", e1 = "_avatarGroup__item_1teei_783", n1 = "_avatarGroup__more_1teei_794", y = {
333
+ }, t1 = "_avatarGroup_1teei_779", n1 = "_avatarGroup__item_1teei_783", a1 = "_avatarGroup__more_1teei_794", b = {
334
334
  avatarGroup: t1,
335
335
  "avatarGroup--overlap": "_avatarGroup--overlap_1teei_783",
336
- avatarGroup__item: e1,
337
- avatarGroup__more: n1
338
- }, q1 = ({
336
+ avatarGroup__item: n1,
337
+ avatarGroup__more: a1
338
+ }, Y1 = ({
339
339
  items: e,
340
340
  max: n = 5,
341
- size: o = "m",
341
+ size: r = "m",
342
342
  overlap: a = !0,
343
- className: r = ""
343
+ className: o = ""
344
344
  }) => {
345
- const l = e.slice(0, n), i = e.length - l.length;
346
- return /* @__PURE__ */ h(
345
+ const s = e.slice(0, n), i = e.length - s.length;
346
+ return /* @__PURE__ */ v(
347
347
  "div",
348
348
  {
349
349
  className: [
350
- y.avatarGroup,
351
- a ? y["avatarGroup--overlap"] : "",
352
- r
350
+ b.avatarGroup,
351
+ a ? b["avatarGroup--overlap"] : "",
352
+ o
353
353
  ].filter(Boolean).join(" "),
354
354
  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: [
355
+ s.map((l, c) => /* @__PURE__ */ t("div", { className: b.avatarGroup__item, children: /* @__PURE__ */ t(e1, { ...l, size: r }) }, c)),
356
+ i > 0 && /* @__PURE__ */ v("div", { className: `${b.avatarGroup__item} ${b.avatarGroup__more}`, children: [
357
357
  "+",
358
358
  i
359
359
  ] })
360
360
  ]
361
361
  }
362
362
  );
363
- }, E1 = ({
363
+ }, e9 = ({
364
364
  size: e = 80,
365
365
  borderColor: n = "#D6DDFF",
366
- borderWidth: o = 2,
366
+ borderWidth: r = 2,
367
367
  borderStyle: a = "dashed",
368
- children: r
368
+ children: o
369
369
  }) => /* @__PURE__ */ t(
370
370
  "div",
371
371
  {
@@ -373,8 +373,8 @@ 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 ${a} ${n}`,
377
- padding: o,
376
+ border: `${r}px ${a} ${n}`,
377
+ padding: r,
378
378
  boxSizing: "border-box",
379
379
  display: "flex",
380
380
  alignItems: "center",
@@ -390,12 +390,12 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
390
390
  borderRadius: "50%",
391
391
  overflow: "hidden"
392
392
  },
393
- children: r
393
+ children: o
394
394
  }
395
395
  )
396
396
  }
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,
397
+ ), r1 = "_focus_1ckja_549", o1 = "_swap_1ckja_631", s1 = "_swap__content_1ckja_687", _1 = "_spinner_1ckja_779", i1 = "_spinner__label_1ckja_841", y = {
398
+ focus: r1,
399
399
  "focus--default": "_focus--default_1ckja_566",
400
400
  "focus--danger": "_focus--danger_1ckja_570",
401
401
  "focus--visible": "_focus--visible_1ckja_576",
@@ -413,7 +413,7 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
413
413
  "swap--icon-m": "_swap--icon-m_1ckja_671",
414
414
  "swap--icon-l": "_swap--icon-l_1ckja_676",
415
415
  "swap--icon-xl": "_swap--icon-xl_1ckja_681",
416
- swap__content: r1,
416
+ swap__content: s1,
417
417
  "swap--group-horizontal": "_swap--group-horizontal_1ckja_696",
418
418
  "swap--group-vertical": "_swap--group-vertical_1ckja_703",
419
419
  "swap--with-background": "_swap--with-background_1ckja_711",
@@ -424,7 +424,7 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
424
424
  "spinner-container--label-bottom": "_spinner-container--label-bottom_1ckja_788",
425
425
  "spinner-container--label-left": "_spinner-container--label-left_1ckja_792",
426
426
  "spinner-container--label-right": "_spinner-container--label-right_1ckja_796",
427
- spinner: s1,
427
+ spinner: _1,
428
428
  "spinner-rotate": "_spinner-rotate_1ckja_1",
429
429
  "spinner--primary": "_spinner--primary_1ckja_807",
430
430
  "spinner--inverse": "_spinner--inverse_1ckja_810",
@@ -435,26 +435,26 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
435
435
  "spinner--m": "_spinner--m_1ckja_824",
436
436
  "spinner--l": "_spinner--l_1ckja_832",
437
437
  "spinner--xl": "_spinner--xl_1ckja_836",
438
- spinner__label: l1,
438
+ spinner__label: i1,
439
439
  "spinner-svg": "_spinner-svg_1ckja_856"
440
- }, _1 = ({
440
+ }, l1 = ({
441
441
  size: e = "m",
442
442
  color: n,
443
- className: o = "",
443
+ className: r = "",
444
444
  label: a,
445
- labelPosition: r = "bottom"
445
+ labelPosition: o = "bottom"
446
446
  }) => {
447
- const l = !!a, i = [
448
- f["spinner-container"],
449
- l && f[`spinner-container--label-${r}`],
450
- o
451
- ].filter(Boolean).join(" "), p = [
452
- f.spinner,
453
- f[`spinner--${e}`],
454
- f[`spinner--${n}`]
447
+ const s = !!a, i = [
448
+ y["spinner-container"],
449
+ s && y[`spinner-container--label-${o}`],
450
+ r
451
+ ].filter(Boolean).join(" "), l = [
452
+ y.spinner,
453
+ y[`spinner--${e}`],
454
+ y[`spinner--${n}`]
455
455
  ].filter(Boolean).join(" ");
456
- return /* @__PURE__ */ h("div", { className: i, children: [
457
- /* @__PURE__ */ t("div", { className: p, children: (() => {
456
+ return /* @__PURE__ */ v("div", { className: i, children: [
457
+ /* @__PURE__ */ t("div", { className: l, 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,10 +472,10 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
472
472
  return null;
473
473
  }
474
474
  })() }),
475
- a && /* @__PURE__ */ t("span", { className: f.spinner__label, "aria-hidden": "true", children: a })
475
+ a && /* @__PURE__ */ t("span", { className: y.spinner__label, "aria-hidden": "true", children: a })
476
476
  ] });
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
- focus: i1,
477
+ }, c1 = "_focus_1tyc7_549", d1 = "_swap_1tyc7_631", p1 = "_swap__content_1tyc7_687", u1 = "_button_1tyc7_779", w1 = "_sizeL_1tyc7_804", g1 = "_sizeM_1tyc7_808", h1 = "_sizeS_1tyc7_812", C1 = "_iconOnly_1tyc7_816", v1 = "_primary_1tyc7_828", x1 = "_disabled_1tyc7_833", m1 = "_count_1tyc7_847", f1 = "_secondary_1tyc7_851", y1 = "_ghost_1tyc7_874", b1 = "_link_1tyc7_897", k1 = "_dangerPrimary_1tyc7_926", L1 = "_dangerSecondary_1tyc7_952", j1 = "_dangerGhost_1tyc7_978", V1 = "_dangerLink_1tyc7_1004", M1 = "_open_1tyc7_1031", N1 = "_content_1tyc7_1043", H1 = "_loader_1tyc7_1048", $1 = "_text_1tyc7_1054", R1 = "_icon_1tyc7_816", Z1 = "_chevron_1tyc7_1081", B1 = "_loading_1tyc7_1109", _ = {
478
+ focus: c1,
479
479
  "focus--default": "_focus--default_1tyc7_566",
480
480
  "focus--danger": "_focus--danger_1tyc7_570",
481
481
  "focus--visible": "_focus--visible_1tyc7_576",
@@ -485,7 +485,7 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
485
485
  "focus--input": "_focus--input_1tyc7_606",
486
486
  "focus--button": "_focus--button_1tyc7_611",
487
487
  "focus--card": "_focus--card_1tyc7_616",
488
- swap: c1,
488
+ swap: d1,
489
489
  "swap--text": "_swap--text_1tyc7_640",
490
490
  "swap--icon": "_swap--icon_1tyc7_651",
491
491
  "swap--icon-xs": "_swap--icon-xs_1tyc7_661",
@@ -500,28 +500,28 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
500
500
  "swap--with-border": "_swap--with-border_1tyc7_717",
501
501
  "swap--interactive": "_swap--interactive_1tyc7_725",
502
502
  button: u1,
503
- sizeL: d1,
503
+ sizeL: w1,
504
504
  sizeM: g1,
505
- sizeS: w1,
506
- iconOnly: h1,
507
- primary: C1,
508
- disabled: m1,
509
- count: v1,
510
- secondary: x1,
511
- ghost: f1,
512
- link: y1,
513
- dangerPrimary: b1,
505
+ sizeS: h1,
506
+ iconOnly: C1,
507
+ primary: v1,
508
+ disabled: x1,
509
+ count: m1,
510
+ secondary: f1,
511
+ ghost: y1,
512
+ link: b1,
513
+ dangerPrimary: k1,
514
514
  dangerSecondary: L1,
515
- dangerGhost: k1,
516
- dangerLink: j1,
517
- open: V1,
518
- content: M1,
519
- loader: N1,
520
- text: H1,
515
+ dangerGhost: j1,
516
+ dangerLink: V1,
517
+ open: M1,
518
+ content: N1,
519
+ loader: H1,
520
+ text: $1,
521
521
  icon: R1,
522
522
  chevron: Z1,
523
523
  loading: B1
524
- }, $1 = (e) => {
524
+ }, z1 = (e) => {
525
525
  switch (e) {
526
526
  case "l":
527
527
  return "m";
@@ -532,54 +532,54 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
532
532
  default:
533
533
  return "s";
534
534
  }
535
- }, S1 = c(
535
+ }, S1 = u(
536
536
  (e, n) => {
537
537
  const {
538
- size: o = "m",
538
+ size: r = "m",
539
539
  variant: a = "primary",
540
- disabled: r = !1,
541
- loading: l = !1,
540
+ disabled: o = !1,
541
+ loading: s = !1,
542
542
  active: i = !1,
543
- open: p = !1,
544
- className: g = "",
545
- children: C,
546
- icon: u,
547
- iconPosition: m = "left",
548
- tooltip: x,
549
- count: _,
550
- withChevron: d = !1,
551
- href: b,
543
+ open: l = !1,
544
+ className: c = "",
545
+ children: p,
546
+ icon: w,
547
+ iconPosition: x = "left",
548
+ tooltip: f,
549
+ count: d,
550
+ withChevron: g = !1,
551
+ href: k,
552
552
  ...L
553
- } = e, k = m === "only" || !C && u, H = d && !k, j = [
554
- s.button,
555
- s[`size${o.toUpperCase()}`],
556
- s[a],
557
- r && s.disabled,
558
- l && s.loading,
559
- i && s.active,
560
- p && s.open,
561
- k && s.iconOnly,
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
- H && /* @__PURE__ */ t("span", { className: s.chevron }),
569
- _ !== void 0 && /* @__PURE__ */ t("span", { className: s.count, children: _ > 99 ? "+99" : _ })
553
+ } = e, j = x === "only" || !p && w, $ = g && !j, V = [
554
+ _.button,
555
+ _[`size${r.toUpperCase()}`],
556
+ _[a],
557
+ o && _.disabled,
558
+ s && _.loading,
559
+ i && _.active,
560
+ l && _.open,
561
+ j && _.iconOnly,
562
+ c
563
+ ].filter(Boolean).join(" "), M = () => /* @__PURE__ */ v(B, { children: [
564
+ /* @__PURE__ */ v("span", { className: _.content, children: [
565
+ w && x !== "right" && /* @__PURE__ */ t("span", { className: _.icon, children: w }),
566
+ p && /* @__PURE__ */ t("span", { className: _.text, children: p }),
567
+ w && x === "right" && /* @__PURE__ */ t("span", { className: _.icon, children: w }),
568
+ $ && /* @__PURE__ */ t("span", { className: _.chevron }),
569
+ d !== void 0 && /* @__PURE__ */ t("span", { className: _.count, children: d > 99 ? "+99" : d })
570
570
  ] }),
571
- l && /* @__PURE__ */ t("span", { className: s.loader, children: /* @__PURE__ */ t(_1, { size: $1(o) }) })
571
+ s && /* @__PURE__ */ t("span", { className: _.loader, children: /* @__PURE__ */ t(l1, { size: z1(r) }) })
572
572
  ] });
573
- if (b) {
574
- const M = L;
575
- return r || l ? /* @__PURE__ */ t("span", { className: j, ...M, children: V() }) : /* @__PURE__ */ t(
573
+ if (k) {
574
+ const N = L;
575
+ return o || s ? /* @__PURE__ */ t("span", { className: V, ...N, children: M() }) : /* @__PURE__ */ t(
576
576
  "a",
577
577
  {
578
578
  ref: n,
579
- href: b,
580
- className: j,
581
- ...M,
582
- children: V()
579
+ href: k,
580
+ className: V,
581
+ ...N,
582
+ children: M()
583
583
  }
584
584
  );
585
585
  }
@@ -589,30 +589,30 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
589
589
  {
590
590
  ref: n,
591
591
  type: R,
592
- className: j,
593
- disabled: r || l,
594
- "aria-label": k && x ? x : void 0,
592
+ className: V,
593
+ disabled: o || s,
594
+ "aria-label": j && f ? f : void 0,
595
595
  ...Z,
596
- children: V()
596
+ children: M()
597
597
  }
598
598
  );
599
599
  }
600
600
  );
601
601
  S1.displayName = "Button";
602
- function N(e) {
603
- var n, o, a = "";
602
+ function H(e) {
603
+ var n, r, a = "";
604
604
  if (typeof e == "string" || typeof e == "number") a += e;
605
605
  else if (typeof e == "object") if (Array.isArray(e)) {
606
- var r = e.length;
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);
606
+ var o = e.length;
607
+ for (n = 0; n < o; n++) e[n] && (r = H(e[n])) && (a && (a += " "), a += r);
608
+ } else for (r in e) e[r] && (a && (a += " "), a += r);
609
609
  return a;
610
610
  }
611
611
  function G1() {
612
- for (var e, n, o = 0, a = "", r = arguments.length; o < r; o++) (e = arguments[o]) && (n = N(e)) && (a && (a += " "), a += n);
612
+ for (var e, n, r = 0, a = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (n = H(e)) && (a && (a += " "), a += n);
613
613
  return a;
614
614
  }
615
- const I1 = "_focus_1n4w9_549", z1 = "_swap_1n4w9_631", A1 = "_swap__content_1n4w9_687", T1 = "_typography_1n4w9_779", P1 = "_truncate_1n4w9_990", v = {
615
+ const I1 = "_focus_1n4w9_549", A1 = "_swap_1n4w9_631", T1 = "_swap__content_1n4w9_687", P1 = "_typography_1n4w9_779", O1 = "_truncate_1n4w9_990", m = {
616
616
  focus: I1,
617
617
  "focus--default": "_focus--default_1n4w9_566",
618
618
  "focus--danger": "_focus--danger_1n4w9_570",
@@ -623,7 +623,7 @@ const I1 = "_focus_1n4w9_549", z1 = "_swap_1n4w9_631", A1 = "_swap__content_1n4w
623
623
  "focus--input": "_focus--input_1n4w9_606",
624
624
  "focus--button": "_focus--button_1n4w9_611",
625
625
  "focus--card": "_focus--card_1n4w9_616",
626
- swap: z1,
626
+ swap: A1,
627
627
  "swap--text": "_swap--text_1n4w9_640",
628
628
  "swap--icon": "_swap--icon_1n4w9_651",
629
629
  "swap--icon-xs": "_swap--icon-xs_1n4w9_661",
@@ -631,13 +631,13 @@ const I1 = "_focus_1n4w9_549", z1 = "_swap_1n4w9_631", A1 = "_swap__content_1n4w
631
631
  "swap--icon-m": "_swap--icon-m_1n4w9_671",
632
632
  "swap--icon-l": "_swap--icon-l_1n4w9_676",
633
633
  "swap--icon-xl": "_swap--icon-xl_1n4w9_681",
634
- swap__content: A1,
634
+ swap__content: T1,
635
635
  "swap--group-horizontal": "_swap--group-horizontal_1n4w9_696",
636
636
  "swap--group-vertical": "_swap--group-vertical_1n4w9_703",
637
637
  "swap--with-background": "_swap--with-background_1n4w9_711",
638
638
  "swap--with-border": "_swap--with-border_1n4w9_717",
639
639
  "swap--interactive": "_swap--interactive_1n4w9_725",
640
- typography: T1,
640
+ typography: P1,
641
641
  "align-left": "_align-left_1n4w9_785",
642
642
  "align-center": "_align-center_1n4w9_789",
643
643
  "align-right": "_align-right_1n4w9_793",
@@ -670,11 +670,11 @@ const I1 = "_focus_1n4w9_549", z1 = "_swap_1n4w9_631", A1 = "_swap__content_1n4w
670
670
  "text-short-s-bold": "_text-short-s-bold_1n4w9_957",
671
671
  "regular-link": "_regular-link_1n4w9_973",
672
672
  "small-link": "_small-link_1n4w9_974",
673
- truncate: P1,
673
+ truncate: O1,
674
674
  "multiline-truncate": "_multiline-truncate_1n4w9_996",
675
675
  "no-wrap": "_no-wrap_1n4w9_1003",
676
676
  "break-word": "_break-word_1n4w9_1007"
677
- }, O1 = {
677
+ }, W1 = {
678
678
  // Headlines
679
679
  "headline-xl": "headline-xl",
680
680
  "headline-l": "headline-l",
@@ -721,55 +721,137 @@ const I1 = "_focus_1n4w9_549", z1 = "_swap_1n4w9_631", A1 = "_swap__content_1n4w
721
721
  SmallText: "text-short-s-regular",
722
722
  RegularLink: "text-long-m-regular",
723
723
  SmallLink: "text-short-s-regular"
724
- }, W1 = c(
724
+ }, D1 = u(
725
725
  (e, n) => {
726
726
  const {
727
- as: o = "p",
727
+ as: r = "p",
728
728
  children: a,
729
- className: r,
730
- textAlign: l = "left",
729
+ className: o,
730
+ textAlign: s = "left",
731
731
  variant: i = "text-long-m-regular",
732
- truncate: p = !1,
733
- multilineTruncate: g = !1,
734
- noWrap: C = !1,
735
- breakWord: u = !1,
736
- ...m
737
- } = e, x = O1[i], _ = G1(
738
- v.typography,
739
- v[x],
740
- v[`align-${l}`],
732
+ truncate: l = !1,
733
+ multilineTruncate: c = !1,
734
+ noWrap: p = !1,
735
+ breakWord: w = !1,
736
+ ...x
737
+ } = e, f = W1[i], d = G1(
738
+ m.typography,
739
+ m[f],
740
+ m[`align-${s}`],
741
741
  {
742
- [v.truncate]: p,
743
- [v.multilineTruncate]: g,
744
- [v.noWrap]: C,
745
- [v.breakWord]: u
742
+ [m.truncate]: l,
743
+ [m.multilineTruncate]: c,
744
+ [m.noWrap]: p,
745
+ [m.breakWord]: w
746
746
  },
747
- r
747
+ o
748
748
  );
749
- return D1(o, {
750
- className: _,
749
+ return F1(r, {
750
+ className: d,
751
751
  ref: n,
752
- ...m
752
+ ...x
753
753
  }, a);
754
754
  }
755
755
  );
756
- function D1(e, n, o) {
757
- return $.createElement(e, n, o);
756
+ function F1(e, n, r) {
757
+ return z.createElement(e, n, r);
758
758
  }
759
- W1.displayName = "Typography";
759
+ D1.displayName = "Typography";
760
+ const U1 = "_focus_95x9i_549", q1 = "_swap_95x9i_631", E1 = "_swap__content_95x9i_687", J1 = "_divider_95x9i_779", K1 = "_divider__text_95x9i_851", C = {
761
+ focus: U1,
762
+ "focus--default": "_focus--default_95x9i_566",
763
+ "focus--danger": "_focus--danger_95x9i_570",
764
+ "focus--visible": "_focus--visible_95x9i_576",
765
+ "focus-danger": "_focus-danger_95x9i_591",
766
+ "focus-within--default": "_focus-within--default_95x9i_597",
767
+ "focus-within--danger": "_focus-within--danger_95x9i_601",
768
+ "focus--input": "_focus--input_95x9i_606",
769
+ "focus--button": "_focus--button_95x9i_611",
770
+ "focus--card": "_focus--card_95x9i_616",
771
+ swap: q1,
772
+ "swap--text": "_swap--text_95x9i_640",
773
+ "swap--icon": "_swap--icon_95x9i_651",
774
+ "swap--icon-xs": "_swap--icon-xs_95x9i_661",
775
+ "swap--icon-s": "_swap--icon-s_95x9i_666",
776
+ "swap--icon-m": "_swap--icon-m_95x9i_671",
777
+ "swap--icon-l": "_swap--icon-l_95x9i_676",
778
+ "swap--icon-xl": "_swap--icon-xl_95x9i_681",
779
+ swap__content: E1,
780
+ "swap--group-horizontal": "_swap--group-horizontal_95x9i_696",
781
+ "swap--group-vertical": "_swap--group-vertical_95x9i_703",
782
+ "swap--with-background": "_swap--with-background_95x9i_711",
783
+ "swap--with-border": "_swap--with-border_95x9i_717",
784
+ "swap--interactive": "_swap--interactive_95x9i_725",
785
+ divider: J1,
786
+ "divider--horizontal": "_divider--horizontal_95x9i_784",
787
+ "divider--vertical": "_divider--vertical_95x9i_788",
788
+ "divider--dashed": "_divider--dashed_95x9i_793",
789
+ "divider--dotted": "_divider--dotted_95x9i_796",
790
+ "divider--s": "_divider--s_95x9i_799",
791
+ "divider--m": "_divider--m_95x9i_805",
792
+ "divider--l": "_divider--l_95x9i_811",
793
+ "divider--default": "_divider--default_95x9i_817",
794
+ "divider--soft": "_divider--soft_95x9i_820",
795
+ "divider--strong": "_divider--strong_95x9i_823",
796
+ "divider--inverse": "_divider--inverse_95x9i_826",
797
+ "divider--with-text": "_divider--with-text_95x9i_829",
798
+ "divider--text-center": "_divider--text-center_95x9i_848",
799
+ divider__text: K1,
800
+ "divider--text-left": "_divider--text-left_95x9i_854",
801
+ "divider--text-right": "_divider--text-right_95x9i_863"
802
+ }, t9 = ({
803
+ orientation: e = "horizontal",
804
+ variant: n = "solid",
805
+ size: r = "m",
806
+ color: a = "default",
807
+ className: o = "",
808
+ children: s,
809
+ textPosition: i = "center",
810
+ ...l
811
+ }) => {
812
+ const c = !!s, p = [
813
+ C.divider,
814
+ C[`divider--${e}`],
815
+ C[`divider--${n}`],
816
+ C[`divider--${r}`],
817
+ C[`divider--${a}`],
818
+ c && C["divider--with-text"],
819
+ c && C[`divider--text-${i}`],
820
+ o
821
+ ].filter(Boolean).join(" ");
822
+ return c && e === "horizontal" ? /* @__PURE__ */ t(
823
+ "div",
824
+ {
825
+ className: p,
826
+ role: "separator",
827
+ "aria-orientation": e,
828
+ ...l,
829
+ children: /* @__PURE__ */ t("span", { className: C.divider__text, children: s })
830
+ }
831
+ ) : /* @__PURE__ */ t(
832
+ "div",
833
+ {
834
+ className: p,
835
+ role: "separator",
836
+ "aria-orientation": e,
837
+ ...l
838
+ }
839
+ );
840
+ };
760
841
  export {
761
842
  S as AlertsBellIcon,
762
843
  G as ArrowChevronLeftIcon,
763
844
  I as ArrowChevronRightIcon,
764
- Y as Avatar,
765
- q1 as AvatarGroup,
766
- E1 as AvatarWithCssBorder,
845
+ e1 as Avatar,
846
+ Y1 as AvatarGroup,
847
+ e9 as AvatarWithCssBorder,
767
848
  S1 as Button,
768
- z as ImagePhotoIcon,
769
- A as ImagePhotoOutline,
770
- T as MathSymbolsAddSquareV2Icon,
771
- _1 as Spinner,
772
- P as SwapIcon,
773
- O as TimeCalendarV2Icon,
774
- W1 as Typography
849
+ t9 as Divider,
850
+ A as ImagePhotoIcon,
851
+ T as ImagePhotoOutline,
852
+ P as MathSymbolsAddSquareV2Icon,
853
+ l1 as Spinner,
854
+ O as SwapIcon,
855
+ W as TimeCalendarV2Icon,
856
+ D1 as Typography
775
857
  };