@alfadocs/ui-kit 1.90.2 → 1.91.0

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.
Files changed (162) hide show
  1. package/dist/_chunks/{agenda-card-BDuvreCe.js → agenda-card-BhY342MA.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-D-jvptdo.js → agenda-tray-BmxBGEci.js} +2 -2
  3. package/dist/_chunks/{alia-sidebar-CsTRAxC8.js → alia-sidebar-ovRX_oti.js} +3 -3
  4. package/dist/_chunks/{appointment-card-5JMWi9_f.js → appointment-card-Bstc1p7a.js} +2 -2
  5. package/dist/_chunks/{appointment-peek-39BwVMUf.js → appointment-peek-C0kKqnFk.js} +2 -2
  6. package/dist/_chunks/{appointment-timeline-1-Za2miy.js → appointment-timeline-rbt9AwHO.js} +2 -2
  7. package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js → appointment-tray-6zd8RLIL.js} +2 -2
  8. package/dist/_chunks/{avatar-BPiPL7ND.js → avatar-a6042Ox2.js} +52 -52
  9. package/dist/_chunks/{balance-badge-cell-D9VhFp0L.js → balance-badge-cell-BtJvre1-.js} +2 -2
  10. package/dist/_chunks/booking-opt_h7Uc.js +4590 -0
  11. package/dist/_chunks/{calendar-ClB-jWH1.js → calendar-CmiMS4FJ.js} +2 -2
  12. package/dist/_chunks/{calendar-appointment-editor-dialog-CiAGAX2t.js → calendar-appointment-editor-dialog-sJKLoVJ2.js} +7 -7
  13. package/dist/_chunks/{care-plan-card-BYCPNDvA.js → care-plan-card-DD9rEWYN.js} +2 -2
  14. package/dist/_chunks/{care-plan-header-BzsAg6oY.js → care-plan-header-CXUJQt8Q.js} +2 -2
  15. package/dist/_chunks/{chat-message-CmFJdEre.js → chat-message-LRO_6Ee3.js} +2 -2
  16. package/dist/_chunks/{clinical-note-card-Caidqcwa.js → clinical-note-card-Cut2lNmu.js} +3 -3
  17. package/dist/_chunks/{contact-card-Czu60UvU.js → contact-card-ClvEDM9e.js} +2 -2
  18. package/dist/_chunks/{contact-profile-card-Da1vmJQI.js → contact-profile-card-CX45mZA3.js} +106 -95
  19. package/dist/_chunks/{dependent-selector-C4kOgO8b.js → dependent-selector-CyNi7M_f.js} +2 -2
  20. package/dist/_chunks/{entity-summary-BLxzSSXK.js → entity-summary-B_bOloqP.js} +3 -3
  21. package/dist/_chunks/error-page-B0fGNTRB.js +419 -0
  22. package/dist/_chunks/{languages-CZqBaPwI.js → languages-CGLX6Qpe.js} +3 -15
  23. package/dist/_chunks/link-DtCfnLnF.js +332 -0
  24. package/dist/_chunks/{link-cell-renderer-CnCgudvq.js → link-cell-renderer-BS3V4LA6.js} +2 -2
  25. package/dist/_chunks/{marketplace-app-shell-CmZx0Oam.js → marketplace-app-shell-CJQtx3sv.js} +2 -2
  26. package/dist/_chunks/{message-card-CvCnCssc.js → message-card-B6SduXJv.js} +2 -2
  27. package/dist/_chunks/{message-tray-IJYvy6Cf.js → message-tray-Cllf-v0G.js} +2 -2
  28. package/dist/_chunks/{nav-grid-Oc4aCPrg.js → nav-grid-D2xVcHTO.js} +2 -2
  29. package/dist/_chunks/{note-attachment-DIlIQ7JF.js → note-attachment-cnj2JRrg.js} +2 -2
  30. package/dist/_chunks/{note-timeline-KzL52MmB.js → note-timeline-BrjHBQfx.js} +2 -2
  31. package/dist/_chunks/{notes-panel-Dywo6R55.js → notes-panel-ib7I3aNf.js} +2 -2
  32. package/dist/_chunks/{operator-hero-6aAIQaFZ.js → operator-hero-C_5B-8Qp.js} +43 -41
  33. package/dist/_chunks/{patient-details-BUr7Oemx.js → patient-details-BjcUpD9S.js} +3 -3
  34. package/dist/_chunks/{patient-field-row-bJk8Q_qr.js → patient-field-row-B0tdiaWi.js} +2 -2
  35. package/dist/_chunks/{patient-summary-card-CCQZ8X37.js → patient-summary-card-Cvv6_Ugk.js} +4 -4
  36. package/dist/_chunks/{payment-request-card-MndSlVoK.js → payment-request-card-BfGauFY0.js} +2 -2
  37. package/dist/_chunks/{practice-profile-hero-qfrsFQI_.js → practice-profile-hero-ClzE-4CB.js} +76 -73
  38. package/dist/_chunks/{practice-results-DQuOfqej.js → practice-results-CQ_KvEXK.js} +517 -514
  39. package/dist/_chunks/{product-hub-panel-Blag8t8f.js → product-hub-panel-bHi7lkVD.js} +2 -2
  40. package/dist/_chunks/public-footer-IoRWoAMz.js +596 -0
  41. package/dist/_chunks/{signature-request-DjY-X62H.js → signature-request-DvhyrRpn.js} +3 -3
  42. package/dist/_chunks/{signed-out-frame-G-3ATOdu.js → signed-out-frame-CgRXOUzi.js} +2 -2
  43. package/dist/_chunks/{slot-grid-DrwynKeN.js → slot-grid-B-IAFX3C.js} +180 -169
  44. package/dist/_chunks/{timeline-wUuTDFY_.js → timeline-BcYHdP56.js} +2 -2
  45. package/dist/_chunks/{use-appointment-details-read-BytPq3Ux.js → use-appointment-details-read-D8vDg0sg.js} +5 -5
  46. package/dist/agent-catalog.json +2 -2
  47. package/dist/components/_shared/social-brand-icons.d.ts +29 -0
  48. package/dist/components/agenda-card/index.js +1 -1
  49. package/dist/components/agenda-tray/index.js +1 -1
  50. package/dist/components/appointment-card/index.js +2 -2
  51. package/dist/components/appointment-details-panel/index.js +1 -1
  52. package/dist/components/appointment-peek/index.js +1 -1
  53. package/dist/components/appointment-timeline/index.js +1 -1
  54. package/dist/components/avatar/avatar.d.ts +14 -0
  55. package/dist/components/avatar/index.js +1 -1
  56. package/dist/components/booking/booking-types.d.ts +26 -0
  57. package/dist/components/booking/index.js +1 -1
  58. package/dist/components/booking/slot-load-state.d.ts +11 -0
  59. package/dist/components/calendar/index.js +1 -1
  60. package/dist/components/care-plan-card/index.js +1 -1
  61. package/dist/components/care-plan-header/index.js +1 -1
  62. package/dist/components/chat-message/index.js +1 -1
  63. package/dist/components/clinical-note-card/index.js +1 -1
  64. package/dist/components/contact-card/index.js +1 -1
  65. package/dist/components/contact-profile-card/index.js +1 -1
  66. package/dist/components/data-table/index.js +1 -1
  67. package/dist/components/dependent-selector/index.js +1 -1
  68. package/dist/components/entity-summary/index.js +1 -1
  69. package/dist/components/link/index.js +1 -1
  70. package/dist/components/link/link.d.ts +10 -1
  71. package/dist/components/link/social-url.d.ts +71 -0
  72. package/dist/components/message-card/index.js +1 -1
  73. package/dist/components/message-tray/index.js +1 -1
  74. package/dist/components/nav-grid/index.js +1 -1
  75. package/dist/components/note-timeline/index.js +1 -1
  76. package/dist/components/notes-panel/index.js +1 -1
  77. package/dist/components/operator-hero/index.js +1 -1
  78. package/dist/components/operator-hero/operator-hero.d.ts +6 -0
  79. package/dist/components/patient-details/index.js +1 -1
  80. package/dist/components/patient-summary-card/index.js +1 -1
  81. package/dist/components/patient-table/index.js +1 -1
  82. package/dist/components/payment-card/index.js +1 -1
  83. package/dist/components/practice-profile-hero/index.js +1 -1
  84. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +6 -0
  85. package/dist/components/practice-results/index.js +1 -1
  86. package/dist/components/practice-results/practice-results.d.ts +8 -2
  87. package/dist/components/product-hub-tray/index.js +1 -1
  88. package/dist/components/public-footer/index.js +1 -1
  89. package/dist/components/public-footer/public-footer.d.ts +13 -1
  90. package/dist/components/public-footer/socials.d.ts +6 -5
  91. package/dist/components/slot-grid/index.js +1 -1
  92. package/dist/components/slot-grid/slot-grid.d.ts +2 -0
  93. package/dist/components/timeline/index.js +1 -1
  94. package/dist/i18n/config.js +224 -96
  95. package/dist/i18n/locales/ar.d.ts +3 -0
  96. package/dist/i18n/locales/ar.js +4 -1
  97. package/dist/i18n/locales/de.d.ts +3 -0
  98. package/dist/i18n/locales/de.js +4 -1
  99. package/dist/i18n/locales/el.d.ts +3 -0
  100. package/dist/i18n/locales/el.js +4 -1
  101. package/dist/i18n/locales/en.d.ts +3 -0
  102. package/dist/i18n/locales/en.js +3 -0
  103. package/dist/i18n/locales/es.d.ts +3 -0
  104. package/dist/i18n/locales/es.js +4 -1
  105. package/dist/i18n/locales/fr.d.ts +3 -0
  106. package/dist/i18n/locales/fr.js +4 -1
  107. package/dist/i18n/locales/hi.d.ts +3 -0
  108. package/dist/i18n/locales/hi.js +4 -1
  109. package/dist/i18n/locales/it.d.ts +3 -0
  110. package/dist/i18n/locales/it.js +4 -1
  111. package/dist/i18n/locales/ja.d.ts +3 -0
  112. package/dist/i18n/locales/ja.js +4 -1
  113. package/dist/i18n/locales/nl.d.ts +3 -0
  114. package/dist/i18n/locales/nl.js +4 -1
  115. package/dist/i18n/locales/pl.d.ts +3 -0
  116. package/dist/i18n/locales/pl.js +4 -1
  117. package/dist/i18n/locales/pt.d.ts +3 -0
  118. package/dist/i18n/locales/pt.js +4 -1
  119. package/dist/i18n/locales/ro.d.ts +3 -0
  120. package/dist/i18n/locales/ro.js +4 -1
  121. package/dist/i18n/locales/ru.d.ts +3 -0
  122. package/dist/i18n/locales/ru.js +4 -1
  123. package/dist/i18n/locales/sq.d.ts +3 -0
  124. package/dist/i18n/locales/sq.js +4 -1
  125. package/dist/i18n/locales/sv.d.ts +3 -0
  126. package/dist/i18n/locales/sv.js +4 -1
  127. package/dist/i18n/locales/tr.d.ts +3 -0
  128. package/dist/i18n/locales/tr.js +4 -1
  129. package/dist/i18n/locales/zh.d.ts +3 -0
  130. package/dist/i18n/locales/zh.js +4 -1
  131. package/dist/index.js +42 -42
  132. package/dist/locales/ar.json +4 -1
  133. package/dist/locales/de.json +4 -1
  134. package/dist/locales/el.json +4 -1
  135. package/dist/locales/en.json +3 -0
  136. package/dist/locales/es.json +4 -1
  137. package/dist/locales/fr.json +4 -1
  138. package/dist/locales/hi.json +4 -1
  139. package/dist/locales/it.json +4 -1
  140. package/dist/locales/ja.json +4 -1
  141. package/dist/locales/nl.json +4 -1
  142. package/dist/locales/pl.json +4 -1
  143. package/dist/locales/pt.json +4 -1
  144. package/dist/locales/ro.json +4 -1
  145. package/dist/locales/ru.json +4 -1
  146. package/dist/locales/sq.json +4 -1
  147. package/dist/locales/sv.json +4 -1
  148. package/dist/locales/tr.json +4 -1
  149. package/dist/locales/zh.json +4 -1
  150. package/dist/patterns/alia-assistant/index.js +1 -1
  151. package/dist/patterns/calendar/index.js +1 -1
  152. package/dist/patterns/error-page/error-page-english.d.ts +71 -0
  153. package/dist/patterns/error-page/index.js +1 -1
  154. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  155. package/dist/patterns/signature-request/index.js +1 -1
  156. package/dist/patterns/signed-out-frame/index.js +1 -1
  157. package/dist/tokens.css +1 -1
  158. package/package.json +1 -1
  159. package/dist/_chunks/booking-CcE_oviI.js +0 -4373
  160. package/dist/_chunks/error-page-Bhai-spN.js +0 -344
  161. package/dist/_chunks/link-N5_YpLtm.js +0 -138
  162. package/dist/_chunks/public-footer-CXOrdAaS.js +0 -568
