@alfadocs/ui-kit 1.66.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-Bg8NpW2K.js +287 -0
- package/dist/_chunks/ai-credits-exhausted-notice.agent-DgTSTgez.js +43 -0
- package/dist/_chunks/ai-credits-notice-DQ-r3iQU.js +191 -0
- package/dist/_chunks/{ai-permission-notice-DpRmZ9Q3.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-DdDpOi-P.js → alert-9kEwDza3.js} +122 -111
- 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-BIfw890v.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-DR-u1qbl.js → audio-recorder-4Ll0pwYK.js} +3 -3
- package/dist/_chunks/{auth-form-parts-Cmb41LSQ.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-DkjatiXc.js → booking-B1pDbERi.js} +377 -335
- package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
- package/dist/_chunks/{calendar-workspace-Cp8yTZ1g.js → calendar-workspace-CYK1M83j.js} +19 -19
- 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-B1dQm292.js → document-preview-513f3iPn.js} +4 -4
- package/dist/_chunks/{document-scanner-CVPVLK7z.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-BQ9_KA8S.js → entity-summary-C2B8yNmc.js} +4 -4
- package/dist/_chunks/{error-summary-DrUfuKu1.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-CgZkEvZy.js → forgot-password-form-Dqi7R-NL.js} +4 -4
- package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
- package/dist/_chunks/{freemium-paywall-DKJHRFpp.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-5WkUfvc_.js +687 -0
- package/dist/_chunks/hourglass-BEAzW1wE.js +26 -0
- 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-PnADNcI9.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-C-2e4eCD.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-uEGIL7mi.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-4P1vA9Ls.js → patient-details-C4Dyo7Ck.js} +4 -4
- package/dist/_chunks/{patient-field-row-CBXhlfGD.js → patient-field-row-DROvUkFu.js} +155 -176
- package/dist/_chunks/{patient-search-DOnDUVsl.js → patient-search-BADdx3M1.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CuDLo8MP.js → patient-summary-card-CAimxbuI.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-C8MEu0t6.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
- package/dist/_chunks/{payment-form-C3dGY7v4.js → payment-form-PBuh8PIa.js} +2 -2
- package/dist/_chunks/{pdf-viewer-DJ9VN7cu.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-8h2Utpt3.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-BQyT_kBX.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-M2gT_E7f.js → rich-text-editor-56dSsyZI.js} +1653 -1743
- package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
- package/dist/_chunks/{sign-document-CY7xTXbm.js → sign-document-BiOTs1P4.js} +2 -2
- package/dist/_chunks/{signature-request-BMCHy2ZO.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-CifOznfq.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-8nLwBw6P.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-B-FEWbQM.js → use-appointment-details-read-CUGfE0hV.js} +13 -13
- package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
- package/dist/_chunks/voice-control-panel-B8Lrk0C4.js +1148 -0
- package/dist/_chunks/{warning-stack-HYWAytZV.js → warning-stack-BhHUmRiD.js} +2 -2
- package/dist/_chunks/{workflow-map-C2B2qIr1.js → workflow-map-ln4_OG8A.js} +2 -2
- package/dist/agent-catalog.json +221 -6
- package/dist/agent-i18n/en.json +32 -5
- 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/ai-credits-exhausted-notice.agent.d.ts +4 -0
- package/dist/components/ai-credits-notice/ai-credits-exhausted-notice.d.ts +96 -0
- package/dist/components/ai-credits-notice/ai-credits-notice.d.ts +30 -4
- package/dist/components/ai-credits-notice/index.d.ts +3 -0
- package/dist/components/ai-credits-notice/index.js +10 -4
- 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.d.ts +2 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/voice-control-panel/voice-control-panel.d.ts +43 -3
- 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 +49 -12
- package/dist/i18n/locales/ar.js +49 -12
- package/dist/i18n/locales/de.d.ts +49 -12
- package/dist/i18n/locales/de.js +49 -12
- package/dist/i18n/locales/el.d.ts +49 -12
- package/dist/i18n/locales/el.js +49 -12
- package/dist/i18n/locales/en.d.ts +49 -12
- package/dist/i18n/locales/en.js +49 -12
- package/dist/i18n/locales/es.d.ts +49 -12
- package/dist/i18n/locales/es.js +49 -12
- package/dist/i18n/locales/fr.d.ts +49 -12
- package/dist/i18n/locales/fr.js +49 -12
- package/dist/i18n/locales/hi.d.ts +49 -12
- package/dist/i18n/locales/hi.js +49 -12
- package/dist/i18n/locales/it.d.ts +49 -12
- package/dist/i18n/locales/it.js +49 -12
- package/dist/i18n/locales/ja.d.ts +49 -12
- package/dist/i18n/locales/ja.js +49 -12
- package/dist/i18n/locales/nl.d.ts +49 -12
- package/dist/i18n/locales/nl.js +49 -12
- package/dist/i18n/locales/pl.d.ts +49 -12
- package/dist/i18n/locales/pl.js +49 -12
- package/dist/i18n/locales/pt.d.ts +49 -12
- package/dist/i18n/locales/pt.js +49 -12
- package/dist/i18n/locales/ro.d.ts +49 -12
- package/dist/i18n/locales/ro.js +49 -12
- package/dist/i18n/locales/ru.d.ts +49 -12
- package/dist/i18n/locales/ru.js +49 -12
- package/dist/i18n/locales/sq.d.ts +49 -12
- package/dist/i18n/locales/sq.js +49 -12
- package/dist/i18n/locales/sv.d.ts +49 -12
- package/dist/i18n/locales/sv.js +49 -12
- package/dist/i18n/locales/tr.d.ts +49 -12
- package/dist/i18n/locales/tr.js +49 -12
- package/dist/i18n/locales/zh.d.ts +49 -12
- package/dist/i18n/locales/zh.js +49 -12
- package/dist/index.js +1193 -1177
- package/dist/locales/ar.json +49 -12
- package/dist/locales/de.json +49 -12
- package/dist/locales/el.json +49 -12
- package/dist/locales/en.json +49 -12
- package/dist/locales/es.json +49 -12
- package/dist/locales/fr.json +49 -12
- package/dist/locales/hi.json +49 -12
- package/dist/locales/it.json +49 -12
- package/dist/locales/ja.json +49 -12
- package/dist/locales/nl.json +49 -12
- package/dist/locales/pl.json +49 -12
- package/dist/locales/pt.json +49 -12
- package/dist/locales/ro.json +49 -12
- package/dist/locales/ru.json +49 -12
- package/dist/locales/sq.json +49 -12
- package/dist/locales/sv.json +49 -12
- package/dist/locales/tr.json +49 -12
- package/dist/locales/zh.json +49 -12
- 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/help-me-write-templates.d.ts +6 -23
- package/dist/patterns/help-me-write-templates/index.js +8 -7
- 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/ai-credits-notice-pK9BOmEz.js +0 -90
- package/dist/_chunks/ai-credits-notice.agent-C9L7orrP.js +0 -17
- package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
- package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
- package/dist/_chunks/help-me-write-templates-DFmqnsAa.js +0 -747
- 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
- package/dist/_chunks/voice-control-panel-C0BfY23Y.js +0 -1009
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { jsx as s, jsxs as a, Fragment as g } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as A, useState as x, useEffect as E, useContext as O, createContext as W } from "react";
|
|
3
|
+
import { c as l } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { T as B } from "./tooltip-uEBdD1-5.js";
|
|
5
|
+
const w = W(null);
|
|
6
|
+
function U({
|
|
7
|
+
actions: t,
|
|
8
|
+
children: d
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ s(w.Provider, { value: t, children: d });
|
|
11
|
+
}
|
|
12
|
+
function F() {
|
|
13
|
+
return O(w);
|
|
14
|
+
}
|
|
15
|
+
const I = l(
|
|
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
|
+
), _ = l(
|
|
39
|
+
"ds:flex ds:min-w-0 ds:justify-between ds:gap-[var(--spacing-sm)]",
|
|
40
|
+
{
|
|
41
|
+
variants: {
|
|
42
|
+
// Wrapping, the row holds the wrapping title block and the injected
|
|
43
|
+
// actions, which stay at the top end beside the title line.
|
|
44
|
+
wrapActions: {
|
|
45
|
+
true: "ds:items-start",
|
|
46
|
+
false: "ds:items-center"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
defaultVariants: { wrapActions: !1 }
|
|
50
|
+
}
|
|
51
|
+
), q = "ds:flex ds:min-w-0 ds:flex-1 ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", o = l(
|
|
52
|
+
"ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:shrink-0",
|
|
53
|
+
{
|
|
54
|
+
variants: {
|
|
55
|
+
// On its own line the cluster is capped at the row width and its
|
|
56
|
+
// children can shrink and wrap, so a cluster wider than a 320px phone
|
|
57
|
+
// still stays on screen.
|
|
58
|
+
wrapActions: {
|
|
59
|
+
true: "ds:max-w-full ds:flex-wrap",
|
|
60
|
+
false: ""
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
defaultVariants: { wrapActions: !1 }
|
|
64
|
+
}
|
|
65
|
+
), D = l("ds:min-w-0", {
|
|
66
|
+
variants: {
|
|
67
|
+
wrap: {
|
|
68
|
+
false: "ds:overflow-hidden ds:text-ellipsis ds:whitespace-nowrap",
|
|
69
|
+
true: "ds:[overflow-wrap:anywhere]"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
defaultVariants: { wrap: !1 }
|
|
73
|
+
}), G = l(
|
|
74
|
+
[
|
|
75
|
+
// `min-w-0` lets the heading shrink below its content width so the
|
|
76
|
+
// title span can clip; without it the flex row refuses to shrink and
|
|
77
|
+
// the action cluster is pushed out of the panel.
|
|
78
|
+
"ds:m-0 ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
79
|
+
"ds:text-[color:var(--foreground)]"
|
|
80
|
+
].join(" "),
|
|
81
|
+
{
|
|
82
|
+
variants: {
|
|
83
|
+
titleScale: {
|
|
84
|
+
card: "type-title-card",
|
|
85
|
+
section: "type-title-section"
|
|
86
|
+
},
|
|
87
|
+
// wrapActions with rail-injected buttons: the title line is as tall
|
|
88
|
+
// as the buttons, so the title centres on them although the row
|
|
89
|
+
// aligns to its top (the wrapped actions make it two lines tall).
|
|
90
|
+
// It mirrors the small button's height: the touch target below sm,
|
|
91
|
+
// its 32px box (h-8) from sm up.
|
|
92
|
+
matchTargetHeight: {
|
|
93
|
+
true: "ds:min-h-[var(--min-target-size)] ds:sm:min-h-8",
|
|
94
|
+
false: ""
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
defaultVariants: {
|
|
98
|
+
titleScale: "card",
|
|
99
|
+
matchTargetHeight: !1
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
), J = A(
|
|
103
|
+
({
|
|
104
|
+
title: t,
|
|
105
|
+
icon: d,
|
|
106
|
+
headingId: b,
|
|
107
|
+
headingLevel: N = 2,
|
|
108
|
+
actions: i,
|
|
109
|
+
filters: f,
|
|
110
|
+
sticky: y = !1,
|
|
111
|
+
divider: T = !0,
|
|
112
|
+
titleScale: V = "card",
|
|
113
|
+
titleTooltip: H,
|
|
114
|
+
wrapActions: e = !1,
|
|
115
|
+
className: k,
|
|
116
|
+
...P
|
|
117
|
+
}, j) => {
|
|
118
|
+
const r = F(), z = N === 3 ? "h3" : "h2", C = i != null || r != null, c = H ?? (typeof t == "string" ? t : void 0), [n, R] = x(null), [S, u] = x(!1);
|
|
119
|
+
E(() => {
|
|
120
|
+
if (!n || c == null || e) {
|
|
121
|
+
u(!1);
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
const v = () => u(n.scrollWidth > n.clientWidth);
|
|
125
|
+
if (v(), typeof ResizeObserver > "u") return;
|
|
126
|
+
const h = new ResizeObserver(v);
|
|
127
|
+
return h.observe(n), () => h.disconnect();
|
|
128
|
+
}, [n, c, e]);
|
|
129
|
+
const m = /* @__PURE__ */ s(
|
|
130
|
+
"span",
|
|
131
|
+
{
|
|
132
|
+
ref: R,
|
|
133
|
+
className: D({ wrap: e }),
|
|
134
|
+
children: t
|
|
135
|
+
}
|
|
136
|
+
), p = /* @__PURE__ */ a(
|
|
137
|
+
z,
|
|
138
|
+
{
|
|
139
|
+
id: b,
|
|
140
|
+
className: G({
|
|
141
|
+
titleScale: V,
|
|
142
|
+
matchTargetHeight: e && r != null
|
|
143
|
+
}),
|
|
144
|
+
children: [
|
|
145
|
+
d ? /* @__PURE__ */ s(
|
|
146
|
+
"span",
|
|
147
|
+
{
|
|
148
|
+
"aria-hidden": "true",
|
|
149
|
+
className: "ds:inline-flex ds:shrink-0 ds:text-[color:var(--accent)] ds:[&_svg]:size-4",
|
|
150
|
+
children: d
|
|
151
|
+
}
|
|
152
|
+
) : null,
|
|
153
|
+
S && c != null ? /* @__PURE__ */ s(B, { label: c, children: m }) : m
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
);
|
|
157
|
+
return /* @__PURE__ */ a(
|
|
158
|
+
"header",
|
|
159
|
+
{
|
|
160
|
+
ref: j,
|
|
161
|
+
"data-component": "panel-header",
|
|
162
|
+
className: I({ sticky: y, divider: T, className: k }),
|
|
163
|
+
...P,
|
|
164
|
+
children: [
|
|
165
|
+
/* @__PURE__ */ s("div", { className: _({ wrapActions: e }), children: e ? /* @__PURE__ */ a(g, { children: [
|
|
166
|
+
/* @__PURE__ */ a("div", { className: q, children: [
|
|
167
|
+
p,
|
|
168
|
+
i != null ? /* @__PURE__ */ s("div", { className: o({ wrapActions: e }), children: i }) : null
|
|
169
|
+
] }),
|
|
170
|
+
r != null ? /* @__PURE__ */ s("div", { className: o({ wrapActions: !1 }), children: r }) : null
|
|
171
|
+
] }) : /* @__PURE__ */ a(g, { children: [
|
|
172
|
+
p,
|
|
173
|
+
C ? /* @__PURE__ */ a("div", { className: o({ wrapActions: e }), children: [
|
|
174
|
+
i,
|
|
175
|
+
r
|
|
176
|
+
] }) : null
|
|
177
|
+
] }) }),
|
|
178
|
+
f != null ? /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]", children: f }) : null
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
);
|
|
184
|
+
J.displayName = "PanelHeader";
|
|
185
|
+
export {
|
|
186
|
+
J as P,
|
|
187
|
+
U as a,
|
|
188
|
+
F as u
|
|
189
|
+
};
|
|
190
|
+
//# sourceMappingURL=panel-header-CbtlTe85.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as I, jsx as a, Fragment as D } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as C, useId as K, useRef as u, useCallback as U, useEffect as N } from "react";
|
|
3
3
|
import { c as x } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { I as _ } from "./icon-button-C_1TgRiK.js";
|
|
5
|
-
import { P as G } from "./panel-header-
|
|
5
|
+
import { P as G } from "./panel-header-CbtlTe85.js";
|
|
6
6
|
import { S as J } from "./scroll-area-CY5SLYNw.js";
|
|
7
7
|
import { u as R } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
8
|
import { u as Q } from "./use-presence-transition-cDwWUXV-.js";
|
|
@@ -228,4 +228,4 @@ const ue = Object.assign(L, {
|
|
|
228
228
|
export {
|
|
229
229
|
ue as P
|
|
230
230
|
};
|
|
231
|
-
//# sourceMappingURL=panel-subview-
|
|
231
|
+
//# sourceMappingURL=panel-subview-BPU7220K.js.map
|
|
@@ -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-BPiPL7ND.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-Q8640NHu.js";
|
|
9
|
-
import { P as de } from "./panel-header-
|
|
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-DROvUkFu.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-C4Dyo7Ck.js.map
|