@alfadocs/ui-kit 1.4.7 → 1.4.8

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.
@@ -3,7 +3,7 @@ import { useRef as we, useState as z, useEffect as on, useCallback as tn, useId
3
3
  import { B as J } from "./badge-DCOqV9mI.js";
4
4
  import { B as ae } from "./button-BvNtqHAS.js";
5
5
  import { I as de } from "./icon-button-9c9Gp41m.js";
6
- import { C as ge } from "./card-DPmk26CL.js";
6
+ import { C as me } from "./card-DPmk26CL.js";
7
7
  import { C as da, b as et, a as ua } from "./collapsible-CTjxzGuF.js";
8
8
  import { E as Ue } from "./empty-state-Df0tM6Kn.js";
9
9
  import { F as V } from "./form-field-M5UpX65Z.js";
@@ -318,7 +318,14 @@ const st = [
318
318
  key: "symptoms",
319
319
  fields: [
320
320
  { key: "bloating", type: "yesNoDetail", detail: !0 },
321
- { key: "refluxGastritis", type: "yesNoDetail", detail: !0 },
321
+ // Flagged on "yes": the seed's one highlight rule, so every story
322
+ // shows a highlighted answer the way a practice's rules would.
323
+ {
324
+ key: "refluxGastritis",
325
+ type: "yesNoDetail",
326
+ detail: !0,
327
+ highlight: "whenYes"
328
+ },
322
329
  { key: "tiredness", type: "yesNoDetail", detail: !0 },
323
330
  {
324
331
  key: "sleepQuality",
@@ -808,11 +815,11 @@ function Te(e, n) {
808
815
  const a = ze(e, n);
809
816
  return e.unit ? `${a} (${e.unit})` : a;
810
817
  }
811
- function he(e, n) {
818
+ function ge(e, n) {
812
819
  return wn(e.label) ?? n(`anamnesis.field.${e.key}.label`, { defaultValue: e.key });
813
820
  }
814
821
  function cs(e, n) {
815
- const a = he(e, n);
822
+ const a = ge(e, n);
816
823
  return e.unit ? `${a} (${e.unit})` : a;
817
824
  }
818
825
  function gt(e, n) {
@@ -916,7 +923,7 @@ function ms(e, n, a) {
916
923
  const i = n(e.key);
917
924
  return !i || !Xe(i) ? null : {
918
925
  key: e.key,
919
- label: he(e, a),
926
+ label: ge(e, a),
920
927
  value: Bn(i, e, a)
921
928
  };
922
929
  }
@@ -927,7 +934,7 @@ function ps(e, n, a) {
927
934
  const r = n(o.key);
928
935
  !r || r.kind !== "yesNo" || r.present !== "yes" || i.push({
929
936
  key: o.key,
930
- label: he(o, a),
937
+ label: ge(o, a),
931
938
  value: ((s = r.detail) == null ? void 0 : s.trim()) || a("anamnesis.common.yes")
932
939
  });
933
940
  }
@@ -958,7 +965,7 @@ function ft(e, n, a, i) {
958
965
  l && Xe(l) || s.push({
959
966
  key: r.key,
960
967
  sectionKey: o.key,
961
- label: he(r, i)
968
+ label: ge(r, i)
962
969
  });
963
970
  }
964
971
  return s;
@@ -1174,7 +1181,7 @@ function wt({
1174
1181
  /* @__PURE__ */ t(_, { layout: "stacked", density: "compact", divider: "between", children: r.map((l) => {
1175
1182
  const c = e.answers[l.key];
1176
1183
  return c ? /* @__PURE__ */ d(_.Row, { children: [
1177
- /* @__PURE__ */ t(_.Term, { children: he(l, i) }),
1184
+ /* @__PURE__ */ t(_.Term, { children: ge(l, i) }),
1178
1185
  /* @__PURE__ */ t(_.Detail, { children: /* @__PURE__ */ d("span", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
1179
1186
  /* @__PURE__ */ t("span", { children: Bn(c.value, l, i) }),
1180
1187
  c.origin === "patient" ? /* @__PURE__ */ t(bt, { t: i }) : null
@@ -2238,12 +2245,12 @@ function Ca({
2238
2245
  }, [X, se, n]), ne = q(
2239
2246
  () => Gs(e.events, p),
2240
2247
  [e.events, p]
2241
- ), [me, ue] = z(
2248
+ ), [pe, ue] = z(
2242
2249
  () => u ? [...u] : []
2243
2250
  ), Le = q(() => {
2244
2251
  const O = new Set(ne.map((G) => G.event.id));
2245
- return new Set(me.filter((G) => O.has(G)));
2246
- }, [me, ne]), Fe = q(
2252
+ return new Set(pe.filter((G) => O.has(G)));
2253
+ }, [pe, ne]), Fe = q(
2247
2254
  () => js(ne, Le, n),
2248
2255
  [ne, Le, n]
2249
2256
  ), Pe = (O) => ue(
@@ -2402,42 +2409,42 @@ function Ca({
2402
2409
  ) }) : /* @__PURE__ */ t("p", { className: "type-body-sm ds:m-0 ds:text-[color:var(--muted-foreground)]", children: n("anamnesis.compare.needTwoVisits") })
2403
2410
  ] });
2404
2411
  }
2405
- const Ce = ["clinician"], pe = [
2412
+ const Ce = ["clinician"], he = [
2406
2413
  "clinician",
2407
2414
  "patient"
2408
2415
  ], eo = [
2409
2416
  {
2410
2417
  id: "patient.identity",
2411
2418
  surface: "intake",
2412
- audiences: pe,
2419
+ audiences: he,
2413
2420
  rationale: "The patient supplied their own identifying details.",
2414
2421
  status: "provisional"
2415
2422
  },
2416
2423
  {
2417
2424
  id: "visit.date",
2418
2425
  surface: "evolution",
2419
- audiences: pe,
2426
+ audiences: he,
2420
2427
  rationale: "The patient attended the visit and knows when it happened.",
2421
2428
  status: "provisional"
2422
2429
  },
2423
2430
  {
2424
2431
  id: "visit.type",
2425
2432
  surface: "evolution",
2426
- audiences: pe,
2433
+ audiences: he,
2427
2434
  rationale: "First visit versus follow-up carries no clinical judgement.",
2428
2435
  status: "provisional"
2429
2436
  },
2430
2437
  {
2431
2438
  id: "visit.practitioner",
2432
2439
  surface: "compile",
2433
- audiences: pe,
2440
+ audiences: he,
2434
2441
  rationale: "The patient met the practitioner.",
2435
2442
  status: "provisional"
2436
2443
  },
2437
2444
  {
2438
2445
  id: "visit.reason",
2439
2446
  surface: "compile",
2440
- audiences: pe,
2447
+ audiences: he,
2441
2448
  rationale: "The human-readable reason for the visit is what the patient came for. Renders nothing today.",
2442
2449
  status: "provisional"
2443
2450
  },
@@ -2451,28 +2458,28 @@ const Ce = ["clinician"], pe = [
2451
2458
  {
2452
2459
  id: "intake.answers",
2453
2460
  surface: "intake",
2454
- audiences: pe,
2461
+ audiences: he,
2455
2462
  rationale: "The patient authored them.",
2456
2463
  status: "provisional"
2457
2464
  },
2458
2465
  {
2459
2466
  id: "anthropometrics.values",
2460
2467
  surface: "compile",
2461
- audiences: pe,
2468
+ audiences: he,
2462
2469
  rationale: "Measured with the patient present, and motivating to track.",
2463
2470
  status: "provisional"
2464
2471
  },
2465
2472
  {
2466
2473
  id: "dietary.intake",
2467
2474
  surface: "compile",
2468
- audiences: pe,
2475
+ audiences: he,
2469
2476
  rationale: "Estimated daily energy and protein describe what the patient eats — their own behaviour, and the thing the plan asks them to change.",
2470
2477
  status: "provisional"
2471
2478
  },
2472
2479
  {
2473
2480
  id: "derived.bmi",
2474
2481
  surface: "compile",
2475
- audiences: pe,
2482
+ audiences: he,
2476
2483
  rationale: "Derived from weight and height, both already disclosed.",
2477
2484
  status: "provisional"
2478
2485
  },
@@ -2500,14 +2507,14 @@ const Ce = ["clinician"], pe = [
2500
2507
  {
2501
2508
  id: "therapy.entries",
2502
2509
  surface: "compile",
2503
- audiences: pe,
2510
+ audiences: he,
2504
2511
  rationale: "The patient takes them and needs the list.",
2505
2512
  status: "provisional"
2506
2513
  },
2507
2514
  {
2508
2515
  id: "fmd.cycles",
2509
2516
  surface: "compile",
2510
- audiences: pe,
2517
+ audiences: he,
2511
2518
  rationale: "The patient follows the programme.",
2512
2519
  status: "provisional"
2513
2520
  },
@@ -2521,14 +2528,14 @@ const Ce = ["clinician"], pe = [
2521
2528
  {
2522
2529
  id: "notes.nutritionalProposal",
2523
2530
  surface: "compile",
2524
- audiences: pe,
2531
+ audiences: he,
2525
2532
  rationale: "This is the plan the patient is asked to follow.",
2526
2533
  status: "provisional"
2527
2534
  },
2528
2535
  {
2529
2536
  id: "annual.programme",
2530
2537
  surface: "compile",
2531
- audiences: pe,
2538
+ audiences: he,
2532
2539
  rationale: "The patient accepts or declines it.",
2533
2540
  status: "provisional"
2534
2541
  },
@@ -2549,7 +2556,7 @@ const Ce = ["clinician"], pe = [
2549
2556
  {
2550
2557
  id: "intake.digest",
2551
2558
  surface: "compile",
2552
- audiences: pe,
2559
+ audiences: he,
2553
2560
  rationale: "A summary of answers the patient wrote themselves.",
2554
2561
  status: "provisional"
2555
2562
  },
@@ -2577,7 +2584,7 @@ const Ce = ["clinician"], pe = [
2577
2584
  {
2578
2585
  id: "export.tabDocument",
2579
2586
  surface: "export",
2580
- audiences: pe,
2587
+ audiences: he,
2581
2588
  rationale: "The per-tab export ENVELOPE — a title, a meta block and a list of tables. It carries no clinical content of its own: every table inside is gated on the concept it renders, so this row decides only whether a file may be produced at all. The whole-record workbook stays reserved by export.workbook.",
2582
2589
  status: "provisional"
2583
2590
  }
@@ -2707,7 +2714,7 @@ function so(e) {
2707
2714
  const A = g.answers[w.key];
2708
2715
  A && v.push({
2709
2716
  cells: [
2710
- he(w, i),
2717
+ ge(w, i),
2711
2718
  re(Bn(A.value, w, i)),
2712
2719
  i(`anamnesis.export.source.${A.origin}`)
2713
2720
  ]
@@ -3577,11 +3584,11 @@ function Oo({
3577
3584
  ), j = (B) => R((ne) => ({ text: B, seq: ne.seq + 1 })), M = (B, ne) => {
3578
3585
  if (m.current) return;
3579
3586
  m.current = !0;
3580
- const me = x(c);
3581
- Promise.resolve(ne(me)).then(
3587
+ const pe = x(c);
3588
+ Promise.resolve(ne(pe)).then(
3582
3589
  (ue) => j(
3583
3590
  ue ? a("anamnesis.export.control.ready", {
3584
- file: `${me.fileStem}.${B}`
3591
+ file: `${pe.fileStem}.${B}`
3585
3592
  }) : a("anamnesis.export.control.failed")
3586
3593
  )
3587
3594
  ).catch(() => j(a("anamnesis.export.control.failed"))).finally(() => {
@@ -4136,7 +4143,7 @@ function qt({
4136
4143
  "data-highlighted": h ? "true" : void 0,
4137
4144
  className: [
4138
4145
  "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
4139
- h ? "ds:border-s-2 ds:border-[color:var(--accent)] ds:ps-[var(--spacing-sm)] ds:bg-[color:color-mix(in_srgb,var(--accent)_6%,transparent)]" : ""
4146
+ h ? "ds:rounded-[var(--radius-lg)] ds:border ds:border-[color:var(--accent)] ds:p-[var(--spacing-md)] ds:shadow-[var(--shadow-card)] ds:bg-[color:color-mix(in_srgb,var(--accent)_6%,transparent)]" : ""
4140
4147
  ].filter(Boolean).join(" "),
4141
4148
  children: [
4142
4149
  u || h ? /* @__PURE__ */ d("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)]", children: [
@@ -4607,8 +4614,8 @@ function tr({
4607
4614
  ), W = q(
4608
4615
  () => Ge(i),
4609
4616
  [i]
4610
- ), Z = q(() => fa(i), [i]), se = q(() => zn(i), [i]), [X, Re] = z(p), [D, B] = z(!0), [ne, me] = z([]), ue = tn((y) => {
4611
- me(
4617
+ ), Z = q(() => fa(i), [i]), se = q(() => zn(i), [i]), [X, Re] = z(p), [D, B] = z(!0), [ne, pe] = z([]), ue = tn((y) => {
4618
+ pe(
4612
4619
  (b) => b.length === y.length && b.every((I, K) => I === y[K]) ? b : [...y]
4613
4620
  );
4614
4621
  }, []), { containerRef: Le, requestJump: Fe } = vt(), Pe = tn(
@@ -4631,7 +4638,7 @@ function tr({
4631
4638
  Re("compile"), B(!0), Fe(y.key);
4632
4639
  };
4633
4640
  if (!S)
4634
- return /* @__PURE__ */ t(Xa, { embedded: a, children: /* @__PURE__ */ t(ge, { variant: "elevated", children: /* @__PURE__ */ t(ge.Body, { children: /* @__PURE__ */ t(
4641
+ return /* @__PURE__ */ t(Xa, { embedded: a, children: /* @__PURE__ */ t(me, { variant: "elevated", children: /* @__PURE__ */ t(me.Body, { children: /* @__PURE__ */ t(
4635
4642
  Ue,
4636
4643
  {
4637
4644
  variant: "first-use",
@@ -4750,7 +4757,7 @@ function tr({
4750
4757
  onTargetChange: Gn
4751
4758
  }
4752
4759
  ),
4753
- /* @__PURE__ */ t(ge, { variant: "elevated", children: /* @__PURE__ */ t(ge.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: /* @__PURE__ */ d(
4760
+ /* @__PURE__ */ t(me, { variant: "elevated", children: /* @__PURE__ */ t(me.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: /* @__PURE__ */ d(
4754
4761
  Y,
4755
4762
  {
4756
4763
  value: X,
@@ -5446,7 +5453,7 @@ function Kt({
5446
5453
  announce: "off"
5447
5454
  }
5448
5455
  ) : null,
5449
- /* @__PURE__ */ t(ge, { variant: "elevated", children: /* @__PURE__ */ t(ge.Body, { ref: S, children: /* @__PURE__ */ d(
5456
+ /* @__PURE__ */ t(me, { variant: "elevated", children: /* @__PURE__ */ t(me.Body, { ref: S, children: /* @__PURE__ */ d(
5450
5457
  "section",
5451
5458
  {
5452
5459
  "aria-label": n("anamnesis.intake.sectionsLabel"),
@@ -5571,7 +5578,7 @@ function ir({
5571
5578
  e.targets.map((A) => [A.parameterKey, A.target])
5572
5579
  ), h = _e(i, "anthropometric"), g = _e(i, "dietary"), p = _e(i, "lab"), k = Ge(i), v = zn(i);
5573
5580
  if (!l)
5574
- return /* @__PURE__ */ t(Ja, { embedded: a, children: /* @__PURE__ */ t(ge, { variant: "elevated", children: /* @__PURE__ */ t(ge.Body, { children: /* @__PURE__ */ t(
5581
+ return /* @__PURE__ */ t(Ja, { embedded: a, children: /* @__PURE__ */ t(me, { variant: "elevated", children: /* @__PURE__ */ t(me.Body, { children: /* @__PURE__ */ t(
5575
5582
  Ue,
5576
5583
  {
5577
5584
  variant: "first-use",
@@ -5589,7 +5596,7 @@ function ir({
5589
5596
  ] }),
5590
5597
  /* @__PURE__ */ t("p", { className: "type-body-sm ds:m-0 ds:text-[color:var(--muted-foreground)]", children: n("anamnesis.readOnly.subtitle") })
5591
5598
  ] }),
5592
- /* @__PURE__ */ t(ge, { variant: "elevated", children: /* @__PURE__ */ d(ge.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
5599
+ /* @__PURE__ */ t(me, { variant: "elevated", children: /* @__PURE__ */ d(me.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
5593
5600
  /* @__PURE__ */ t(xe, { titleKey: "anamnesis.readOnly.summary", t: n, children: /* @__PURE__ */ d(
5594
5601
  _,
5595
5602
  {
@@ -5778,7 +5785,7 @@ function hn({
5778
5785
  primaryAction: s,
5779
5786
  secondaryAction: o
5780
5787
  }) {
5781
- return /* @__PURE__ */ t(ge, { variant: "elevated", "data-testid": n, children: /* @__PURE__ */ t(ge.Body, { children: /* @__PURE__ */ t(
5788
+ return /* @__PURE__ */ t(me, { variant: "elevated", "data-testid": n, children: /* @__PURE__ */ t(me.Body, { children: /* @__PURE__ */ t(
5782
5789
  Ue,
5783
5790
  {
5784
5791
  variant: e,
@@ -5910,8 +5917,10 @@ function Ht({
5910
5917
  )
5911
5918
  ) : (
5912
5919
  /* Read-only: values are answered in the questionnaire, never
5913
- typed into the grid — one place to answer a question. */
5914
- /* @__PURE__ */ t(
5920
+ typed into the grid — one place to answer a question. The
5921
+ same elevated card as the questionnaire's sections, so the
5922
+ grid is not the one surface sitting bare on the page. */
5923
+ /* @__PURE__ */ t(me, { variant: "elevated", children: /* @__PURE__ */ t(me.Body, { children: /* @__PURE__ */ t(
5915
5924
  Ca,
5916
5925
  {
5917
5926
  record: T,
@@ -5919,7 +5928,7 @@ function Ht({
5919
5928
  config: a,
5920
5929
  framed: !1
5921
5930
  }
5922
- )
5931
+ ) }) })
5923
5932
  )
5924
5933
  }
5925
5934
  )
@@ -6252,7 +6261,7 @@ function Il({
6252
6261
  /* @__PURE__ */ t("h2", { className: "type-title-section ds:m-0 ds:text-[color:var(--foreground)]", children: a("anamnesis.configEditor.title") }),
6253
6262
  /* @__PURE__ */ t("p", { className: "type-body-sm ds:m-0 ds:text-[color:var(--muted-foreground)]", children: a("anamnesis.configEditor.intro") })
6254
6263
  ] }),
6255
- /* @__PURE__ */ t(ge, { variant: "elevated", children: /* @__PURE__ */ t(ge.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: /* @__PURE__ */ d(Y, { defaultValue: "questionnaire", children: [
6264
+ /* @__PURE__ */ t(me, { variant: "elevated", children: /* @__PURE__ */ t(me.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: /* @__PURE__ */ d(Y, { defaultValue: "questionnaire", children: [
6256
6265
  /* @__PURE__ */ d(Y.List, { "aria-label": a("anamnesis.configEditor.tabsLabel"), children: [
6257
6266
  /* @__PURE__ */ t(Y.Trigger, { value: "questionnaire", children: a("anamnesis.configEditor.tabQuestionnaire") }),
6258
6267
  /* @__PURE__ */ t(Y.Trigger, { value: "parameters", children: a("anamnesis.configEditor.tabParameters") }),
@@ -6379,13 +6388,13 @@ function Il({
6379
6388
  na,
6380
6389
  {
6381
6390
  index: H,
6382
- label: he(E, a),
6391
+ label: ge(E, a),
6383
6392
  children: ({ rowProps: j, handle: M }) => /* @__PURE__ */ t(
6384
6393
  en.Item,
6385
6394
  {
6386
6395
  ...j,
6387
6396
  title: /* @__PURE__ */ d("span", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
6388
- he(E, a),
6397
+ ge(E, a),
6389
6398
  E.required === !0 ? /* @__PURE__ */ t(
6390
6399
  J,
6391
6400
  {
@@ -6417,7 +6426,7 @@ function Il({
6417
6426
  "aria-label": a(
6418
6427
  "anamnesis.configEditor.rowActions",
6419
6428
  {
6420
- name: he(
6429
+ name: ge(
6421
6430
  E,
6422
6431
  a
6423
6432
  )
@@ -6434,7 +6443,7 @@ function Il({
6434
6443
  "aria-label": a(
6435
6444
  "anamnesis.configEditor.edit",
6436
6445
  {
6437
- name: he(
6446
+ name: ge(
6438
6447
  E,
6439
6448
  a
6440
6449
  )
@@ -6456,7 +6465,7 @@ function Il({
6456
6465
  "aria-label": a(
6457
6466
  "anamnesis.configEditor.restore",
6458
6467
  {
6459
- name: he(
6468
+ name: ge(
6460
6469
  E,
6461
6470
  a
6462
6471
  )
@@ -6480,7 +6489,7 @@ function Il({
6480
6489
  "aria-label": a(
6481
6490
  "anamnesis.configEditor.archive",
6482
6491
  {
6483
- name: he(
6492
+ name: ge(
6484
6493
  E,
6485
6494
  a
6486
6495
  )
@@ -7030,7 +7039,7 @@ function pr({
7030
7039
  ] });
7031
7040
  }
7032
7041
  function hr(e, n) {
7033
- return e.kind === "parameter" ? Te({ ...e.entry, label: void 0 }, n) : e.kind === "section" ? fe({ ...e.entry, label: void 0 }, n) : e.kind === "field" ? he({ ...e.entry, label: void 0 }, n) : Se(e.entry.code, n, {
7042
+ return e.kind === "parameter" ? Te({ ...e.entry, label: void 0 }, n) : e.kind === "section" ? fe({ ...e.entry, label: void 0 }, n) : e.kind === "field" ? ge({ ...e.entry, label: void 0 }, n) : Se(e.entry.code, n, {
7034
7043
  ...e.entry,
7035
7044
  label: void 0
7036
7045
  });
@@ -7098,16 +7107,16 @@ function fr({
7098
7107
  if (Fe.trim() === "") return;
7099
7108
  const Pe = Number(Fe);
7100
7109
  return Number.isFinite(Pe) ? Pe : void 0;
7101
- }, me = ne(k), ue = ne(f), Le = {
7110
+ }, pe = ne(k), ue = ne(f), Le = {
7102
7111
  key: aa(D, B),
7103
7112
  label: D,
7104
7113
  group: l,
7105
7114
  betterDirection: u,
7106
7115
  precision: Number(w),
7107
7116
  ...g.trim() ? { unit: g.trim() } : {},
7108
- ...me != null || ue != null ? {
7117
+ ...pe != null || ue != null ? {
7109
7118
  referenceRange: {
7110
- ...me != null ? { min: me } : {},
7119
+ ...pe != null ? { min: pe } : {},
7111
7120
  ...ue != null ? { max: ue } : {}
7112
7121
  }
7113
7122
  } : {}
@@ -7118,7 +7127,7 @@ function fr({
7118
7127
  a.intakeSections.flatMap(
7119
7128
  (ue) => ue.fields.map((Le) => Le.key)
7120
7129
  )
7121
- ), ne = R === "numberInteger" || R === "numberDecimal" ? "number" : R === "choiceWithText" ? "choice" : R, me = {
7130
+ ), ne = R === "numberInteger" || R === "numberDecimal" ? "number" : R === "choiceWithText" ? "choice" : R, pe = {
7122
7131
  key: aa(D, B),
7123
7132
  label: D,
7124
7133
  type: ne,
@@ -7131,12 +7140,12 @@ function fr({
7131
7140
  i({
7132
7141
  ...a,
7133
7142
  intakeSections: a.intakeSections.map(
7134
- (ue) => ue.key === e.sectionKey ? { ...ue, fields: [...ue.fields, me] } : ue
7143
+ (ue) => ue.key === e.sectionKey ? { ...ue, fields: [...ue.fields, pe] } : ue
7135
7144
  )
7136
7145
  });
7137
7146
  } else if (e.kind === "section") {
7138
7147
  const B = new Set(
7139
- a.intakeSections.map((me) => me.key)
7148
+ a.intakeSections.map((pe) => pe.key)
7140
7149
  ), ne = {
7141
7150
  key: aa(D, B),
7142
7151
  label: D,
@@ -9265,7 +9274,7 @@ function Tr(e, n) {
9265
9274
  function Sr(e, n, a) {
9266
9275
  const i = {
9267
9276
  id: e.key,
9268
- label: he(e, a),
9277
+ label: ge(e, a),
9269
9278
  value: Bn(n.answer, e, a),
9270
9279
  highlighted: Ra(e, n.answer)
9271
9280
  };
@@ -9312,7 +9321,7 @@ export {
9312
9321
  lt as i,
9313
9322
  fa as j,
9314
9323
  Bn as k,
9315
- he as l,
9324
+ ge as l,
9316
9325
  Ra as m,
9317
9326
  Vi as n,
9318
9327
  Ui as o,
@@ -9323,4 +9332,4 @@ export {
9323
9332
  Vt as t,
9324
9333
  Fl as u
9325
9334
  };
9326
- //# sourceMappingURL=anamnesis-summary-rows-D7v_JyGo.js.map
9335
+ //# sourceMappingURL=anamnesis-summary-rows-Co3BA0ro.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "1.4.7",
3
+ "packageVersion": "1.4.8",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
package/dist/index.js CHANGED
@@ -215,7 +215,7 @@ import { T as Gg } from "./_chunks/transaction-chip-DJCstquX.js";
215
215
  import { W as Hg, a as wg } from "./_chunks/whatsapp-button-BIy6NaJK.js";
216
216
  import { C as Wg, W as Ug, a as Kg, b as Yg, c as Xg, i as qg, l as zg, m as jg, r as Qg, w as Jg, d as Zg, e as $g, f as aC } from "./_chunks/workflow-map-C5PGP6cD.js";
217
217
  import { A as sC, a as rC, b as oC, c as tC } from "./_chunks/alia-sidebar-Bg53-ZOT.js";
218
- import { A as iC, a as pC, L as mC, P as lC, S as dC, T as AC, b as cC, c as fC, d as gC, e as CC, f as SC, g as xC, h as TC, i as uC, j as PC, k as IC, l as EC, m as bC, n as RC, o as _C, p as NC, r as hC, q as DC, s as FC, t as MC, u as LC } from "./_chunks/anamnesis-summary-rows-D7v_JyGo.js";
218
+ import { A as iC, a as pC, L as mC, P as lC, S as dC, T as AC, b as cC, c as fC, d as gC, e as CC, f as SC, g as xC, h as TC, i as uC, j as PC, k as IC, l as EC, m as bC, n as RC, o as _C, p as NC, r as hC, q as DC, s as FC, t as MC, u as LC } from "./_chunks/anamnesis-summary-rows-Co3BA0ro.js";
219
219
  import { C as yC, M as kC, P as BC } from "./_chunks/marketplace-app-shell-BxOiy25s.js";
220
220
  import { P as vC } from "./_chunks/payment-automation-upsell-CZZPGfs0.js";
221
221
  import { S as wC } from "./_chunks/signature-request-C4UBfVRZ.js";
@@ -1,4 +1,4 @@
1
- import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-D7v_JyGo.js";
1
+ import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-Co3BA0ro.js";
2
2
  export {
3
3
  e as Anamnesis,
4
4
  i as AnamnesisConfigEditor,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
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",