@@ -2,13 +2,13 @@ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
2
  import { forwardRef as X, useId as T, useMemo as Z, Fragment as $ } from "react";
3
3
  import { c as j } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as A } from "react-i18next";
5
- import { A as ee } from "./avatar-BPiPL7ND.js";
5
+ import { A as ee } from "./avatar-a6042Ox2.js";
6
6
  import { C as f } from "./card-BA4Ig_kn.js";
7
7
  import { C as ie, b as te, a as se } from "./collapsible-DVPM46bq.js";
8
8
  import { D as ae } from "./description-list-BxzDN9o2.js";
9
9
  import { P as de } from "./panel-header-CbtlTe85.js";
10
10
  import { u as re } from "./registry-DvAUVLHh.js";
11
- import { u as ne, F as le, r as oe, P as ce } from "./patient-field-row-bJk8Q_qr.js";
11
+ import { u as ne, F as le, r as oe, P as ce } from "./patient-field-row-B0tdiaWi.js";
12
12
  import { C as pe } from "./clipboard-list-rSzfIYZB.js";
13
13
  const me = {
14
14
  id: "patient-details",
@@ -368,4 +368,4 @@ export {
368
368
  ue as P,
369
369
  me as p
370
370
  };
371
- //# sourceMappingURL=patient-details-BUr7Oemx.js.map
371
+ //# sourceMappingURL=patient-details-BjcUpD9S.js.map
@@ -11,7 +11,7 @@ import { S as ae } from "./settings-d25ju_6L.js";
11
11
  import { G as re } from "./grip-vertical-onSb1JXO.js";
12
12
  import { D as j } from "./description-list-BxzDN9o2.js";
13
13
  import { B as q } from "./badge-BUk4RjTS.js";
14
- import { L as se } from "./link-N5_YpLtm.js";
14
+ import { L as se } from "./link-DtCfnLnF.js";
15
15
  import { T as ne } from "./transaction-chip-CohY6sTA.js";
16
16
  import { H as ie } from "./hash-CSQ9SChR.js";
17
17
  import { C as oe } from "./calendar-days-BGWklvE-.js";
@@ -805,4 +805,4 @@ export {
805
805
  Dt as r,
806
806
  St as u
807
807
  };
808
- //# sourceMappingURL=patient-field-row-bJk8Q_qr.js.map
808
+ //# sourceMappingURL=patient-field-row-B0tdiaWi.js.map
@@ -2,19 +2,19 @@ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
2
  import { forwardRef as $e, useId as Ie, useMemo as De } from "react";
3
3
  import { c as Ge } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as Le } from "react-i18next";
