@alfadocs/ui-kit 1.5.0 → 1.6.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.
- package/dist/_chunks/{actions-cell-renderer-BD-jruqA.js → actions-cell-renderer-ALEAGO3j.js} +6 -6
- package/dist/_chunks/{agenda-tray-CYR-znfE.js → agenda-tray-BweO8pDo.js} +3 -3
- package/dist/_chunks/{ai-consent-banner-DLF6FNXv.js → ai-consent-banner-OggpS5hW.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-BgAubYKd.js → ai-prompt-input-DnbfEJnr.js} +2 -2
- package/dist/_chunks/{alia-sidebar-Bg53-ZOT.js → alia-sidebar-BWcWZivN.js} +7 -7
- package/dist/_chunks/{anamnesis-card-BylMLHYj.js → anamnesis-card-NTi4LLzI.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-BpYztFUv.js → anamnesis-summary-rows-F-cCmFAn.js} +7 -7
- package/dist/_chunks/{appointment-timeline-DT1uFp8z.js → appointment-timeline-CMPvzlGZ.js} +4 -4
- package/dist/_chunks/{appointment-tray-DvyVK7um.js → appointment-tray-3c_FLxXJ.js} +3 -3
- package/dist/_chunks/{audio-recorder-nVRN4PSK.js → audio-recorder-EWBCNIsd.js} +3 -3
- package/dist/_chunks/{bishop-score-BV1JAEMV.js → bishop-score-Cnu0xs-z.js} +2 -2
- package/dist/_chunks/{bmi-calculator-CdR-RLFj.js → bmi-calculator-CcH6upht.js} +2 -2
- package/dist/_chunks/{booking-CGKof8QU.js → booking-CQMJUFG-.js} +556 -549
- package/dist/_chunks/{button-group-Be_In68J.js → button-group-CaxRJsNG.js} +2 -2
- package/dist/_chunks/{button-BvNtqHAS.js → button-nJaPh_HC.js} +68 -38
- package/dist/_chunks/{care-plan-card-CehAU7F_.js → care-plan-card-DQjVRDxO.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-ChWRMfMw.js → care-plan-entry-card-CMpoeNkb.js} +2 -2
- package/dist/_chunks/{care-plan-header-_B0TTWT1.js → care-plan-header-CxYoq23f.js} +2 -2
- package/dist/_chunks/{carousel.agent-pjORsMS8.js → carousel.agent-CLxdHEBP.js} +2 -2
- package/dist/_chunks/{chart-Y-gso_Uz.js → chart-Bkr1Sh4o.js} +3 -3
- package/dist/_chunks/{chat-input-BqI9GXQh.js → chat-input-BsB5Umpj.js} +2 -2
- package/dist/_chunks/{chat-message-DHNUbjXA.js → chat-message-DBQu10rs.js} +3 -3
- package/dist/_chunks/{code-block-BONe9fJi.js → code-block-BIkpRLkl.js} +2 -2
- package/dist/_chunks/{connection-status-NT8hUtYl.js → connection-status-DRZIcMqM.js} +3 -3
- package/dist/_chunks/{contact-profile-card-BxHiG8e6.js → contact-profile-card-CE9OJKcl.js} +2 -2
- package/dist/_chunks/{control-room-rail-DDyPDBji.js → control-room-rail-IH1eBjrK.js} +3 -3
- package/dist/_chunks/{copy-field-B-DoMBH_.js → copy-field-fYKpl6aN.js} +2 -2
- package/dist/_chunks/{cycle-calculator-DJZYvNhw.js → cycle-calculator-DzgO1vzP.js} +2 -2
- package/dist/_chunks/{dashboard-grid-bd0QW2a8.js → dashboard-grid-BFtdHqfn.js} +2 -2
- package/dist/_chunks/{data-table-tabs-C8uDThT3.js → data-table-tabs-C1kRUzat.js} +3 -3
- package/dist/_chunks/{description-list-Ck7fKdt5.js → description-list-CjJqR8WK.js} +2 -2
- package/dist/_chunks/{document-preview-Aae2yKvY.js → document-preview-oyx9RhCo.js} +2 -2
- package/dist/_chunks/{document-scanner-qNZLhH_r.js → document-scanner-C5Vrbu21.js} +2 -2
- package/dist/_chunks/{due-date-calculator-ajaQ4ya5.js → due-date-calculator-wK8Tajzz.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-DyMbSyDK.js → editable-currency-cell-renderer-DYdzKpjL.js} +3 -3
- package/dist/_chunks/{editor-overlay-DE-gxj9L.js → editor-overlay-DEc5yYwo.js} +2 -2
- package/dist/_chunks/{empty-state-Df0tM6Kn.js → empty-state-X0sVPfVo.js} +2 -2
- package/dist/_chunks/{entity-summary-DBOI5di6.js → entity-summary-B_vO5Ur4.js} +3 -3
- package/dist/_chunks/{face-scheme-D7Pub04e.js → face-scheme-BfDi4YkW.js} +5 -5
- package/dist/_chunks/{fetal-weight-jon6GIfQ.js → fetal-weight-Dqy0T1fP.js} +2 -2
- package/dist/_chunks/{field-array-BQFX5OYi.js → field-array-BjkXZzSr.js} +3 -3
- package/dist/_chunks/{field-value-BbiDRyNh.js → field-value-DG8zaZvo.js} +4 -4
- package/dist/_chunks/{file-manager-CML_C6_h.js → file-manager-Cc_upjZX.js} +6 -6
- package/dist/_chunks/{finished-terminal-BWNVh7Y8.js → finished-terminal-Br61Ip4e.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-Nx1N9r72.js → fiscal-code-input-B_nYMSEM.js} +2 -2
- package/dist/_chunks/{freemium-paywall-HG3pFvMp.js → freemium-paywall-DrXzYfv-.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-dEpQDWcb.js → gestational-age-calculator-C_uDAeP_.js} +2 -2
- package/dist/_chunks/{hcg-doubling-CC6TLtHd.js → hcg-doubling-BaXkJhT-.js} +2 -2
- package/dist/_chunks/{header-CimZS-J9.js → header-DUXRIPyM.js} +2 -2
- package/dist/_chunks/{header-settings-C0zHLXJE.js → header-settings-CVC_davE.js} +4 -4
- package/dist/_chunks/{icon-button-9c9Gp41m.js → icon-button-DA2CAGHZ.js} +2 -2
- package/dist/_chunks/{icon-button-group-DrvuWPGJ.js → icon-button-group-D6SVMteH.js} +2 -2
- package/dist/_chunks/{icon-picker-DXV3sDp1.js → icon-picker-ChzpCnZ-.js} +3 -3
- package/dist/_chunks/{image-cropper-DWSnyLwW.js → image-cropper-C84NDTB7.js} +2 -2
- package/dist/_chunks/{info-tip-C4mPSJbS.js → info-tip-C119cwQl.js} +2 -2
- package/dist/_chunks/{insert-result-98J1QEp7.js → insert-result-LCNTskNJ.js} +2 -2
- package/dist/_chunks/{key-value-pair-DGkGlgCF.js → key-value-pair-BubG4fUa.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-D3IsW_2R.js → link-cell-renderer-DH4JYpKU.js} +2 -2
- package/dist/_chunks/{locale-picker-sI0HWgZy.js → locale-picker-BvbVjDQ-.js} +3 -3
- package/dist/_chunks/{map-view-iwSDRW3t.js → map-view-CCAlC9IL.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-b5hN-Q0m.js → marketplace-app-shell-Chfdia7m.js} +4 -4
- package/dist/_chunks/{message-card-BCJ-Jgs6.js → message-card-D8GB4FdF.js} +3 -3
- package/dist/_chunks/{message-tray-DHtm_WaF.js → message-tray-CGIRQjx5.js} +4 -4
- package/dist/_chunks/{notes-panel-D6HKLLS-.js → notes-panel-DlnENphf.js} +3 -3
- package/dist/_chunks/{notification-card-CcMQn2RX.js → notification-card-CtrzoTUO.js} +3 -3
- package/dist/_chunks/{notification-tray-nr7dv-Q8.js → notification-tray-BiRzXHDf.js} +4 -4
- package/dist/_chunks/{optical-prescription-DtzEqFQm.js → optical-prescription-Dj3Eh5Ok.js} +2 -2
- package/dist/_chunks/{patient-details-rENrE_qY.js → patient-details-qnsqYBGQ.js} +5 -5
- package/dist/_chunks/{patient-search-NQemeJlL.js → patient-search-D5ufYoRc.js} +2 -2
- package/dist/_chunks/{patient-summary-card-DQJgOOrA.js → patient-summary-card-CBfuDvJ5.js} +3 -3
- package/dist/_chunks/{patient-table-BubxfOWL.js → patient-table-DwshfVsQ.js} +3 -3
- package/dist/_chunks/{payment-automation-upsell-CnaBPt5e.js → payment-automation-upsell-BBIG7NFL.js} +2 -2
- package/dist/_chunks/{payment-request-card-CvhDzDNk.js → payment-request-card-BjjBMdsp.js} +3 -3
- package/dist/_chunks/{periodontal-chart-C0nNQKKK.js → periodontal-chart-BatZEFar.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-Bz-ebteE.js → periodontal-chart-card-BBpY_rBc.js} +2 -2
- package/dist/_chunks/{popover-Btj6N25H.js → popover-Cqcjx-Ny.js} +2 -2
- package/dist/_chunks/practice-profile-hero-Bdd0bFqC.js +187 -0
- package/dist/_chunks/{practice-results-DWUZRm2x.js → practice-results-F_Rf7c4H.js} +224 -210
- package/dist/_chunks/{pregnancy-dating-DQVpFs_f.js → pregnancy-dating-BVS_9YU2.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-hm3QJALe.js → pregnancy-weight-gain-CJwbs9W-.js} +2 -2
- package/dist/_chunks/{privacy-lock-SQYFRSuH.js → privacy-lock-CkAUo6Dz.js} +3 -3
- package/dist/_chunks/{product-hub-panel-BjnD9pdl.js → product-hub-panel-BScCotGD.js} +3 -3
- package/dist/_chunks/{public-header.agent-DseNK2NQ.js → public-header.agent-kth2SdXn.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-CAXFgCyn.js → radiograph-panel.agent-CiHwgISa.js} +4 -4
- package/dist/_chunks/{reviews-panel-Cd3SxJdW.js → reviews-panel-BKHEfqVQ.js} +4 -4
- package/dist/_chunks/{rich-text-editor-DGtn_4sb.js → rich-text-editor-DARnq_6N.js} +5 -5
- package/dist/_chunks/{session-countdown-q4r5TlCo.js → session-countdown-QMsnRa1x.js} +2 -2
- package/dist/_chunks/{sheet-CD99CdXr.js → sheet-BSznOyJs.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-_JxVRO5d.js → sign-in-with-alfadocs-button-BLe_quy5.js} +2 -2
- package/dist/_chunks/{signature-request-C4UBfVRZ.js → signature-request-DXhpphlp.js} +4 -4
- package/dist/_chunks/{slot-grid-P_e9p5t5.js → slot-grid-BuZOKfcd.js} +4 -4
- package/dist/_chunks/{streaming-text-BuW7I0Zu.js → streaming-text-CvsjIQ7S.js} +2 -2
- package/dist/_chunks/{task-tray-BT288xoM.js → task-tray-CYG6rj2s.js} +3 -3
- package/dist/_chunks/{tasks-panel-BBkZuejF.js → tasks-panel-Do5SFp-j.js} +5 -5
- package/dist/_chunks/{theme-toggle-Bi-CmV6M.js → theme-toggle-DuMhQNFS.js} +3 -3
- package/dist/_chunks/{toast.agent-C44mtGrW.js → toast.agent-D1tdg6DS.js} +2 -2
- package/dist/_chunks/{token-insert-menu-D8FgXl33.js → token-insert-menu-9Um0JinI.js} +2 -2
- package/dist/_chunks/{tool-rail-BF3F2Ihq.js → tool-rail-CHyUmulN.js} +2 -2
- package/dist/_chunks/{tooth-scheme-BPXE1_3N.js → tooth-scheme-WdyVymQ1.js} +3 -3
- package/dist/_chunks/{unit-converter-iDxlxKmm.js → unit-converter-BPumXMA6.js} +2 -2
- package/dist/_chunks/{warning-stack-nczJf52p.js → warning-stack-DQz0Jyir.js} +3 -3
- package/dist/_chunks/{workflow-map-BVofnDYh.js → workflow-map-DE_ribRM.js} +5 -5
- package/dist/agent-catalog.json +33 -36
- package/dist/agent-i18n/en.json +6 -5
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +9 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/button.d.ts +10 -0
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +3 -3
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/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/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-profile-hero/index.d.ts +4 -0
- package/dist/components/practice-profile-hero/index.js +6 -0
- package/dist/components/practice-profile-hero/practice-profile-hero.agent.d.ts +4 -0
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +60 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +15 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-compat.css +1 -4
- package/dist/i18n/locales/ar.d.ts +1 -0
- package/dist/i18n/locales/ar.js +1 -0
- package/dist/i18n/locales/de.d.ts +1 -0
- package/dist/i18n/locales/de.js +1 -0
- package/dist/i18n/locales/el.d.ts +1 -0
- package/dist/i18n/locales/el.js +1 -0
- package/dist/i18n/locales/en.d.ts +1 -0
- package/dist/i18n/locales/en.js +1 -0
- package/dist/i18n/locales/es.d.ts +1 -0
- package/dist/i18n/locales/es.js +1 -0
- package/dist/i18n/locales/fr.d.ts +1 -0
- package/dist/i18n/locales/fr.js +1 -0
- package/dist/i18n/locales/hi.d.ts +1 -0
- package/dist/i18n/locales/hi.js +1 -0
- package/dist/i18n/locales/it.d.ts +1 -0
- package/dist/i18n/locales/it.js +1 -0
- package/dist/i18n/locales/ja.d.ts +1 -0
- package/dist/i18n/locales/ja.js +1 -0
- package/dist/i18n/locales/nl.d.ts +1 -0
- package/dist/i18n/locales/nl.js +1 -0
- package/dist/i18n/locales/pl.d.ts +1 -0
- package/dist/i18n/locales/pl.js +1 -0
- package/dist/i18n/locales/pt.d.ts +1 -0
- package/dist/i18n/locales/pt.js +1 -0
- package/dist/i18n/locales/ro.d.ts +1 -0
- package/dist/i18n/locales/ro.js +1 -0
- package/dist/i18n/locales/ru.d.ts +1 -0
- package/dist/i18n/locales/ru.js +1 -0
- package/dist/i18n/locales/sq.d.ts +1 -0
- package/dist/i18n/locales/sq.js +1 -0
- package/dist/i18n/locales/sv.d.ts +1 -0
- package/dist/i18n/locales/sv.js +1 -0
- package/dist/i18n/locales/tr.d.ts +1 -0
- package/dist/i18n/locales/tr.js +1 -0
- package/dist/i18n/locales/zh.d.ts +1 -0
- package/dist/i18n/locales/zh.js +1 -0
- package/dist/index.js +409 -406
- package/dist/locales/ar.json +1 -0
- package/dist/locales/de.json +1 -0
- package/dist/locales/el.json +1 -0
- package/dist/locales/en.json +1 -0
- package/dist/locales/es.json +1 -0
- package/dist/locales/fr.json +1 -0
- package/dist/locales/hi.json +1 -0
- package/dist/locales/it.json +1 -0
- package/dist/locales/ja.json +1 -0
- package/dist/locales/nl.json +1 -0
- package/dist/locales/pl.json +1 -0
- package/dist/locales/pt.json +1 -0
- package/dist/locales/ro.json +1 -0
- package/dist/locales/ru.json +1 -0
- package/dist/locales/sq.json +1 -0
- package/dist/locales/sv.json +1 -0
- package/dist/locales/tr.json +1 -0
- package/dist/locales/zh.json +1 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
package/dist/_chunks/{periodontal-chart-card-Bz-ebteE.js → periodontal-chart-card-BBpY_rBc.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { c as R } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as ae } from "react-i18next";
|
|
5
5
|
import { B as re } from "./badge-sTusUqZD.js";
|
|
6
6
|
import { C as S } from "./card-DPmk26CL.js";
|
|
7
|
-
import { K as ne, a as se } from "./key-value-pair-
|
|
7
|
+
import { K as ne, a as se } from "./key-value-pair-BubG4fUa.js";
|
|
8
8
|
import { u as oe } from "./registry-DvAUVLHh.js";
|
|
9
9
|
const de = {
|
|
10
10
|
id: "periodontal-chart-card",
|
|
@@ -452,4 +452,4 @@ export {
|
|
|
452
452
|
he as a,
|
|
453
453
|
de as p
|
|
454
454
|
};
|
|
455
|
-
//# sourceMappingURL=periodontal-chart-card-
|
|
455
|
+
//# sourceMappingURL=periodontal-chart-card-BBpY_rBc.js.map
|
|
@@ -3,7 +3,7 @@ import { useState as C, useCallback as g, useRef as R, useEffect as h, useMemo a
|
|
|
3
3
|
import * as p from "@radix-ui/react-popover";
|
|
4
4
|
import { c as q } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { useTranslation as G } from "react-i18next";
|
|
6
|
-
import { I as J } from "./icon-button-
|
|
6
|
+
import { I as J } from "./icon-button-DA2CAGHZ.js";
|
|
7
7
|
import { u as Q } from "./registry-DvAUVLHh.js";
|
|
8
8
|
import { X as U } from "./x-B5YnXwCz.js";
|
|
9
9
|
const Y = {
|
|
@@ -302,4 +302,4 @@ export {
|
|
|
302
302
|
ae as P,
|
|
303
303
|
Y as p
|
|
304
304
|
};
|
|
305
|
-
//# sourceMappingURL=popover-
|
|
305
|
+
//# sourceMappingURL=popover-Cqcjx-Ny.js.map
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { jsxs as s, jsx as e, Fragment as w } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as k, useId as C, useMemo as R, useRef as j } from "react";
|
|
3
|
+
import { c as A } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { A as x } from "./avatar-BNQNhoyL.js";
|
|
5
|
+
import { B } from "./badge-sTusUqZD.js";
|
|
6
|
+
import { C as y } from "./card-DPmk26CL.js";
|
|
7
|
+
import { R as z } from "./rating-BYbUowdK.js";
|
|
8
|
+
import { u as I } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
9
|
+
import { u as K } from "./registry-DvAUVLHh.js";
|
|
10
|
+
const M = {
|
|
11
|
+
id: "practice-profile-hero",
|
|
12
|
+
// Purely observable hero region — no interactive affordances and no
|
|
13
|
+
// imperative actions on the handle (getName / getHasCover are read-only
|
|
14
|
+
// projections).
|
|
15
|
+
capabilities: [],
|
|
16
|
+
state: {
|
|
17
|
+
name: {
|
|
18
|
+
type: "string",
|
|
19
|
+
descriptionKey: "ui.agent.practiceProfileHero.state.name",
|
|
20
|
+
description: "Practice display name currently rendered.",
|
|
21
|
+
read: (r) => r.getName()
|
|
22
|
+
},
|
|
23
|
+
hasCover: {
|
|
24
|
+
type: "boolean",
|
|
25
|
+
descriptionKey: "ui.agent.practiceProfileHero.state.hasCover",
|
|
26
|
+
description: "Whether a cover-image strip is rendered. Structural flag only — never the image URL or any PHI.",
|
|
27
|
+
read: (r) => r.getHasCover()
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
actions: {},
|
|
31
|
+
domHooks: {
|
|
32
|
+
root: {
|
|
33
|
+
attr: "data-component",
|
|
34
|
+
value: "practice-profile-hero",
|
|
35
|
+
description: "Marks the PracticeProfileHero root region."
|
|
36
|
+
},
|
|
37
|
+
instanceId: {
|
|
38
|
+
attr: "data-component-id",
|
|
39
|
+
sourceProp: "id",
|
|
40
|
+
description: "Sourced from the id prop."
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}, V = A("ds:w-full ds:text-[color:var(--foreground)]", {
|
|
44
|
+
variants: {
|
|
45
|
+
// Matches the kit's other `surface` props (Booking, ReviewsPanel,
|
|
46
|
+
// OperatorHero). `'elevated'` wraps in `<Card>`.
|
|
47
|
+
surface: {
|
|
48
|
+
flat: "",
|
|
49
|
+
elevated: ""
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
defaultVariants: {
|
|
53
|
+
surface: "elevated"
|
|
54
|
+
}
|
|
55
|
+
}), E = k(
|
|
56
|
+
({
|
|
57
|
+
name: r,
|
|
58
|
+
tagline: c,
|
|
59
|
+
imageUrl: n,
|
|
60
|
+
coverImageUrl: t,
|
|
61
|
+
rating: o,
|
|
62
|
+
badges: d,
|
|
63
|
+
actionSlot: p,
|
|
64
|
+
surface: m = "elevated",
|
|
65
|
+
"aria-label": f,
|
|
66
|
+
id: l,
|
|
67
|
+
className: N,
|
|
68
|
+
...P
|
|
69
|
+
}, H) => {
|
|
70
|
+
const v = C(), i = !!t, b = R(
|
|
71
|
+
() => ({ getName: () => r, getHasCover: () => i }),
|
|
72
|
+
[r, i]
|
|
73
|
+
);
|
|
74
|
+
K(M, b, l);
|
|
75
|
+
const h = j(null);
|
|
76
|
+
I(() => {
|
|
77
|
+
const a = h.current;
|
|
78
|
+
a && (t ? a.style.setProperty(
|
|
79
|
+
"--practice-profile-hero-cover",
|
|
80
|
+
`url("${t.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}")`
|
|
81
|
+
) : a.style.removeProperty("--practice-profile-hero-cover"));
|
|
82
|
+
}, [t]);
|
|
83
|
+
const u = i ? /* @__PURE__ */ e(
|
|
84
|
+
"div",
|
|
85
|
+
{
|
|
86
|
+
ref: h,
|
|
87
|
+
"aria-hidden": "true",
|
|
88
|
+
"data-slot": "cover",
|
|
89
|
+
className: [
|
|
90
|
+
"ds:h-32 ds:sm:h-40 ds:w-full",
|
|
91
|
+
// Cover image layered over the brand gradient — the gradient is
|
|
92
|
+
// the visible underlay while the image streams in (or 404s). The
|
|
93
|
+
// `none` fallback keeps the declaration valid before the layout
|
|
94
|
+
// effect sets the custom property (SSR / first paint).
|
|
95
|
+
"ds:bg-[image:var(--practice-profile-hero-cover,none),var(--gradient-hero-brand)]",
|
|
96
|
+
"ds:bg-cover ds:bg-center"
|
|
97
|
+
].join(" ")
|
|
98
|
+
}
|
|
99
|
+
) : null, g = /* @__PURE__ */ s(
|
|
100
|
+
"div",
|
|
101
|
+
{
|
|
102
|
+
className: [
|
|
103
|
+
// Phones: stacked column, smaller avatar — the practice name,
|
|
104
|
+
// tagline and rating keep the full line width instead of being
|
|
105
|
+
// squeezed beside a 3xl avatar. sm+: classic row layout.
|
|
106
|
+
"ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-md)]",
|
|
107
|
+
"ds:sm:flex-row ds:sm:gap-[var(--spacing-lg)]"
|
|
108
|
+
].join(" "),
|
|
109
|
+
children: [
|
|
110
|
+
/* @__PURE__ */ e("div", { className: "ds:shrink-0 ds:sm:hidden", children: /* @__PURE__ */ e(x, { size: "xl", name: r, src: n, "aria-hidden": "true" }) }),
|
|
111
|
+
/* @__PURE__ */ e("div", { className: "ds:hidden ds:shrink-0 ds:sm:block", children: /* @__PURE__ */ e(x, { size: "3xl", name: r, src: n, "aria-hidden": "true" }) }),
|
|
112
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:w-full ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
113
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:flex-wrap ds:items-start ds:gap-[var(--spacing-md)]", children: [
|
|
114
|
+
/* @__PURE__ */ e(
|
|
115
|
+
"h1",
|
|
116
|
+
{
|
|
117
|
+
id: v,
|
|
118
|
+
className: "type-title-page ds:m-0 ds:text-[color:var(--foreground)]",
|
|
119
|
+
children: r
|
|
120
|
+
}
|
|
121
|
+
),
|
|
122
|
+
p ? /* @__PURE__ */ e("div", { className: "ds:ms-auto ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)]", children: p }) : null
|
|
123
|
+
] }),
|
|
124
|
+
c ? /* @__PURE__ */ e("p", { className: "type-body ds:m-0 ds:text-[color:var(--foreground)]", children: c }) : null,
|
|
125
|
+
o ? (
|
|
126
|
+
// Rating owns the whole line: locale-formatted value, plural-
|
|
127
|
+
// aware review count, and a single role="img" announcement.
|
|
128
|
+
/* @__PURE__ */ e(
|
|
129
|
+
z,
|
|
130
|
+
{
|
|
131
|
+
value: o.value,
|
|
132
|
+
max: 5,
|
|
133
|
+
size: "md",
|
|
134
|
+
reviews: { count: o.count }
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
) : null,
|
|
138
|
+
d && d.length > 0 ? /* @__PURE__ */ e(
|
|
139
|
+
"div",
|
|
140
|
+
{
|
|
141
|
+
role: "list",
|
|
142
|
+
className: "ds:mt-[var(--spacing-2xs)] ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)]",
|
|
143
|
+
children: d.map((a) => /* @__PURE__ */ e(
|
|
144
|
+
B,
|
|
145
|
+
{
|
|
146
|
+
variant: a.variant ?? "neutral",
|
|
147
|
+
role: "listitem",
|
|
148
|
+
children: a.label
|
|
149
|
+
},
|
|
150
|
+
a.key
|
|
151
|
+
))
|
|
152
|
+
}
|
|
153
|
+
) : null
|
|
154
|
+
] })
|
|
155
|
+
]
|
|
156
|
+
}
|
|
157
|
+
);
|
|
158
|
+
return /* @__PURE__ */ e(
|
|
159
|
+
"div",
|
|
160
|
+
{
|
|
161
|
+
ref: H,
|
|
162
|
+
role: "region",
|
|
163
|
+
"aria-label": f,
|
|
164
|
+
"aria-labelledby": f ? void 0 : v,
|
|
165
|
+
"data-component": "practice-profile-hero",
|
|
166
|
+
"data-component-id": l,
|
|
167
|
+
"data-has-cover": i ? "true" : "false",
|
|
168
|
+
id: l,
|
|
169
|
+
className: V({ surface: m, className: N }),
|
|
170
|
+
...P,
|
|
171
|
+
children: m === "elevated" ? /* @__PURE__ */ s(y, { variant: "elevated", children: [
|
|
172
|
+
u,
|
|
173
|
+
/* @__PURE__ */ e(y.Body, { children: g })
|
|
174
|
+
] }) : /* @__PURE__ */ s(w, { children: [
|
|
175
|
+
u,
|
|
176
|
+
/* @__PURE__ */ e("div", { className: "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]", children: g })
|
|
177
|
+
] })
|
|
178
|
+
}
|
|
179
|
+
);
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
E.displayName = "PracticeProfileHero";
|
|
183
|
+
export {
|
|
184
|
+
E as P,
|
|
185
|
+
M as p
|
|
186
|
+
};
|
|
187
|
+
//# sourceMappingURL=practice-profile-hero-Bdd0bFqC.js.map
|