@alfadocs/ui-kit 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,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "1.50.0",
3
+ "packageVersion": "1.50.1",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -24,6 +24,12 @@ export interface CalendarEvent {
24
24
  shortTitle?: string;
25
25
  /** Opposite resource axis label, displayed on tall cards. */
26
26
  contextLabel?: string;
27
+ /**
28
+ * The full name behind `contextLabel`, read by screen readers instead of
29
+ * it. Set it when the visible label is an abbreviation, such as an
30
+ * operator's initials, so the card is not announced letter by letter.
31
+ */
32
+ contextName?: string;
27
33
  start: string | Date;
28
34
  end?: string | Date;
29
35
  resourceId?: string;
@@ -1,4 +1,4 @@
1
- import { C as r, c as l, r as n } from "../../_chunks/calendar-zpE9qTM4.js";
1
+ import { C as r, c as l, r as n } from "../../_chunks/calendar-E6Yu4lzC.js";
2
2
  export {
3
3
  r as Calendar,
4
4
  l as calendarAgent,
@@ -61,6 +61,12 @@ export interface CalendarEventCardProps extends Omit<HTMLAttributes<HTMLDivEleme
61
61
  layout?: 'grid' | 'month' | 'flow';
62
62
  /** Opposite resource axis: operator initials or chair, on tall cards. */
63
63
  contextLabel?: string;
64
+ /**
65
+ * Full name behind `contextLabel`, used in the accessible name instead of
66
+ * it, so initials such as "DA" are not read out letter by letter. Never
67
+ * rendered visually.
68
+ */
69
+ contextName?: string;
64
70
  /**
65
71
  * Secondary description, clamped to the lines the card can hold. Note: the
66
72
  * Calendar's privacy mode does NOT mask the suffix (current behaviour,
@@ -1,4 +1,4 @@
1
- import { C as e } from "../../_chunks/calendar-event-card-DplPh1wv.js";
1
+ import { C as e } from "../../_chunks/calendar-event-card-DyFSIehr.js";
2
2
  export {
3
3
  e as CalendarEventCard
4
4
  };
package/dist/index.js CHANGED
@@ -204,8 +204,8 @@ import { A as SA } from "./_chunks/anamnesis-card-D8Si-2GV.js";
204
204
  import { D as TA, F as xA, a as uA, M as PA, b as IA, e as EA, f as RA, g as _A, c as NA, m as bA, r as DA, v as OA } from "./_chunks/muscle-scheme-Co0NIgbU.js";
205
205
  import { A as FA, a as LA, b as MA, c as yA, d as kA, e as BA, C as vA, f as GA, g as HA, D as wA, h as WA, E as UA, L as VA, O as KA, P as YA, i as XA, j as qA, k as zA, l as jA, R as QA, S as ZA, m as JA, n as $A, o as ac, p as ec, q as sc, r as rc, s as oc, t as tc, u as nc, v as ic, w as pc, x as mc, y as lc, z as dc, B as Ac, F as cc } from "./_chunks/optical-prescription-DUufWXfZ.js";
206
206
  import { B as gc, C as Sc, O as Cc, b as Tc } from "./_chunks/booking-Cdzd8kyY.js";
207
- import { C as uc, c as Pc, r as Ic } from "./_chunks/calendar-zpE9qTM4.js";
208
- import { C as Rc } from "./_chunks/calendar-event-card-DplPh1wv.js";
207
+ import { C as uc, c as Pc, r as Ic } from "./_chunks/calendar-E6Yu4lzC.js";
208
+ import { C as Rc } from "./_chunks/calendar-event-card-DyFSIehr.js";
209
209
  import { R as Nc } from "./_chunks/resource-chip-DYTG0IQQ.js";
210
210
  import { C as Dc, c as Oc } from "./_chunks/care-plan-card-ciBaaguw.js";
211
211
  import { C as Fc, c as Lc } from "./_chunks/care-plan-entry-card-D7A0whiZ.js";
@@ -247,7 +247,7 @@ import { A as YC, a as XC, i as qC, u as zC } from "./_chunks/appointment-workfl
247
247
  import { C as QC, W as ZC, a as JC, b as $C, c as aT, i as eT, l as sT, m as rT, r as oT, w as tT, d as nT, e as iT, f as pT } from "./_chunks/workflow-map-qGkQTNvS.js";
248
248
  import { A as lT, a as dT, b as AT, c as cT } from "./_chunks/alia-sidebar-Dx-oeOV2.js";
249
249
  import { A as gT, a as ST, L as CT, P as TT, S as xT, T as uT, b as PT, c as IT, d as ET, e as RT, f as _T, g as NT, h as bT, i as DT, j as OT, k as hT, l as FT, m as LT, n as MT, o as yT, p as kT, r as BT, q as vT, s as GT, t as HT, u as wT } from "./_chunks/anamnesis-summary-rows-CZirLRuv.js";
250
- import { C as UT, a as VT, b as KT, c as YT, D as XT, d as qT, S as zT, V as jT, W as QT, e as ZT, i as JT, m as $T, r as ax, u as ex, f as sx, g as rx } from "./_chunks/calendar-workspace-CWRH4x15.js";
250
+ import { C as UT, a as VT, b as KT, c as YT, D as XT, d as qT, S as zT, V as jT, W as QT, e as ZT, i as JT, m as $T, r as ax, u as ex, f as sx, g as rx } from "./_chunks/calendar-workspace-DjbGFjg1.js";
251
251
  import { A as tx, a as nx, b as ix, H as px, c as mx, u as lx } from "./_chunks/help-me-write-templates-DQtT1qs_.js";
252
252
  import { C as Ax, M as cx, P as fx } from "./_chunks/marketplace-app-shell-1uKqs4gD.js";
253
253
  import { P as Sx } from "./_chunks/payment-automation-upsell-ugi4np1l.js";
@@ -1,4 +1,4 @@
1
- import { C as s, a as r, b as E, c as P, D as S, d as o, S as C, V as t, W as d, e as A, i, m as n, r as D, u as W, f as _, g as c } from "../../_chunks/calendar-workspace-CWRH4x15.js";
1
+ import { C as s, a as r, b as E, c as P, D as S, d as o, S as C, V as t, W as d, e as A, i, m as n, r as D, u as W, f as _, g as c } from "../../_chunks/calendar-workspace-DjbGFjg1.js";
2
2
  export {
3
3
  s as CALENDAR_PREFERENCE_KEYS,
4
4
  r as CalendarDataProvider,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "1.50.0",
3
+ "version": "1.50.1",
4
4
  "type": "module",
5
5
  "description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
6
6
  "license": "BUSL-1.1",