@alfadocs/ui-kit 1.38.0 → 1.39.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-CUn1pqEq.js → actions-cell-renderer-BXBy9c0f.js} +3 -3
- package/dist/_chunks/{agenda-tray-CG6jUjKc.js → agenda-tray-CBaJASb5.js} +3 -3
- package/dist/_chunks/{ai-consent-banner-De4gzSBZ.js → ai-consent-banner-DvtaM3yg.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-DdxlaI7q.js → ai-prompt-input-DXknpQCB.js} +2 -2
- package/dist/_chunks/{alia-sidebar-B6bXlZZk.js → alia-sidebar-CUqaJNPQ.js} +7 -7
- package/dist/_chunks/{anamnesis-card-DGwINeNn.js → anamnesis-card-xtEhyojD.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-Cxtgo2ok.js → anamnesis-summary-rows-DQUqwWc1.js} +7 -7
- package/dist/_chunks/{appointment-card-WsDGBBut.js → appointment-card-TgR_2GKS.js} +134 -102
- package/dist/_chunks/{appointment-peek-5S4O1VQP.js → appointment-peek-abiR0T9e.js} +3 -3
- package/dist/_chunks/{appointment-timeline-D-rNwKpS.js → appointment-timeline-CCnyUYKz.js} +67 -63
- package/dist/_chunks/{appointment-tray-CK2CULg_.js → appointment-tray-N0yEI8UF.js} +4 -4
- package/dist/_chunks/{audio-recorder-BlQBC7N_.js → audio-recorder-B7dT-Y3v.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-DHs5p0bA.js → balance-badge-cell-o6LldMUA.js} +5 -5
- package/dist/_chunks/{bishop-score-D5b8tktp.js → bishop-score-Cu70iv9C.js} +2 -2
- package/dist/_chunks/{bmi-calculator-dOKP-vW4.js → bmi-calculator-C9N19aLX.js} +2 -2
- package/dist/_chunks/{booking-x3J7sS2G.js → booking-Dn3jvv3K.js} +5 -5
- package/dist/_chunks/{button-nJaPh_HC.js → button-CaUe1uyd.js} +11 -7
- package/dist/_chunks/{button-group-QmN1VdUW.js → button-group-R32U7SyV.js} +2 -2
- package/dist/_chunks/{calendar-7GAUlsNO.js → calendar-ChJQzRw-.js} +2 -2
- package/dist/_chunks/calendar-workspace-B-fUbm62.js +11372 -0
- package/dist/_chunks/{care-plan-card-COFOI-fI.js → care-plan-card-BOv0NRle.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-BOKn0KW-.js → care-plan-entry-card-d-rZD4li.js} +3 -3
- package/dist/_chunks/{care-plan-header-CbuOuVBw.js → care-plan-header-CEmBXn6-.js} +2 -2
- package/dist/_chunks/{carousel.agent-Dv4a4M8L.js → carousel.agent-z1yLBpyC.js} +2 -2
- package/dist/_chunks/{chart-iWl76PXv.js → chart-PF2krCZC.js} +3 -3
- package/dist/_chunks/{chat-input-qM5QpUSq.js → chat-input-Cj7ZYQr5.js} +2 -2
- package/dist/_chunks/{chat-message-RniXtrCH.js → chat-message-BMVxiUIX.js} +3 -3
- package/dist/_chunks/{code-block-uVjNSI9g.js → code-block-BB-viuTn.js} +2 -2
- package/dist/_chunks/{connection-status-OEsWjmRk.js → connection-status-BmA9T0UO.js} +3 -3
- package/dist/_chunks/{contact-profile-card--My1H2UD.js → contact-profile-card-Zt6WNg1u.js} +2 -2
- package/dist/_chunks/{control-room-rail-DQoHdE1U.js → control-room-rail-CnNZusR5.js} +3 -3
- package/dist/_chunks/{copy-field-fYKpl6aN.js → copy-field-B8XRVmQv.js} +2 -2
- package/dist/_chunks/credit-card-D9XZsHGA.js +15 -0
- package/dist/_chunks/{cycle-calculator-BJeaXiZv.js → cycle-calculator-BH2StWoT.js} +2 -2
- package/dist/_chunks/{dashboard-grid-B23BFzRl.js → dashboard-grid-BcXWL5S9.js} +2 -2
- package/dist/_chunks/{data-table-Dy1lyumT.js → data-table-CcAx_I1w.js} +6 -6
- package/dist/_chunks/{data-table-tabs-BMR0zsVQ.js → data-table-tabs-B9SXA5VP.js} +3 -3
- package/dist/_chunks/{description-list-C1RXMDZ_.js → description-list-BsJ_6CQE.js} +2 -2
- package/dist/_chunks/{document-preview-DsEyRcNd.js → document-preview-COV0BC6n.js} +2 -2
- package/dist/_chunks/{document-scanner-CbWVtm7u.js → document-scanner-B1abl-A4.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Dhc9Ljkb.js → due-date-calculator-Buh_mVHq.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-D7blbDFY.js → editable-currency-cell-renderer-Psb6XKHR.js} +3 -3
- package/dist/_chunks/{editable-description-7ptNpJEg.js → editable-description-ADMVFPUz.js} +3 -3
- package/dist/_chunks/{editor-overlay-8fKAcRsm.js → editor-overlay-9tcPXNWt.js} +2 -2
- package/dist/_chunks/{empty-state-X0sVPfVo.js → empty-state-BUN_UAWf.js} +2 -2
- package/dist/_chunks/{entity-summary-BbW0mIzU.js → entity-summary-DXejuQ8i.js} +3 -3
- package/dist/_chunks/{error-boundary-ayXFCcq4.js → error-boundary-BNT2iQ1w.js} +2 -2
- package/dist/_chunks/{face-scheme-uFvhqz6h.js → face-scheme-Dg6ZyLKb.js} +5 -5
- package/dist/_chunks/{fetal-weight-C6SxchOv.js → fetal-weight-wx4ycKc6.js} +2 -2
- package/dist/_chunks/{field-array-C9dmRaIM.js → field-array-BW9KeeXG.js} +3 -3
- package/dist/_chunks/{file-manager-UlcYQv8n.js → file-manager-BfLQxF5t.js} +136 -150
- package/dist/_chunks/{finished-terminal-Br61Ip4e.js → finished-terminal-DJd7Z_po.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-CkwIdB1y.js → fiscal-code-input-ODQRd_Sw.js} +2 -2
- package/dist/_chunks/folder-BghC8_S2.js +20 -0
- package/dist/_chunks/{freemium-paywall-BqGk_SBU.js → freemium-paywall-Cz-O9lQD.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-DDOGaPvg.js → gestational-age-calculator-CwbecTul.js} +2 -2
- package/dist/_chunks/{hcg-doubling-Bb_n6tEa.js → hcg-doubling-BcXriXJe.js} +2 -2
- package/dist/_chunks/{header-BZ4pZlJV.js → header-3o9o9v_T.js} +2 -2
- package/dist/_chunks/{header-settings-B8mLc03Q.js → header-settings-CTe45iDy.js} +4 -4
- package/dist/_chunks/{hover-card-Bcku1GQu.js → hover-card-BMJBVqIf.js} +2 -2
- package/dist/_chunks/{icon-button-8xqRnkdG.js → icon-button-CehAeZoP.js} +2 -2
- package/dist/_chunks/{icon-button-group-Dj6CRoYR.js → icon-button-group-DkkdIygu.js} +2 -2
- package/dist/_chunks/{icon-picker-CTWzlHJr.js → icon-picker-DMEelg9v.js} +3 -3
- package/dist/_chunks/{image-cropper-C84NDTB7.js → image-cropper-BjPjT7wU.js} +2 -2
- package/dist/_chunks/{info-tip-ey_Pon2y.js → info-tip-iP2Pm9dh.js} +2 -2
- package/dist/_chunks/{insert-result-LCNTskNJ.js → insert-result-DPnOBD85.js} +2 -2
- package/dist/_chunks/{key-value-pair-DczGb4yz.js → key-value-pair-DaQI_LZB.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-BNa8x6oJ.js → link-cell-renderer-s3oHzOwi.js} +2 -2
- package/dist/_chunks/{locale-picker-BLeHbFSc.js → locale-picker-CH3kfrIG.js} +3 -3
- package/dist/_chunks/{map-view-CCAlC9IL.js → map-view-CHw4RL6w.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-BwH6Aruw.js → marketplace-app-shell-d2EtcUbe.js} +4 -4
- package/dist/_chunks/{message-card-Dm5Xshup.js → message-card-V3sFPiQI.js} +3 -3
- package/dist/_chunks/{message-tray-CXjVsKqp.js → message-tray-CrRIHfiQ.js} +4 -4
- package/dist/_chunks/{note-timeline-D2oPuQP6.js → note-timeline-Dn_XTo1s.js} +131 -90
- package/dist/_chunks/{notes-panel-CkbfDDzj.js → notes-panel-CAD1Ytcj.js} +276 -243
- package/dist/_chunks/{notification-card-ChcK9Wat.js → notification-card-B2gLO6dK.js} +3 -3
- package/dist/_chunks/{notification-tray-_NoChRKi.js → notification-tray-BOEKegVV.js} +4 -4
- package/dist/_chunks/{optical-prescription-cphK41eP.js → optical-prescription-LGgmtcST.js} +2 -2
- package/dist/_chunks/{panel-subview-BNXN8OEL.js → panel-subview-Cc2Wtt7D.js} +52 -52
- package/dist/_chunks/{patient-details-2cIaL-Zb.js → patient-details-C8ImUrVg.js} +3 -3
- package/dist/_chunks/{patient-field-row-IHb2VFc2.js → patient-field-row-BRSOKvme.js} +7 -7
- package/dist/_chunks/{patient-search-D08b6jgj.js → patient-search-5QcmQKJD.js} +2 -2
- package/dist/_chunks/{patient-summary-card-B131Q7Bp.js → patient-summary-card-BhmKB2KR.js} +7 -7
- package/dist/_chunks/{payment-automation-upsell-BLTdE2em.js → payment-automation-upsell-BKmBXU4i.js} +17 -16
- package/dist/_chunks/{payment-request-card-BxcdvxKR.js → payment-request-card-Cer6XXCn.js} +6 -5
- package/dist/_chunks/{periodontal-chart-BF_e3wZp.js → periodontal-chart-DJoZS_o7.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-BJEuJuzh.js → periodontal-chart-card-Nd1ZoYWb.js} +2 -2
- package/dist/_chunks/{popover-DzR5QYxp.js → popover-DO-pssF3.js} +2 -2
- package/dist/_chunks/{practice-results-CBNRJNnY.js → practice-results-D_jjzwgf.js} +5 -5
- package/dist/_chunks/{pregnancy-dating-nV1_S6w0.js → pregnancy-dating-DcyV9ZRD.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-tRecShAD.js → pregnancy-weight-gain-Bfq4Kwt5.js} +2 -2
- package/dist/_chunks/{privacy-lock-Be39vQUN.js → privacy-lock-CbFCAMM3.js} +3 -3
- package/dist/_chunks/{product-hub-panel-C3bMjscm.js → product-hub-panel-w40-_-1s.js} +3 -3
- package/dist/_chunks/{public-header.agent-Bl1KFwSE.js → public-header.agent-D-EBVskf.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-k0G7JuoM.js → radiograph-panel.agent-LrILY2lN.js} +4 -4
- package/dist/_chunks/{receipt-euro-C6k4Gzhr.js → receipt-euro-B1cLM_TN.js} +3 -14
- package/dist/_chunks/{reviews-panel-Cy969x7q.js → reviews-panel-2GVuxGeT.js} +4 -4
- package/dist/_chunks/{rich-text-editor-BTXlorm5.js → rich-text-editor-C6fE-uP4.js} +5 -5
- package/dist/_chunks/{session-countdown-QMsnRa1x.js → session-countdown-BqppPrw6.js} +2 -2
- package/dist/_chunks/{sheet-hm04DGFd.js → sheet-C8WIDFS8.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-BLe_quy5.js → sign-in-with-alfadocs-button-DWwBJtyE.js} +2 -2
- package/dist/_chunks/{signature-request-b-86AGlT.js → signature-request-D_j2aQu1.js} +359 -370
- package/dist/_chunks/{slot-grid-Bk3GZL1p.js → slot-grid-B3eOPkKD.js} +4 -4
- package/dist/_chunks/{streaming-text-DjFqLSt_.js → streaming-text-CE1u_oGa.js} +2 -2
- package/dist/_chunks/{task-tray-5co9Jr2L.js → task-tray-DIwjAIes.js} +3 -3
- package/dist/_chunks/{tasks-panel-BpH-x7U3.js → tasks-panel-CpcikOeY.js} +5 -5
- package/dist/_chunks/{theme-toggle-CMz8YfC1.js → theme-toggle-bI0pgDDv.js} +3 -3
- package/dist/_chunks/{toast-8jqtbfAB.js → toast-ZZfhA5u0.js} +2 -2
- package/dist/_chunks/{token-insert-menu-9Um0JinI.js → token-insert-menu-A9B5AJw6.js} +2 -2
- package/dist/_chunks/tool-rail-D89USYE6.js +799 -0
- package/dist/_chunks/{tooth-scheme-BWkYxxjR.js → tooth-scheme-DPAq0vQK.js} +3 -3
- package/dist/_chunks/{transaction-chip-Dth1nThY.js → transaction-chip-CwgcJiqF.js} +47 -46
- package/dist/_chunks/{unit-converter-BTgU50gk.js → unit-converter-C-LpGzrN.js} +2 -2
- package/dist/_chunks/user-plus-BtcOLgNU.js +17 -0
- package/dist/_chunks/{warning-stack-BW5Dwb3z.js → warning-stack-C0glSB7p.js} +3 -3
- package/dist/_chunks/{workflow-map-CXdsxvUj.js → workflow-map-DhR_h5yw.js} +5 -5
- package/dist/agent-catalog.json +3 -418
- package/dist/agent-i18n/en.json +2 -18
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +24 -0
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +15 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/note-timeline/note-timeline.d.ts +9 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +5 -4
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/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-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-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/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +7 -0
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-compat.css +13 -4
- package/dist/i18n/locales/ar.d.ts +235 -183
- package/dist/i18n/locales/ar.js +239 -187
- package/dist/i18n/locales/de.d.ts +219 -167
- package/dist/i18n/locales/de.js +223 -171
- package/dist/i18n/locales/el.d.ts +234 -182
- package/dist/i18n/locales/el.js +238 -186
- package/dist/i18n/locales/en.d.ts +52 -0
- package/dist/i18n/locales/en.js +56 -4
- package/dist/i18n/locales/es.d.ts +227 -175
- package/dist/i18n/locales/es.js +231 -179
- package/dist/i18n/locales/fr.d.ts +221 -169
- package/dist/i18n/locales/fr.js +225 -173
- package/dist/i18n/locales/hi.d.ts +235 -183
- package/dist/i18n/locales/hi.js +243 -187
- package/dist/i18n/locales/it.d.ts +179 -127
- package/dist/i18n/locales/it.js +183 -131
- package/dist/i18n/locales/ja.d.ts +233 -181
- package/dist/i18n/locales/ja.js +237 -185
- package/dist/i18n/locales/nl.d.ts +224 -172
- package/dist/i18n/locales/nl.js +228 -176
- package/dist/i18n/locales/pl.d.ts +229 -177
- package/dist/i18n/locales/pl.js +233 -181
- package/dist/i18n/locales/pt.d.ts +229 -177
- package/dist/i18n/locales/pt.js +233 -181
- package/dist/i18n/locales/ro.d.ts +228 -176
- package/dist/i18n/locales/ro.js +232 -180
- package/dist/i18n/locales/ru.d.ts +234 -182
- package/dist/i18n/locales/ru.js +238 -186
- package/dist/i18n/locales/sq.d.ts +228 -176
- package/dist/i18n/locales/sq.js +232 -180
- package/dist/i18n/locales/sv.d.ts +229 -177
- package/dist/i18n/locales/sv.js +233 -181
- package/dist/i18n/locales/tr.d.ts +235 -183
- package/dist/i18n/locales/tr.js +239 -187
- package/dist/i18n/locales/zh.d.ts +228 -176
- package/dist/i18n/locales/zh.js +232 -180
- package/dist/index.js +107 -107
- package/dist/locales/ar.json +239 -187
- package/dist/locales/de.json +223 -171
- package/dist/locales/el.json +238 -186
- package/dist/locales/en.json +56 -4
- package/dist/locales/es.json +231 -179
- package/dist/locales/fr.json +225 -173
- package/dist/locales/hi.json +239 -187
- package/dist/locales/it.json +183 -131
- package/dist/locales/ja.json +237 -185
- package/dist/locales/nl.json +228 -176
- package/dist/locales/pl.json +233 -181
- package/dist/locales/pt.json +233 -181
- package/dist/locales/ro.json +232 -180
- package/dist/locales/ru.json +238 -186
- package/dist/locales/sq.json +232 -180
- package/dist/locales/sv.json +233 -181
- package/dist/locales/tr.json +239 -187
- package/dist/locales/zh.json +232 -180
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +7 -0
- package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +10 -5
- package/dist/patterns/calendar/calendar-bookings-panel.d.ts +31 -0
- package/dist/patterns/calendar/calendar-info-hover.d.ts +15 -1
- package/dist/patterns/calendar/calendar-privacy.d.ts +23 -0
- package/dist/patterns/calendar/calendar-rail-settle.d.ts +14 -0
- package/dist/patterns/calendar/calendar-upcoming-panel.d.ts +32 -0
- package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts +62 -0
- package/dist/patterns/calendar/calendar-workspace.d.ts +14 -1
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +37 -1
- package/dist/patterns/calendar/calendar.model.d.ts +8 -2
- package/dist/patterns/calendar/calendar.sheets.d.ts +43 -27
- package/dist/patterns/calendar/calendar.types.d.ts +6 -0
- package/dist/patterns/calendar/index.d.ts +2 -2
- 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 +3 -1
- package/dist/_chunks/calendar-workspace-Cc1LRVWY.js +0 -9900
- package/dist/_chunks/tool-rail-BP8sjxCw.js +0 -667
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
1
|
+
import { jsx as s, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as D, useMemo as g, useRef as y, useEffect as H } from "react";
|
|
3
|
+
import { c as h } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as L } from "react-i18next";
|
|
5
5
|
import { SafeHtml as A } from "../safe-html/index.js";
|
|
6
|
-
import { C as
|
|
7
|
-
import { n as
|
|
8
|
-
import { u as
|
|
9
|
-
const
|
|
6
|
+
import { C as P, S as b } from "./skeleton-B1KTdJ4N.js";
|
|
7
|
+
import { n as B, P as K, F as O, N as q } from "./note-attachment-CwDir3kK.js";
|
|
8
|
+
import { u as G } from "./registry-DvAUVLHh.js";
|
|
9
|
+
const J = {
|
|
10
10
|
id: "note-timeline",
|
|
11
11
|
capabilities: [],
|
|
12
12
|
state: {
|
|
@@ -14,13 +14,13 @@ const P = {
|
|
|
14
14
|
type: "Array<{ id?: string; pinned: boolean; flagged: boolean; clinical: boolean }>",
|
|
15
15
|
descriptionKey: "ui.agent.noteTimeline.state.notes",
|
|
16
16
|
description: "Structural snapshot of the rendered rows: ids and flags only, never note content or author.",
|
|
17
|
-
read: (
|
|
17
|
+
read: (a) => a.getNotes()
|
|
18
18
|
},
|
|
19
19
|
visibleCount: {
|
|
20
20
|
type: "number",
|
|
21
21
|
descriptionKey: "ui.agent.noteTimeline.state.visibleCount",
|
|
22
22
|
description: "How many notes are rendered, after the maxItems cap is applied.",
|
|
23
|
-
read: (
|
|
23
|
+
read: (a) => a.getVisibleCount()
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
actions: {},
|
|
@@ -36,7 +36,7 @@ const P = {
|
|
|
36
36
|
description: "Sourced from the id prop — addresses a specific timeline."
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
},
|
|
39
|
+
}, N = h(
|
|
40
40
|
[
|
|
41
41
|
// Named group so the rail's connector can ask "is my ROW the last one?".
|
|
42
42
|
// A bare `last:` on the rail asks "am I the last child of my row?", which
|
|
@@ -45,7 +45,7 @@ const P = {
|
|
|
45
45
|
"ds:group/note-row ds:relative ds:flex ds:gap-[var(--spacing-sm)]",
|
|
46
46
|
"ds:pb-3 ds:last:pb-0"
|
|
47
47
|
].join(" ")
|
|
48
|
-
),
|
|
48
|
+
), Q = h(
|
|
49
49
|
[
|
|
50
50
|
"type-body-sm ds:[overflow-wrap:break-word]",
|
|
51
51
|
// `[&_p]:m-0` — the converter wraps each block in <p>; the timeline
|
|
@@ -67,7 +67,7 @@ const P = {
|
|
|
67
67
|
},
|
|
68
68
|
defaultVariants: { lines: 3 }
|
|
69
69
|
}
|
|
70
|
-
),
|
|
70
|
+
), T = h(
|
|
71
71
|
[
|
|
72
72
|
"ds:absolute ds:top-1 ds:start-0 ds:size-[9px]",
|
|
73
73
|
"ds:rounded-[var(--radius-full)] ds:border-2",
|
|
@@ -91,64 +91,93 @@ const P = {
|
|
|
91
91
|
defaultVariants: { tone: "default" }
|
|
92
92
|
}
|
|
93
93
|
);
|
|
94
|
-
function
|
|
95
|
-
return [...
|
|
94
|
+
function U(a) {
|
|
95
|
+
return [...a].sort((r, i) => !!r.pinned != !!i.pinned ? r.pinned ? -1 : 1 : i.dateIso.localeCompare(r.dateIso));
|
|
96
96
|
}
|
|
97
|
-
const
|
|
97
|
+
const W = [
|
|
98
|
+
"ds:absolute ds:inset-0 ds:z-1 ds:m-0 ds:cursor-pointer",
|
|
99
|
+
"ds:rounded-[var(--radius-sm)] ds:border-0 ds:bg-transparent ds:p-0",
|
|
100
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
101
|
+
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
102
|
+
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
103
|
+
].join(" "), X = D(
|
|
98
104
|
({
|
|
99
|
-
id:
|
|
105
|
+
id: a,
|
|
100
106
|
notes: r,
|
|
101
|
-
maxItems:
|
|
102
|
-
lines:
|
|
103
|
-
locale:
|
|
104
|
-
emptyState:
|
|
105
|
-
"aria-label":
|
|
106
|
-
loading:
|
|
107
|
-
loadingRows:
|
|
108
|
-
className:
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
107
|
+
maxItems: i = 3,
|
|
108
|
+
lines: k = 3,
|
|
109
|
+
locale: C,
|
|
110
|
+
emptyState: j,
|
|
111
|
+
"aria-label": I,
|
|
112
|
+
loading: p = !1,
|
|
113
|
+
loadingRows: z = 2,
|
|
114
|
+
className: u,
|
|
115
|
+
onNoteActivate: o,
|
|
116
|
+
...f
|
|
117
|
+
}, d) => {
|
|
118
|
+
const { t: m, i18n: S } = L(), l = C ?? S.language, V = g(
|
|
119
|
+
() => (e) => {
|
|
120
|
+
try {
|
|
121
|
+
return new Intl.DateTimeFormat(l, {
|
|
122
|
+
day: "numeric",
|
|
123
|
+
month: "long",
|
|
124
|
+
year: "numeric",
|
|
125
|
+
hour: "2-digit",
|
|
126
|
+
minute: "2-digit"
|
|
127
|
+
}).format(new Date(e));
|
|
128
|
+
} catch {
|
|
129
|
+
return e;
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
[l]
|
|
133
|
+
), v = y(!1);
|
|
134
|
+
p && (v.current = !0);
|
|
135
|
+
const _ = v.current ? P : "", c = g(
|
|
136
|
+
() => U(r).slice(0, Math.max(0, i)),
|
|
137
|
+
[r, i]
|
|
138
|
+
), x = y(null), F = (e) => {
|
|
139
|
+
x.current = e, typeof d == "function" ? d(e) : d && (d.current = e);
|
|
140
|
+
};
|
|
141
|
+
H(() => {
|
|
142
|
+
var e;
|
|
143
|
+
o && ((e = x.current) == null || e.querySelectorAll("a[href]").forEach((t) => t.setAttribute("tabindex", "-1")));
|
|
144
|
+
});
|
|
145
|
+
const w = g(
|
|
117
146
|
() => ({
|
|
118
|
-
dayMonth: new Intl.DateTimeFormat(
|
|
147
|
+
dayMonth: new Intl.DateTimeFormat(l, {
|
|
119
148
|
day: "numeric",
|
|
120
149
|
month: "short"
|
|
121
150
|
}),
|
|
122
|
-
year: new Intl.DateTimeFormat(
|
|
151
|
+
year: new Intl.DateTimeFormat(l, { year: "numeric" })
|
|
123
152
|
}),
|
|
124
|
-
[
|
|
153
|
+
[l]
|
|
125
154
|
);
|
|
126
|
-
return
|
|
127
|
-
|
|
155
|
+
return G(
|
|
156
|
+
J,
|
|
128
157
|
{
|
|
129
|
-
getNotes: () =>
|
|
158
|
+
getNotes: () => c.map((e) => ({
|
|
130
159
|
id: e.id,
|
|
131
160
|
pinned: !!e.pinned,
|
|
132
161
|
flagged: !!e.flagged,
|
|
133
162
|
clinical: !!e.clinical
|
|
134
163
|
})),
|
|
135
|
-
getVisibleCount: () =>
|
|
164
|
+
getVisibleCount: () => c.length
|
|
136
165
|
},
|
|
137
|
-
|
|
138
|
-
),
|
|
166
|
+
a
|
|
167
|
+
), p && c.length === 0 ? /* @__PURE__ */ s(
|
|
139
168
|
"div",
|
|
140
169
|
{
|
|
141
|
-
ref:
|
|
170
|
+
ref: d,
|
|
142
171
|
"data-component": "note-timeline",
|
|
143
|
-
"data-component-id":
|
|
172
|
+
"data-component-id": a,
|
|
144
173
|
"data-loading": "",
|
|
145
174
|
"aria-busy": "true",
|
|
146
|
-
className: ["ds:flex ds:flex-col",
|
|
147
|
-
...
|
|
148
|
-
children: Array.from({ length: Math.max(1,
|
|
175
|
+
className: ["ds:flex ds:flex-col", u ?? ""].join(" ").trim(),
|
|
176
|
+
...f,
|
|
177
|
+
children: Array.from({ length: Math.max(1, z) }, (e, t) => /* @__PURE__ */ n("div", { "aria-hidden": "true", className: N(), children: [
|
|
149
178
|
/* @__PURE__ */ n("div", { className: "ds:flex ds:w-12 ds:shrink-0 ds:flex-col ds:items-end ds:gap-[var(--spacing-2xs)] ds:pt-px", children: [
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
|
|
179
|
+
/* @__PURE__ */ s(
|
|
180
|
+
b,
|
|
152
181
|
{
|
|
153
182
|
variant: "text",
|
|
154
183
|
size: "sm",
|
|
@@ -156,8 +185,8 @@ const q = M(
|
|
|
156
185
|
width: "80%"
|
|
157
186
|
}
|
|
158
187
|
),
|
|
159
|
-
/* @__PURE__ */
|
|
160
|
-
|
|
188
|
+
/* @__PURE__ */ s(
|
|
189
|
+
b,
|
|
161
190
|
{
|
|
162
191
|
variant: "text",
|
|
163
192
|
size: "sm",
|
|
@@ -166,7 +195,7 @@ const q = M(
|
|
|
166
195
|
}
|
|
167
196
|
)
|
|
168
197
|
] }),
|
|
169
|
-
/* @__PURE__ */
|
|
198
|
+
/* @__PURE__ */ s(
|
|
170
199
|
"div",
|
|
171
200
|
{
|
|
172
201
|
className: [
|
|
@@ -176,11 +205,11 @@ const q = M(
|
|
|
176
205
|
'ds:before:bg-[color:var(--border)] ds:before:content-[""]',
|
|
177
206
|
"ds:group-last/note-row:before:hidden"
|
|
178
207
|
].join(" "),
|
|
179
|
-
children: /* @__PURE__ */
|
|
208
|
+
children: /* @__PURE__ */ s("span", { className: T({ tone: "default" }) })
|
|
180
209
|
}
|
|
181
210
|
),
|
|
182
|
-
/* @__PURE__ */
|
|
183
|
-
|
|
211
|
+
/* @__PURE__ */ s("div", { className: "ds:min-w-0 ds:flex-1", children: /* @__PURE__ */ s(
|
|
212
|
+
b,
|
|
184
213
|
{
|
|
185
214
|
variant: "text",
|
|
186
215
|
size: "sm",
|
|
@@ -190,30 +219,30 @@ const q = M(
|
|
|
190
219
|
) })
|
|
191
220
|
] }, t))
|
|
192
221
|
}
|
|
193
|
-
) :
|
|
222
|
+
) : c.length === 0 ? /* @__PURE__ */ s(
|
|
194
223
|
"div",
|
|
195
224
|
{
|
|
196
|
-
ref:
|
|
225
|
+
ref: d,
|
|
197
226
|
"data-component": "note-timeline",
|
|
198
|
-
"data-component-id":
|
|
227
|
+
"data-component-id": a,
|
|
199
228
|
"data-empty": "",
|
|
200
|
-
className:
|
|
201
|
-
...
|
|
202
|
-
children:
|
|
229
|
+
className: u,
|
|
230
|
+
...f,
|
|
231
|
+
children: j
|
|
203
232
|
}
|
|
204
|
-
) : /* @__PURE__ */
|
|
233
|
+
) : /* @__PURE__ */ s(
|
|
205
234
|
"div",
|
|
206
235
|
{
|
|
207
|
-
ref:
|
|
236
|
+
ref: F,
|
|
208
237
|
"data-component": "note-timeline",
|
|
209
|
-
"data-component-id":
|
|
238
|
+
"data-component-id": a,
|
|
210
239
|
role: "list",
|
|
211
|
-
"aria-busy":
|
|
212
|
-
"aria-label":
|
|
213
|
-
className: ["ds:flex ds:flex-col", _,
|
|
214
|
-
...
|
|
215
|
-
children:
|
|
216
|
-
const t = new Date(e.dateIso),
|
|
240
|
+
"aria-busy": p || void 0,
|
|
241
|
+
"aria-label": I ?? m("noteTimeline.regionLabel"),
|
|
242
|
+
className: ["ds:flex ds:flex-col", _, u ?? ""].join(" ").trim(),
|
|
243
|
+
...f,
|
|
244
|
+
children: c.map((e) => {
|
|
245
|
+
const t = new Date(e.dateIso), M = e.pinned ? "pinned" : e.flagged ? "flagged" : "default", E = e.contentFormat === "html" ? e.content : B(e.content), R = !!(o && e.id);
|
|
217
246
|
return /* @__PURE__ */ n(
|
|
218
247
|
"div",
|
|
219
248
|
{
|
|
@@ -221,13 +250,25 @@ const q = M(
|
|
|
221
250
|
"data-note-id": e.id,
|
|
222
251
|
"data-pinned": e.pinned ? "" : void 0,
|
|
223
252
|
"data-flagged": e.flagged ? "" : void 0,
|
|
224
|
-
className:
|
|
253
|
+
className: N(),
|
|
225
254
|
children: [
|
|
255
|
+
R ? /* @__PURE__ */ s(
|
|
256
|
+
"button",
|
|
257
|
+
{
|
|
258
|
+
type: "button",
|
|
259
|
+
className: W,
|
|
260
|
+
"aria-label": m("noteTimeline.openNote", {
|
|
261
|
+
date: V(e.dateIso),
|
|
262
|
+
defaultValue: "Open note · {{date}}"
|
|
263
|
+
}),
|
|
264
|
+
onClick: () => o == null ? void 0 : o(e.id)
|
|
265
|
+
}
|
|
266
|
+
) : null,
|
|
226
267
|
/* @__PURE__ */ n("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: [
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
/* @__PURE__ */
|
|
268
|
+
/* @__PURE__ */ s("div", { className: "ds:font-semibold ds:tracking-[0.03em] ds:uppercase", children: w.dayMonth.format(t) }),
|
|
269
|
+
/* @__PURE__ */ s("div", { className: "ds:text-[color:var(--muted-foreground)]", children: w.year.format(t) })
|
|
229
270
|
] }),
|
|
230
|
-
/* @__PURE__ */
|
|
271
|
+
/* @__PURE__ */ s(
|
|
231
272
|
"div",
|
|
232
273
|
{
|
|
233
274
|
"aria-hidden": "true",
|
|
@@ -238,41 +279,41 @@ const q = M(
|
|
|
238
279
|
'ds:before:bg-[color:var(--border)] ds:before:content-[""]',
|
|
239
280
|
"ds:group-last/note-row:before:hidden"
|
|
240
281
|
].join(" "),
|
|
241
|
-
children: /* @__PURE__ */
|
|
282
|
+
children: /* @__PURE__ */ s("span", { className: T({ tone: M }) })
|
|
242
283
|
}
|
|
243
284
|
),
|
|
244
285
|
/* @__PURE__ */ n("div", { className: "ds:min-w-0 ds:flex-1", children: [
|
|
245
|
-
/* @__PURE__ */
|
|
286
|
+
/* @__PURE__ */ s(
|
|
246
287
|
A,
|
|
247
288
|
{
|
|
248
|
-
html:
|
|
289
|
+
html: E,
|
|
249
290
|
profile: e.contentFormat === "html" ? "rich-text" : "markdown",
|
|
250
|
-
className:
|
|
291
|
+
className: Q({ lines: k })
|
|
251
292
|
}
|
|
252
293
|
),
|
|
253
294
|
e.author || e.pinned || e.flagged || e.attachedTo ? /* @__PURE__ */ n("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: [
|
|
254
|
-
e.author ? /* @__PURE__ */
|
|
295
|
+
e.author ? /* @__PURE__ */ s("span", { children: e.author.name }) : null,
|
|
255
296
|
e.pinned ? /* @__PURE__ */ n("span", { className: "ds:inline-flex ds:items-center", children: [
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
-
|
|
297
|
+
/* @__PURE__ */ s(
|
|
298
|
+
K,
|
|
258
299
|
{
|
|
259
300
|
"aria-hidden": "true",
|
|
260
301
|
className: "ds:size-3 ds:text-[color:var(--accent)]"
|
|
261
302
|
}
|
|
262
303
|
),
|
|
263
|
-
/* @__PURE__ */
|
|
304
|
+
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: m("noteTimeline.pinned") })
|
|
264
305
|
] }) : null,
|
|
265
306
|
e.flagged ? /* @__PURE__ */ n("span", { className: "ds:inline-flex ds:items-center", children: [
|
|
266
|
-
/* @__PURE__ */
|
|
267
|
-
|
|
307
|
+
/* @__PURE__ */ s(
|
|
308
|
+
O,
|
|
268
309
|
{
|
|
269
310
|
"aria-hidden": "true",
|
|
270
311
|
className: "ds:size-3 ds:text-[color:var(--warning-readable)]"
|
|
271
312
|
}
|
|
272
313
|
),
|
|
273
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: m("noteTimeline.flagged") })
|
|
274
315
|
] }) : null,
|
|
275
|
-
/* @__PURE__ */
|
|
316
|
+
/* @__PURE__ */ s(q, { attachedTo: e.attachedTo })
|
|
276
317
|
] }) : null
|
|
277
318
|
] })
|
|
278
319
|
]
|
|
@@ -284,9 +325,9 @@ const q = M(
|
|
|
284
325
|
);
|
|
285
326
|
}
|
|
286
327
|
);
|
|
287
|
-
|
|
328
|
+
X.displayName = "NoteTimeline";
|
|
288
329
|
export {
|
|
289
|
-
|
|
290
|
-
|
|
330
|
+
X as N,
|
|
331
|
+
J as n
|
|
291
332
|
};
|
|
292
|
-
//# sourceMappingURL=note-timeline-
|
|
333
|
+
//# sourceMappingURL=note-timeline-Dn_XTo1s.js.map
|