@alfadocs/ui-kit-debug 1.50.0 → 1.50.1

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,67 +1,67 @@
1
- import { jsx as a, jsxs as p, Fragment as R } from "react/jsx-runtime";
2
- import { forwardRef as ee } from "react";
3
- import { useTranslation as ne } from "react-i18next";
1
+ import { jsx as a, jsxs as p, Fragment as C } from "react/jsx-runtime";
2
+ import { forwardRef as ne } from "react";
3
+ import { useTranslation as ae } from "react-i18next";
4
4
  import { c as s } from "./index-D2ZczOXr.js";
5
- import { U as ae, B as re, T as de } from "./user-x-DYszNtIg.js";
6
- import { C as se } from "./check-DrFSN__t.js";
7
- import { S as te } from "./stethoscope-sZXGC43m.js";
8
- import { C as ie } from "./clock-Drd4Wtis.js";
9
- import { T as le } from "./triangle-alert-CBnO6nq_.js";
10
- import { H as ce } from "./heart-pulse-BCppJyN2.js";
11
- import { E as oe } from "./euro-Dsuz4ixO.js";
12
- import { G as ve } from "./globe-sHBW1JN5.js";
13
- import { V as me } from "./video-BheNGvsu.js";
14
- import { R as he } from "./repeat-CvQa5rZt.js";
15
- import { C as pe } from "./clipboard-check-BeAGxDVT.js";
16
- import { E as fe } from "./eye-off-C_4xkbRP.js";
17
- function ue(t) {
5
+ import { U as re, B as de, T as se } from "./user-x-DYszNtIg.js";
6
+ import { C as te } from "./check-DrFSN__t.js";
7
+ import { S as ie } from "./stethoscope-sZXGC43m.js";
8
+ import { C as le } from "./clock-Drd4Wtis.js";
9
+ import { T as ce } from "./triangle-alert-CBnO6nq_.js";
10
+ import { H as oe } from "./heart-pulse-BCppJyN2.js";
11
+ import { E as ve } from "./euro-Dsuz4ixO.js";
12
+ import { G as me } from "./globe-sHBW1JN5.js";
13
+ import { V as he } from "./video-BheNGvsu.js";
14
+ import { R as pe } from "./repeat-CvQa5rZt.js";
15
+ import { C as fe } from "./clipboard-check-BeAGxDVT.js";
16
+ import { E as ue } from "./eye-off-C_4xkbRP.js";
17
+ function ge(t) {
18
18
  if (typeof t != "string") return null;
19
19
  const d = t.trim();
20
20
  if (!d.startsWith("#")) return null;
21
21
  const n = d.slice(1);
22
- let e, i, c;
22
+ let e, i, l;
23
23
  if (n.length === 3) {
24
24
  if (!/^[0-9a-f]{3}$/i.test(n)) return null;
25
- e = parseInt(n[0] + n[0], 16), i = parseInt(n[1] + n[1], 16), c = parseInt(n[2] + n[2], 16);
25
+ e = parseInt(n[0] + n[0], 16), i = parseInt(n[1] + n[1], 16), l = parseInt(n[2] + n[2], 16);
26
26
  } else if (n.length === 6) {
27
27
  if (!/^[0-9a-f]{6}$/i.test(n)) return null;
28
- e = parseInt(n.slice(0, 2), 16), i = parseInt(n.slice(2, 4), 16), c = parseInt(n.slice(4, 6), 16);
28
+ e = parseInt(n.slice(0, 2), 16), i = parseInt(n.slice(2, 4), 16), l = parseInt(n.slice(4, 6), 16);
29
29
  } else
30
30
  return null;
31
- return [e / 255, i / 255, c / 255];
31
+ return [e / 255, i / 255, l / 255];
32
32
  }
33
- function ge([t, d, n]) {
33
+ function we([t, d, n]) {
34
34
  const e = (i) => i <= 0.03928 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
35
35
  return 0.2126 * e(t) + 0.7152 * e(d) + 0.0722 * e(n);
36
36
  }
37
- function rn(t, d, n) {
37
+ function dn(t, d, n) {
38
38
  }
39
- function we(t) {
40
- const d = ue(t);
41
- return d ? ge(d) > 0.1791 ? "on-light" : "on-dark" : null;
39
+ function be(t) {
40
+ const d = ge(t);
41
+ return d ? we(d) > 0.1791 ? "on-light" : "on-dark" : null;
42
42
  }
43
- const be = {
44
- confirmed: de,
45
- waiting: ie,
46
- in_care: te,
47
- done: se,
48
- cancelled: re,
49
- absent: ae
50
- }, xe = "ds:shrink-0 ds:items-center ds:justify-center ds:rounded-[var(--radius-full)] ds:bg-[color:var(--card)] ds:border ds:border-[color:var(--border)] ds:shadow-[var(--shadow-sm)]", ye = "ds:inline-block ds:h-3 ds:w-[6ch] ds:align-middle ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)] ds:animate-[skeleton-pulse_calc(var(--animation-duration)*8)_ease-in-out_infinite] ds:motion-reduce:animate-none ds:forced-colors:bg-[GrayText] ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText] ds:forced-colors:animate-none", ke = {
43
+ const xe = {
44
+ confirmed: se,
45
+ waiting: le,
46
+ in_care: ie,
47
+ done: te,
48
+ cancelled: de,
49
+ absent: re
50
+ }, ye = "ds:shrink-0 ds:items-center ds:justify-center ds:rounded-[var(--radius-full)] ds:bg-[color:var(--card)] ds:border ds:border-[color:var(--border)] ds:shadow-[var(--shadow-sm)]", ke = "ds:inline-block ds:h-3 ds:w-[6ch] ds:align-middle ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)] ds:animate-[skeleton-pulse_calc(var(--animation-duration)*8)_ease-in-out_infinite] ds:motion-reduce:animate-none ds:forced-colors:bg-[GrayText] ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText] ds:forced-colors:animate-none", _e = {
51
51
  success: "ds:text-[color:var(--success-foreground)]",
52
52
  info: "ds:text-[color:var(--info-foreground)]",
53
53
  warning: "ds:text-[color:var(--warning-foreground)]",
54
54
  error: "ds:text-[color:var(--error-foreground)]",
55
55
  // Same AA-clearing accent mix Badge's accentSoft uses for its ink.
56
56
  accent: "ds:text-[color:color-mix(in_srgb,var(--accent)_40%,var(--foreground))]"
57
- }, _e = {
57
+ }, Se = {
58
58
  confirmed: "success",
59
59
  waiting: "info",
60
60
  in_care: "accent",
61
61
  done: "success",
62
62
  cancelled: "error",
63
63
  absent: "warning"
64
- }, C = {
64
+ }, K = {
65
65
  confirmed: "calendar.status.confirmed",
66
66
  waiting: "calendar.status.waiting",
67
67
  in_care: "calendar.status.inCare",
@@ -71,41 +71,41 @@ const be = {
71
71
  }, Ne = [
72
72
  {
73
73
  field: "hasUnassignedPatient",
74
- Icon: le,
74
+ Icon: ce,
75
75
  labelKey: "calendarWorkspace.details.indicators.unassignedPatient",
76
76
  tone: "warning"
77
77
  },
78
78
  {
79
79
  field: "hasHighlightedAnamnesis",
80
- Icon: ce,
80
+ Icon: oe,
81
81
  labelKey: "calendarWorkspace.details.indicators.anamnesis",
82
82
  tone: "accent"
83
83
  },
84
84
  {
85
85
  field: "hasBillableAmount",
86
- Icon: oe,
86
+ Icon: ve,
87
87
  labelKey: "calendarWorkspace.details.indicators.billable",
88
88
  tone: "warning"
89
89
  },
90
90
  {
91
91
  field: "isBookedOnline",
92
- Icon: ve,
92
+ Icon: me,
93
93
  labelKey: "calendarWorkspace.details.indicators.bookedOnline",
94
94
  tone: "info"
95
95
  },
96
96
  {
97
97
  field: "isTelehealth",
98
- Icon: me,
98
+ Icon: he,
99
99
  labelKey: "calendarWorkspace.details.indicators.telehealth",
100
100
  tone: "info"
101
101
  },
102
102
  {
103
103
  field: "isRecurring",
104
- Icon: he,
104
+ Icon: pe,
105
105
  labelKey: "calendarWorkspace.details.indicators.recurring",
106
106
  tone: "info"
107
107
  }
108
- ], Se = s(
108
+ ], Ie = s(
109
109
  [
110
110
  // FullCalendar supplies the box. The card is the `eventcard` size
111
111
  // container: the `ds:eventcard-*` tier variants (declared in
@@ -235,7 +235,7 @@ const be = {
235
235
  colorStyle: "solid"
236
236
  }
237
237
  }
238
- ), Ie = [
238
+ ), ze = [
239
239
  "event-card-content ds:grid ds:grid-cols-[minmax(0,1fr)_auto] ds:items-start",
240
240
  "ds:gap-x-[var(--spacing-2xs)] ds:leading-[var(--calendar-event-line-height)]",
241
241
  // Stretch, so a secondary line is as wide as the card and a long word
@@ -243,11 +243,11 @@ const be = {
243
243
  "ds:eventcard-narrow:flex ds:eventcard-narrow:flex-col ds:eventcard-narrow:items-stretch",
244
244
  // A 15-minute compact tile: the meta size on a tight line.
245
245
  "ds:eventcard-tiny:text-[length:var(--type-meta-size)] ds:eventcard-tiny:leading-[var(--calendar-event-compact-line-height)]"
246
- ].join(" "), ze = [
246
+ ].join(" "), Ee = [
247
247
  "event-card-heading ds:flex ds:items-baseline ds:gap-[var(--spacing-2xs)] ds:min-w-0",
248
248
  "ds:eventcard-narrow:w-full",
249
249
  "ds:eventcard-narrow-tall:flex-col ds:eventcard-narrow-tall:items-stretch ds:eventcard-narrow-tall:gap-0"
250
- ].join(" "), Ee = s(
250
+ ].join(" "), je = s(
251
251
  [
252
252
  "event-card-name ds:min-w-0 ds:flex-1 ds:font-[var(--font-weight-semibold)]",
253
253
  // Wrap at spaces first; break inside a word only when it cannot fit.
@@ -278,11 +278,11 @@ const be = {
278
278
  }
279
279
  }
280
280
  }
281
- ), je = s("event-card-full-title", {
281
+ ), Ae = s("event-card-full-title", {
282
282
  variants: {
283
283
  hasShortTitle: { true: "ds:eventcard-sliver:hidden", false: "" }
284
284
  }
285
- }), K = "event-card-kind-icon ds:inline ds:size-[1em] ds:me-[var(--spacing-2xs)] ds:align-text-bottom", Ae = s(
285
+ }), O = "event-card-kind-icon ds:inline ds:size-[1em] ds:me-[var(--spacing-2xs)] ds:align-text-bottom", Re = s(
286
286
  "event-card-time ds:hidden ds:shrink-0 ds:whitespace-nowrap ds:text-[length:var(--type-meta-size)]",
287
287
  {
288
288
  variants: {
@@ -295,7 +295,7 @@ const be = {
295
295
  }
296
296
  }
297
297
  }
298
- ), Re = s("event-card-start", {
298
+ ), Ce = s("event-card-start", {
299
299
  variants: {
300
300
  layout: {
301
301
  grid: "ds:eventcard-w256:hidden",
@@ -303,7 +303,7 @@ const be = {
303
303
  flow: "ds:eventcard-w256:hidden"
304
304
  }
305
305
  }
306
- }), Ce = s("event-card-range", {
306
+ }), Ke = s("event-card-range", {
307
307
  variants: {
308
308
  layout: {
309
309
  grid: "ds:hidden ds:eventcard-w256:inline",
@@ -311,7 +311,7 @@ const be = {
311
311
  flow: "ds:hidden ds:eventcard-w256:inline"
312
312
  }
313
313
  }
314
- }), T = "ds:col-span-full ds:overflow-hidden ds:text-[length:var(--type-meta-size)] ds:wrap-break-word", Ke = s(`event-card-suffix ${T}`, {
314
+ }), L = "ds:col-span-full ds:overflow-hidden ds:text-[length:var(--type-meta-size)] ds:wrap-break-word", Oe = s(`event-card-suffix ${L}`, {
315
315
  variants: {
316
316
  layout: {
317
317
  grid: [
@@ -323,7 +323,7 @@ const be = {
323
323
  flow: "ds:line-clamp-1 ds:eventcard-narrow:order-2"
324
324
  }
325
325
  }
326
- }), Oe = s(`event-card-context ${T}`, {
326
+ }), Te = s(`event-card-context ${L}`, {
327
327
  variants: {
328
328
  layout: {
329
329
  grid: "ds:hidden ds:eventcard-narrow:order-3 ds:eventcard-context:line-clamp-1",
@@ -331,17 +331,17 @@ const be = {
331
331
  flow: "ds:hidden"
332
332
  }
333
333
  }
334
- }), O = "ds:eventcard-narrow:absolute ds:eventcard-narrow:end-0 ds:eventcard-narrow:[inset-block-end:0] ds:eventcard-narrow:gap-0", Te = s(
334
+ }), T = "ds:eventcard-narrow:absolute ds:eventcard-narrow:end-0 ds:eventcard-narrow:[inset-block-end:0] ds:eventcard-narrow:gap-0", Le = s(
335
335
  "event-card-markers ds:flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:col-[2] ds:row-[1]",
336
336
  {
337
337
  variants: {
338
338
  layout: {
339
339
  grid: [
340
- O,
340
+ T,
341
341
  "ds:eventcard-narrow-h2:static ds:eventcard-narrow-h2:gap-[var(--spacing-2xs)] ds:eventcard-narrow-h2:order-1",
342
342
  "ds:eventcard-tall:row-auto ds:eventcard-tall:col-span-full"
343
343
  ].join(" "),
344
- month: O,
344
+ month: T,
345
345
  // Lists and timelines have no height tiers, so a narrow flow card
346
346
  // keeps its markers in the column, between name and treatment,
347
347
  // instead of laying them over the treatment line. The row wraps so
@@ -350,8 +350,8 @@ const be = {
350
350
  }
351
351
  }
352
352
  }
353
- ), Le = s(
354
- `event-card-marker ${xe} ds:size-[1em] ds:[&_svg]:size-[0.75em] ds:eventcard-narrow:size-[0.75em] ds:eventcard-narrow-h2:size-[1em]`,
353
+ ), Be = s(
354
+ `event-card-marker ${ye} ds:size-[1em] ds:[&_svg]:size-[0.75em] ds:eventcard-narrow:size-[0.75em] ds:eventcard-narrow-h2:size-[1em]`,
355
355
  {
356
356
  variants: {
357
357
  rank: {
@@ -380,7 +380,7 @@ const be = {
380
380
  }
381
381
  ]
382
382
  }
383
- ), Be = ["first", "second", "third"], Ve = s(
383
+ ), Ve = ["first", "second", "third"], We = s(
384
384
  "event-card-more ds:text-[length:var(--type-meta-size)] ds:whitespace-nowrap",
385
385
  {
386
386
  variants: {
@@ -420,7 +420,7 @@ const be = {
420
420
  }
421
421
  ]
422
422
  }
423
- ), We = s(
423
+ ), He = s(
424
424
  "event-card-sliver-cue ds:hidden ds:items-center ds:text-[length:var(--type-meta-size)]",
425
425
  {
426
426
  variants: {
@@ -431,142 +431,145 @@ const be = {
431
431
  }
432
432
  }
433
433
  }
434
- ), He = ee(
434
+ ), Me = ne(
435
435
  ({
436
436
  title: t,
437
437
  shortTitle: d,
438
438
  startText: n,
439
439
  layout: e = "grid",
440
440
  contextLabel: i,
441
- suffix: c,
441
+ contextName: l,
442
+ suffix: w,
442
443
  rangeText: f,
443
- showTime: L = !0,
444
- allDay: B = !1,
445
- status: l,
444
+ showTime: B = !0,
445
+ allDay: V = !1,
446
+ status: c,
446
447
  backgroundColor: o,
447
448
  textColor: h,
448
- borderColor: w,
449
- isBookedOnline: S = !1,
450
- hasUnassignedPatient: V,
451
- hasHighlightedAnamnesis: W,
452
- hasBillableAmount: H,
453
- isTelehealth: M,
454
- isRecurring: U,
449
+ borderColor: b,
450
+ isBookedOnline: I = !1,
451
+ hasUnassignedPatient: W,
452
+ hasHighlightedAnamnesis: H,
453
+ hasBillableAmount: M,
454
+ isTelehealth: U,
455
+ isRecurring: D,
455
456
  isTask: u = !1,
456
- isDraft: b = !1,
457
- detailsPending: x = !1,
458
- colorStyle: D = "solid",
459
- resourceLabel: G,
460
- privacyMasked: I = !1,
461
- eventId: $,
462
- className: F,
463
- style: z,
464
- "aria-label": P,
465
- ...Y
466
- }, q) => {
467
- const { t: v } = ne(), m = [
468
- ...l ? [
457
+ isDraft: x = !1,
458
+ detailsPending: y = !1,
459
+ colorStyle: G = "solid",
460
+ resourceLabel: $,
461
+ privacyMasked: z = !1,
462
+ eventId: F,
463
+ className: P,
464
+ style: E,
465
+ "aria-label": Y,
466
+ ...q
467
+ }, X) => {
468
+ const { t: v } = ae(), m = [
469
+ ...c ? [
469
470
  {
470
471
  id: "status",
471
- Icon: be[l],
472
- label: v(C[l]),
473
- tone: _e[l]
472
+ Icon: xe[c],
473
+ label: v(K[c]),
474
+ tone: Se[c]
474
475
  }
475
476
  ] : [],
476
477
  ...Ne.filter(
477
478
  ({ field: r }) => !!{
478
- hasUnassignedPatient: V,
479
- hasHighlightedAnamnesis: W,
480
- hasBillableAmount: H,
481
- isBookedOnline: S,
482
- isTelehealth: M,
483
- isRecurring: U
479
+ hasUnassignedPatient: W,
480
+ hasHighlightedAnamnesis: H,
481
+ hasBillableAmount: M,
482
+ isBookedOnline: I,
483
+ isTelehealth: U,
484
+ isRecurring: D
484
485
  }[r]
485
- ).map(({ field: r, Icon: k, labelKey: _, tone: N }) => ({
486
+ ).map(({ field: r, Icon: _, labelKey: S, tone: N }) => ({
486
487
  id: r,
487
- Icon: k,
488
- label: v(_),
488
+ Icon: _,
489
+ label: v(S),
489
490
  tone: N
490
491
  }))
491
- ], X = l ? v(C[l]) : void 0, J = x ? v("calendar.eventKind.pendingDetails") : b ? v("calendar.eventKind.draft") : u ? v("calendar.eventKind.task") : void 0, Q = P ?? [
492
+ ], J = c ? v(K[c]) : void 0, Q = y ? v("calendar.eventKind.pendingDetails") : x ? v("calendar.eventKind.draft") : u ? v("calendar.eventKind.task") : void 0, Z = Y ?? [
492
493
  t,
493
494
  f,
494
- c,
495
- G,
496
- i,
497
- X,
495
+ w,
496
+ $,
497
+ // A blank name falls back to the visible label rather than
498
+ // silencing the context altogether.
499
+ l != null && l.trim() ? l : i,
498
500
  J,
501
+ Q,
499
502
  ...m.filter((r) => r.id !== "status").map((r) => r.label)
500
- ].filter(Boolean).join(", "), E = x ? "pending-details" : b ? "draft" : u ? "task" : "appointment", g = !u && !b && D === "tinted", y = !g && !h && o ? we(o) : null, j = g ? o ? { "--calendar-event-accent": o } : void 0 : o || h || w ? {
503
+ ].filter(Boolean).join(", "), j = y ? "pending-details" : x ? "draft" : u ? "task" : "appointment", g = !u && !x && G === "tinted", k = !g && !h && o ? be(o) : null, A = g ? o ? { "--calendar-event-accent": o } : void 0 : o || h || b ? {
501
504
  ...o ? { "--calendar-event-bg": o } : {},
502
- ...h ? { "--calendar-event-text": h } : y === "on-light" ? { "--calendar-event-text": "var(--event-ink-on-light)" } : y === "on-dark" ? { "--calendar-event-text": "var(--event-ink-on-dark)" } : {},
503
- ...w ? { "--calendar-event-border": w } : {}
504
- } : void 0, Z = z || j ? { ...z, ...j } : void 0, A = !!(!I && (d != null && d.trim()) && d !== t);
505
+ ...h ? { "--calendar-event-text": h } : k === "on-light" ? { "--calendar-event-text": "var(--event-ink-on-light)" } : k === "on-dark" ? { "--calendar-event-text": "var(--event-ink-on-dark)" } : {},
506
+ ...b ? { "--calendar-event-border": b } : {}
507
+ } : void 0, ee = E || A ? { ...E, ...A } : void 0, R = !!(!z && (d != null && d.trim()) && d !== t);
505
508
  return /* @__PURE__ */ a(
506
509
  "div",
507
510
  {
508
- ref: q,
511
+ ref: X,
509
512
  role: "group",
510
- ...Y,
511
- className: Se({
513
+ ...q,
514
+ className: Ie({
512
515
  layout: e,
513
- status: l ?? "none",
514
- bookedOnline: S,
515
- kind: E,
516
+ status: c ?? "none",
517
+ bookedOnline: I,
518
+ kind: j,
516
519
  colorStyle: g ? "tinted" : "solid",
517
- className: F
520
+ className: P
518
521
  }),
519
- style: Z,
520
- "aria-label": Q,
522
+ style: ee,
523
+ "aria-label": Z,
521
524
  "data-component": "calendar-event-card",
522
- "data-event-id": $,
523
- "data-kind": E,
524
- "data-status": l ?? "none",
525
- "data-contrast": g ? "tinted" : h ? "custom" : y ?? "default",
526
- children: /* @__PURE__ */ p("span", { className: Ie, "aria-hidden": "true", children: [
527
- /* @__PURE__ */ p("span", { className: ze, children: [
525
+ "data-event-id": F,
526
+ "data-kind": j,
527
+ "data-status": c ?? "none",
528
+ "data-contrast": g ? "tinted" : h ? "custom" : k ?? "default",
529
+ children: /* @__PURE__ */ p("span", { className: ze, "aria-hidden": "true", children: [
530
+ /* @__PURE__ */ p("span", { className: Ee, children: [
528
531
  /* @__PURE__ */ a(
529
532
  "span",
530
533
  {
531
- className: Ee({
534
+ className: je({
532
535
  layout: e,
533
536
  hiddenMarkers: m.length > 1
534
537
  }),
535
- children: x ? /* @__PURE__ */ a("span", { "aria-hidden": "true", className: ye }) : /* @__PURE__ */ p(R, { children: [
536
- u ? /* @__PURE__ */ a(pe, { className: K }) : null,
537
- I ? /* @__PURE__ */ a(fe, { className: K }) : null,
538
+ children: y ? /* @__PURE__ */ a("span", { "aria-hidden": "true", className: ke }) : /* @__PURE__ */ p(C, { children: [
539
+ u ? /* @__PURE__ */ a(fe, { className: O }) : null,
540
+ z ? /* @__PURE__ */ a(ue, { className: O }) : null,
538
541
  /* @__PURE__ */ a(
539
542
  "span",
540
543
  {
541
- className: je({
542
- hasShortTitle: A
544
+ className: Ae({
545
+ hasShortTitle: R
543
546
  }),
544
547
  children: t
545
548
  }
546
549
  ),
547
- A ? /* @__PURE__ */ a("span", { className: "event-card-short-title ds:hidden ds:eventcard-sliver:inline", children: d }) : null
550
+ R ? /* @__PURE__ */ a("span", { className: "event-card-short-title ds:hidden ds:eventcard-sliver:inline", children: d }) : null
548
551
  ] })
549
552
  }
550
553
  ),
551
- L && !B && f ? /* @__PURE__ */ a("span", { className: Ae({ layout: e }), children: n ? /* @__PURE__ */ p(R, { children: [
552
- /* @__PURE__ */ a("span", { className: Re({ layout: e }), children: n }),
553
- /* @__PURE__ */ a("span", { className: Ce({ layout: e }), children: f })
554
+ B && !V && f ? /* @__PURE__ */ a("span", { className: Re({ layout: e }), children: n ? /* @__PURE__ */ p(C, { children: [
555
+ /* @__PURE__ */ a("span", { className: Ce({ layout: e }), children: n }),
556
+ /* @__PURE__ */ a("span", { className: Ke({ layout: e }), children: f })
554
557
  ] }) : f }) : null
555
558
  ] }),
556
- c ? /* @__PURE__ */ a("span", { className: Ke({ layout: e }), children: c }) : null,
557
- i ? /* @__PURE__ */ a("span", { className: Oe({ layout: e }), children: i }) : null,
558
- m.length > 0 ? /* @__PURE__ */ p("span", { className: Te({ layout: e }), children: [
559
- m.map(({ id: r, Icon: k, tone: _ }, N) => /* @__PURE__ */ a(
559
+ w ? /* @__PURE__ */ a("span", { className: Oe({ layout: e }), children: w }) : null,
560
+ i ? /* @__PURE__ */ a("span", { className: Te({ layout: e }), children: i }) : null,
561
+ m.length > 0 ? /* @__PURE__ */ p("span", { className: Le({ layout: e }), children: [
562
+ m.map(({ id: r, Icon: _, tone: S }, N) => /* @__PURE__ */ a(
560
563
  "span",
561
564
  {
562
565
  "data-marker": r,
563
566
  "aria-hidden": "true",
564
- className: Le({
565
- rank: Be[N] ?? "rest",
567
+ className: Be({
568
+ rank: Ve[N] ?? "rest",
566
569
  layout: e,
567
- className: ke[_]
570
+ className: _e[S]
568
571
  }),
569
- children: /* @__PURE__ */ a(k, { "aria-hidden": "true" })
572
+ children: /* @__PURE__ */ a(_, { "aria-hidden": "true" })
570
573
  },
571
574
  r
572
575
  )),
@@ -574,7 +577,7 @@ const be = {
574
577
  (r) => m.length > r ? /* @__PURE__ */ a(
575
578
  "span",
576
579
  {
577
- className: Ve({ capacity: r, layout: e }),
580
+ className: We({ capacity: r, layout: e }),
578
581
  children: v("calendar.card.more", {
579
582
  number: m.length - r
580
583
  })
@@ -582,19 +585,19 @@ const be = {
582
585
  r
583
586
  ) : null
584
587
  ),
585
- m.length > 1 && e !== "month" ? /* @__PURE__ */ a("span", { className: We({ layout: e }), children: "·" }) : null
588
+ m.length > 1 && e !== "month" ? /* @__PURE__ */ a("span", { className: He({ layout: e }), children: "·" }) : null
586
589
  ] }) : null
587
590
  ] })
588
591
  }
589
592
  );
590
593
  }
591
594
  );
592
- He.displayName = "CalendarEventCard";
595
+ Me.displayName = "CalendarEventCard";
593
596
  export {
594
- He as C,
597
+ Me as C,
595
598
  Ne as E,
596
- be as S,
597
- C as a,
598
- rn as w
599
+ xe as S,
600
+ K as a,
601
+ dn as w
599
602
  };
600
- //# sourceMappingURL=calendar-event-card-DplPh1wv.js.map
603
+ //# sourceMappingURL=calendar-event-card-DyFSIehr.js.map