5
- import { A as re } from "./avatar-BPiPL7ND.js";
5
+ import { A as re } from "./avatar-a6042Ox2.js";
6
6
  import { B as D } from "./badge-BUk4RjTS.js";
7
7
  import { I as Ue } from "./icon-button-S8_weU3g.js";
8
8
  import { C as le } from "./card-BA4Ig_kn.js";
9
9
  import { K as Be, a as Re } from "./key-value-pair-BoXOtBL1.js";
10
- import { L as V } from "./link-N5_YpLtm.js";
10
+ import { L as V } from "./link-DtCfnLnF.js";
11
11
  import { S as k } from "./skeleton-tTWJpvAq.js";
12
12
  import { T as oe } from "./tag-DOZGz0fT.js";
13
13
  import { T as Ke } from "./transaction-chip-CohY6sTA.js";
14
14
  import { T as je } from "./tooltip-uEBdD1-5.js";
15
15
  import { H as G } from "./hover-card-CuRIA4wN.js";
16
16
  import { i as de } from "./is-safe-url-DkETxeHz.js";
17
- import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-bJk8Q_qr.js";
17
+ import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-B0tdiaWi.js";
18
18
  import { u as Oe } from "./registry-DvAUVLHh.js";
19
19
  import { M as ea } from "./mail-BqXVF2zH.js";
