@alfadocs/ui-kit 1.34.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-WsDGBBut.js +425 -0
- package/dist/_chunks/appointment-timeline-ByfovxqR.js +449 -0
- package/dist/_chunks/{appointment-tray-6rg071CL.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-4NH1Z47_.js → calendar-workspace-Duv_5B4j.js} +2494 -2415
- package/dist/_chunks/{care-plan-card-CZW476Kg.js → care-plan-card-COFOI-fI.js} +5 -5
- package/dist/_chunks/{care-plan-entry-card-BMUYagEw.js → care-plan-entry-card-BOKn0KW-.js} +6 -6
- package/dist/_chunks/{care-plan-header-B5CBE0zu.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-DmrgYSEX.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-D7-iiFQ9.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-lmKLwsDs.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/appointment-card.d.ts +36 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +6 -0
- 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 +17 -0
- package/dist/i18n/locales/ar.js +18 -1
- package/dist/i18n/locales/de.d.ts +17 -0
- package/dist/i18n/locales/de.js +18 -1
- package/dist/i18n/locales/el.d.ts +17 -0
- package/dist/i18n/locales/el.js +18 -1
- package/dist/i18n/locales/en.d.ts +17 -0
- package/dist/i18n/locales/en.js +18 -1
- package/dist/i18n/locales/es.d.ts +17 -0
- package/dist/i18n/locales/es.js +18 -1
- package/dist/i18n/locales/fr.d.ts +17 -0
- package/dist/i18n/locales/fr.js +18 -1
- package/dist/i18n/locales/hi.d.ts +17 -0
- package/dist/i18n/locales/hi.js +18 -1
- package/dist/i18n/locales/it.d.ts +20 -3
- package/dist/i18n/locales/it.js +20 -3
- package/dist/i18n/locales/ja.d.ts +17 -0
- package/dist/i18n/locales/ja.js +18 -1
- package/dist/i18n/locales/nl.d.ts +17 -0
- package/dist/i18n/locales/nl.js +18 -1
- package/dist/i18n/locales/pl.d.ts +17 -0
- package/dist/i18n/locales/pl.js +18 -1
- package/dist/i18n/locales/pt.d.ts +17 -0
- package/dist/i18n/locales/pt.js +18 -1
- package/dist/i18n/locales/ro.d.ts +17 -0
- package/dist/i18n/locales/ro.js +18 -1
- package/dist/i18n/locales/ru.d.ts +17 -0
- package/dist/i18n/locales/ru.js +18 -1
- package/dist/i18n/locales/sq.d.ts +17 -0
- package/dist/i18n/locales/sq.js +18 -1
- package/dist/i18n/locales/sv.d.ts +17 -0
- package/dist/i18n/locales/sv.js +18 -1
- package/dist/i18n/locales/tr.d.ts +17 -0
- package/dist/i18n/locales/tr.js +18 -1
- package/dist/i18n/locales/zh.d.ts +17 -0
- package/dist/i18n/locales/zh.js +18 -1
- package/dist/index.js +929 -916
- package/dist/locales/ar.json +18 -1
- package/dist/locales/de.json +18 -1
- package/dist/locales/el.json +18 -1
- package/dist/locales/en.json +18 -1
- package/dist/locales/es.json +18 -1
- package/dist/locales/fr.json +18 -1
- package/dist/locales/hi.json +18 -1
- package/dist/locales/it.json +20 -3
- package/dist/locales/ja.json +18 -1
- package/dist/locales/nl.json +18 -1
- package/dist/locales/pl.json +18 -1
- package/dist/locales/pt.json +18 -1
- package/dist/locales/ro.json +18 -1
- package/dist/locales/ru.json +18 -1
- package/dist/locales/sq.json +18 -1
- package/dist/locales/sv.json +18 -1
- package/dist/locales/tr.json +18 -1
- package/dist/locales/zh.json +18 -1
- 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/appointment-card-D6mk39NB.js +0 -296
- package/dist/_chunks/appointment-timeline-D-V97Bhc.js +0 -403
- 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,511 @@
|
|
|
1
|
+
import { jsx as d, jsxs as U } from "react/jsx-runtime";
|
|
2
|
+
import { useState as J, useCallback as m, useRef as C, useEffect as P, useMemo as G, forwardRef as x, useContext as R, useId as de, createContext as S } from "react";
|
|
3
|
+
import * as T from "@radix-ui/react-popover";
|
|
4
|
+
import { c as ie } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { useTranslation as ce } from "react-i18next";
|
|
6
|
+
import { I as le } from "./icon-button-8xqRnkdG.js";
|
|
7
|
+
import { u as ue } from "./registry-DvAUVLHh.js";
|
|
8
|
+
import { X as pe } from "./x-B5YnXwCz.js";
|
|
9
|
+
const fe = {
|
|
10
|
+
id: "hover-card",
|
|
11
|
+
capabilities: ["open", "close"],
|
|
12
|
+
state: {
|
|
13
|
+
isOpen: {
|
|
14
|
+
type: "boolean",
|
|
15
|
+
descriptionKey: "ui.agent.hoverCard.state.isOpen",
|
|
16
|
+
description: "True when the hover card is currently open.",
|
|
17
|
+
read: (e) => e.getIsOpen()
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
actions: {
|
|
21
|
+
open: {
|
|
22
|
+
safety: "read",
|
|
23
|
+
idempotent: !0,
|
|
24
|
+
descriptionKey: "ui.agent.hoverCard.actions.open",
|
|
25
|
+
description: "Open the hover card without moving focus into it.",
|
|
26
|
+
invoke: (e) => {
|
|
27
|
+
e.open();
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
close: {
|
|
31
|
+
safety: "read",
|
|
32
|
+
idempotent: !0,
|
|
33
|
+
descriptionKey: "ui.agent.hoverCard.actions.close",
|
|
34
|
+
description: "Close the hover card.",
|
|
35
|
+
invoke: (e) => {
|
|
36
|
+
e.close();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
domHooks: {
|
|
41
|
+
root: { attr: "data-component", value: "hover-card" },
|
|
42
|
+
instanceId: {
|
|
43
|
+
attr: "data-component-id",
|
|
44
|
+
sourceProp: "id",
|
|
45
|
+
description: "Sourced from the id prop on HoverCard.Root."
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
function ve(e, t) {
|
|
50
|
+
return e === "top" || e === "bottom" ? e : e === "start" ? t ? "right" : "left" : t ? "left" : "right";
|
|
51
|
+
}
|
|
52
|
+
const Q = S({
|
|
53
|
+
headingId: void 0,
|
|
54
|
+
setHeadingId: () => {
|
|
55
|
+
}
|
|
56
|
+
}), V = S({
|
|
57
|
+
cancelClose: () => {
|
|
58
|
+
},
|
|
59
|
+
closeWithDelay: () => {
|
|
60
|
+
},
|
|
61
|
+
shouldFocusOnOpen: () => !1,
|
|
62
|
+
didMoveFocus: () => !1,
|
|
63
|
+
noteMovedFocus: () => {
|
|
64
|
+
},
|
|
65
|
+
noteFocusReturn: () => {
|
|
66
|
+
},
|
|
67
|
+
clearMovedFocus: () => {
|
|
68
|
+
},
|
|
69
|
+
registerContent: () => {
|
|
70
|
+
},
|
|
71
|
+
triggerRef: { current: null },
|
|
72
|
+
instanceId: void 0
|
|
73
|
+
}), E = S("default"), me = ie(
|
|
74
|
+
[
|
|
75
|
+
// Same elevated surface as Popover: `--card-border` at 32% alpha reads as
|
|
76
|
+
// a subtle edge in both themes, where the shadow alone lets the card
|
|
77
|
+
// float as an unbounded blob on dark. Forced colours upgrade it to a
|
|
78
|
+
// fully visible `CanvasText` edge.
|
|
79
|
+
"ds:relative ds:bg-[var(--popover)] ds:border ds:border-[color:var(--card-border)]",
|
|
80
|
+
"ds:rounded-[var(--radius-md)]",
|
|
81
|
+
"ds:shadow-[var(--shadow-lg)]",
|
|
82
|
+
"ds:max-w-[calc(100vw-var(--spacing-lg))]",
|
|
83
|
+
"ds:z-[var(--z-popover)]",
|
|
84
|
+
"ds:text-[var(--popover-foreground)] ds:text-[length:var(--font-size-sm)]",
|
|
85
|
+
"ds:break-words",
|
|
86
|
+
"ds:data-[state=open]:animate-in ds:data-[state=closed]:animate-out",
|
|
87
|
+
"ds:data-[state=closed]:fade-out-0 ds:data-[state=open]:fade-in-0",
|
|
88
|
+
"ds:data-[state=closed]:zoom-out-95 ds:data-[state=open]:zoom-in-95",
|
|
89
|
+
"ds:data-[side=bottom]:slide-in-from-top-2 ds:data-[side=left]:slide-in-from-right-2",
|
|
90
|
+
"ds:data-[side=right]:slide-in-from-left-2 ds:data-[side=top]:slide-in-from-bottom-2",
|
|
91
|
+
"ds:motion-reduce:transition-none ds:motion-reduce:animate-none",
|
|
92
|
+
"ds:forced-colors:border-[CanvasText]",
|
|
93
|
+
"ds:focus-visible:outline-none"
|
|
94
|
+
].join(" "),
|
|
95
|
+
{
|
|
96
|
+
variants: {
|
|
97
|
+
size: {
|
|
98
|
+
sm: "ds:w-[var(--popover-size-sm)]",
|
|
99
|
+
md: "ds:w-[var(--popover-size-md)]",
|
|
100
|
+
lg: "ds:w-[var(--popover-size-lg)]"
|
|
101
|
+
},
|
|
102
|
+
padding: {
|
|
103
|
+
default: "ds:p-[var(--spacing-md)]",
|
|
104
|
+
// Media bleeds to the edge, so the slots pad themselves instead.
|
|
105
|
+
flush: "ds:p-[var(--spacing-none)] ds:overflow-hidden"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
defaultVariants: {
|
|
109
|
+
size: "md",
|
|
110
|
+
padding: "default"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
);
|
|
114
|
+
function K({
|
|
115
|
+
children: e,
|
|
116
|
+
openOn: t = "hover-or-click",
|
|
117
|
+
open: o,
|
|
118
|
+
defaultOpen: c,
|
|
119
|
+
onOpenChange: l,
|
|
120
|
+
openDelay: g = 300,
|
|
121
|
+
closeDelay: p = 300,
|
|
122
|
+
id: f
|
|
123
|
+
}) {
|
|
124
|
+
const [I, H] = J(c ?? !1), n = o !== void 0, h = n ? o : I, a = m(
|
|
125
|
+
(v) => {
|
|
126
|
+
n || H(v), l == null || l(v);
|
|
127
|
+
},
|
|
128
|
+
[n, l]
|
|
129
|
+
), r = C(h);
|
|
130
|
+
P(() => {
|
|
131
|
+
r.current = h;
|
|
132
|
+
}, [h]);
|
|
133
|
+
const b = C(null), u = m(() => {
|
|
134
|
+
b.current && (clearTimeout(b.current), b.current = null);
|
|
135
|
+
}, []);
|
|
136
|
+
P(() => u, [u]);
|
|
137
|
+
const y = C(!1), O = C(!1), i = C(null), X = C(null), B = m(() => {
|
|
138
|
+
u(), b.current = setTimeout(() => {
|
|
139
|
+
y.current = !1, a(!0);
|
|
140
|
+
}, g);
|
|
141
|
+
}, [u, g, a]), w = m(() => {
|
|
142
|
+
u(), b.current = setTimeout(() => a(!1), p);
|
|
143
|
+
}, [u, p, a]), k = C(!1), N = C(null), z = m(() => {
|
|
144
|
+
k.current = !0, N.current && clearTimeout(N.current), N.current = setTimeout(() => {
|
|
145
|
+
k.current = !1;
|
|
146
|
+
}, 100);
|
|
147
|
+
}, []);
|
|
148
|
+
P(
|
|
149
|
+
() => () => {
|
|
150
|
+
N.current && clearTimeout(N.current);
|
|
151
|
+
},
|
|
152
|
+
[]
|
|
153
|
+
);
|
|
154
|
+
const W = m(() => {
|
|
155
|
+
if (k.current) {
|
|
156
|
+
k.current = !1;
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
u(), y.current = !1, a(!0);
|
|
160
|
+
}, [u, a]), j = m(() => {
|
|
161
|
+
var v;
|
|
162
|
+
O.current = !0, (v = i.current) == null || v.focus();
|
|
163
|
+
}, []), M = C(null), A = m(() => {
|
|
164
|
+
const v = i.current;
|
|
165
|
+
M.current = !!(v && v.contains(document.activeElement));
|
|
166
|
+
}, []), s = m(() => {
|
|
167
|
+
const v = M.current;
|
|
168
|
+
if (M.current = null, v === !0) {
|
|
169
|
+
a(!1);
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
y.current = !0, r.current ? j() : a(!0);
|
|
173
|
+
}, [j, a]), F = G(
|
|
174
|
+
() => ({
|
|
175
|
+
getIsOpen: () => r.current,
|
|
176
|
+
open: () => {
|
|
177
|
+
y.current = !1, a(!0);
|
|
178
|
+
},
|
|
179
|
+
close: () => a(!1)
|
|
180
|
+
}),
|
|
181
|
+
[a]
|
|
182
|
+
);
|
|
183
|
+
ue(fe, F, f);
|
|
184
|
+
const [q, oe] = J(void 0), D = t === "hover-or-click", ne = G(
|
|
185
|
+
() => ({
|
|
186
|
+
cancelClose: u,
|
|
187
|
+
closeWithDelay: D ? w : () => {
|
|
188
|
+
},
|
|
189
|
+
shouldFocusOnOpen: () => y.current,
|
|
190
|
+
didMoveFocus: () => O.current,
|
|
191
|
+
noteMovedFocus: () => {
|
|
192
|
+
O.current = !0;
|
|
193
|
+
},
|
|
194
|
+
noteFocusReturn: z,
|
|
195
|
+
clearMovedFocus: () => {
|
|
196
|
+
O.current = !1;
|
|
197
|
+
},
|
|
198
|
+
registerContent: (v) => {
|
|
199
|
+
i.current = v;
|
|
200
|
+
},
|
|
201
|
+
triggerRef: X,
|
|
202
|
+
instanceId: f
|
|
203
|
+
}),
|
|
204
|
+
[u, w, f, D, z]
|
|
205
|
+
), ae = G(
|
|
206
|
+
() => ({
|
|
207
|
+
isHoverMode: D,
|
|
208
|
+
openOnFocus: W,
|
|
209
|
+
openWithDelay: B,
|
|
210
|
+
closeWithDelay: w,
|
|
211
|
+
cancelClose: u,
|
|
212
|
+
notePressStart: A,
|
|
213
|
+
onClick: s
|
|
214
|
+
}),
|
|
215
|
+
[
|
|
216
|
+
u,
|
|
217
|
+
w,
|
|
218
|
+
s,
|
|
219
|
+
D,
|
|
220
|
+
A,
|
|
221
|
+
W,
|
|
222
|
+
B
|
|
223
|
+
]
|
|
224
|
+
);
|
|
225
|
+
return /* @__PURE__ */ d(Q.Provider, { value: { headingId: q, setHeadingId: oe }, children: /* @__PURE__ */ d(V.Provider, { value: ne, children: /* @__PURE__ */ d(Y.Provider, { value: ae, children: /* @__PURE__ */ d(T.Root, { open: h, onOpenChange: a, children: e }) }) }) });
|
|
226
|
+
}
|
|
227
|
+
K.displayName = "HoverCard.Root";
|
|
228
|
+
const Y = S({
|
|
229
|
+
isHoverMode: !0,
|
|
230
|
+
openOnFocus: () => {
|
|
231
|
+
},
|
|
232
|
+
openWithDelay: () => {
|
|
233
|
+
},
|
|
234
|
+
closeWithDelay: () => {
|
|
235
|
+
},
|
|
236
|
+
cancelClose: () => {
|
|
237
|
+
},
|
|
238
|
+
notePressStart: () => {
|
|
239
|
+
},
|
|
240
|
+
onClick: () => {
|
|
241
|
+
}
|
|
242
|
+
}), Z = x(
|
|
243
|
+
({
|
|
244
|
+
children: e,
|
|
245
|
+
onMouseEnter: t,
|
|
246
|
+
onMouseLeave: o,
|
|
247
|
+
onFocus: c,
|
|
248
|
+
onBlur: l,
|
|
249
|
+
onPointerDown: g,
|
|
250
|
+
onKeyDown: p,
|
|
251
|
+
onClick: f,
|
|
252
|
+
...I
|
|
253
|
+
}, H) => {
|
|
254
|
+
const n = R(Y), { triggerRef: h } = R(V), a = m(
|
|
255
|
+
(r) => {
|
|
256
|
+
h.current = r, typeof H == "function" ? H(r) : H && (H.current = r);
|
|
257
|
+
},
|
|
258
|
+
[H, h]
|
|
259
|
+
);
|
|
260
|
+
return /* @__PURE__ */ d(
|
|
261
|
+
T.Trigger,
|
|
262
|
+
{
|
|
263
|
+
ref: a,
|
|
264
|
+
onMouseEnter: (r) => {
|
|
265
|
+
n.isHoverMode && n.openWithDelay(), t == null || t(r);
|
|
266
|
+
},
|
|
267
|
+
onMouseLeave: (r) => {
|
|
268
|
+
n.isHoverMode && n.closeWithDelay(), o == null || o(r);
|
|
269
|
+
},
|
|
270
|
+
onFocus: (r) => {
|
|
271
|
+
n.isHoverMode && n.openOnFocus(), c == null || c(r);
|
|
272
|
+
},
|
|
273
|
+
onBlur: (r) => {
|
|
274
|
+
n.isHoverMode && n.closeWithDelay(), l == null || l(r);
|
|
275
|
+
},
|
|
276
|
+
onPointerDown: (r) => {
|
|
277
|
+
n.notePressStart(), g == null || g(r);
|
|
278
|
+
},
|
|
279
|
+
onKeyDown: (r) => {
|
|
280
|
+
(r.key === "Enter" || r.key === " ") && n.notePressStart(), p == null || p(r);
|
|
281
|
+
},
|
|
282
|
+
onClick: (r) => {
|
|
283
|
+
r.preventDefault(), n.onClick(), f == null || f(r);
|
|
284
|
+
},
|
|
285
|
+
...I,
|
|
286
|
+
children: e
|
|
287
|
+
}
|
|
288
|
+
);
|
|
289
|
+
}
|
|
290
|
+
);
|
|
291
|
+
Z.displayName = "HoverCard.Trigger";
|
|
292
|
+
const _ = x((e, t) => {
|
|
293
|
+
const { triggerRef: o } = R(V), c = m(
|
|
294
|
+
(l) => {
|
|
295
|
+
o.current = l, typeof t == "function" ? t(l) : t && (t.current = l);
|
|
296
|
+
},
|
|
297
|
+
[t, o]
|
|
298
|
+
);
|
|
299
|
+
return /* @__PURE__ */ d(T.Anchor, { ref: c, ...e });
|
|
300
|
+
});
|
|
301
|
+
_.displayName = "HoverCard.Anchor";
|
|
302
|
+
const $ = x(
|
|
303
|
+
({
|
|
304
|
+
side: e = "top",
|
|
305
|
+
align: t = "center",
|
|
306
|
+
size: o = "md",
|
|
307
|
+
padding: c = "default",
|
|
308
|
+
showArrow: l = !0,
|
|
309
|
+
showClose: g = !1,
|
|
310
|
+
headerAction: p,
|
|
311
|
+
dir: f,
|
|
312
|
+
className: I,
|
|
313
|
+
children: H,
|
|
314
|
+
onOpenAutoFocus: n,
|
|
315
|
+
onCloseAutoFocus: h,
|
|
316
|
+
onMouseEnter: a,
|
|
317
|
+
onMouseLeave: r,
|
|
318
|
+
onFocusCapture: b,
|
|
319
|
+
...u
|
|
320
|
+
}, y) => {
|
|
321
|
+
const { headingId: O } = R(Q), i = R(V), { t: X } = ce(), [B, w] = J(!1), k = C(null), N = m(
|
|
322
|
+
(s) => {
|
|
323
|
+
k.current = s, i.registerContent(s), typeof y == "function" ? y(s) : y && (y.current = s);
|
|
324
|
+
},
|
|
325
|
+
[y, i]
|
|
326
|
+
);
|
|
327
|
+
P(() => {
|
|
328
|
+
const s = i.triggerRef.current, F = s == null ? void 0 : s.closest("[dir]"), q = (F == null ? void 0 : F.getAttribute("dir")) ?? document.documentElement.dir ?? "ltr";
|
|
329
|
+
w(q === "rtl");
|
|
330
|
+
}, [i.triggerRef]);
|
|
331
|
+
const z = f ?? (B ? "rtl" : "ltr"), W = z === "rtl", j = ve(e, W), A = W && (j === "top" || j === "bottom") && t !== "center" ? t === "start" ? "end" : "start" : t;
|
|
332
|
+
return /* @__PURE__ */ d(T.Portal, { children: /* @__PURE__ */ U(
|
|
333
|
+
T.Content,
|
|
334
|
+
{
|
|
335
|
+
ref: N,
|
|
336
|
+
dir: z,
|
|
337
|
+
side: j,
|
|
338
|
+
align: A,
|
|
339
|
+
sideOffset: 8,
|
|
340
|
+
collisionPadding: 8,
|
|
341
|
+
"aria-labelledby": O,
|
|
342
|
+
className: me({ size: o, padding: c, className: I }),
|
|
343
|
+
"data-component": "hover-card",
|
|
344
|
+
"data-component-id": i.instanceId,
|
|
345
|
+
onOpenAutoFocus: (s) => {
|
|
346
|
+
i.shouldFocusOnOpen() ? i.noteMovedFocus() : s.preventDefault(), n == null || n(s);
|
|
347
|
+
},
|
|
348
|
+
onCloseAutoFocus: (s) => {
|
|
349
|
+
i.didMoveFocus() ? i.noteFocusReturn() : s.preventDefault(), i.clearMovedFocus(), h == null || h(s);
|
|
350
|
+
},
|
|
351
|
+
onMouseEnter: (s) => {
|
|
352
|
+
i.cancelClose(), a == null || a(s);
|
|
353
|
+
},
|
|
354
|
+
onMouseLeave: (s) => {
|
|
355
|
+
i.closeWithDelay(), r == null || r(s);
|
|
356
|
+
},
|
|
357
|
+
onFocusCapture: (s) => {
|
|
358
|
+
i.cancelClose(), b == null || b(s);
|
|
359
|
+
},
|
|
360
|
+
...u,
|
|
361
|
+
children: [
|
|
362
|
+
/* @__PURE__ */ d(E.Provider, { value: c, children: H }),
|
|
363
|
+
g || p ? /* @__PURE__ */ U(
|
|
364
|
+
"div",
|
|
365
|
+
{
|
|
366
|
+
className: [
|
|
367
|
+
"ds:absolute ds:top-[var(--spacing-sm)] ds:end-[var(--spacing-sm)]",
|
|
368
|
+
"ds:z-[1] ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]"
|
|
369
|
+
].join(" "),
|
|
370
|
+
children: [
|
|
371
|
+
p,
|
|
372
|
+
g ? /* @__PURE__ */ d(T.Close, { asChild: !0, children: /* @__PURE__ */ d(
|
|
373
|
+
le,
|
|
374
|
+
{
|
|
375
|
+
icon: /* @__PURE__ */ d(pe, {}),
|
|
376
|
+
intent: "ghost",
|
|
377
|
+
size: "sm",
|
|
378
|
+
"aria-label": X("common.close", "Close")
|
|
379
|
+
}
|
|
380
|
+
) }) : null
|
|
381
|
+
]
|
|
382
|
+
}
|
|
383
|
+
) : null,
|
|
384
|
+
l ? (
|
|
385
|
+
// Radix places the arrow on the resolved side and keeps it over
|
|
386
|
+
// the trigger through collision flip and shift.
|
|
387
|
+
//
|
|
388
|
+
// A custom path, not the default polygon, so the card's OUTLINE
|
|
389
|
+
// carries on around the point instead of stopping dead at it. The
|
|
390
|
+
// path is left open (no `Z`), so the fill closes the triangle
|
|
391
|
+
// while the stroke draws only the two slanted sides — a closed
|
|
392
|
+
// path would rule a line straight across the arrow's base.
|
|
393
|
+
// `-translate-y-px` then tucks that base a hairline under the
|
|
394
|
+
// card, so the card's own border does not show through it. The
|
|
395
|
+
// translate is applied inside Radix's rotation wrapper, so "up"
|
|
396
|
+
// means "towards the card" on every side.
|
|
397
|
+
/* @__PURE__ */ d(T.Arrow, { asChild: !0, width: 12, height: 6, children: /* @__PURE__ */ d(
|
|
398
|
+
"svg",
|
|
399
|
+
{
|
|
400
|
+
viewBox: "0 0 12 6",
|
|
401
|
+
preserveAspectRatio: "none",
|
|
402
|
+
"aria-hidden": "true",
|
|
403
|
+
className: "ds:-translate-y-px ds:fill-[var(--popover)] ds:stroke-[color:var(--card-border)]",
|
|
404
|
+
children: /* @__PURE__ */ d("path", { d: "M0 0 L6 6 L12 0", strokeLinejoin: "round" })
|
|
405
|
+
}
|
|
406
|
+
) })
|
|
407
|
+
) : null
|
|
408
|
+
]
|
|
409
|
+
}
|
|
410
|
+
) });
|
|
411
|
+
}
|
|
412
|
+
);
|
|
413
|
+
$.displayName = "HoverCard.Content";
|
|
414
|
+
const L = x(({ className: e, ...t }, o) => /* @__PURE__ */ d(
|
|
415
|
+
"div",
|
|
416
|
+
{
|
|
417
|
+
ref: o,
|
|
418
|
+
"data-slot": "media",
|
|
419
|
+
className: ["ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", e].filter(Boolean).join(" "),
|
|
420
|
+
...t
|
|
421
|
+
}
|
|
422
|
+
));
|
|
423
|
+
L.displayName = "HoverCard.Media";
|
|
424
|
+
const ee = x(({ className: e, ...t }, o) => /* @__PURE__ */ d(
|
|
425
|
+
"p",
|
|
426
|
+
{
|
|
427
|
+
ref: o,
|
|
428
|
+
"data-slot": "eyebrow",
|
|
429
|
+
className: [
|
|
430
|
+
"ds:m-0 type-eyebrow ds:text-[color:var(--muted-foreground)]",
|
|
431
|
+
e
|
|
432
|
+
].filter(Boolean).join(" "),
|
|
433
|
+
...t
|
|
434
|
+
}
|
|
435
|
+
));
|
|
436
|
+
ee.displayName = "HoverCard.Eyebrow";
|
|
437
|
+
const te = x(
|
|
438
|
+
({ as: e = "h3", id: t, className: o, ...c }, l) => {
|
|
439
|
+
const g = de(), p = t ?? g, { setHeadingId: f } = R(Q), I = R(E);
|
|
440
|
+
return P(() => (f(p), () => f(void 0)), [p, f]), /* @__PURE__ */ d(
|
|
441
|
+
e,
|
|
442
|
+
{
|
|
443
|
+
ref: l,
|
|
444
|
+
id: p,
|
|
445
|
+
"data-slot": "heading",
|
|
446
|
+
className: [
|
|
447
|
+
"type-title-item ds:leading-snug ds:break-words",
|
|
448
|
+
I === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-md)]" : "",
|
|
449
|
+
o
|
|
450
|
+
].filter(Boolean).join(" "),
|
|
451
|
+
...c
|
|
452
|
+
}
|
|
453
|
+
);
|
|
454
|
+
}
|
|
455
|
+
);
|
|
456
|
+
te.displayName = "HoverCard.Heading";
|
|
457
|
+
const re = x(({ className: e, ...t }, o) => {
|
|
458
|
+
const c = R(E);
|
|
459
|
+
return /* @__PURE__ */ d(
|
|
460
|
+
"div",
|
|
461
|
+
{
|
|
462
|
+
ref: o,
|
|
463
|
+
"data-slot": "body",
|
|
464
|
+
className: [
|
|
465
|
+
"type-body-sm ds:text-[var(--muted-foreground)]",
|
|
466
|
+
"ds:mt-[var(--spacing-xs)]",
|
|
467
|
+
c === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pb-[var(--spacing-md)]" : "",
|
|
468
|
+
e
|
|
469
|
+
].filter(Boolean).join(" "),
|
|
470
|
+
...t
|
|
471
|
+
}
|
|
472
|
+
);
|
|
473
|
+
});
|
|
474
|
+
re.displayName = "HoverCard.Body";
|
|
475
|
+
const se = x(({ className: e, ...t }, o) => {
|
|
476
|
+
const c = R(E);
|
|
477
|
+
return /* @__PURE__ */ d(
|
|
478
|
+
"div",
|
|
479
|
+
{
|
|
480
|
+
ref: o,
|
|
481
|
+
"data-slot": "footer",
|
|
482
|
+
className: [
|
|
483
|
+
"ds:flex ds:flex-wrap ds:items-center ds:justify-end",
|
|
484
|
+
"ds:gap-[var(--spacing-sm)]",
|
|
485
|
+
"ds:border-t ds:border-[color:var(--card-border)]",
|
|
486
|
+
c === "flush" ? "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]" : "ds:mt-[var(--spacing-md)] ds:pt-[var(--spacing-md)]",
|
|
487
|
+
e
|
|
488
|
+
].filter(Boolean).join(" "),
|
|
489
|
+
...t
|
|
490
|
+
}
|
|
491
|
+
);
|
|
492
|
+
});
|
|
493
|
+
se.displayName = "HoverCard.Footer";
|
|
494
|
+
const xe = Object.assign(K, {
|
|
495
|
+
Root: K,
|
|
496
|
+
Trigger: Z,
|
|
497
|
+
// Anchor the card to an arbitrary element when a trigger button is
|
|
498
|
+
// unsuitable, such as a calendar grid cell.
|
|
499
|
+
Anchor: _,
|
|
500
|
+
Content: $,
|
|
501
|
+
Media: L,
|
|
502
|
+
Eyebrow: ee,
|
|
503
|
+
Heading: te,
|
|
504
|
+
Body: re,
|
|
505
|
+
Footer: se
|
|
506
|
+
});
|
|
507
|
+
export {
|
|
508
|
+
xe as H,
|
|
509
|
+
fe as h
|
|
510
|
+
};
|
|
511
|
+
//# sourceMappingURL=hover-card-Bcku1GQu.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as b } from "react";
|
|
3
3
|
import { B as u } from "./button-nJaPh_HC.js";
|
|
4
4
|
import { c as p } from "./index-D2ZczOXr.js";
|
|
5
|
-
import { T as h } from "./tooltip-
|
|
5
|
+
import { T as h } from "./tooltip-Cp-PLePW.js";
|
|
6
6
|
const g = p(
|
|
7
7
|
[
|
|
8
8
|
"ds:p-0",
|
|
@@ -75,4 +75,4 @@ x.displayName = "IconButton";
|
|
|
75
75
|
export {
|
|
76
76
|
x as I
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=icon-button-
|
|
78
|
+
//# sourceMappingURL=icon-button-8xqRnkdG.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as T } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as Se, useState as W, useCallback as H, useRef as F, Children as be, isValidElement as _, useEffect as ve, cloneElement as ye } from "react";
|
|
3
3
|
import { c as Be } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as Ke } from "react-i18next";
|
|
5
|
-
import { I as he } from "./icon-button-
|
|
5
|
+
import { I as he } from "./icon-button-8xqRnkdG.js";
|
|
6
6
|
import { D as k } from "./dropdown-menu-DU-Hrf33.js";
|
|
7
7
|
import { u as Pe } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
8
|
import { u as Te } from "./use-priority-overflow-c9SjxZkZ.js";
|
|
@@ -412,4 +412,4 @@ function Ge(d, y, m, c) {
|
|
|
412
412
|
export {
|
|
413
413
|
_e as I
|
|
414
414
|
};
|
|
415
|
-
//# sourceMappingURL=icon-button-group-
|
|
415
|
+
//# sourceMappingURL=icon-button-group-Dj6CRoYR.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as N, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as H, useState as y, useRef as h, useCallback as v, useMemo as b } from "react";
|
|
3
3
|
import { c as M } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as F } from "react-i18next";
|
|
5
|
-
import { P as k } from "./popover-
|
|
5
|
+
import { P as k } from "./popover-DzR5QYxp.js";
|
|
6
6
|
import { B as D } from "./button-nJaPh_HC.js";
|
|
7
7
|
import { T as E } from "./text-input-CUvCb6ST.js";
|
|
8
8
|
import { u as G } from "./registry-DvAUVLHh.js";
|
|
@@ -269,4 +269,4 @@ export {
|
|
|
269
269
|
X as I,
|
|
270
270
|
U as i
|
|
271
271
|
};
|
|
272
|
-
//# sourceMappingURL=icon-picker-
|
|
272
|
+
//# sourceMappingURL=icon-picker-CTWzlHJr.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as u, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as I, useState as O, useRef as m, useEffect as k, useMemo as z } from "react";
|
|
3
3
|
import { c as C } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as D } from "react-i18next";
|
|
5
|
-
import { P as o } from "./popover-
|
|
5
|
+
import { P as o } from "./popover-DzR5QYxp.js";
|
|
6
6
|
import { u as P } from "./registry-DvAUVLHh.js";
|
|
7
7
|
import { I as A } from "./info-CGn22peZ.js";
|
|
8
8
|
const R = {
|
|
@@ -163,4 +163,4 @@ export {
|
|
|
163
163
|
j as I,
|
|
164
164
|
R as i
|
|
165
165
|
};
|
|
166
|
-
//# sourceMappingURL=info-tip-
|
|
166
|
+
//# sourceMappingURL=info-tip-ey_Pon2y.js.map
|