@alfadocs/ui-kit 1.67.0 → 1.68.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/{address-fields-CJtu7LQU.js → address-fields-BUPRs3n-.js} +3 -3
- package/dist/_chunks/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
- package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
- package/dist/_chunks/{ai-credits-exhausted-notice-DfAgfZDF.js → ai-credits-exhausted-notice-Bg8NpW2K.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.js → ai-permission-notice-C00i6VhY.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
- package/dist/_chunks/{alert-DjsJMGRE.js → alert-9kEwDza3.js} +122 -112
- package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-B06ZSOaF.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-BQ_EokKz.js → anamnesis-summary-rows-CNK0fIJk.js} +392 -388
- package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
- package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-D5XCfYKu.js} +2 -2
- package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
- package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
- package/dist/_chunks/{audio-recorder-B11RR-rC.js → audio-recorder-4Ll0pwYK.js} +3 -3
- package/dist/_chunks/{auth-form-parts-DwUTH6YN.js → auth-form-parts-B40zvD-a.js} +2 -2
- package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
- package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
- package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
- package/dist/_chunks/{booking-tTVxKPQY.js → booking-B1pDbERi.js} +377 -335
- package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
- package/dist/_chunks/{calendar-workspace-MRrzcxAy.js → calendar-workspace-CYK1M83j.js} +18 -18
- package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-Be-9vIIQ.js} +2 -2
- package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
- package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
- package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
- package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
- package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
- package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
- package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
- package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
- package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
- package/dist/_chunks/{document-preview-VyQOjFVL.js → document-preview-513f3iPn.js} +4 -4
- package/dist/_chunks/{document-scanner-CXH_GYh4.js → document-scanner-Bd3wbzpI.js} +2 -2
- package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
- package/dist/_chunks/{entity-summary-Bj-Wxq7Y.js → entity-summary-C2B8yNmc.js} +4 -4
- package/dist/_chunks/{error-summary-PUE5Zxp9.js → error-summary-mGxIyDAY.js} +2 -2
- package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
- package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
- package/dist/_chunks/{forgot-password-form-CPOfRE0C.js → forgot-password-form-Dqi7R-NL.js} +4 -4
- package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
- package/dist/_chunks/{freemium-paywall-6DO7noHX.js → freemium-paywall-C73C8Rgd.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
- package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
- package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-Bw3Q58x-.js → help-me-write-templates-5WkUfvc_.js} +3 -3
- package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
- package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
- package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
- package/dist/_chunks/{login-dev-card-A-CL3mjt.js → login-dev-card-vEL-o5wq.js} +3 -3
- package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
- package/dist/_chunks/{marketplace-app-shell-DtSX8sYb.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
- package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
- package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
- package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
- package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
- package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
- package/dist/_chunks/{notes-panel-IdsmqRFC.js → notes-panel-BXN46XkF.js} +6 -6
- package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
- package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
- package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
- package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-ulXnDbBe.js} +525 -509
- package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
- package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
- package/dist/_chunks/{patient-details-C-EWQTms.js → patient-details-C4Dyo7Ck.js} +4 -4
- package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js → patient-field-row-DROvUkFu.js} +4 -4
- package/dist/_chunks/{patient-search-DpAKidZ5.js → patient-search-BADdx3M1.js} +2 -2
- package/dist/_chunks/{patient-summary-card-Bpto_VCD.js → patient-summary-card-CAimxbuI.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
- package/dist/_chunks/{payment-form-XKtinW8r.js → payment-form-PBuh8PIa.js} +2 -2
- package/dist/_chunks/{pdf-viewer-BvoVMjH4.js → pdf-viewer-gAsNUsA8.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
- package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
- package/dist/_chunks/{practice-results-BrUDDMXC.js → practice-results-BzThnpnm.js} +328 -298
- package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
- package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
- package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
- package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
- package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
- package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
- package/dist/_chunks/{registration-form-BxwqUZzk.js → registration-form-1B0PTDal.js} +4 -4
- package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-CosDZyow.js} +29 -7
- package/dist/_chunks/{rich-text-editor-aCIoptbg.js → rich-text-editor-56dSsyZI.js} +3 -3
- package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
- package/dist/_chunks/{sign-document-D1P1nUQA.js → sign-document-BiOTs1P4.js} +2 -2
- package/dist/_chunks/{signature-request-3u6TvRt2.js → signature-request-DAmNj_uq.js} +5 -5
- package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
- package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
- package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
- package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
- package/dist/_chunks/{task-editor-Bb5MMcid.js → task-editor-BomyxGoZ.js} +8 -8
- package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
- package/dist/_chunks/{tasks-panel-BOb57Ysw.js → tasks-panel-ATz9JDy8.js} +6 -6
- package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
- package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
- package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
- package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
- package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
- package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-CVSPoP5j.js → use-appointment-details-read-CUGfE0hV.js} +12 -12
- package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
- package/dist/_chunks/{voice-control-panel-BJIEbDq6.js → voice-control-panel-B8Lrk0C4.js} +4 -4
- package/dist/_chunks/{warning-stack-BdY-0bd3.js → warning-stack-BhHUmRiD.js} +2 -2
- package/dist/_chunks/{workflow-map-CYbRD9ek.js → workflow-map-ln4_OG8A.js} +2 -2
- package/dist/agent-catalog.json +172 -4
- package/dist/agent-i18n/en.json +25 -1
- package/dist/components/_shared/format-number.d.ts +20 -0
- package/dist/components/_shared/length-token.d.ts +12 -0
- package/dist/components/_shared/option.d.ts +1 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/alert.d.ts +26 -0
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-summary-card/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/audio-recorder/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts +2 -0
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/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/color-picker/index.js +1 -1
- package/dist/components/combobox/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/country-select/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +20 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/dependent-selector/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/editable-description/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/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/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +4 -2
- package/dist/components/map-view/index.d.ts +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +51 -0
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/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/notice-group/index.d.ts +3 -0
- package/dist/components/notice-group/index.js +6 -0
- package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
- package/dist/components/notice-group/notice-group.d.ts +43 -0
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
- package/dist/components/panel-header/index.js +1 -1
- package/dist/components/panel-header/panel-header.d.ts +10 -0
- package/dist/components/panel-subview/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-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-risk-chart/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 +4 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +10 -2
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/progress-notice/index.d.ts +3 -0
- package/dist/components/progress-notice/index.js +6 -0
- package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
- package/dist/components/progress-notice/progress-notice.d.ts +81 -0
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +6 -0
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +41 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/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/timeline/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +81 -76
- package/dist/hooks/use-dismissed.d.ts +58 -0
- package/dist/i18n/locales/ar.d.ts +22 -0
- package/dist/i18n/locales/ar.js +22 -0
- package/dist/i18n/locales/de.d.ts +22 -0
- package/dist/i18n/locales/de.js +22 -0
- package/dist/i18n/locales/el.d.ts +22 -0
- package/dist/i18n/locales/el.js +22 -0
- package/dist/i18n/locales/en.d.ts +22 -0
- package/dist/i18n/locales/en.js +22 -0
- package/dist/i18n/locales/es.d.ts +22 -0
- package/dist/i18n/locales/es.js +22 -0
- package/dist/i18n/locales/fr.d.ts +22 -0
- package/dist/i18n/locales/fr.js +22 -0
- package/dist/i18n/locales/hi.d.ts +22 -0
- package/dist/i18n/locales/hi.js +22 -0
- package/dist/i18n/locales/it.d.ts +22 -0
- package/dist/i18n/locales/it.js +22 -0
- package/dist/i18n/locales/ja.d.ts +22 -0
- package/dist/i18n/locales/ja.js +22 -0
- package/dist/i18n/locales/nl.d.ts +22 -0
- package/dist/i18n/locales/nl.js +22 -0
- package/dist/i18n/locales/pl.d.ts +22 -0
- package/dist/i18n/locales/pl.js +22 -0
- package/dist/i18n/locales/pt.d.ts +22 -0
- package/dist/i18n/locales/pt.js +22 -0
- package/dist/i18n/locales/ro.d.ts +22 -0
- package/dist/i18n/locales/ro.js +22 -0
- package/dist/i18n/locales/ru.d.ts +22 -0
- package/dist/i18n/locales/ru.js +22 -0
- package/dist/i18n/locales/sq.d.ts +22 -0
- package/dist/i18n/locales/sq.js +22 -0
- package/dist/i18n/locales/sv.d.ts +22 -0
- package/dist/i18n/locales/sv.js +22 -0
- package/dist/i18n/locales/tr.d.ts +22 -0
- package/dist/i18n/locales/tr.js +22 -0
- package/dist/i18n/locales/zh.d.ts +22 -0
- package/dist/i18n/locales/zh.js +22 -0
- package/dist/index.js +1194 -1183
- package/dist/locales/ar.json +22 -0
- package/dist/locales/de.json +22 -0
- package/dist/locales/el.json +22 -0
- package/dist/locales/en.json +22 -0
- package/dist/locales/es.json +22 -0
- package/dist/locales/fr.json +22 -0
- package/dist/locales/hi.json +22 -0
- package/dist/locales/it.json +22 -0
- package/dist/locales/ja.json +22 -0
- package/dist/locales/nl.json +22 -0
- package/dist/locales/pl.json +22 -0
- package/dist/locales/pt.json +22 -0
- package/dist/locales/ro.json +22 -0
- package/dist/locales/ru.json +22 -0
- package/dist/locales/sq.json +22 -0
- package/dist/locales/sv.json +22 -0
- package/dist/locales/tr.json +22 -0
- package/dist/locales/zh.json +22 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +2 -2
- package/dist/patterns/login-form/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/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +9 -1
- package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
- package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
- package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
- package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
- package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as A, useState as f, useEffect as V, useContext as C, createContext as R } from "react";
|
|
3
|
-
import { c as m } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { T as S } from "./tooltip-uEBdD1-5.js";
|
|
5
|
-
const v = R(null);
|
|
6
|
-
function F({
|
|
7
|
-
actions: e,
|
|
8
|
-
children: r
|
|
9
|
-
}) {
|
|
10
|
-
return /* @__PURE__ */ a(v.Provider, { value: e, children: r });
|
|
11
|
-
}
|
|
12
|
-
function E() {
|
|
13
|
-
return C(v);
|
|
14
|
-
}
|
|
15
|
-
const O = m(
|
|
16
|
-
[
|
|
17
|
-
"ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
18
|
-
"ds:px-[var(--spacing-md)] ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-sm)]"
|
|
19
|
-
].join(" "),
|
|
20
|
-
{
|
|
21
|
-
variants: {
|
|
22
|
-
// `sticky` pins the header to the top of the panel's scroll region;
|
|
23
|
-
// otherwise it stays a fixed-height band that never shrinks.
|
|
24
|
-
sticky: {
|
|
25
|
-
true: "ds:sticky ds:top-0 ds:z-[1] ds:bg-[color:var(--background)]",
|
|
26
|
-
false: "ds:shrink-0"
|
|
27
|
-
},
|
|
28
|
-
divider: {
|
|
29
|
-
true: "ds:border-b ds:border-[color:var(--border)]",
|
|
30
|
-
false: ""
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
defaultVariants: {
|
|
34
|
-
sticky: !1,
|
|
35
|
-
divider: !0
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
), W = m(
|
|
39
|
-
[
|
|
40
|
-
// `min-w-0` lets the heading shrink below its content width so the
|
|
41
|
-
// title span can clip; without it the flex row refuses to shrink and
|
|
42
|
-
// the action cluster is pushed out of the panel.
|
|
43
|
-
"ds:m-0 ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
44
|
-
"ds:text-[color:var(--foreground)]"
|
|
45
|
-
].join(" "),
|
|
46
|
-
{
|
|
47
|
-
variants: {
|
|
48
|
-
titleScale: {
|
|
49
|
-
card: "type-title-card",
|
|
50
|
-
section: "type-title-section"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
defaultVariants: {
|
|
54
|
-
titleScale: "card"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
), I = A(
|
|
58
|
-
({
|
|
59
|
-
title: e,
|
|
60
|
-
icon: r,
|
|
61
|
-
headingId: h,
|
|
62
|
-
headingLevel: g = 2,
|
|
63
|
-
actions: d,
|
|
64
|
-
filters: i,
|
|
65
|
-
sticky: x = !1,
|
|
66
|
-
divider: b = !0,
|
|
67
|
-
titleScale: w = "card",
|
|
68
|
-
titleTooltip: N,
|
|
69
|
-
className: y,
|
|
70
|
-
...P
|
|
71
|
-
}, k) => {
|
|
72
|
-
const l = E(), j = g === 3 ? "h3" : "h2", H = d != null || l != null, n = N ?? (typeof e == "string" ? e : void 0), [s, T] = f(null), [z, c] = f(!1);
|
|
73
|
-
V(() => {
|
|
74
|
-
if (!s || n == null) {
|
|
75
|
-
c(!1);
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
const u = () => c(s.scrollWidth > s.clientWidth);
|
|
79
|
-
if (u(), typeof ResizeObserver > "u") return;
|
|
80
|
-
const p = new ResizeObserver(u);
|
|
81
|
-
return p.observe(s), () => p.disconnect();
|
|
82
|
-
}, [s, n]);
|
|
83
|
-
const o = /* @__PURE__ */ a(
|
|
84
|
-
"span",
|
|
85
|
-
{
|
|
86
|
-
ref: T,
|
|
87
|
-
className: "ds:min-w-0 ds:overflow-hidden ds:text-ellipsis ds:whitespace-nowrap",
|
|
88
|
-
children: e
|
|
89
|
-
}
|
|
90
|
-
);
|
|
91
|
-
return /* @__PURE__ */ t(
|
|
92
|
-
"header",
|
|
93
|
-
{
|
|
94
|
-
ref: k,
|
|
95
|
-
"data-component": "panel-header",
|
|
96
|
-
className: O({ sticky: x, divider: b, className: y }),
|
|
97
|
-
...P,
|
|
98
|
-
children: [
|
|
99
|
-
/* @__PURE__ */ t("div", { className: "ds:flex ds:min-w-0 ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
100
|
-
/* @__PURE__ */ t(j, { id: h, className: W({ titleScale: w }), children: [
|
|
101
|
-
r ? /* @__PURE__ */ a(
|
|
102
|
-
"span",
|
|
103
|
-
{
|
|
104
|
-
"aria-hidden": "true",
|
|
105
|
-
className: "ds:inline-flex ds:shrink-0 ds:text-[color:var(--accent)] ds:[&_svg]:size-4",
|
|
106
|
-
children: r
|
|
107
|
-
}
|
|
108
|
-
) : null,
|
|
109
|
-
z && n != null ? /* @__PURE__ */ a(S, { label: n, children: o }) : o
|
|
110
|
-
] }),
|
|
111
|
-
H ? /* @__PURE__ */ t("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:shrink-0", children: [
|
|
112
|
-
d,
|
|
113
|
-
l
|
|
114
|
-
] }) : null
|
|
115
|
-
] }),
|
|
116
|
-
i != null ? /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]", children: i }) : null
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
);
|
|
120
|
-
}
|
|
121
|
-
);
|
|
122
|
-
I.displayName = "PanelHeader";
|
|
123
|
-
export {
|
|
124
|
-
I as P,
|
|
125
|
-
F as a,
|
|
126
|
-
E as u
|
|
127
|
-
};
|
|
128
|
-
//# sourceMappingURL=panel-header-BJkaUwnl.js.map
|
|
@@ -1,193 +0,0 @@
|
|
|
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-WZY3eGE7.js";
|
|
5
|
-
import { B } from "./badge-BUk4RjTS.js";
|
|
6
|
-
import { C as y } from "./card-BA4Ig_kn.js";
|
|
7
|
-
import { R as z } from "./rating-C1Vrmpsi.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 ? (
|
|
123
|
-
// `ms-auto` + `shrink-0` are the desktop contract, and both are
|
|
124
|
-
// wrong once the row wraps on a phone: they stranded the action
|
|
125
|
-
// at the inline-end of a start-aligned stack and stopped a wide
|
|
126
|
-
// control fitting the column. Hence `sm:` and up only.
|
|
127
|
-
/* @__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: p })
|
|
128
|
-
) : null
|
|
129
|
-
] }),
|
|
130
|
-
c ? /* @__PURE__ */ e("p", { className: "type-body ds:m-0 ds:text-[color:var(--foreground)]", children: c }) : null,
|
|
131
|
-
o ? (
|
|
132
|
-
// Rating owns the whole line: locale-formatted value, plural-
|
|
133
|
-
// aware review count, and a single role="img" announcement.
|
|
134
|
-
/* @__PURE__ */ e(
|
|
135
|
-
z,
|
|
136
|
-
{
|
|
137
|
-
value: o.value,
|
|
138
|
-
max: 5,
|
|
139
|
-
size: "md",
|
|
140
|
-
reviews: { count: o.count }
|
|
141
|
-
}
|
|
142
|
-
)
|
|
143
|
-
) : null,
|
|
144
|
-
d && d.length > 0 ? /* @__PURE__ */ e(
|
|
145
|
-
"div",
|
|
146
|
-
{
|
|
147
|
-
role: "list",
|
|
148
|
-
className: "ds:mt-[var(--spacing-2xs)] ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)]",
|
|
149
|
-
children: d.map((a) => /* @__PURE__ */ e(
|
|
150
|
-
B,
|
|
151
|
-
{
|
|
152
|
-
variant: a.variant ?? "neutral",
|
|
153
|
-
role: "listitem",
|
|
154
|
-
children: a.label
|
|
155
|
-
},
|
|
156
|
-
a.key
|
|
157
|
-
))
|
|
158
|
-
}
|
|
159
|
-
) : null
|
|
160
|
-
] })
|
|
161
|
-
]
|
|
162
|
-
}
|
|
163
|
-
);
|
|
164
|
-
return /* @__PURE__ */ e(
|
|
165
|
-
"div",
|
|
166
|
-
{
|
|
167
|
-
ref: H,
|
|
168
|
-
role: "region",
|
|
169
|
-
"aria-label": f,
|
|
170
|
-
"aria-labelledby": f ? void 0 : v,
|
|
171
|
-
"data-component": "practice-profile-hero",
|
|
172
|
-
"data-component-id": l,
|
|
173
|
-
"data-has-cover": i ? "true" : "false",
|
|
174
|
-
id: l,
|
|
175
|
-
className: V({ surface: m, className: N }),
|
|
176
|
-
...P,
|
|
177
|
-
children: m === "elevated" ? /* @__PURE__ */ s(y, { variant: "elevated", children: [
|
|
178
|
-
u,
|
|
179
|
-
/* @__PURE__ */ e(y.Body, { children: g })
|
|
180
|
-
] }) : /* @__PURE__ */ s(w, { children: [
|
|
181
|
-
u,
|
|
182
|
-
/* @__PURE__ */ e("div", { className: "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]", children: g })
|
|
183
|
-
] })
|
|
184
|
-
}
|
|
185
|
-
);
|
|
186
|
-
}
|
|
187
|
-
);
|
|
188
|
-
E.displayName = "PracticeProfileHero";
|
|
189
|
-
export {
|
|
190
|
-
E as P,
|
|
191
|
-
M as p
|
|
192
|
-
};
|
|
193
|
-
//# sourceMappingURL=practice-profile-hero-Dfc0F60y.js.map
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as z } from "react";
|
|
3
|
-
import { c as x } from "./index-D2ZczOXr.js";
|
|
4
|
-
const S = x(
|
|
5
|
-
[
|
|
6
|
-
"ds:bg-[var(--muted)]",
|
|
7
|
-
"ds:motion-reduce:animate-none",
|
|
8
|
-
"ds:forced-colors:bg-[GrayText]",
|
|
9
|
-
"ds:forced-colors:outline",
|
|
10
|
-
"ds:forced-colors:outline-1",
|
|
11
|
-
"ds:forced-colors:outline-[CanvasText]",
|
|
12
|
-
"ds:forced-colors:animate-none"
|
|
13
|
-
].join(" "),
|
|
14
|
-
{
|
|
15
|
-
variants: {
|
|
16
|
-
variant: {
|
|
17
|
-
text: "ds:rounded-[var(--radius-sm)] ds:w-full",
|
|
18
|
-
circular: "ds:rounded-[var(--radius-full)] ds:aspect-square ds:shrink-0",
|
|
19
|
-
rectangular: "ds:rounded-none",
|
|
20
|
-
rounded: "ds:rounded-[var(--radius-md)]"
|
|
21
|
-
},
|
|
22
|
-
size: {
|
|
23
|
-
sm: "",
|
|
24
|
-
md: "",
|
|
25
|
-
lg: ""
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
compoundVariants: [
|
|
29
|
-
{ variant: "text", size: "sm", class: "ds:h-3" },
|
|
30
|
-
{ variant: "text", size: "md", class: "ds:h-4" },
|
|
31
|
-
{ variant: "text", size: "lg", class: "ds:h-5" },
|
|
32
|
-
{ variant: "circular", size: "sm", class: "ds:h-8 ds:w-8" },
|
|
33
|
-
{ variant: "circular", size: "md", class: "ds:h-10 ds:w-10" },
|
|
34
|
-
{ variant: "circular", size: "lg", class: "ds:h-12 ds:w-12" },
|
|
35
|
-
{ variant: "rectangular", size: "sm", class: "ds:h-16" },
|
|
36
|
-
{ variant: "rectangular", size: "md", class: "ds:h-24" },
|
|
37
|
-
{ variant: "rectangular", size: "lg", class: "ds:h-40" },
|
|
38
|
-
{ variant: "rounded", size: "sm", class: "ds:h-16" },
|
|
39
|
-
{ variant: "rounded", size: "md", class: "ds:h-24" },
|
|
40
|
-
{ variant: "rounded", size: "lg", class: "ds:h-40" }
|
|
41
|
-
],
|
|
42
|
-
defaultVariants: {
|
|
43
|
-
variant: "text",
|
|
44
|
-
size: "md"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
), g = "ds:animate-[skeleton-pulse_calc(var(--animation-duration)*8)_ease-in-out_infinite]", v = [
|
|
48
|
-
"",
|
|
49
|
-
"ds:[animation-delay:calc(var(--animation-duration)*0.6)]",
|
|
50
|
-
"ds:[animation-delay:calc(var(--animation-duration)*1.2)]",
|
|
51
|
-
"ds:[animation-delay:calc(var(--animation-duration)*1.8)]",
|
|
52
|
-
"ds:[animation-delay:calc(var(--animation-duration)*2.4)]",
|
|
53
|
-
"ds:[animation-delay:calc(var(--animation-duration)*3)]"
|
|
54
|
-
], f = (a) => a === void 0 ? "" : v[Math.abs(Math.trunc(a)) % v.length] ?? "", N = "ds:animate-[content-enter_var(--animation-duration)_var(--ease-out)] ds:motion-reduce:animate-none", y = z(
|
|
55
|
-
({
|
|
56
|
-
variant: a = "text",
|
|
57
|
-
size: h = "md",
|
|
58
|
-
lines: s,
|
|
59
|
-
width: n,
|
|
60
|
-
height: e,
|
|
61
|
-
animate: d = !0,
|
|
62
|
-
stagger: i,
|
|
63
|
-
className: r,
|
|
64
|
-
...l
|
|
65
|
-
}, c) => {
|
|
66
|
-
const u = n !== void 0 || e !== void 0 ? {
|
|
67
|
-
...n !== void 0 && { width: n },
|
|
68
|
-
...e !== void 0 && { height: e }
|
|
69
|
-
} : void 0, m = [
|
|
70
|
-
S({ variant: a, size: h }),
|
|
71
|
-
d && g
|
|
72
|
-
].filter(Boolean).join(" ");
|
|
73
|
-
return s !== void 0 && s > 1 ? /* @__PURE__ */ t(
|
|
74
|
-
"div",
|
|
75
|
-
{
|
|
76
|
-
ref: c,
|
|
77
|
-
"aria-hidden": "true",
|
|
78
|
-
"data-component": "skeleton",
|
|
79
|
-
className: [
|
|
80
|
-
"ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
81
|
-
r
|
|
82
|
-
].filter(Boolean).join(" "),
|
|
83
|
-
style: u,
|
|
84
|
-
...l,
|
|
85
|
-
children: Array.from({ length: s }, (_, o) => /* @__PURE__ */ t(
|
|
86
|
-
"div",
|
|
87
|
-
{
|
|
88
|
-
"aria-hidden": "true",
|
|
89
|
-
className: [
|
|
90
|
-
m,
|
|
91
|
-
d && i !== void 0 && f(i + o),
|
|
92
|
-
o === s - 1 && "ds:w-3/5"
|
|
93
|
-
].filter(Boolean).join(" ")
|
|
94
|
-
},
|
|
95
|
-
`skeleton-line-${o}`
|
|
96
|
-
))
|
|
97
|
-
}
|
|
98
|
-
) : /* @__PURE__ */ t(
|
|
99
|
-
"div",
|
|
100
|
-
{
|
|
101
|
-
ref: c,
|
|
102
|
-
"aria-hidden": "true",
|
|
103
|
-
"data-component": "skeleton",
|
|
104
|
-
className: [m, d && f(i), r].filter(Boolean).join(" "),
|
|
105
|
-
style: u,
|
|
106
|
-
...l
|
|
107
|
-
}
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
);
|
|
111
|
-
y.displayName = "Skeleton";
|
|
112
|
-
export {
|
|
113
|
-
N as C,
|
|
114
|
-
y as S
|
|
115
|
-
};
|
|
116
|
-
//# sourceMappingURL=skeleton-B1KTdJ4N.js.map
|