20
20
  import { P as aa } from "./phone-FceYcIFQ.js";
@@ -548,4 +548,4 @@ export {
548
548
  Ca as P,
549
549
  ma as p
550
550
  };
551
- //# sourceMappingURL=patient-summary-card-CCQZ8X37.js.map
551
+ //# sourceMappingURL=patient-summary-card-Cvv6_Ugk.js.map
@@ -16,7 +16,7 @@ import { U as ie } from "./user-B12p7bVF.js";
16
16
  import { U as le } from "./user-cog-BTn98Arm.js";
17
17
  import { e as Q } from "./entity-card-fpm-KUKc.js";
18
18
  import { A as de } from "./arrow-up-right-C2v_MKsK.js";
19
- import { L as oe } from "./link-N5_YpLtm.js";
19
+ import { L as oe } from "./link-DtCfnLnF.js";
20
20
  import { C as $ } from "./credit-card-D9XZsHGA.js";
21
21
  import { C as se } from "./calendar-clock-hbObjfGY.js";
22
22
  import { i as ce } from "./is-safe-url-DkETxeHz.js";
@@ -439,4 +439,4 @@ export {
439
439
  Ce as b,
440
440
  me as p
441
441
  };
442
- //# sourceMappingURL=payment-request-card-MndSlVoK.js.map
442
+ //# sourceMappingURL=payment-request-card-BfGauFY0.js.map
@@ -1,13 +1,13 @@
1
- import { jsxs as i, jsx as e, Fragment as j } from "react/jsx-runtime";
2
- import { forwardRef as A, useId as B, useState as z, useEffect as S, useMemo as E, useRef as K } from "react";
3
- import { c as M } from "./index-D2ZczOXr.js";
4
- import { A as b } from "./avatar-BPiPL7ND.js";
5
- import { B as V } from "./badge-BUk4RjTS.js";
6
- import { C as w } from "./card-BA4Ig_kn.js";
7
- import { R as F } from "./rating-CGYpg5dj.js";
8
- import { u as L } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
9
- import { u as W } from "./registry-DvAUVLHh.js";
10
- const $ = {
1
+ import { jsxs as d, jsx as e, Fragment as z } from "react/jsx-runtime";
2
+ import { forwardRef as S, useId as A, useState as E, useEffect as K, useMemo as M, useRef as V } from "react";
3
+ import { c as F } from "./index-D2ZczOXr.js";
4
+ import { A as w } from "./avatar-a6042Ox2.js";
5
+ import { B as L } from "./badge-BUk4RjTS.js";
6
+ import { C } from "./card-BA4Ig_kn.js";
7
+ import { R as W } from "./rating-CGYpg5dj.js";
8
+ import { u as $ } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
9
+ import { u as q } from "./registry-DvAUVLHh.js";
10
+ const D = {
11
11
  id: "practice-profile-hero",
12
12
  // Purely observable hero region — no interactive affordances and no
13
13
  // imperative actions on the handle (getName / getHasCover are read-only
@@ -40,7 +40,7 @@ const $ = {
40
40
  description: "Sourced from the id prop."
41
41
  }
42
42
  }
43
- }, q = M("ds:w-full ds:text-[color:var(--foreground)]", {
43
+ }, G = F("ds:w-full ds:text-[color:var(--foreground)]", {
44
44
  variants: {
45
45
  // Matches the kit's other `surface` props (Booking, ReviewsPanel,
46
46
  // OperatorHero). `'elevated'` wraps in `<Card>`.
@@ -52,54 +52,55 @@ const $ = {
52
52
  defaultVariants: {
53
53
  surface: "elevated"
54
54
  }
55
- }), D = A(
55
+ }), J = S(
56
56
  ({
57
57
  name: a,
58
- tagline: p,
59
- imageUrl: u,
58
+ tagline: f,
59
+ imageUrl: n,
60
+ imageAlt: l,
60
61
  coverImageUrl: r,
61
- rating: n,
62
- badges: l,
63
- actionSlot: f,
64
- surface: m = "elevated",
65
- "aria-label": v,
66
- id: c,
67
- className: H,
68
- ...C
69
- }, k) => {
70
- const h = B(), [d, g] = z(null), x = r && (d == null ? void 0 : d.url) === r ? d.status : "loading";
71
- S(() => {
62
+ rating: c,
63
+ badges: p,
64
+ actionSlot: m,
65
+ surface: v = "elevated",
66
+ "aria-label": h,
67
+ id: u,
68
+ className: k,
69
+ ...R
70
+ }, j) => {
71
+ const g = A(), [i, x] = E(null), y = r && (i == null ? void 0 : i.url) === r ? i.status : "loading";
72
+ K(() => {
72
73
  if (!r || typeof Image > "u") return;
73
74
  let s = !0;
74
75
  const o = new Image();
75
76
  return o.onload = () => {
76
- s && g({ url: r, status: "loaded" });
77
+ s && x({ url: r, status: "loaded" });
77
78
  }, o.onerror = () => {
78
- s && g({ url: r, status: "error" });
79
+ s && x({ url: r, status: "error" });
79
80
  }, o.src = r, () => {
80
81
  s = !1, o.onload = null, o.onerror = null;
81
82
  };
82
83
  }, [r]);
83
- const t = !!r && x !== "error", R = E(
84
+ const t = !!r && y !== "error", B = M(
84
85
  () => ({ getName: () => a, getHasCover: () => t }),
85
86
  [a, t]
86
87
  );
87
- W($, R, c);
88
- const y = K(null);
89
- L(() => {
90
- const s = y.current;
88
+ q(D, B, u);
89
+ const N = V(null);
90
+ $(() => {
91
+ const s = N.current;
91
92
  s && (r ? s.style.setProperty(
92
93
  "--practice-profile-hero-cover",
93
94
  `url("${r.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}")`
94
95
  ) : s.style.removeProperty("--practice-profile-hero-cover"));
95
96
  }, [r, t]);
96
- const N = t ? /* @__PURE__ */ e(
97
+ const P = t ? /* @__PURE__ */ e(
97
98
  "div",
98
99
  {
99
- ref: y,
100
+ ref: N,
100
101
  "aria-hidden": "true",
101
102
  "data-slot": "cover",
102
- "data-state": x,
103
+ "data-state": y,
103
104
  className: [
104
105
  "ds:h-32 ds:sm:h-40 ds:w-full",
105
106
  // Cover image layered over the brand gradient — the gradient is
@@ -111,7 +112,7 @@ const $ = {
111
112
  "ds:bg-cover ds:bg-center"
112
113
  ].join(" ")
113
114
  }
114
- ) : null, P = /* @__PURE__ */ i(
115
+ ) : null, H = !(n && l), b = /* @__PURE__ */ d(
115
116
  "div",
116
117
  {
117
118
  className: [
@@ -123,74 +124,76 @@ const $ = {
123
124
  ].join(" "),
124
125
  children: [
125
126
  /* @__PURE__ */ e("div", { className: "ds:shrink-0 ds:sm:hidden", children: /* @__PURE__ */ e(
126
- b,
127
+ w,
127
128
  {
128
129
  size: "xl",
129
130
  shape: "rounded",
130
131
  ratio: "4:3",
131
132
  name: a,
132
- src: u,
133
- "aria-hidden": "true"
133
+ src: n,
134
+ alt: l,
135
+ "aria-hidden": H ? "true" : void 0
134
136
  }
135
137
  ) }),
136
138
  /* @__PURE__ */ e("div", { className: "ds:hidden ds:shrink-0 ds:sm:block", children: /* @__PURE__ */ e(
137
- b,
139
+ w,
138
140
  {
139
141
  size: "3xl",
140
142
  shape: "rounded",
141
143
  ratio: "4:3",
142
144
  name: a,
143
- src: u,
144
- "aria-hidden": "true"
145
+ src: n,
146
+ alt: l,
147
+ "aria-hidden": H ? "true" : void 0
145
148
  }
146
149
  ) }),
147
- /* @__PURE__ */ i("div", { className: "ds:flex ds:w-full ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
148
- /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-wrap ds:items-start ds:gap-[var(--spacing-md)]", children: [
150
+ /* @__PURE__ */ d("div", { className: "ds:flex ds:w-full ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
151
+ /* @__PURE__ */ d("div", { className: "ds:flex ds:flex-wrap ds:items-start ds:gap-[var(--spacing-md)]", children: [
149
152
  /* @__PURE__ */ e(
150
153
  "h1",
151
154
  {
152
- id: h,
155
+ id: g,
153
156
  dir: "auto",
154
157
  className: "type-title-page ds:m-0 ds:text-[color:var(--foreground)]",
155
158
  children: a
156
159
  }
157
160
  ),
158
- f ? (
161
+ m ? (
159
162
  // `ms-auto` + `shrink-0` are the desktop contract, and both are
160
163
  // wrong once the row wraps on a phone: they stranded the action
161
164
  // at the inline-end of a start-aligned stack and stopped a wide
162
165
  // control fitting the column. Hence `sm:` and up only.
163
- /* @__PURE__ */ e("div", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-xs)] ds:sm:ms-auto ds:sm:shrink-0", children: f })
166
+ /* @__PURE__ */ e("div", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-xs)] ds:sm:ms-auto ds:sm:shrink-0", children: m })
164
167
  ) : null
165
168
  ] }),
166
- p ? /* @__PURE__ */ e(
169
+ f ? /* @__PURE__ */ e(
167
170
  "p",
168
171
  {
169
172
  dir: "auto",
170
173
  className: "type-body ds:m-0 ds:text-[color:var(--foreground)]",
171
- children: p
174
+ children: f
172
175
  }
173
176
  ) : null,
174
- n ? (
177
+ c ? (
175
178
  // Rating owns the whole line: locale-formatted value, plural-
176
179
  // aware review count, and a single role="img" announcement.
177
180
  /* @__PURE__ */ e(
178
- F,
181
+ W,
179
182
  {
180
- value: n.value,
183
+ value: c.value,
181
184
  max: 5,
182
185
  size: "md",
183
- reviews: { count: n.count }
186
+ reviews: { count: c.count }
184
187
  }
185
188
  )
186
189
  ) : null,
187
- l && l.length > 0 ? /* @__PURE__ */ e(
190
+ p && p.length > 0 ? /* @__PURE__ */ e(
188
191
  "div",
189
192
  {
190
193
  role: "list",
191
194
  className: "ds:mt-[var(--spacing-2xs)] ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)]",
192
- children: l.map((s) => /* @__PURE__ */ e(
193
- V,
195
+ children: p.map((s) => /* @__PURE__ */ e(
196
+ L,
194
197
  {
195
198
  variant: s.variant ?? "neutral",
196
199
  role: "listitem",
@@ -207,30 +210,30 @@ const $ = {
207
210
  return /* @__PURE__ */ e(
208
211
  "div",
209
212
  {
210
- ref: k,
213
+ ref: j,
211
214
  role: "region",
212
- "aria-label": v,
213
- "aria-labelledby": v ? void 0 : h,
215
+ "aria-label": h,
216
+ "aria-labelledby": h ? void 0 : g,
214
217
  "data-component": "practice-profile-hero",
215
- "data-component-id": c,
218
+ "data-component-id": u,
216
219
  "data-has-cover": t ? "true" : "false",
217
- id: c,
218
- className: q({ surface: m, className: H }),
219
- ...C,
220
- children: m === "elevated" ? /* @__PURE__ */ i(w, { variant: "elevated", children: [
221
- N,
222
- /* @__PURE__ */ e(w.Body, { children: P })
223
- ] }) : /* @__PURE__ */ i(j, { children: [
224
- N,
225
- /* @__PURE__ */ e("div", { className: "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]", children: P })
220
+ id: u,
221
+ className: G({ surface: v, className: k }),
222
+ ...R,
223
+ children: v === "elevated" ? /* @__PURE__ */ d(C, { variant: "elevated", children: [
224
+ P,
225
+ /* @__PURE__ */ e(C.Body, { children: b })
226
+ ] }) : /* @__PURE__ */ d(z, { children: [
227
+ P,
228
+ /* @__PURE__ */ e("div", { className: "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]", children: b })
226
229
  ] })
227
230
  }
228
231
  );
229
232
  }
230
233
  );
231
- D.displayName = "PracticeProfileHero";
234
+ J.displayName = "PracticeProfileHero";
232
235
  export {
233
- D as P,
234
- $ as p
236
+ J as P,
237
+ D as p
235
238
  };
236
- //# sourceMappingURL=practice-profile-hero-qfrsFQI_.js.map
239
+ //# sourceMappingURL=practice-profile-hero-ClzE-4CB.js.map