@alfadocs/ui-kit 1.35.0 → 1.36.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/{actions-cell-renderer-yy03OgRL.js → actions-cell-renderer-CUn1pqEq.js} +3 -3
- package/dist/_chunks/{agenda-card-DVz3jwTf.js → agenda-card-DyQtHb9z.js} +2 -2
- package/dist/_chunks/{agenda-tray-1oDWCJdB.js → agenda-tray-DYGCTIWB.js} +3 -3
- package/dist/_chunks/{ai-consent-banner-OggpS5hW.js → ai-consent-banner-De4gzSBZ.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-Dt7tpCBh.js → ai-prompt-input-DdxlaI7q.js} +2 -2
- package/dist/_chunks/{alert-CiJT540z.js → alert-CiQ5Pa3Q.js} +2 -2
- package/dist/_chunks/{alia-sidebar-D18kp3p9.js → alia-sidebar-B6bXlZZk.js} +6 -6
- package/dist/_chunks/{anamnesis-card-NTi4LLzI.js → anamnesis-card-DGwINeNn.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-card-DGVKBQoq.js → anamnesis-summary-card-GYHa7VGp.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-rows-BYgyp_i2.js → anamnesis-summary-rows-Cxtgo2ok.js} +12 -12
- package/dist/_chunks/{antenatal-schedule-timeline-sXfIp5lp.js → antenatal-schedule-timeline-CXk_tzWG.js} +2 -2
- package/dist/_chunks/{appointment-card-Bh_CIlc6.js → appointment-card-WsDGBBut.js} +120 -126
- package/dist/_chunks/{appointment-timeline-De-Wqdkw.js → appointment-timeline-ByfovxqR.js} +5 -5
- package/dist/_chunks/{appointment-tray-4I9wTAi4.js → appointment-tray-D6UyJHej.js} +3 -3
- package/dist/_chunks/arrow-right-KsIrLdt0.js +15 -0
- package/dist/_chunks/{audio-recorder-11wClczr.js → audio-recorder-BlQBC7N_.js} +3 -3
- package/dist/_chunks/{badge-sTusUqZD.js → badge-BudgzTe_.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DhBtFRoW.js → balance-badge-cell-B0Z8Dwn8.js} +6 -6
- package/dist/_chunks/{bishop-score-CAl7C5hm.js → bishop-score-D5b8tktp.js} +2 -2
- package/dist/_chunks/{bmi-calculator-Dwkih9a4.js → bmi-calculator-dOKP-vW4.js} +4 -4
- package/dist/_chunks/{booking-BqkEtsKx.js → booking-Dp-9qR6F.js} +9 -9
- package/dist/_chunks/button-group-QmN1VdUW.js +307 -0
- package/dist/_chunks/{calendar-Dgvl5L4T.js → calendar-7GAUlsNO.js} +3 -3
- package/dist/_chunks/{calendar-event-card-DSh-69HT.js → calendar-event-card-DKUnT9Be.js} +91 -134
- package/dist/_chunks/{calendar-workspace-UywR5gUl.js → calendar-workspace-Duv_5B4j.js} +2494 -2415
- package/dist/_chunks/{care-plan-card-DHVhBcvs.js → care-plan-card-COFOI-fI.js} +5 -5
- package/dist/_chunks/{care-plan-entry-card-Dx6IdTcR.js → care-plan-entry-card-BOKn0KW-.js} +6 -6
- package/dist/_chunks/{care-plan-header-UTX5ZD74.js → care-plan-header-CbuOuVBw.js} +4 -4
- package/dist/_chunks/{carousel.agent-CLxdHEBP.js → carousel.agent-Dv4a4M8L.js} +2 -2
- package/dist/_chunks/{chart-C6eHTxkO.js → chart-iWl76PXv.js} +3 -3
- package/dist/_chunks/{chat-input-BsB5Umpj.js → chat-input-qM5QpUSq.js} +2 -2
- package/dist/_chunks/{chat-message-C-8UU2av.js → chat-message-RniXtrCH.js} +2 -2
- package/dist/_chunks/{checkbox-BuZ1u__2.js → checkbox-CZkipDn7.js} +2 -2
- package/dist/_chunks/{checkbox-group-CfqMv57d.js → checkbox-group-DomUzpkF.js} +2 -2
- package/dist/_chunks/clinical-note-card-DdsGYMmI.js +325 -0
- package/dist/_chunks/{code-block-BIkpRLkl.js → code-block-uVjNSI9g.js} +2 -2
- package/dist/_chunks/{connection-status-DRZIcMqM.js → connection-status-OEsWjmRk.js} +3 -3
- package/dist/_chunks/{contact-profile-card-DSI9uumA.js → contact-profile-card--My1H2UD.js} +3 -3
- package/dist/_chunks/{control-room-rail-5MbhjsxN.js → control-room-rail-Ds45_g4f.js} +4 -4
- package/dist/_chunks/{counter-dRlTNC_y.js → counter-WsvRuum1.js} +50 -15
- package/dist/_chunks/{cycle-calculator-DVgxBfP0.js → cycle-calculator-BJeaXiZv.js} +3 -3
- package/dist/_chunks/{dashboard-grid-BFtdHqfn.js → dashboard-grid-B23BFzRl.js} +2 -2
- package/dist/_chunks/{data-table-DC96JJIq.js → data-table-BYGK-gUJ.js} +6 -6
- package/dist/_chunks/{data-table-tabs-DVIFkqx_.js → data-table-tabs-BMR0zsVQ.js} +3 -3
- package/dist/_chunks/{date-picker-B6NW_PS5.js → date-picker-6tFnKFty.js} +14 -14
- package/dist/_chunks/{dependent-selector-yTKKsuc9.js → dependent-selector-BHDP0nBB.js} +3 -3
- package/dist/_chunks/{description-list-CjJqR8WK.js → description-list-C1RXMDZ_.js} +2 -2
- package/dist/_chunks/{document-preview-BrhMHNh8.js → document-preview-DsEyRcNd.js} +4 -4
- package/dist/_chunks/{document-scanner-C5Vrbu21.js → document-scanner-CbWVtm7u.js} +53 -52
- package/dist/_chunks/{due-date-calculator-CxgK8vzt.js → due-date-calculator-Dhc9Ljkb.js} +6 -6
- package/dist/_chunks/{editable-currency-cell-renderer-B7TVZ5ZJ.js → editable-currency-cell-renderer-D7blbDFY.js} +4 -4
- package/dist/_chunks/{editor-overlay-DEc5yYwo.js → editor-overlay-8fKAcRsm.js} +2 -2
- package/dist/_chunks/{entity-card-9_62gY7l.js → entity-card-I-Gio5wo.js} +36 -32
- package/dist/_chunks/{entity-summary-5o768XLU.js → entity-summary-BbW0mIzU.js} +4 -4
- package/dist/_chunks/{face-scheme-l-CQyLs-.js → face-scheme-uFvhqz6h.js} +4 -4
- package/dist/_chunks/{fetal-weight-Dqy0T1fP.js → fetal-weight-C6SxchOv.js} +2 -2
- package/dist/_chunks/{field-array-BjkXZzSr.js → field-array-C9dmRaIM.js} +2 -2
- package/dist/_chunks/{file-manager-CI2Qn8qW.js → file-manager-DvkFgj7d.js} +7 -7
- package/dist/_chunks/{file-upload-CwxdqkMK.js → file-upload-BDpb08GM.js} +71 -78
- package/dist/_chunks/{fiscal-code-input-B_nYMSEM.js → fiscal-code-input-CkwIdB1y.js} +2 -2
- package/dist/_chunks/{freemium-paywall-DrXzYfv-.js → freemium-paywall-BqGk_SBU.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CZHVrERT.js → gestational-age-calculator-DDOGaPvg.js} +6 -6
- package/dist/_chunks/{hcg-doubling-C2fQxfXd.js → hcg-doubling-Bb_n6tEa.js} +2 -2
- package/dist/_chunks/{header-DUXRIPyM.js → header-BZ4pZlJV.js} +2 -2
- package/dist/_chunks/{header-settings-DvjZNMhD.js → header-settings-B8mLc03Q.js} +4 -4
- package/dist/_chunks/hover-card-Bcku1GQu.js +511 -0
- package/dist/_chunks/{icon-button-DA2CAGHZ.js → icon-button-8xqRnkdG.js} +2 -2
- package/dist/_chunks/{icon-button-group-VCCod3Hz.js → icon-button-group-Dj6CRoYR.js} +2 -2
- package/dist/_chunks/{icon-picker-DOa89vn3.js → icon-picker-CTWzlHJr.js} +2 -2
- package/dist/_chunks/{info-tip-CADik6WN.js → info-tip-ey_Pon2y.js} +2 -2
- package/dist/_chunks/{key-value-pair-BIBdZBLg.js → key-value-pair-DczGb4yz.js} +42 -41
- package/dist/_chunks/{link-cell-renderer-BEpMNtAa.js → link-cell-renderer-BNa8x6oJ.js} +6 -6
- package/dist/_chunks/loader-circle-BECIU_8N.js +12 -0
- package/dist/_chunks/{locale-picker-CwFtqSkt.js → locale-picker-BLeHbFSc.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-CK_ND8Tr.js → marketplace-app-shell-BwH6Aruw.js} +6 -6
- package/dist/_chunks/{message-card-BUMv16un.js → message-card-Dm5Xshup.js} +2 -2
- package/dist/_chunks/{message-tray-0zsv27xX.js → message-tray-BcLyaO-G.js} +3 -3
- package/dist/_chunks/{multi-select-DYOvx2SJ.js → multi-select-CtPd7g4x.js} +15 -15
- package/dist/_chunks/note-attachment-CwDir3kK.js +124 -0
- package/dist/_chunks/note-timeline-CXfSV3yX.js +231 -0
- package/dist/_chunks/{notes-panel-BjLt-kiP.js → notes-panel-Co8D3uDd.js} +7 -7
- package/dist/_chunks/{notification-card-CtrzoTUO.js → notification-card-ChcK9Wat.js} +2 -2
- package/dist/_chunks/{notification-tray-BiRzXHDf.js → notification-tray-CJ8jOe-U.js} +4 -4
- package/dist/_chunks/{operator-hero-aG_qyn6g.js → operator-hero-XIdwDmN2.js} +3 -3
- package/dist/_chunks/{optical-prescription-DUJOhKz_.js → optical-prescription-cphK41eP.js} +2 -2
- package/dist/_chunks/panel-header-D_mTdhUp.js +128 -0
- package/dist/_chunks/patient-details-f7SSXkTJ.js +371 -0
- package/dist/_chunks/patient-field-row-BQZoP4m2.js +787 -0
- package/dist/_chunks/{patient-search-HeEUB-_X.js → patient-search-D08b6jgj.js} +2 -2
- package/dist/_chunks/patient-summary-card-Bz7KdUin.js +533 -0
- package/dist/_chunks/{payment-automation-upsell-DwQW2fRp.js → payment-automation-upsell-BLTdE2em.js} +50 -59
- package/dist/_chunks/{payment-form-Ds1I9KqB.js → payment-form-BHMDqW9C.js} +2 -2
- package/dist/_chunks/{payment-request-card-DvEsWEkC.js → payment-request-card-BxcdvxKR.js} +6 -6
- package/dist/_chunks/{pdf-viewer-DUIsV9s5.js → pdf-viewer-DUKdn5iq.js} +2 -2
- package/dist/_chunks/{periodontal-chart-B9fphroR.js → periodontal-chart-BF_e3wZp.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-qEZPXj83.js → periodontal-chart-card-BJEuJuzh.js} +3 -3
- package/dist/_chunks/{periodontal-diagnosis-lEwA8wqX.js → periodontal-diagnosis-C7pfPOct.js} +5 -5
- package/dist/_chunks/{periodontal-risk-chart-0x7KVZjL.js → periodontal-risk-chart-B2tNFa15.js} +2 -2
- package/dist/_chunks/{permission-matrix-BIJrGEmz.js → permission-matrix-VdAXjjHU.js} +3 -3
- package/dist/_chunks/{popover-DP6WCVwm.js → popover-DzR5QYxp.js} +24 -24
- package/dist/_chunks/{practice-profile-hero-DQyDvpJL.js → practice-profile-hero-DxoLlQr5.js} +2 -2
- package/dist/_chunks/{practice-results-kayDEorM.js → practice-results-DOcORTkP.js} +4 -4
- package/dist/_chunks/{pregnancy-dating-n5j5dAKy.js → pregnancy-dating-nV1_S6w0.js} +6 -6
- package/dist/_chunks/{pregnancy-weight-gain-D5A8vPjj.js → pregnancy-weight-gain-tRecShAD.js} +4 -4
- package/dist/_chunks/{privacy-lock-CkAUo6Dz.js → privacy-lock-Be39vQUN.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BScCotGD.js → product-hub-panel-C0TO69P7.js} +2 -2
- package/dist/_chunks/{public-header.agent-kth2SdXn.js → public-header.agent-Bl1KFwSE.js} +3 -3
- package/dist/_chunks/{radio-DNRe6H_8.js → radio-6fml-pWk.js} +2 -2
- package/dist/_chunks/{radio-group-DyVBgnA3.js → radio-group-CIjmyioi.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-o4jwEJPC.js → radiograph-panel.agent-k0G7JuoM.js} +6 -6
- package/dist/_chunks/{reviews-panel-BKHEfqVQ.js → reviews-panel-BaHZb_ai.js} +3 -3
- package/dist/_chunks/{rich-text-editor-CCI-Y3DN.js → rich-text-editor-BTXlorm5.js} +7 -7
- package/dist/_chunks/{search-bar-CJj6sI9m.js → search-bar-CCmViqaa.js} +46 -46
- package/dist/_chunks/section-card.agent-W18CHEgX.js +74 -0
- package/dist/_chunks/{sheet-BSznOyJs.js → sheet-hm04DGFd.js} +2 -2
- package/dist/_chunks/{sign-document-jF4fZDJ5.js → sign-document-CRQuAn4W.js} +2 -2
- package/dist/_chunks/{signature-request-vihDT8On.js → signature-request-Dej2g86d.js} +5 -5
- package/dist/_chunks/{signature-status-chip-T5fyS-k9.js → signature-status-chip-D4NsrdeI.js} +3 -3
- package/dist/_chunks/{slot-grid-BuZOKfcd.js → slot-grid-8Ko6thzz.js} +2 -2
- package/dist/_chunks/{streaming-text-CvsjIQ7S.js → streaming-text-DjFqLSt_.js} +2 -2
- package/dist/_chunks/{tab-bar-DvFJIQfL.js → tab-bar-rDkLiaA6.js} +2 -2
- package/dist/_chunks/{tag-3wgkwwDB.js → tag-Ci3xJPcH.js} +2 -2
- package/dist/_chunks/{task-tray-COo-RlDv.js → task-tray-wl9eti6J.js} +2 -2
- package/dist/_chunks/{tasks-panel-DLKpSNoE.js → tasks-panel-BDNB7hsZ.js} +5 -5
- package/dist/_chunks/{theme-toggle-uEwoKjl3.js → theme-toggle-CMz8YfC1.js} +3 -3
- package/dist/_chunks/{timeline-Bs9Erxlo.js → timeline-61AihzYz.js} +47 -47
- package/dist/_chunks/{toast-YZz2sBzB.js → toast-8jqtbfAB.js} +2 -2
- package/dist/_chunks/{tool-rail-ONaV-Nzz.js → tool-rail-Bq5eiFMG.js} +3 -3
- package/dist/_chunks/{tooltip-DvmfrNvB.js → tooltip-Cp-PLePW.js} +41 -41
- package/dist/_chunks/{tooth-scheme-Qe7LO5Di.js → tooth-scheme-BWkYxxjR.js} +3 -3
- package/dist/_chunks/{transaction-chip-DJCstquX.js → transaction-chip-Dth1nThY.js} +49 -48
- package/dist/_chunks/{transcript-panel-BGkEhvHO.js → transcript-panel-u2HHxZB6.js} +2 -2
- package/dist/_chunks/user-x-DYszNtIg.js +45 -0
- package/dist/_chunks/{warning-stack-DQz0Jyir.js → warning-stack-BW5Dwb3z.js} +3 -3
- package/dist/_chunks/{widget-picker-DvUkBemi.js → widget-picker-B1sj6uyf.js} +2 -2
- package/dist/_chunks/{workflow-map-dNzJjBWG.js → workflow-map-D-LEni11.js} +5 -5
- package/dist/_chunks/workflow-status-xeaJTzD3.js +476 -0
- package/dist/agent-catalog.json +185 -1
- package/dist/agent-i18n/en.json +27 -0
- package/dist/components/_shared/entity-card/entity-card.d.ts +44 -0
- package/dist/components/_shared/entity-card/index.d.ts +1 -1
- package/dist/components/_shared/note-attachment.d.ts +41 -0
- package/dist/components/_shared/note-markdown.d.ts +3 -0
- package/dist/components/_shared/patient-field-row.d.ts +40 -0
- package/dist/components/agenda-card/index.js +1 -1
- 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/alert/index.js +1 -1
- package/dist/components/anamnesis-card/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-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/badge/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/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/button-group.d.ts +20 -0
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/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/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +2 -34
- package/dist/components/clinical-note-card/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/counter/counter.d.ts +6 -0
- package/dist/components/counter/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 +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/dependent-selector/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 +2 -2
- package/dist/components/editor-overlay/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/file-upload/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/hover-card/hover-card.agent.d.ts +4 -0
- package/dist/components/hover-card/hover-card.d.ts +80 -0
- package/dist/components/hover-card/index.d.ts +4 -0
- package/dist/components/hover-card/index.js +6 -0
- 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/index.d.ts +4 -0
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/key-value-pair/key-value-pair.d.ts +8 -1
- package/dist/components/locale-picker/index.js +1 -1
- 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/note-timeline/index.d.ts +4 -0
- package/dist/components/note-timeline/index.js +6 -0
- package/dist/components/note-timeline/note-timeline.agent.d.ts +4 -0
- package/dist/components/note-timeline/note-timeline.d.ts +77 -0
- 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/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/panel-header/index.js +1 -1
- package/dist/components/panel-header/panel-header.d.ts +7 -0
- 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-summary-card/patient-summary-card.d.ts +54 -0
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/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-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -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/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- 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/search-bar/index.js +1 -1
- package/dist/components/section-card/index.d.ts +4 -0
- package/dist/components/section-card/index.js +6 -0
- package/dist/components/section-card/section-card.agent.d.ts +3 -0
- package/dist/components/section-card/section-card.d.ts +30 -0
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-status-chip/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/tab-bar/index.js +1 -1
- package/dist/components/tag/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/timeline/timeline.d.ts +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +11 -0
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.d.ts +4 -0
- package/dist/components/workflow-status/index.js +7 -0
- package/dist/components/workflow-status/workflow-status.agent.d.ts +4 -0
- package/dist/components/workflow-status/workflow-status.d.ts +52 -0
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +12 -0
- package/dist/i18n/locales/ar.js +12 -0
- package/dist/i18n/locales/de.d.ts +12 -0
- package/dist/i18n/locales/de.js +12 -0
- package/dist/i18n/locales/el.d.ts +12 -0
- package/dist/i18n/locales/el.js +12 -0
- package/dist/i18n/locales/en.d.ts +12 -0
- package/dist/i18n/locales/en.js +12 -0
- package/dist/i18n/locales/es.d.ts +12 -0
- package/dist/i18n/locales/es.js +12 -0
- package/dist/i18n/locales/fr.d.ts +12 -0
- package/dist/i18n/locales/fr.js +12 -0
- package/dist/i18n/locales/hi.d.ts +12 -0
- package/dist/i18n/locales/hi.js +12 -0
- package/dist/i18n/locales/it.d.ts +12 -0
- package/dist/i18n/locales/it.js +12 -0
- package/dist/i18n/locales/ja.d.ts +12 -0
- package/dist/i18n/locales/ja.js +12 -0
- package/dist/i18n/locales/nl.d.ts +12 -0
- package/dist/i18n/locales/nl.js +12 -0
- package/dist/i18n/locales/pl.d.ts +12 -0
- package/dist/i18n/locales/pl.js +12 -0
- package/dist/i18n/locales/pt.d.ts +12 -0
- package/dist/i18n/locales/pt.js +12 -0
- package/dist/i18n/locales/ro.d.ts +12 -0
- package/dist/i18n/locales/ro.js +12 -0
- package/dist/i18n/locales/ru.d.ts +12 -0
- package/dist/i18n/locales/ru.js +12 -0
- package/dist/i18n/locales/sq.d.ts +12 -0
- package/dist/i18n/locales/sq.js +12 -0
- package/dist/i18n/locales/sv.d.ts +12 -0
- package/dist/i18n/locales/sv.js +12 -0
- package/dist/i18n/locales/tr.d.ts +12 -0
- package/dist/i18n/locales/tr.js +12 -0
- package/dist/i18n/locales/zh.d.ts +12 -0
- package/dist/i18n/locales/zh.js +12 -0
- package/dist/index.js +929 -916
- package/dist/locales/ar.json +12 -0
- package/dist/locales/de.json +12 -0
- package/dist/locales/el.json +12 -0
- package/dist/locales/en.json +12 -0
- package/dist/locales/es.json +12 -0
- package/dist/locales/fr.json +12 -0
- package/dist/locales/hi.json +12 -0
- package/dist/locales/it.json +12 -0
- package/dist/locales/ja.json +12 -0
- package/dist/locales/nl.json +12 -0
- package/dist/locales/pl.json +12 -0
- package/dist/locales/pt.json +12 -0
- package/dist/locales/ro.json +12 -0
- package/dist/locales/ru.json +12 -0
- package/dist/locales/sq.json +12 -0
- package/dist/locales/sv.json +12 -0
- package/dist/locales/tr.json +12 -0
- package/dist/locales/zh.json +12 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/calendar.model.d.ts +2 -0
- package/dist/patterns/calendar/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 +17 -1
- package/dist/_chunks/button-group-CaxRJsNG.js +0 -289
- package/dist/_chunks/clinical-note-card-CTRzmqvv.js +0 -438
- package/dist/_chunks/field-value-BetdWMA2.js +0 -384
- package/dist/_chunks/panel-header-D313n_9-.js +0 -105
- package/dist/_chunks/patient-details-BGiawUHd.js +0 -760
- package/dist/_chunks/patient-summary-card--CT_gbaQ.js +0 -454
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { jsx as a, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as T, useMemo as u } from "react";
|
|
3
|
+
import { c as l } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as k } from "react-i18next";
|
|
5
|
+
import { SafeHtml as j } from "../safe-html/index.js";
|
|
6
|
+
import { n as C, P as I, F as V, N as F } from "./note-attachment-CwDir3kK.js";
|
|
7
|
+
import { u as M } from "./registry-DvAUVLHh.js";
|
|
8
|
+
const _ = {
|
|
9
|
+
id: "note-timeline",
|
|
10
|
+
capabilities: [],
|
|
11
|
+
state: {
|
|
12
|
+
notes: {
|
|
13
|
+
type: "Array<{ id?: string; pinned: boolean; flagged: boolean; clinical: boolean }>",
|
|
14
|
+
descriptionKey: "ui.agent.noteTimeline.state.notes",
|
|
15
|
+
description: "Structural snapshot of the rendered rows: ids and flags only, never note content or author.",
|
|
16
|
+
read: (t) => t.getNotes()
|
|
17
|
+
},
|
|
18
|
+
visibleCount: {
|
|
19
|
+
type: "number",
|
|
20
|
+
descriptionKey: "ui.agent.noteTimeline.state.visibleCount",
|
|
21
|
+
description: "How many notes are rendered, after the maxItems cap is applied.",
|
|
22
|
+
read: (t) => t.getVisibleCount()
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
actions: {},
|
|
26
|
+
domHooks: {
|
|
27
|
+
root: {
|
|
28
|
+
attr: "data-component",
|
|
29
|
+
value: "note-timeline",
|
|
30
|
+
description: "Marks the NoteTimeline root. Emits data-empty when there is nothing to show."
|
|
31
|
+
},
|
|
32
|
+
instanceId: {
|
|
33
|
+
attr: "data-component-id",
|
|
34
|
+
sourceProp: "id",
|
|
35
|
+
description: "Sourced from the id prop — addresses a specific timeline."
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}, z = l(
|
|
39
|
+
[
|
|
40
|
+
// Named group so the rail's connector can ask "is my ROW the last one?".
|
|
41
|
+
// A bare `last:` on the rail asks "am I the last child of my row?", which
|
|
42
|
+
// is never true — it is the middle of three — so the line ran on past the
|
|
43
|
+
// final dot and read as more content below.
|
|
44
|
+
"ds:group/note-row ds:relative ds:flex ds:gap-[var(--spacing-sm)]",
|
|
45
|
+
"ds:pb-3 ds:last:pb-0"
|
|
46
|
+
].join(" ")
|
|
47
|
+
), A = l(
|
|
48
|
+
[
|
|
49
|
+
"type-body-sm ds:[overflow-wrap:break-word]",
|
|
50
|
+
// `[&_p]:m-0` — the converter wraps each block in <p>; the timeline
|
|
51
|
+
// controls its own rhythm, so the paragraph margins are dropped.
|
|
52
|
+
"ds:[&_p]:m-0"
|
|
53
|
+
].join(" "),
|
|
54
|
+
{
|
|
55
|
+
variants: {
|
|
56
|
+
// Literal classes, one per supported value: Tailwind generates what it
|
|
57
|
+
// can see in the source, so an interpolated arbitrary value emits
|
|
58
|
+
// nothing and the body would silently never clamp.
|
|
59
|
+
lines: {
|
|
60
|
+
1: "ds:line-clamp-1",
|
|
61
|
+
2: "ds:line-clamp-2",
|
|
62
|
+
3: "ds:line-clamp-3",
|
|
63
|
+
4: "ds:line-clamp-4",
|
|
64
|
+
5: "ds:line-clamp-5"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
defaultVariants: { lines: 3 }
|
|
68
|
+
}
|
|
69
|
+
), H = l(
|
|
70
|
+
[
|
|
71
|
+
"ds:absolute ds:top-1 ds:start-0 ds:size-[9px]",
|
|
72
|
+
"ds:rounded-[var(--radius-full)] ds:border-2",
|
|
73
|
+
"ds:bg-[color:var(--background)]",
|
|
74
|
+
"ds:forced-colors:border-[CanvasText]"
|
|
75
|
+
].join(" "),
|
|
76
|
+
{
|
|
77
|
+
variants: {
|
|
78
|
+
tone: {
|
|
79
|
+
default: "ds:border-[color:var(--border)]",
|
|
80
|
+
pinned: [
|
|
81
|
+
"ds:border-[color:var(--accent)]",
|
|
82
|
+
"ds:bg-[color:color-mix(in_srgb,var(--accent)_20%,var(--background))]"
|
|
83
|
+
].join(" "),
|
|
84
|
+
flagged: [
|
|
85
|
+
"ds:border-[color:var(--warning-readable)]",
|
|
86
|
+
"ds:bg-[color:color-mix(in_srgb,var(--warning-readable)_20%,var(--background))]"
|
|
87
|
+
].join(" ")
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
defaultVariants: { tone: "default" }
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
function D(t) {
|
|
94
|
+
return [...t].sort((n, r) => !!n.pinned != !!r.pinned ? n.pinned ? -1 : 1 : r.dateIso.localeCompare(n.dateIso));
|
|
95
|
+
}
|
|
96
|
+
const P = T(
|
|
97
|
+
({
|
|
98
|
+
id: t,
|
|
99
|
+
notes: n,
|
|
100
|
+
maxItems: r = 3,
|
|
101
|
+
lines: h = 3,
|
|
102
|
+
locale: b,
|
|
103
|
+
emptyState: v,
|
|
104
|
+
"aria-label": x,
|
|
105
|
+
className: c,
|
|
106
|
+
...m
|
|
107
|
+
}, p) => {
|
|
108
|
+
const { t: i, i18n: N } = k(), o = b ?? N.language, d = u(
|
|
109
|
+
() => D(n).slice(0, Math.max(0, r)),
|
|
110
|
+
[n, r]
|
|
111
|
+
), g = u(
|
|
112
|
+
() => ({
|
|
113
|
+
dayMonth: new Intl.DateTimeFormat(o, {
|
|
114
|
+
day: "numeric",
|
|
115
|
+
month: "short"
|
|
116
|
+
}),
|
|
117
|
+
year: new Intl.DateTimeFormat(o, { year: "numeric" })
|
|
118
|
+
}),
|
|
119
|
+
[o]
|
|
120
|
+
);
|
|
121
|
+
return M(
|
|
122
|
+
_,
|
|
123
|
+
{
|
|
124
|
+
getNotes: () => d.map((e) => ({
|
|
125
|
+
id: e.id,
|
|
126
|
+
pinned: !!e.pinned,
|
|
127
|
+
flagged: !!e.flagged,
|
|
128
|
+
clinical: !!e.clinical
|
|
129
|
+
})),
|
|
130
|
+
getVisibleCount: () => d.length
|
|
131
|
+
},
|
|
132
|
+
t
|
|
133
|
+
), d.length === 0 ? /* @__PURE__ */ a(
|
|
134
|
+
"div",
|
|
135
|
+
{
|
|
136
|
+
ref: p,
|
|
137
|
+
"data-component": "note-timeline",
|
|
138
|
+
"data-component-id": t,
|
|
139
|
+
"data-empty": "",
|
|
140
|
+
className: c,
|
|
141
|
+
...m,
|
|
142
|
+
children: v
|
|
143
|
+
}
|
|
144
|
+
) : /* @__PURE__ */ a(
|
|
145
|
+
"div",
|
|
146
|
+
{
|
|
147
|
+
ref: p,
|
|
148
|
+
"data-component": "note-timeline",
|
|
149
|
+
"data-component-id": t,
|
|
150
|
+
role: "list",
|
|
151
|
+
"aria-label": x ?? i("noteTimeline.regionLabel"),
|
|
152
|
+
className: ["ds:flex ds:flex-col", c ?? ""].join(" ").trim(),
|
|
153
|
+
...m,
|
|
154
|
+
children: d.map((e) => {
|
|
155
|
+
const f = new Date(e.dateIso), w = e.pinned ? "pinned" : e.flagged ? "flagged" : "default", y = e.contentFormat === "html" ? e.content : C(e.content);
|
|
156
|
+
return /* @__PURE__ */ s(
|
|
157
|
+
"div",
|
|
158
|
+
{
|
|
159
|
+
role: "listitem",
|
|
160
|
+
"data-note-id": e.id,
|
|
161
|
+
"data-pinned": e.pinned ? "" : void 0,
|
|
162
|
+
"data-flagged": e.flagged ? "" : void 0,
|
|
163
|
+
className: z(),
|
|
164
|
+
children: [
|
|
165
|
+
/* @__PURE__ */ s("div", { className: "ds:w-12 ds:shrink-0 ds:pt-px ds:text-end ds:text-[length:var(--type-meta-size)] ds:leading-[1.3]", children: [
|
|
166
|
+
/* @__PURE__ */ a("div", { className: "ds:font-semibold ds:tracking-[0.03em] ds:uppercase", children: g.dayMonth.format(f) }),
|
|
167
|
+
/* @__PURE__ */ a("div", { className: "ds:text-[color:var(--muted-foreground)]", children: g.year.format(f) })
|
|
168
|
+
] }),
|
|
169
|
+
/* @__PURE__ */ a(
|
|
170
|
+
"div",
|
|
171
|
+
{
|
|
172
|
+
"aria-hidden": "true",
|
|
173
|
+
className: [
|
|
174
|
+
"ds:relative ds:w-[9px] ds:shrink-0",
|
|
175
|
+
"ds:before:absolute ds:before:start-[4px] ds:before:top-[14px]",
|
|
176
|
+
"ds:before:bottom-[-12px] ds:before:w-px",
|
|
177
|
+
'ds:before:bg-[color:var(--border)] ds:before:content-[""]',
|
|
178
|
+
"ds:group-last/note-row:before:hidden"
|
|
179
|
+
].join(" "),
|
|
180
|
+
children: /* @__PURE__ */ a("span", { className: H({ tone: w }) })
|
|
181
|
+
}
|
|
182
|
+
),
|
|
183
|
+
/* @__PURE__ */ s("div", { className: "ds:min-w-0 ds:flex-1", children: [
|
|
184
|
+
/* @__PURE__ */ a(
|
|
185
|
+
j,
|
|
186
|
+
{
|
|
187
|
+
html: y,
|
|
188
|
+
profile: e.contentFormat === "html" ? "rich-text" : "markdown",
|
|
189
|
+
className: A({ lines: h })
|
|
190
|
+
}
|
|
191
|
+
),
|
|
192
|
+
e.author || e.pinned || e.flagged || e.attachedTo ? /* @__PURE__ */ s("div", { className: "ds:mt-[var(--spacing-2xs)] ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)] type-meta ds:text-[color:var(--muted-foreground)]", children: [
|
|
193
|
+
e.author ? /* @__PURE__ */ a("span", { children: e.author.name }) : null,
|
|
194
|
+
e.pinned ? /* @__PURE__ */ s("span", { className: "ds:inline-flex ds:items-center", children: [
|
|
195
|
+
/* @__PURE__ */ a(
|
|
196
|
+
I,
|
|
197
|
+
{
|
|
198
|
+
"aria-hidden": "true",
|
|
199
|
+
className: "ds:size-3 ds:text-[color:var(--accent)]"
|
|
200
|
+
}
|
|
201
|
+
),
|
|
202
|
+
/* @__PURE__ */ a("span", { className: "ds:sr-only", children: i("noteTimeline.pinned") })
|
|
203
|
+
] }) : null,
|
|
204
|
+
e.flagged ? /* @__PURE__ */ s("span", { className: "ds:inline-flex ds:items-center", children: [
|
|
205
|
+
/* @__PURE__ */ a(
|
|
206
|
+
V,
|
|
207
|
+
{
|
|
208
|
+
"aria-hidden": "true",
|
|
209
|
+
className: "ds:size-3 ds:text-[color:var(--warning-readable)]"
|
|
210
|
+
}
|
|
211
|
+
),
|
|
212
|
+
/* @__PURE__ */ a("span", { className: "ds:sr-only", children: i("noteTimeline.flagged") })
|
|
213
|
+
] }) : null,
|
|
214
|
+
/* @__PURE__ */ a(F, { attachedTo: e.attachedTo })
|
|
215
|
+
] }) : null
|
|
216
|
+
] })
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
e.id ?? e.dateIso
|
|
220
|
+
);
|
|
221
|
+
})
|
|
222
|
+
}
|
|
223
|
+
);
|
|
224
|
+
}
|
|
225
|
+
);
|
|
226
|
+
P.displayName = "NoteTimeline";
|
|
227
|
+
export {
|
|
228
|
+
P as N,
|
|
229
|
+
_ as n
|
|
230
|
+
};
|
|
231
|
+
//# sourceMappingURL=note-timeline-CXfSV3yX.js.map
|
|
@@ -3,16 +3,16 @@ import { forwardRef as Ee, useRef as c, useState as P, useId as ze, useCallback
|
|
|
3
3
|
import { c as _e } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as Be } from "react-i18next";
|
|
5
5
|
import { u as qe } from "./registry-DvAUVLHh.js";
|
|
6
|
-
import { C as Ke } from "./clinical-note-card-
|
|
7
|
-
import { R as Me } from "./rich-text-editor-
|
|
6
|
+
import { C as Ke } from "./clinical-note-card-DdsGYMmI.js";
|
|
7
|
+
import { R as Me } from "./rich-text-editor-BTXlorm5.js";
|
|
8
8
|
import { T as We } from "./text-area-Bt3p7Pt0.js";
|
|
9
|
-
import { A as C } from "./alert-
|
|
9
|
+
import { A as C } from "./alert-CiQ5Pa3Q.js";
|
|
10
10
|
import { B as A } from "./button-nJaPh_HC.js";
|
|
11
|
-
import { I as Fe } from "./icon-button-
|
|
12
|
-
import { C as Oe } from "./checkbox-
|
|
11
|
+
import { I as Fe } from "./icon-button-8xqRnkdG.js";
|
|
12
|
+
import { C as Oe } from "./checkbox-CZkipDn7.js";
|
|
13
13
|
import { S as De } from "./spinner-hbwuKwMf.js";
|
|
14
14
|
import { D as f } from "./dialog-BJiLqhx6.js";
|
|
15
|
-
import { P as Ge } from "./panel-header-
|
|
15
|
+
import { P as Ge } from "./panel-header-D_mTdhUp.js";
|
|
16
16
|
import { a as Ye, u as Je, R as Qe } from "./use-list-reflow-Cw43nxw5.js";
|
|
17
17
|
import { u as Ue } from "./use-theme-CAuo6EYT.js";
|
|
18
18
|
import { N as Xe } from "./notebook-pen-CO7HoM-W.js";
|
|
@@ -466,4 +466,4 @@ export {
|
|
|
466
466
|
Rn as N,
|
|
467
467
|
ie as g
|
|
468
468
|
};
|
|
469
|
-
//# sourceMappingURL=notes-panel-
|
|
469
|
+
//# sourceMappingURL=notes-panel-Co8D3uDd.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as W, useMemo as E, useState as H, useRef as X, useCallback as q } from "react";
|
|
3
3
|
import { c as G } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as J } from "react-i18next";
|
|
5
|
-
import { I as O } from "./icon-button-
|
|
5
|
+
import { I as O } from "./icon-button-8xqRnkdG.js";
|
|
6
6
|
import { B as K } from "./button-nJaPh_HC.js";
|
|
7
7
|
import { T as Q } from "./timestamp-BV2lC-wV.js";
|
|
8
8
|
import { X as Y } from "./x-B5YnXwCz.js";
|
|
@@ -287,4 +287,4 @@ export {
|
|
|
287
287
|
ss as N,
|
|
288
288
|
A as i
|
|
289
289
|
};
|
|
290
|
-
//# sourceMappingURL=notification-card-
|
|
290
|
+
//# sourceMappingURL=notification-card-ChcK9Wat.js.map
|
|
@@ -5,13 +5,13 @@ import { c as A } from "./index-D2ZczOXr.js";
|
|
|
5
5
|
import { useTranslation as U } from "react-i18next";
|
|
6
6
|
import { u as ce } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
7
|
import { u as le } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
|
-
import { I as pe } from "./icon-button-
|
|
8
|
+
import { I as pe } from "./icon-button-8xqRnkdG.js";
|
|
9
9
|
import { B as F } from "./button-nJaPh_HC.js";
|
|
10
10
|
import { S as H } from "./separator-CYU_bGFn.js";
|
|
11
11
|
import { S as b } from "./skeleton-CZbwyJAA.js";
|
|
12
|
-
import { C as fe } from "./counter-
|
|
12
|
+
import { C as fe } from "./counter-WsvRuum1.js";
|
|
13
13
|
import { S as me } from "./scroll-area-BZOvUhwQ.js";
|
|
14
|
-
import { N as ue } from "./notification-card-
|
|
14
|
+
import { N as ue } from "./notification-card-ChcK9Wat.js";
|
|
15
15
|
import { u as ge } from "./registry-DvAUVLHh.js";
|
|
16
16
|
import { c as ve } from "./createLucideIcon-DhHxpK9K.js";
|
|
17
17
|
/**
|
|
@@ -496,4 +496,4 @@ export {
|
|
|
496
496
|
ze as N,
|
|
497
497
|
ye as n
|
|
498
498
|
};
|
|
499
|
-
//# sourceMappingURL=notification-tray-
|
|
499
|
+
//# sourceMappingURL=notification-tray-CJ8jOe-U.js.map
|
|
@@ -3,12 +3,12 @@ import { forwardRef as w, useId as A, useRef as O } from "react";
|
|
|
3
3
|
import { c as P } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as z } from "react-i18next";
|
|
5
5
|
import { A as j } from "./avatar-CkDeQOSI.js";
|
|
6
|
-
import { B as I } from "./badge-
|
|
6
|
+
import { B as I } from "./badge-BudgzTe_.js";
|
|
7
7
|
import { C as T } from "./card-DPmk26CL.js";
|
|
8
8
|
import { R as B } from "./rating-BYbUowdK.js";
|
|
9
9
|
import { u as F } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
10
10
|
import { u as K } from "./registry-DvAUVLHh.js";
|
|
11
|
-
import { c as S } from "./entity-card-
|
|
11
|
+
import { c as S } from "./entity-card-I-Gio5wo.js";
|
|
12
12
|
const V = {
|
|
13
13
|
id: "operator-hero",
|
|
14
14
|
// Purely observable hero region — no interactive affordances and no
|
|
@@ -199,4 +199,4 @@ export {
|
|
|
199
199
|
M as O,
|
|
200
200
|
V as o
|
|
201
201
|
};
|
|
202
|
-
//# sourceMappingURL=operator-hero-
|
|
202
|
+
//# sourceMappingURL=operator-hero-XIdwDmN2.js.map
|
|
@@ -6,7 +6,7 @@ import { u as qe } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { N as se } from "./number-input-Cgu2TtA8.js";
|
|
7
7
|
import { S as he } from "./select-CLSUnKjF.js";
|
|
8
8
|
import { T as Ke } from "./text-area-Bt3p7Pt0.js";
|
|
9
|
-
import { D as v } from "./description-list-
|
|
9
|
+
import { D as v } from "./description-list-C1RXMDZ_.js";
|
|
10
10
|
const ye = {
|
|
11
11
|
enum: ["od", "os"],
|
|
12
12
|
description: "Eye — `od` (right eye) or `os` (left eye)."
|
|
@@ -1257,4 +1257,4 @@ export {
|
|
|
1257
1257
|
yt as y,
|
|
1258
1258
|
Re as z
|
|
1259
1259
|
};
|
|
1260
|
-
//# sourceMappingURL=optical-prescription-
|
|
1260
|
+
//# sourceMappingURL=optical-prescription-cphK41eP.js.map
|
|
@@ -0,0 +1,128 @@
|
|
|
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-Cp-PLePW.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-D_mTdhUp.js.map
|