@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.
- package/dist/_chunks/{agenda-card-BDuvreCe.js → agenda-card-BhY342MA.js} +2 -2
- package/dist/_chunks/{agenda-tray-D-jvptdo.js → agenda-tray-BmxBGEci.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CsTRAxC8.js → alia-sidebar-ovRX_oti.js} +3 -3
- package/dist/_chunks/{appointment-card-5JMWi9_f.js → appointment-card-Bstc1p7a.js} +2 -2
- package/dist/_chunks/{appointment-peek-39BwVMUf.js → appointment-peek-C0kKqnFk.js} +2 -2
- package/dist/_chunks/{appointment-timeline-1-Za2miy.js → appointment-timeline-rbt9AwHO.js} +2 -2
- package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js → appointment-tray-6zd8RLIL.js} +2 -2
- package/dist/_chunks/{avatar-BPiPL7ND.js → avatar-a6042Ox2.js} +52 -52
- package/dist/_chunks/{balance-badge-cell-D9VhFp0L.js → balance-badge-cell-BtJvre1-.js} +2 -2
- package/dist/_chunks/booking-opt_h7Uc.js +4590 -0
- package/dist/_chunks/{calendar-ClB-jWH1.js → calendar-CmiMS4FJ.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-CiAGAX2t.js → calendar-appointment-editor-dialog-sJKLoVJ2.js} +7 -7
- package/dist/_chunks/{care-plan-card-BYCPNDvA.js → care-plan-card-DD9rEWYN.js} +2 -2
- package/dist/_chunks/{care-plan-header-BzsAg6oY.js → care-plan-header-CXUJQt8Q.js} +2 -2
- package/dist/_chunks/{chat-message-CmFJdEre.js → chat-message-LRO_6Ee3.js} +2 -2
- package/dist/_chunks/{clinical-note-card-Caidqcwa.js → clinical-note-card-Cut2lNmu.js} +3 -3
- package/dist/_chunks/{contact-card-Czu60UvU.js → contact-card-ClvEDM9e.js} +2 -2
- package/dist/_chunks/{contact-profile-card-Da1vmJQI.js → contact-profile-card-CX45mZA3.js} +106 -95
- package/dist/_chunks/{dependent-selector-C4kOgO8b.js → dependent-selector-CyNi7M_f.js} +2 -2
- package/dist/_chunks/{entity-summary-BLxzSSXK.js → entity-summary-B_bOloqP.js} +3 -3
- package/dist/_chunks/error-page-B0fGNTRB.js +419 -0
- package/dist/_chunks/{languages-CZqBaPwI.js → languages-CGLX6Qpe.js} +3 -15
- package/dist/_chunks/link-DtCfnLnF.js +332 -0
- package/dist/_chunks/{link-cell-renderer-CnCgudvq.js → link-cell-renderer-BS3V4LA6.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-CmZx0Oam.js → marketplace-app-shell-CJQtx3sv.js} +2 -2
- package/dist/_chunks/{message-card-CvCnCssc.js → message-card-B6SduXJv.js} +2 -2
- package/dist/_chunks/{message-tray-IJYvy6Cf.js → message-tray-Cllf-v0G.js} +2 -2
- package/dist/_chunks/{nav-grid-Oc4aCPrg.js → nav-grid-D2xVcHTO.js} +2 -2
- package/dist/_chunks/{note-attachment-DIlIQ7JF.js → note-attachment-cnj2JRrg.js} +2 -2
- package/dist/_chunks/{note-timeline-KzL52MmB.js → note-timeline-BrjHBQfx.js} +2 -2
- package/dist/_chunks/{notes-panel-Dywo6R55.js → notes-panel-ib7I3aNf.js} +2 -2
- package/dist/_chunks/{operator-hero-6aAIQaFZ.js → operator-hero-C_5B-8Qp.js} +43 -41
- package/dist/_chunks/{patient-details-BUr7Oemx.js → patient-details-BjcUpD9S.js} +3 -3
- package/dist/_chunks/{patient-field-row-bJk8Q_qr.js → patient-field-row-B0tdiaWi.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CCQZ8X37.js → patient-summary-card-Cvv6_Ugk.js} +4 -4
- package/dist/_chunks/{payment-request-card-MndSlVoK.js → payment-request-card-BfGauFY0.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-qfrsFQI_.js → practice-profile-hero-ClzE-4CB.js} +76 -73
- package/dist/_chunks/{practice-results-DQuOfqej.js → practice-results-CQ_KvEXK.js} +517 -514
- package/dist/_chunks/{product-hub-panel-Blag8t8f.js → product-hub-panel-bHi7lkVD.js} +2 -2
- package/dist/_chunks/public-footer-IoRWoAMz.js +596 -0
- package/dist/_chunks/{signature-request-DjY-X62H.js → signature-request-DvhyrRpn.js} +3 -3
- package/dist/_chunks/{signed-out-frame-G-3ATOdu.js → signed-out-frame-CgRXOUzi.js} +2 -2
- package/dist/_chunks/{slot-grid-DrwynKeN.js → slot-grid-B-IAFX3C.js} +180 -169
- package/dist/_chunks/{timeline-wUuTDFY_.js → timeline-BcYHdP56.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BytPq3Ux.js → use-appointment-details-read-D8vDg0sg.js} +5 -5
- package/dist/agent-catalog.json +2 -2
- package/dist/components/_shared/social-brand-icons.d.ts +29 -0
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts +14 -0
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +26 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/slot-load-state.d.ts +11 -0
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +10 -1
- package/dist/components/link/social-url.d.ts +71 -0
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +6 -0
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +6 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +8 -2
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +13 -1
- package/dist/components/public-footer/socials.d.ts +6 -5
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/slot-grid/slot-grid.d.ts +2 -0
- package/dist/components/timeline/index.js +1 -1
- package/dist/i18n/config.js +224 -96
- package/dist/i18n/locales/ar.d.ts +3 -0
- package/dist/i18n/locales/ar.js +4 -1
- package/dist/i18n/locales/de.d.ts +3 -0
- package/dist/i18n/locales/de.js +4 -1
- package/dist/i18n/locales/el.d.ts +3 -0
- package/dist/i18n/locales/el.js +4 -1
- package/dist/i18n/locales/en.d.ts +3 -0
- package/dist/i18n/locales/en.js +3 -0
- package/dist/i18n/locales/es.d.ts +3 -0
- package/dist/i18n/locales/es.js +4 -1
- package/dist/i18n/locales/fr.d.ts +3 -0
- package/dist/i18n/locales/fr.js +4 -1
- package/dist/i18n/locales/hi.d.ts +3 -0
- package/dist/i18n/locales/hi.js +4 -1
- package/dist/i18n/locales/it.d.ts +3 -0
- package/dist/i18n/locales/it.js +4 -1
- package/dist/i18n/locales/ja.d.ts +3 -0
- package/dist/i18n/locales/ja.js +4 -1
- package/dist/i18n/locales/nl.d.ts +3 -0
- package/dist/i18n/locales/nl.js +4 -1
- package/dist/i18n/locales/pl.d.ts +3 -0
- package/dist/i18n/locales/pl.js +4 -1
- package/dist/i18n/locales/pt.d.ts +3 -0
- package/dist/i18n/locales/pt.js +4 -1
- package/dist/i18n/locales/ro.d.ts +3 -0
- package/dist/i18n/locales/ro.js +4 -1
- package/dist/i18n/locales/ru.d.ts +3 -0
- package/dist/i18n/locales/ru.js +4 -1
- package/dist/i18n/locales/sq.d.ts +3 -0
- package/dist/i18n/locales/sq.js +4 -1
- package/dist/i18n/locales/sv.d.ts +3 -0
- package/dist/i18n/locales/sv.js +4 -1
- package/dist/i18n/locales/tr.d.ts +3 -0
- package/dist/i18n/locales/tr.js +4 -1
- package/dist/i18n/locales/zh.d.ts +3 -0
- package/dist/i18n/locales/zh.js +4 -1
- package/dist/index.js +42 -42
- package/dist/locales/ar.json +4 -1
- package/dist/locales/de.json +4 -1
- package/dist/locales/el.json +4 -1
- package/dist/locales/en.json +3 -0
- package/dist/locales/es.json +4 -1
- package/dist/locales/fr.json +4 -1
- package/dist/locales/hi.json +4 -1
- package/dist/locales/it.json +4 -1
- package/dist/locales/ja.json +4 -1
- package/dist/locales/nl.json +4 -1
- package/dist/locales/pl.json +4 -1
- package/dist/locales/pt.json +4 -1
- package/dist/locales/ro.json +4 -1
- package/dist/locales/ru.json +4 -1
- package/dist/locales/sq.json +4 -1
- package/dist/locales/sv.json +4 -1
- package/dist/locales/tr.json +4 -1
- package/dist/locales/zh.json +4 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/error-page-english.d.ts +71 -0
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/booking-CcE_oviI.js +0 -4373
- package/dist/_chunks/error-page-Bhai-spN.js +0 -344
- package/dist/_chunks/link-N5_YpLtm.js +0 -138
- 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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
442
|
+
//# sourceMappingURL=payment-request-card-BfGauFY0.js.map
|
package/dist/_chunks/{practice-profile-hero-qfrsFQI_.js → practice-profile-hero-ClzE-4CB.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { A as
|
|
5
|
-
import { B as
|
|
6
|
-
import { C
|
|
7
|
-
import { R as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
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
|
-
},
|
|
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
|
-
}),
|
|
55
|
+
}), J = S(
|
|
56
56
|
({
|
|
57
57
|
name: a,
|
|
58
|
-
tagline:
|
|
59
|
-
imageUrl:
|
|
58
|
+
tagline: f,
|
|
59
|
+
imageUrl: n,
|
|
60
|
+
imageAlt: l,
|
|
60
61
|
coverImageUrl: r,
|
|
61
|
-
rating:
|
|
62
|
-
badges:
|
|
63
|
-
actionSlot:
|
|
64
|
-
surface:
|
|
65
|
-
"aria-label":
|
|
66
|
-
id:
|
|
67
|
-
className:
|
|
68
|
-
...
|
|
69
|
-
},
|
|
70
|
-
const
|
|
71
|
-
|
|
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 &&
|
|
77
|
+
s && x({ url: r, status: "loaded" });
|
|
77
78
|
}, o.onerror = () => {
|
|
78
|
-
s &&
|
|
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 &&
|
|
84
|
+
const t = !!r && y !== "error", B = M(
|
|
84
85
|
() => ({ getName: () => a, getHasCover: () => t }),
|
|
85
86
|
[a, t]
|
|
86
87
|
);
|
|
87
|
-
|
|
88
|
-
const
|
|
89
|
-
|
|
90
|
-
const s =
|
|
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
|
|
97
|
+
const P = t ? /* @__PURE__ */ e(
|
|
97
98
|
"div",
|
|
98
99
|
{
|
|
99
|
-
ref:
|
|
100
|
+
ref: N,
|
|
100
101
|
"aria-hidden": "true",
|
|
101
102
|
"data-slot": "cover",
|
|
102
|
-
"data-state":
|
|
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,
|
|
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
|
-
|
|
127
|
+
w,
|
|
127
128
|
{
|
|
128
129
|
size: "xl",
|
|
129
130
|
shape: "rounded",
|
|
130
131
|
ratio: "4:3",
|
|
131
132
|
name: a,
|
|
132
|
-
src:
|
|
133
|
-
|
|
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
|
-
|
|
139
|
+
w,
|
|
138
140
|
{
|
|
139
141
|
size: "3xl",
|
|
140
142
|
shape: "rounded",
|
|
141
143
|
ratio: "4:3",
|
|
142
144
|
name: a,
|
|
143
|
-
src:
|
|
144
|
-
|
|
145
|
+
src: n,
|
|
146
|
+
alt: l,
|
|
147
|
+
"aria-hidden": H ? "true" : void 0
|
|
145
148
|
}
|
|
146
149
|
) }),
|
|
147
|
-
/* @__PURE__ */
|
|
148
|
-
/* @__PURE__ */
|
|
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:
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
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:
|
|
174
|
+
children: f
|
|
172
175
|
}
|
|
173
176
|
) : null,
|
|
174
|
-
|
|
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
|
-
|
|
181
|
+
W,
|
|
179
182
|
{
|
|
180
|
-
value:
|
|
183
|
+
value: c.value,
|
|
181
184
|
max: 5,
|
|
182
185
|
size: "md",
|
|
183
|
-
reviews: { count:
|
|
186
|
+
reviews: { count: c.count }
|
|
184
187
|
}
|
|
185
188
|
)
|
|
186
189
|
) : null,
|
|
187
|
-
|
|
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:
|
|
193
|
-
|
|
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:
|
|
213
|
+
ref: j,
|
|
211
214
|
role: "region",
|
|
212
|
-
"aria-label":
|
|
213
|
-
"aria-labelledby":
|
|
215
|
+
"aria-label": h,
|
|
216
|
+
"aria-labelledby": h ? void 0 : g,
|
|
214
217
|
"data-component": "practice-profile-hero",
|
|
215
|
-
"data-component-id":
|
|
218
|
+
"data-component-id": u,
|
|
216
219
|
"data-has-cover": t ? "true" : "false",
|
|
217
|
-
id:
|
|
218
|
-
className:
|
|
219
|
-
...
|
|
220
|
-
children:
|
|
221
|
-
|
|
222
|
-
/* @__PURE__ */ e(
|
|
223
|
-
] }) : /* @__PURE__ */
|
|
224
|
-
|
|
225
|
-
/* @__PURE__ */ e("div", { className: "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]", children:
|
|
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
|
-
|
|
234
|
+
J.displayName = "PracticeProfileHero";
|
|
232
235
|
export {
|
|
233
|
-
|
|
234
|
-
|
|
236
|
+
J as P,
|
|
237
|
+
D as p
|
|
235
238
|
};
|
|
236
|
-
//# sourceMappingURL=practice-profile-hero-
|
|
239
|
+
//# sourceMappingURL=practice-profile-hero-ClzE-4CB.js.map
|