@alfadocs/ui-kit 1.47.1 → 1.48.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-B5m9lwgC.js → actions-cell-renderer-DMittsR3.js} +4 -4
- package/dist/_chunks/{address-autocomplete-Bq-1n1UX.js → address-autocomplete-Dp5uMvKP.js} +61 -60
- package/dist/_chunks/{address-fields-jFfjxOQR.js → address-fields-QfC-N3pw.js} +5 -5
- package/dist/_chunks/{agenda-card-DyQtHb9z.js → agenda-card-C4h0xMGi.js} +2 -2
- package/dist/_chunks/{agenda-tray-CBaJASb5.js → agenda-tray-DNZYW2xt.js} +4 -4
- package/dist/_chunks/{ai-credits-notice-xszqOZTC.js → ai-credits-notice-C-kz_RrY.js} +3 -3
- package/dist/_chunks/{ai-permission-notice-D7I2U-cz.js → ai-permission-notice-BRZeS3mT.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-DXknpQCB.js → ai-prompt-input-CxvnXsAs.js} +82 -82
- package/dist/_chunks/{alia-sidebar-CUqaJNPQ.js → alia-sidebar-Crn8OGPF.js} +7 -7
- package/dist/_chunks/{anamnesis-card-xtEhyojD.js → anamnesis-card-D8Si-2GV.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-card-CclBbiXg.js → anamnesis-summary-card-DPyScUMM.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-DI-UX5r6.js → anamnesis-summary-rows-CZirLRuv.js} +12 -12
- package/dist/_chunks/{antenatal-schedule-timeline-CXk_tzWG.js → antenatal-schedule-timeline-8fm3vPSV.js} +2 -2
- package/dist/_chunks/{appointment-card-DluZy8Iv.js → appointment-card-CvGU0QP6.js} +5 -5
- package/dist/_chunks/{appointment-peek-BsfCpiJs.js → appointment-peek--dmWznLZ.js} +5 -5
- package/dist/_chunks/{appointment-timeline-Cs5f9viN.js → appointment-timeline-y9uYZMUd.js} +6 -6
- package/dist/_chunks/{appointment-tray-CLrGGnKR.js → appointment-tray-BTecNeSb.js} +4 -4
- package/dist/_chunks/appointment-workflow-status-CS8ufF1f.js +66 -0
- package/dist/_chunks/{audio-recorder-B7dT-Y3v.js → audio-recorder-DZBtAvLH.js} +4 -4
- package/dist/_chunks/{autocomplete-MpBhz-fG.js → autocomplete-DSasZUf6.js} +65 -64
- package/dist/_chunks/{badge-BudgzTe_.js → badge-BAkd6_Pj.js} +24 -17
- package/dist/_chunks/{balance-badge-cell-YGrYdrvR.js → balance-badge-cell-CA0YNJMR.js} +6 -6
- package/dist/_chunks/{bishop-score-Cu70iv9C.js → bishop-score-BMLRvXYF.js} +4 -4
- package/dist/_chunks/{bmi-calculator-C9N19aLX.js → bmi-calculator-DUhRyyrA.js} +3 -3
- package/dist/_chunks/{booking-C4MwImkS.js → booking-BQYFDcrz.js} +10 -10
- package/dist/_chunks/{breadcrumb-agut0PwN.js → breadcrumb-D3boYzD4.js} +50 -49
- package/dist/_chunks/{button-CaUe1uyd.js → button-18oBsI3n.js} +54 -50
- package/dist/_chunks/button-group-BSDqso_C.js +408 -0
- package/dist/_chunks/{calendar-OzSeTb4V.js → calendar-DjoJ9ovF.js} +11 -17
- package/dist/_chunks/{calendar-event-card-B6N5h1dO.js → calendar-event-card-BUbKBPv_.js} +55 -73
- package/dist/_chunks/calendar-workspace-D8zX9JWm.js +10423 -0
- package/dist/_chunks/{care-plan-card-BOv0NRle.js → care-plan-card-ciBaaguw.js} +4 -4
- package/dist/_chunks/{care-plan-entry-card-d-rZD4li.js → care-plan-entry-card-D7A0whiZ.js} +5 -5
- package/dist/_chunks/{care-plan-header-CEmBXn6-.js → care-plan-header-DKV1gLqv.js} +4 -4
- package/dist/_chunks/{carousel.agent-z1yLBpyC.js → carousel.agent-DqDGR2yH.js} +2 -2
- package/dist/_chunks/{chart-D8ucl8hH.js → chart-VjuXDXOZ.js} +3 -3
- package/dist/_chunks/{chat-input-Cj7ZYQr5.js → chat-input-BVho_SqP.js} +2 -2
- package/dist/_chunks/{chat-message-BMVxiUIX.js → chat-message-Co_NRGM4.js} +3 -3
- package/dist/_chunks/{smartphone-DaPcFw-X.js → circle-dashed-CUj6o2cA.js} +3 -14
- package/dist/_chunks/{city-input-DaQc-Hbj.js → city-input-BGYc4lRV.js} +2 -2
- package/dist/_chunks/{clinical-note-card-DdsGYMmI.js → clinical-note-card-DYDQ3q2x.js} +89 -74
- package/dist/_chunks/{code-block-BB-viuTn.js → code-block-C_eNHWaa.js} +2 -2
- package/dist/_chunks/combobox-B_rLwmSv.js +578 -0
- package/dist/_chunks/{command-palette-DQl_SNEv.js → command-palette-DhgGo7GJ.js} +82 -80
- package/dist/_chunks/{connection-status-BmA9T0UO.js → connection-status-Cfux3TvH.js} +4 -4
- package/dist/_chunks/{contact-profile-card-C0WpwpVV.js → contact-profile-card-Dj4NgBL-.js} +3 -3
- package/dist/_chunks/control-room-rail-DAO0qfOI.js +379 -0
- package/dist/_chunks/{copy-field-B8XRVmQv.js → copy-field-Cm4y5Bff.js} +2 -2
- package/dist/_chunks/{country-select-CfDNFG5c.js → country-select-C5jZjO8O.js} +2 -2
- package/dist/_chunks/{cycle-calculator-BH2StWoT.js → cycle-calculator-B9lBRNiZ.js} +3 -3
- package/dist/_chunks/{dashboard-grid-BcXWL5S9.js → dashboard-grid-uX7x1ePj.js} +2 -2
- package/dist/_chunks/{data-table-DnKOmEVw.js → data-table-DWOSxlsy.js} +9 -9
- package/dist/_chunks/{data-table-tabs-B9SXA5VP.js → data-table-tabs-CzYYKp2_.js} +3 -3
- package/dist/_chunks/{dependent-selector-BHDP0nBB.js → dependent-selector-BR_8D2Qu.js} +2 -2
- package/dist/_chunks/{description-list-BsJ_6CQE.js → description-list-1A2DEbE6.js} +2 -2
- package/dist/_chunks/{document-preview-COV0BC6n.js → document-preview-Od2Hz4z5.js} +13 -12
- package/dist/_chunks/{document-scanner-B1abl-A4.js → document-scanner-p0aGlzCy.js} +3 -3
- package/dist/_chunks/{dropdown-menu-DU-Hrf33.js → dropdown-menu-C8PaW3lR.js} +110 -96
- package/dist/_chunks/{due-date-calculator-Buh_mVHq.js → due-date-calculator-BVqJaxzd.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-OUkUv7U4.js → editable-currency-cell-renderer-D_G2Ap61.js} +4 -4
- package/dist/_chunks/{editable-description-ADMVFPUz.js → editable-description-B4NVdjvd.js} +3 -3
- package/dist/_chunks/{editor-overlay-DwNKaI22.js → editor-overlay-BDiBvQmL.js} +2 -2
- package/dist/_chunks/{empty-state-BUN_UAWf.js → empty-state-DTBZ1ENT.js} +2 -2
- package/dist/_chunks/{entity-card-I-Gio5wo.js → entity-card-D1Yrh9wf.js} +2 -1
- package/dist/_chunks/{entity-summary-DXejuQ8i.js → entity-summary-Ckz_U00H.js} +3 -3
- package/dist/_chunks/{error-boundary-BNT2iQ1w.js → error-boundary-BxTqEXqj.js} +2 -2
- package/dist/_chunks/euro-Dsuz4ixO.js +22 -0
- package/dist/_chunks/{face-scheme-mIhwrQXt.js → face-scheme-fku-RShg.js} +71 -71
- package/dist/_chunks/{fetal-weight-wx4ycKc6.js → fetal-weight-B69yOS9W.js} +3 -3
- package/dist/_chunks/{field-array-BW9KeeXG.js → field-array-lIXrFWS0.js} +3 -3
- package/dist/_chunks/file-BuG1VMAy.js +21 -0
- package/dist/_chunks/{file-Cwe9VC1A.js → file-image-cDgE-BTy.js} +2 -19
- package/dist/_chunks/{file-manager-DOcJGIx2.js → file-manager-CqgxLqoA.js} +15 -14
- package/dist/_chunks/{file-upload-BDpb08GM.js → file-upload-B242a_Y1.js} +53 -52
- package/dist/_chunks/{finished-terminal-DJd7Z_po.js → finished-terminal-B2oqXO0Y.js} +2 -2
- package/dist/_chunks/fiscal-code-input-BEF8eKIG.js +572 -0
- package/dist/_chunks/{freemium-paywall-BaW5ODc9.js → freemium-paywall-B6JITu4l.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CwbecTul.js → gestational-age-calculator-DsGN6_HS.js} +5 -5
- package/dist/_chunks/handled-rejection-6gqCf5vt.js +13 -0
- package/dist/_chunks/{hcg-doubling-BcXriXJe.js → hcg-doubling-D2SH-e7t.js} +3 -3
- package/dist/_chunks/{header-3o9o9v_T.js → header-CCjp5GvE.js} +2 -2
- package/dist/_chunks/{header-settings-BEfx_-TF.js → header-settings-ZXa6hXuu.js} +5 -5
- package/dist/_chunks/{help-me-write-templates-DHIwa4xR.js → help-me-write-templates-DQtT1qs_.js} +5 -5
- package/dist/_chunks/history-CK2JaU2g.js +16 -0
- package/dist/_chunks/{hover-card-nUae8NPJ.js → hover-card-BplP5SzQ.js} +2 -2
- package/dist/_chunks/{icon-button-CehAeZoP.js → icon-button-CY7GU_Se.js} +2 -2
- package/dist/_chunks/icon-button-group-B_426QN_.js +431 -0
- package/dist/_chunks/{icon-picker-DMEelg9v.js → icon-picker-ZLebyB0U.js} +3 -3
- package/dist/_chunks/{image-cropper-BjPjT7wU.js → image-cropper-_HiNN79d.js} +2 -2
- package/dist/_chunks/{info-tip-iP2Pm9dh.js → info-tip-laBxZhKu.js} +2 -2
- package/dist/_chunks/{insert-result-DPnOBD85.js → insert-result-CSuPQyKL.js} +2 -2
- package/dist/_chunks/{key-value-pair-DaQI_LZB.js → key-value-pair-Dcdl3Gni.js} +2 -2
- package/dist/_chunks/{kit-extensions-DuoFF1R3.js → kit-extensions-BTJSnM_H.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-s3oHzOwi.js → link-cell-renderer-Tswqf6BT.js} +7 -7
- package/dist/_chunks/{locale-picker-CH3kfrIG.js → locale-picker-DGkQmhV9.js} +170 -180
- package/dist/_chunks/{map-view-CHw4RL6w.js → map-view-Bb7ClKSF.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-PB89Dkk_.js → marketplace-app-shell-Dehuxbi-.js} +6 -6
- package/dist/_chunks/menu-row-BAr8bx1I.js +95 -0
- package/dist/_chunks/{message-card-V3sFPiQI.js → message-card-DKOtnBHy.js} +3 -3
- package/dist/_chunks/{message-tray-CrRIHfiQ.js → message-tray-COMEtmyr.js} +4 -4
- package/dist/_chunks/{multi-select-CtPd7g4x.js → multi-select-N4Smh-gj.js} +114 -113
- package/dist/_chunks/{muscle-scheme-UVz_x4iE.js → muscle-scheme-Co0NIgbU.js} +3 -3
- package/dist/_chunks/{note-attachment-CwDir3kK.js → note-attachment-CGjNTrAC.js} +2 -2
- package/dist/_chunks/{note-timeline-Dn_XTo1s.js → note-timeline-CVnKL0p6.js} +2 -2
- package/dist/_chunks/notes-panel-BiOxZL_0.js +1111 -0
- package/dist/_chunks/{notification-card-B2gLO6dK.js → notification-card-DDzBCi8l.js} +3 -3
- package/dist/_chunks/{notification-tray-BOEKegVV.js → notification-tray-PnH2PBlZ.js} +4 -4
- package/dist/_chunks/{operator-hero-XIdwDmN2.js → operator-hero-5061fkY5.js} +3 -3
- package/dist/_chunks/{optical-prescription-LGgmtcST.js → optical-prescription-DUufWXfZ.js} +3 -3
- package/dist/_chunks/{pagination-EkD5SiCK.js → pagination-B0N2qGy_.js} +83 -82
- package/dist/_chunks/panel-subview-CzHutkA8.js +217 -0
- package/dist/_chunks/{patient-details-yrgkSeEY.js → patient-details-C23Hdm8v.js} +3 -3
- package/dist/_chunks/{patient-field-row-DCMkFGqI.js → patient-field-row-DElFbpKc.js} +12 -12
- package/dist/_chunks/{patient-search-5QcmQKJD.js → patient-search-DgXdGkhK.js} +4 -4
- package/dist/_chunks/{patient-summary-card-CmEFflGS.js → patient-summary-card-C36L3h7h.js} +7 -7
- package/dist/_chunks/{payment-automation-upsell-BKmBXU4i.js → payment-automation-upsell-ugi4np1l.js} +3 -3
- package/dist/_chunks/{payment-request-card-Cer6XXCn.js → payment-request-card-DMJB57Tv.js} +5 -5
- package/dist/_chunks/{periodontal-chart-DJoZS_o7.js → periodontal-chart-DbGzKDj7.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-Nd1ZoYWb.js → periodontal-chart-card-DvHyP47v.js} +3 -3
- package/dist/_chunks/{periodontal-diagnosis-C7pfPOct.js → periodontal-diagnosis-B8WqI0eU.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-B2tNFa15.js → periodontal-risk-chart-DsFRFFSz.js} +2 -2
- package/dist/_chunks/{phone-input-IWrGOCwm.js → phone-input-sQj-zi59.js} +85 -86
- package/dist/_chunks/{popover-DO-pssF3.js → popover-Dvb40vPH.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-DxoLlQr5.js → practice-profile-hero-CPy5h2yI.js} +2 -2
- package/dist/_chunks/{practice-results-D11Zpt27.js → practice-results-t2BHht91.js} +7 -7
- package/dist/_chunks/{pregnancy-dating-DcyV9ZRD.js → pregnancy-dating-lfjjZVZH.js} +5 -5
- package/dist/_chunks/{pregnancy-weight-gain-Bfq4Kwt5.js → pregnancy-weight-gain-WpNt-S0q.js} +3 -3
- package/dist/_chunks/{privacy-lock-CbFCAMM3.js → privacy-lock-D6gq0GDg.js} +3 -3
- package/dist/_chunks/privacy-mask-BC5lw2zB.js +81 -0
- package/dist/_chunks/{product-hub-panel-w40-_-1s.js → product-hub-panel-CKeSCSeE.js} +3 -3
- package/dist/_chunks/{province-select-BaUnkg4S.js → province-select-BiszMRRY.js} +2 -2
- package/dist/_chunks/{public-header.agent-D-EBVskf.js → public-header.agent-B9wDmUeB.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-LrILY2lN.js → radiograph-panel.agent-TmyIvTOa.js} +6 -6
- package/dist/_chunks/{reviews-panel-2GVuxGeT.js → reviews-panel-BdwFp_0c.js} +4 -4
- package/dist/_chunks/{rich-text-editor-BwDV2XkZ.js → rich-text-editor-y6ML0KeV.js} +12 -11
- package/dist/_chunks/{search-bar-CCmViqaa.js → search-bar-6bHatpYJ.js} +69 -67
- package/dist/_chunks/{select-CLSUnKjF.js → select-upNAltly.js} +89 -88
- package/dist/_chunks/{session-countdown-BqppPrw6.js → session-countdown-ACJyTXH2.js} +2 -2
- package/dist/_chunks/{sheet-C8WIDFS8.js → sheet-D0Lh0KR2.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-DWwBJtyE.js → sign-in-with-alfadocs-button-CDyJAIzW.js} +2 -2
- package/dist/_chunks/{signature-request-D_j2aQu1.js → signature-request-15D363w5.js} +6 -6
- package/dist/_chunks/{signature-status-chip-D4NsrdeI.js → signature-status-chip-Dz6sS2oA.js} +2 -2
- package/dist/_chunks/{slot-grid-B3eOPkKD.js → slot-grid-4fWH3Euk.js} +4 -4
- package/dist/_chunks/smartphone-C0rFF2if.js +15 -0
- package/dist/_chunks/{streaming-text-CE1u_oGa.js → streaming-text-eRiizArc.js} +2 -2
- package/dist/_chunks/{tab-bar-Cw9UK18Z.js → tab-bar-BHFf6knq.js} +9 -9
- package/dist/_chunks/{tabs-BnRaLT0y.js → tabs-CFsuMQ5H.js} +82 -81
- package/dist/_chunks/{tag-Ci3xJPcH.js → tag-B65tLWvD.js} +24 -21
- package/dist/_chunks/{task-card-qTKD1fIT.js → task-card-CTTQfPS6.js} +72 -55
- package/dist/_chunks/task-editor-DlvTwAfv.js +1243 -0
- package/dist/_chunks/{task-tray-DIwjAIes.js → task-tray-JA-qp_pB.js} +4 -4
- package/dist/_chunks/tasks-panel-C_dVDQKJ.js +1243 -0
- package/dist/_chunks/{theme-toggle-BP0XRGMM.js → theme-toggle-LUBxlNDm.js} +4 -4
- package/dist/_chunks/{toast-ZZfhA5u0.js → toast-CT8hjr9r.js} +2 -2
- package/dist/_chunks/{token-insert-menu-A9B5AJw6.js → token-insert-menu-klwbxVKh.js} +3 -3
- package/dist/_chunks/{tool-rail-CCFqDfAn.js → tool-rail-DEeX4PdN.js} +144 -137
- package/dist/_chunks/{tooth-scheme-DPAq0vQK.js → tooth-scheme-BkjhkI8g.js} +4 -4
- package/dist/_chunks/{treatment-receipt-DU0OewqH.js → treatment-receipt-C-gWZ6uv.js} +3 -3
- package/dist/_chunks/{unit-converter-C-LpGzrN.js → unit-converter-Dp_KDxE6.js} +3 -3
- package/dist/_chunks/use-appointment-details-read-D2FH-cHF.js +2045 -0
- package/dist/_chunks/use-list-reflow-C7O4Uqnl.js +133 -0
- package/dist/_chunks/use-priority-overflow-Cdmb5EiR.js +108 -0
- package/dist/_chunks/{variables-menu-vXUaSBj4.js → variables-menu-aJLKJ_cu.js} +127 -136
- package/dist/_chunks/{warning-stack-C0glSB7p.js → warning-stack-CEgYkI1z.js} +3 -3
- package/dist/_chunks/{widget-picker-B1sj6uyf.js → widget-picker-CilQvcNL.js} +2 -2
- package/dist/_chunks/{workflow-map-DhR_h5yw.js → workflow-map-qGkQTNvS.js} +30 -29
- package/dist/_chunks/{workflow-status-CuJAOuKL.js → workflow-status-ClHfz4Kr.js} +209 -167
- package/dist/agent-catalog.json +371 -26
- package/dist/agent-i18n/en.json +41 -9
- package/dist/components/_shared/appointment-format.d.ts +52 -0
- package/dist/{patterns/calendar/calendar-editor-fields.d.ts → components/_shared/compact-editor-fields.d.ts} +6 -5
- package/dist/components/_shared/handled-rejection.d.ts +2 -0
- package/dist/components/_shared/menu-row.d.ts +17 -0
- package/dist/components/_shared/patient-identity.d.ts +7 -0
- package/dist/components/_shared/patient-picker.d.ts +24 -0
- package/dist/components/_shared/privacy-mask.d.ts +29 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/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-details-panel/appointment-details-panel.agent.d.ts +4 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +134 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.focus.d.ts +7 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.history.d.ts +12 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.identity.d.ts +41 -0
- package/dist/{patterns/calendar/calendar-info-hover.d.ts → components/appointment-details-panel/appointment-details-panel.info-hover.d.ts} +1 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +51 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +326 -0
- package/dist/components/appointment-details-panel/index.d.ts +8 -0
- package/dist/components/appointment-details-panel/index.js +8 -0
- package/dist/components/appointment-details-panel/use-appointment-details-read.d.ts +32 -0
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/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/breadcrumb/index.js +1 -1
- package/dist/components/button/button.d.ts +2 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/button-group.d.ts +19 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/calendar.d.ts +5 -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/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +13 -5
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +9 -4
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/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/control-room-rail.d.ts +14 -3
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/country-select/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/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/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- 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/file-upload/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/fiscal-code-input.d.ts +7 -0
- package/dist/components/fiscal-code-input/index.d.ts +1 -1
- package/dist/components/fiscal-code-input/index.js +8 -7
- package/dist/components/fiscal-code-input/is-valid-codice-fiscale.d.ts +19 -4
- 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/index.d.ts +2 -0
- 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/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.d.ts +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +102 -26
- 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/pagination/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/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/phone-input/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/province-select/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 +2 -2
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/select/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/signature-field/signature-field.d.ts +1 -1
- package/dist/components/signature-status-chip/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +17 -17
- 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/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-card/task-card.d.ts +6 -0
- package/dist/components/task-editor/index.d.ts +4 -0
- package/dist/components/task-editor/index.js +6 -0
- package/dist/components/task-editor/task-editor.agent.d.ts +4 -0
- package/dist/components/task-editor/task-editor.d.ts +240 -0
- package/dist/components/task-editor/use-task-editor-form.d.ts +101 -0
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.d.ts +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/tasks-panel/tasks-panel.d.ts +84 -12
- 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/treatment-receipt/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/variables-menu/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/appointment-workflow-status.d.ts +55 -0
- package/dist/components/workflow-status/index.d.ts +2 -0
- package/dist/components/workflow-status/index.js +7 -2
- package/dist/components/workflow-status/workflow-status.d.ts +35 -0
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/use-exit-transition.d.ts +5 -0
- package/dist/hooks/use-priority-overflow.d.ts +11 -2
- package/dist/host-compat.css +7 -1
- package/dist/i18n/locales/ar.d.ts +29 -10
- package/dist/i18n/locales/ar.js +33 -14
- package/dist/i18n/locales/de.d.ts +29 -10
- package/dist/i18n/locales/de.js +33 -14
- package/dist/i18n/locales/el.d.ts +29 -10
- package/dist/i18n/locales/el.js +33 -14
- package/dist/i18n/locales/en.d.ts +29 -10
- package/dist/i18n/locales/en.js +33 -14
- package/dist/i18n/locales/es.d.ts +29 -10
- package/dist/i18n/locales/es.js +33 -14
- package/dist/i18n/locales/fr.d.ts +29 -10
- package/dist/i18n/locales/fr.js +33 -14
- package/dist/i18n/locales/hi.d.ts +29 -10
- package/dist/i18n/locales/hi.js +33 -14
- package/dist/i18n/locales/it.d.ts +29 -10
- package/dist/i18n/locales/it.js +33 -14
- package/dist/i18n/locales/ja.d.ts +29 -10
- package/dist/i18n/locales/ja.js +33 -14
- package/dist/i18n/locales/nl.d.ts +29 -10
- package/dist/i18n/locales/nl.js +33 -14
- package/dist/i18n/locales/pl.d.ts +29 -10
- package/dist/i18n/locales/pl.js +33 -14
- package/dist/i18n/locales/pt.d.ts +29 -10
- package/dist/i18n/locales/pt.js +33 -14
- package/dist/i18n/locales/ro.d.ts +29 -10
- package/dist/i18n/locales/ro.js +33 -14
- package/dist/i18n/locales/ru.d.ts +29 -10
- package/dist/i18n/locales/ru.js +33 -14
- package/dist/i18n/locales/sq.d.ts +29 -10
- package/dist/i18n/locales/sq.js +33 -14
- package/dist/i18n/locales/sv.d.ts +29 -10
- package/dist/i18n/locales/sv.js +33 -14
- package/dist/i18n/locales/tr.d.ts +29 -10
- package/dist/i18n/locales/tr.js +33 -14
- package/dist/i18n/locales/zh.d.ts +29 -10
- package/dist/i18n/locales/zh.js +33 -14
- package/dist/i18n/registerUiBundle.d.ts +5 -9
- package/dist/index.js +742 -728
- package/dist/locales/ar.json +33 -14
- package/dist/locales/de.json +33 -14
- package/dist/locales/el.json +33 -14
- package/dist/locales/en.json +33 -14
- package/dist/locales/es.json +33 -14
- package/dist/locales/fr.json +33 -14
- package/dist/locales/hi.json +33 -14
- package/dist/locales/it.json +33 -14
- package/dist/locales/ja.json +33 -14
- package/dist/locales/nl.json +33 -14
- package/dist/locales/pl.json +33 -14
- package/dist/locales/pt.json +33 -14
- package/dist/locales/ro.json +33 -14
- package/dist/locales/ru.json +33 -14
- package/dist/locales/sq.json +33 -14
- package/dist/locales/sv.json +33 -14
- package/dist/locales/tr.json +33 -14
- package/dist/locales/zh.json +33 -14
- 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 +25 -95
- package/dist/patterns/calendar/calendar-patient-picker.d.ts +4 -3
- package/dist/patterns/calendar/calendar-privacy.d.ts +1 -22
- package/dist/patterns/calendar/calendar-sticky-offset.d.ts +20 -13
- package/dist/patterns/calendar/calendar-task-editor.d.ts +9 -13
- package/dist/patterns/calendar/calendar-workspace.d.ts +79 -8
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +17 -12
- package/dist/patterns/calendar/calendar.journey.d.ts +40 -6
- package/dist/patterns/calendar/calendar.model.d.ts +10 -17
- package/dist/patterns/calendar/calendar.sheets.d.ts +18 -16
- package/dist/patterns/calendar/calendar.types.d.ts +24 -100
- package/dist/patterns/calendar/index.d.ts +4 -3
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/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 +22 -5
- package/dist/_chunks/button-group-CA1tmu39.js +0 -325
- package/dist/_chunks/calendar-workspace-BmscntRR.js +0 -12528
- package/dist/_chunks/combobox-DnSdYssy.js +0 -522
- package/dist/_chunks/control-room-rail-CdBOXIqX.js +0 -366
- package/dist/_chunks/fiscal-code-input-ODQRd_Sw.js +0 -553
- package/dist/_chunks/icon-button-group-DZKC6KGf.js +0 -428
- package/dist/_chunks/notes-panel-CHbDDMx8.js +0 -683
- package/dist/_chunks/panel-subview-CYnuX-KR.js +0 -171
- package/dist/_chunks/tasks-panel-DncuBPIZ.js +0 -844
- package/dist/_chunks/use-list-reflow-Cw43nxw5.js +0 -100
- package/dist/_chunks/use-priority-overflow-c9SjxZkZ.js +0 -101
- package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +0 -37
|
@@ -3,8 +3,8 @@ import { forwardRef as h, useId as Z, useState as y, useCallback as D, useImpera
|
|
|
3
3
|
import { c as C } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as de } from "react-i18next";
|
|
5
5
|
import * as m from "@radix-ui/react-navigation-menu";
|
|
6
|
-
import { I as ae } from "./icon-button-
|
|
7
|
-
import { S as f } from "./sheet-
|
|
6
|
+
import { I as ae } from "./icon-button-CY7GU_Se.js";
|
|
7
|
+
import { S as f } from "./sheet-D0Lh0KR2.js";
|
|
8
8
|
import { u as ne } from "./use-visual-viewport-pin-ChurOsHM.js";
|
|
9
9
|
import { C as R } from "./chevron-down-DWE7GSq9.js";
|
|
10
10
|
import { X as re } from "./x-B5YnXwCz.js";
|
|
@@ -600,4 +600,4 @@ export {
|
|
|
600
600
|
Le as P,
|
|
601
601
|
Pe as p
|
|
602
602
|
};
|
|
603
|
-
//# sourceMappingURL=public-header.agent-
|
|
603
|
+
//# sourceMappingURL=public-header.agent-B9wDmUeB.js.map
|
package/dist/_chunks/{radiograph-panel.agent-LrILY2lN.js → radiograph-panel.agent-TmyIvTOa.js}
RENAMED
|
@@ -2,15 +2,15 @@ import { jsxs as c, Fragment as j, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as X, useState as h, useRef as ee, useImperativeHandle as ae, useMemo as re, useCallback as _, useEffect as ie } from "react";
|
|
3
3
|
import { useTranslation as S } from "react-i18next";
|
|
4
4
|
import { D as y } from "./dialog-BJiLqhx6.js";
|
|
5
|
-
import { B as T } from "./button-
|
|
6
|
-
import { I as v } from "./icon-button-
|
|
7
|
-
import { B as L } from "./badge-
|
|
5
|
+
import { B as T } from "./button-18oBsI3n.js";
|
|
6
|
+
import { I as v } from "./icon-button-CY7GU_Se.js";
|
|
7
|
+
import { B as L } from "./badge-BAkd6_Pj.js";
|
|
8
8
|
import { F as V } from "./form-field-CahJzTxp.js";
|
|
9
9
|
import { T as oe } from "./text-area-Bt3p7Pt0.js";
|
|
10
|
-
import { F as de } from "./file-upload-
|
|
10
|
+
import { F as de } from "./file-upload-B242a_Y1.js";
|
|
11
11
|
import { D as te } from "./date-picker-6tFnKFty.js";
|
|
12
12
|
import { D as le } from "./date-range-picker-TpmECKRh.js";
|
|
13
|
-
import { E } from "./empty-state-
|
|
13
|
+
import { E } from "./empty-state-DTBZ1ENT.js";
|
|
14
14
|
import { P as ne } from "./panel-header-D_mTdhUp.js";
|
|
15
15
|
import { c as $ } from "./createLucideIcon-DhHxpK9K.js";
|
|
16
16
|
import { U as se } from "./upload-BfT2hzMg.js";
|
|
@@ -533,4 +533,4 @@ export {
|
|
|
533
533
|
qe as R,
|
|
534
534
|
Ae as r
|
|
535
535
|
};
|
|
536
|
-
//# sourceMappingURL=radiograph-panel.agent-
|
|
536
|
+
//# sourceMappingURL=radiograph-panel.agent-TmyIvTOa.js.map
|
|
@@ -6,10 +6,10 @@ import { u as X } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { R as k } from "./rating-BYbUowdK.js";
|
|
7
7
|
import { C as A } from "./card-DPmk26CL.js";
|
|
8
8
|
import { C as Y, b as Z, a as ee } from "./collapsible-CTjxzGuF.js";
|
|
9
|
-
import { D as l } from "./description-list-
|
|
10
|
-
import { E as te } from "./empty-state-
|
|
9
|
+
import { D as l } from "./description-list-1A2DEbE6.js";
|
|
10
|
+
import { E as te } from "./empty-state-DTBZ1ENT.js";
|
|
11
11
|
import { S as T } from "./skeleton-B1KTdJ4N.js";
|
|
12
|
-
import { B as se } from "./button-
|
|
12
|
+
import { B as se } from "./button-18oBsI3n.js";
|
|
13
13
|
import { P as re } from "./panel-header-D_mTdhUp.js";
|
|
14
14
|
import { S as ae } from "./star-Bf9L2Uot.js";
|
|
15
15
|
import { C as ne } from "./chevron-down-DWE7GSq9.js";
|
|
@@ -556,4 +556,4 @@ export {
|
|
|
556
556
|
me as R,
|
|
557
557
|
ie as r
|
|
558
558
|
};
|
|
559
|
-
//# sourceMappingURL=reviews-panel-
|
|
559
|
+
//# sourceMappingURL=reviews-panel-BdwFp_0c.js.map
|
|
@@ -7,27 +7,27 @@ import { u as Qo } from "./registry-DvAUVLHh.js";
|
|
|
7
7
|
import { u as Yo } from "./use-ai-sparkle-Cf4yVTLB.js";
|
|
8
8
|
import { S as On } from "./spinner-hbwuKwMf.js";
|
|
9
9
|
import { A as Jo } from "./ai-sparkle-D23NT8Z_.js";
|
|
10
|
-
import { B as Te } from "./button-
|
|
11
|
-
import { I as j } from "./icon-button-
|
|
12
|
-
import { A as ea } from "./ai-permission-notice-
|
|
10
|
+
import { B as Te } from "./button-18oBsI3n.js";
|
|
11
|
+
import { I as j } from "./icon-button-CY7GU_Se.js";
|
|
12
|
+
import { A as ea } from "./ai-permission-notice-BRZeS3mT.js";
|
|
13
13
|
import { T as ta } from "./text-area-Bt3p7Pt0.js";
|
|
14
|
-
import { E as Rn } from "./editor-overlay-
|
|
14
|
+
import { E as Rn } from "./editor-overlay-BDiBvQmL.js";
|
|
15
15
|
import { X as Mr } from "./x-B5YnXwCz.js";
|
|
16
16
|
import { R as na } from "./rotate-ccw-BBQnIVTr.js";
|
|
17
17
|
import { C as ra } from "./check-DrFSN__t.js";
|
|
18
18
|
import { S as Ct } from "./square-DASBRZ0U.js";
|
|
19
19
|
import { M as zn } from "./mic-CUklMZGF.js";
|
|
20
20
|
import { S as oa } from "./send-C5kDJ-Mz.js";
|
|
21
|
-
import { D as te } from "./dropdown-menu-
|
|
21
|
+
import { D as te } from "./dropdown-menu-C8PaW3lR.js";
|
|
22
22
|
import * as Xt from "@radix-ui/react-popover";
|
|
23
|
-
import { V as jr } from "./variables-menu-
|
|
23
|
+
import { V as jr } from "./variables-menu-aJLKJ_cu.js";
|
|
24
24
|
import { a as qn } from "./tooltip-Cp-PLePW.js";
|
|
25
|
-
import { P as ee } from "./popover-
|
|
25
|
+
import { P as ee } from "./popover-Dvb40vPH.js";
|
|
26
26
|
import { D as ie } from "./dialog-BJiLqhx6.js";
|
|
27
27
|
import { C as Bn } from "./color-picker-Bl5f0iK1.js";
|
|
28
28
|
import { T as Yt } from "./text-input-CUvCb6ST.js";
|
|
29
29
|
import { C as aa } from "./checkbox-CZkipDn7.js";
|
|
30
|
-
import { F as ia } from "./file-upload-
|
|
30
|
+
import { F as ia } from "./file-upload-B242a_Y1.js";
|
|
31
31
|
import { c as H } from "./createLucideIcon-DhHxpK9K.js";
|
|
32
32
|
import { E as sa } from "./ellipsis-dRo9ouSU.js";
|
|
33
33
|
import { H as la, U as ca } from "./undo-2-CYNAzclj.js";
|
|
@@ -36,8 +36,8 @@ import { C as Gr } from "./chevron-down-DWE7GSq9.js";
|
|
|
36
36
|
import { P as ua } from "./plus-DzMQ_c6b.js";
|
|
37
37
|
import { S as ma } from "./settings-d25ju_6L.js";
|
|
38
38
|
import { T as fa } from "./trash-2-uumy3fy1.js";
|
|
39
|
-
import { H as _n, u as ga } from "./hover-card-
|
|
40
|
-
import { A as ha } from "./ai-credits-notice-
|
|
39
|
+
import { H as _n, u as ga } from "./hover-card-BplP5SzQ.js";
|
|
40
|
+
import { A as ha } from "./ai-credits-notice-C-kz_RrY.js";
|
|
41
41
|
/**
|
|
42
42
|
* @license lucide-react v1.22.0 - ISC
|
|
43
43
|
*
|
|
@@ -1062,6 +1062,7 @@ function Di({
|
|
|
1062
1062
|
{
|
|
1063
1063
|
align: "start",
|
|
1064
1064
|
sideOffset: 4,
|
|
1065
|
+
className: "ds:z-[var(--z-popover)]",
|
|
1065
1066
|
onCloseAutoFocus: (T) => {
|
|
1066
1067
|
k.current && (T.preventDefault(), k.current = !1);
|
|
1067
1068
|
},
|
|
@@ -4150,4 +4151,4 @@ export {
|
|
|
4150
4151
|
Ri as r,
|
|
4151
4152
|
ks as w
|
|
4152
4153
|
};
|
|
4153
|
-
//# sourceMappingURL=rich-text-editor-
|
|
4154
|
+
//# sourceMappingURL=rich-text-editor-y6ML0KeV.js.map
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import { forwardRef as te, useState as j, useEffect as F, useRef as
|
|
3
|
-
import { c as
|
|
1
|
+
import { jsx as a, jsxs as K, Fragment as ae } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as te, useState as j, useEffect as F, useRef as _, useMemo as E, useImperativeHandle as G, useId as ne, useCallback as D } from "react";
|
|
3
|
+
import { c as A } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as U } from "react-i18next";
|
|
5
5
|
import * as P from "@radix-ui/react-popover";
|
|
6
6
|
import { S as oe } from "./search-input-B7GmlPIE.js";
|
|
7
|
+
import { b as ie } from "./menu-row-BAr8bx1I.js";
|
|
7
8
|
import { u as W } from "./registry-DvAUVLHh.js";
|
|
8
9
|
import { n as O } from "./normalize-diacritics-BNGbFNlJ.js";
|
|
9
|
-
import { S as
|
|
10
|
-
import { u as
|
|
10
|
+
import { S as de } from "./search-QbWPlY5f.js";
|
|
11
|
+
import { u as ce } from "./use-debounced-callback-BisrB-Fq.js";
|
|
11
12
|
const J = {
|
|
12
13
|
id: "search-bar",
|
|
13
14
|
// The query is a transient filter (set_query/clear), not inline content
|
|
@@ -109,12 +110,12 @@ const J = {
|
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
};
|
|
112
|
-
function
|
|
113
|
+
function le() {
|
|
113
114
|
if (typeof navigator > "u") return !1;
|
|
114
115
|
const s = navigator.userAgentData, r = (s == null ? void 0 : s.platform) ?? navigator.platform ?? "";
|
|
115
116
|
return /mac/i.test(r);
|
|
116
117
|
}
|
|
117
|
-
const
|
|
118
|
+
const ue = A(
|
|
118
119
|
[
|
|
119
120
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
120
121
|
"ds:rounded-[var(--radius-md)]",
|
|
@@ -154,7 +155,7 @@ const le = V(
|
|
|
154
155
|
density: "default"
|
|
155
156
|
}
|
|
156
157
|
}
|
|
157
|
-
),
|
|
158
|
+
), pe = A(
|
|
158
159
|
["ds:inline-flex ds:flex-col", "ds:w-full"].join(" "),
|
|
159
160
|
{
|
|
160
161
|
variants: {
|
|
@@ -173,7 +174,7 @@ const le = V(
|
|
|
173
174
|
density: "default"
|
|
174
175
|
}
|
|
175
176
|
}
|
|
176
|
-
), X =
|
|
177
|
+
), X = A(
|
|
177
178
|
[
|
|
178
179
|
"ds:hidden ds:md:inline-flex ds:items-center ds:gap-[calc(var(--spacing-xs)/2)]",
|
|
179
180
|
"ds:ms-auto",
|
|
@@ -187,7 +188,7 @@ const le = V(
|
|
|
187
188
|
"ds:text-[length:var(--font-size-xs)] ds:text-[color:var(--foreground)]",
|
|
188
189
|
"ds:font-[family-name:var(--font-mono)]"
|
|
189
190
|
].join(" ")
|
|
190
|
-
),
|
|
191
|
+
), he = A(
|
|
191
192
|
[
|
|
192
193
|
"ds:z-[var(--z-dropdown)]",
|
|
193
194
|
"ds:rounded-[var(--radius-md)]",
|
|
@@ -202,7 +203,7 @@ const le = V(
|
|
|
202
203
|
"ds:motion-reduce:animate-none"
|
|
203
204
|
].join(" ")
|
|
204
205
|
);
|
|
205
|
-
function
|
|
206
|
+
function Me(s, r) {
|
|
206
207
|
const o = O(s.trim());
|
|
207
208
|
return o === "" ? r : r.map((i) => ({
|
|
208
209
|
...i,
|
|
@@ -211,7 +212,7 @@ function Re(s, r) {
|
|
|
211
212
|
)
|
|
212
213
|
})).filter((i) => i.items.length > 0);
|
|
213
214
|
}
|
|
214
|
-
const
|
|
215
|
+
const fe = te(
|
|
215
216
|
(s, r) => {
|
|
216
217
|
const {
|
|
217
218
|
mode: o = "launcher",
|
|
@@ -231,15 +232,15 @@ const he = te(
|
|
|
231
232
|
onSelect: m,
|
|
232
233
|
debounceMs: b,
|
|
233
234
|
...C
|
|
234
|
-
} = s, { t: v } = U(), [
|
|
235
|
+
} = s, { t: v } = U(), [H, M] = j(!1);
|
|
235
236
|
F(() => {
|
|
236
|
-
|
|
237
|
+
M(le());
|
|
237
238
|
}, []);
|
|
238
|
-
const
|
|
239
|
+
const I = H ? "⌘K" : "Ctrl+K", x = "Meta+K Control+K", S = l ? { role: "search" } : { role: void 0 };
|
|
239
240
|
if (o === "launcher") {
|
|
240
241
|
const R = t ?? v("search.placeholder", "Search…");
|
|
241
242
|
return /* @__PURE__ */ a(
|
|
242
|
-
|
|
243
|
+
me,
|
|
243
244
|
{
|
|
244
245
|
forwardedRef: r,
|
|
245
246
|
id: u,
|
|
@@ -250,15 +251,15 @@ const he = te(
|
|
|
250
251
|
resolvedPlaceholder: R,
|
|
251
252
|
openLabel: v("search.open", "Open search"),
|
|
252
253
|
ariaKeyshortcuts: x,
|
|
253
|
-
launcherClass:
|
|
254
|
+
launcherClass: ue({ size: i, density: f }),
|
|
254
255
|
shortcutHint: g,
|
|
255
|
-
shortcutLabel:
|
|
256
|
+
shortcutLabel: I,
|
|
256
257
|
rest: C
|
|
257
258
|
}
|
|
258
259
|
);
|
|
259
260
|
}
|
|
260
261
|
return /* @__PURE__ */ a(
|
|
261
|
-
|
|
262
|
+
ve,
|
|
262
263
|
{
|
|
263
264
|
forwardedRef: r,
|
|
264
265
|
size: i,
|
|
@@ -266,7 +267,7 @@ const he = te(
|
|
|
266
267
|
landmarkProps: S,
|
|
267
268
|
placeholder: t,
|
|
268
269
|
shortcutHint: g,
|
|
269
|
-
shortcutLabel:
|
|
270
|
+
shortcutLabel: I,
|
|
270
271
|
ariaKeyshortcuts: x,
|
|
271
272
|
className: y,
|
|
272
273
|
id: u,
|
|
@@ -276,8 +277,8 @@ const he = te(
|
|
|
276
277
|
);
|
|
277
278
|
}
|
|
278
279
|
);
|
|
279
|
-
|
|
280
|
-
function
|
|
280
|
+
fe.displayName = "SearchBar";
|
|
281
|
+
function me(s) {
|
|
281
282
|
const {
|
|
282
283
|
forwardedRef: r,
|
|
283
284
|
id: o,
|
|
@@ -292,7 +293,7 @@ function fe(s) {
|
|
|
292
293
|
shortcutHint: p,
|
|
293
294
|
shortcutLabel: w,
|
|
294
295
|
rest: N
|
|
295
|
-
} = s, d =
|
|
296
|
+
} = s, d = _(null), c = _(null), m = E(
|
|
296
297
|
() => ({
|
|
297
298
|
getQuery: () => "",
|
|
298
299
|
// Launcher mode is stateless \u2014 it delegates to CommandPalette.
|
|
@@ -322,7 +323,7 @@ function fe(s) {
|
|
|
322
323
|
"data-component-id": o,
|
|
323
324
|
id: o,
|
|
324
325
|
className: f,
|
|
325
|
-
children: /* @__PURE__ */
|
|
326
|
+
children: /* @__PURE__ */ K(
|
|
326
327
|
"button",
|
|
327
328
|
{
|
|
328
329
|
ref: d,
|
|
@@ -335,7 +336,7 @@ function fe(s) {
|
|
|
335
336
|
...N,
|
|
336
337
|
children: [
|
|
337
338
|
/* @__PURE__ */ a(
|
|
338
|
-
|
|
339
|
+
de,
|
|
339
340
|
{
|
|
340
341
|
"aria-hidden": !0,
|
|
341
342
|
className: "ds:size-4 ds:shrink-0",
|
|
@@ -350,7 +351,7 @@ function fe(s) {
|
|
|
350
351
|
}
|
|
351
352
|
);
|
|
352
353
|
}
|
|
353
|
-
function
|
|
354
|
+
function ve(s) {
|
|
354
355
|
const {
|
|
355
356
|
forwardedRef: r,
|
|
356
357
|
size: o,
|
|
@@ -369,7 +370,7 @@ function me(s) {
|
|
|
369
370
|
results: c,
|
|
370
371
|
onSelect: m,
|
|
371
372
|
debounceMs: b = 150
|
|
372
|
-
} = s, { t: C } = U(), v = w !== void 0, [
|
|
373
|
+
} = s, { t: C } = U(), v = w !== void 0, [H, M] = j(N ?? ""), I = v ? w ?? "" : H, [x, S] = j(!1), [k, R] = j(0), Q = _(null), B = ne(), T = ce((e) => {
|
|
373
374
|
d == null || d(e);
|
|
374
375
|
}, b), h = E(() => c ? c.flatMap((e) => e.items) : [], [c]);
|
|
375
376
|
F(() => {
|
|
@@ -377,12 +378,12 @@ function me(s) {
|
|
|
377
378
|
}, [h.length, k]);
|
|
378
379
|
const Y = D(
|
|
379
380
|
(e) => {
|
|
380
|
-
v ||
|
|
381
|
+
v || M(e), T(e), S(e.trim().length > 0);
|
|
381
382
|
},
|
|
382
|
-
[
|
|
383
|
-
),
|
|
383
|
+
[T, v]
|
|
384
|
+
), q = D(
|
|
384
385
|
(e) => {
|
|
385
|
-
m == null || m(e), S(!1), v ||
|
|
386
|
+
m == null || m(e), S(!1), v || M("");
|
|
386
387
|
},
|
|
387
388
|
[m, v]
|
|
388
389
|
), Z = D(
|
|
@@ -394,66 +395,66 @@ function me(s) {
|
|
|
394
395
|
}
|
|
395
396
|
if (x)
|
|
396
397
|
if (e.key === "ArrowDown")
|
|
397
|
-
e.preventDefault(), R((
|
|
398
|
+
e.preventDefault(), R((z) => (z + 1) % Math.max(h.length, 1));
|
|
398
399
|
else if (e.key === "ArrowUp")
|
|
399
400
|
e.preventDefault(), R(
|
|
400
|
-
(
|
|
401
|
+
(z) => (z - 1 + Math.max(h.length, 1)) % Math.max(h.length, 1)
|
|
401
402
|
);
|
|
402
403
|
else if (e.key === "Enter") {
|
|
403
|
-
const
|
|
404
|
-
|
|
404
|
+
const z = h[k];
|
|
405
|
+
z && (e.preventDefault(), q(z));
|
|
405
406
|
} else e.key === "Escape" && (e.preventDefault(), S(!1));
|
|
406
407
|
}
|
|
407
408
|
},
|
|
408
|
-
[x, h, k,
|
|
409
|
-
), ee = l ?? C("search.placeholder", "Search…"), L = h.length > 0, se = x && L ? `${B}-option-${k}` : void 0,
|
|
409
|
+
[x, h, k, q]
|
|
410
|
+
), ee = l ?? C("search.placeholder", "Search…"), L = h.length > 0, se = x && L ? `${B}-option-${k}` : void 0, V = D(
|
|
410
411
|
(e) => {
|
|
411
|
-
v ||
|
|
412
|
+
v || M(e), d == null || d(e), S(e.trim().length > 0);
|
|
412
413
|
},
|
|
413
414
|
[v, d]
|
|
414
|
-
),
|
|
415
|
+
), $ = _(null);
|
|
415
416
|
G(
|
|
416
417
|
r,
|
|
417
|
-
() =>
|
|
418
|
+
() => $.current,
|
|
418
419
|
[]
|
|
419
420
|
);
|
|
420
421
|
const re = E(
|
|
421
422
|
() => ({
|
|
422
|
-
getQuery: () =>
|
|
423
|
-
setQuery:
|
|
423
|
+
getQuery: () => I,
|
|
424
|
+
setQuery: V,
|
|
424
425
|
clear: () => {
|
|
425
|
-
|
|
426
|
+
V("");
|
|
426
427
|
},
|
|
427
428
|
submit: () => {
|
|
428
429
|
const e = h[k];
|
|
429
|
-
e &&
|
|
430
|
+
e && q(e);
|
|
430
431
|
},
|
|
431
432
|
focus: () => {
|
|
432
433
|
var e;
|
|
433
|
-
return (e =
|
|
434
|
+
return (e = Q.current) == null ? void 0 : e.focus();
|
|
434
435
|
},
|
|
435
436
|
applySavedSearch: (e) => p == null ? void 0 : p(e)
|
|
436
437
|
}),
|
|
437
438
|
[
|
|
438
|
-
|
|
439
|
-
|
|
439
|
+
I,
|
|
440
|
+
V,
|
|
440
441
|
h,
|
|
441
442
|
k,
|
|
442
|
-
|
|
443
|
+
q,
|
|
443
444
|
p
|
|
444
445
|
]
|
|
445
446
|
);
|
|
446
|
-
return W(J, re, u), /* @__PURE__ */ a(P.Root, { open: x && L, onOpenChange: S, children: /* @__PURE__ */
|
|
447
|
+
return W(J, re, u), /* @__PURE__ */ a(P.Root, { open: x && L, onOpenChange: S, children: /* @__PURE__ */ K(
|
|
447
448
|
"div",
|
|
448
449
|
{
|
|
449
|
-
ref:
|
|
450
|
+
ref: $,
|
|
450
451
|
...f,
|
|
451
452
|
id: u,
|
|
452
453
|
"data-component": "search-bar",
|
|
453
454
|
"data-component-id": u,
|
|
454
|
-
className: [
|
|
455
|
+
className: [pe({ size: o, density: i }), n].filter(Boolean).join(" "),
|
|
455
456
|
children: [
|
|
456
|
-
/* @__PURE__ */ a(P.Anchor, { asChild: !0, children: /* @__PURE__ */
|
|
457
|
+
/* @__PURE__ */ a(P.Anchor, { asChild: !0, children: /* @__PURE__ */ K(
|
|
457
458
|
"div",
|
|
458
459
|
{
|
|
459
460
|
className: "ds:relative ds:flex ds:items-center",
|
|
@@ -462,9 +463,9 @@ function me(s) {
|
|
|
462
463
|
/* @__PURE__ */ a(
|
|
463
464
|
oe,
|
|
464
465
|
{
|
|
465
|
-
ref:
|
|
466
|
+
ref: Q,
|
|
466
467
|
size: o,
|
|
467
|
-
value:
|
|
468
|
+
value: I,
|
|
468
469
|
onInput: Y,
|
|
469
470
|
placeholder: ee,
|
|
470
471
|
"aria-label": C("search.label", "Search"),
|
|
@@ -498,7 +499,7 @@ function me(s) {
|
|
|
498
499
|
"aria-label": C("search.resultsLabel", "Search results"),
|
|
499
500
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
500
501
|
className: [
|
|
501
|
-
|
|
502
|
+
he(),
|
|
502
503
|
"ds:w-[var(--radix-popover-trigger-width)]"
|
|
503
504
|
].join(" "),
|
|
504
505
|
children: /* @__PURE__ */ a(
|
|
@@ -508,11 +509,11 @@ function me(s) {
|
|
|
508
509
|
role: "listbox",
|
|
509
510
|
"aria-label": C("search.resultsLabel", "Search results"),
|
|
510
511
|
className: "ds:flex ds:flex-col ds:gap-[calc(var(--spacing-xs)/2)]",
|
|
511
|
-
children: c && c.length > 0 ?
|
|
512
|
+
children: c && c.length > 0 ? ge(
|
|
512
513
|
c,
|
|
513
514
|
k,
|
|
514
515
|
B,
|
|
515
|
-
|
|
516
|
+
q,
|
|
516
517
|
R
|
|
517
518
|
) : /* @__PURE__ */ a(
|
|
518
519
|
"div",
|
|
@@ -523,7 +524,7 @@ function me(s) {
|
|
|
523
524
|
"search.noResults",
|
|
524
525
|
"No results for “{{query}}”",
|
|
525
526
|
{
|
|
526
|
-
query:
|
|
527
|
+
query: I
|
|
527
528
|
}
|
|
528
529
|
)
|
|
529
530
|
}
|
|
@@ -536,11 +537,11 @@ function me(s) {
|
|
|
536
537
|
}
|
|
537
538
|
) });
|
|
538
539
|
}
|
|
539
|
-
function
|
|
540
|
+
function ge(s, r, o, i, f) {
|
|
540
541
|
let l = 0;
|
|
541
542
|
return s.map((t, g) => {
|
|
542
543
|
const y = t.heading ? `${o}-group-${g}-heading` : void 0;
|
|
543
|
-
return /* @__PURE__ */
|
|
544
|
+
return /* @__PURE__ */ K(
|
|
544
545
|
"div",
|
|
545
546
|
{
|
|
546
547
|
role: t.heading ? "group" : "presentation",
|
|
@@ -558,7 +559,7 @@ function ve(s, r, o, i, f) {
|
|
|
558
559
|
t.items.map((n) => {
|
|
559
560
|
const u = l;
|
|
560
561
|
l += 1;
|
|
561
|
-
const p = u === r, w = `${o}-option-${u}`, N =
|
|
562
|
+
const p = u === r, w = `${o}-option-${u}`, N = ye(n.href), d = [
|
|
562
563
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
563
564
|
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
564
565
|
"ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]",
|
|
@@ -566,8 +567,8 @@ function ve(s, r, o, i, f) {
|
|
|
566
567
|
"ds:cursor-pointer",
|
|
567
568
|
"ds:no-underline ds:text-[color:var(--foreground)]",
|
|
568
569
|
"ds:min-h-[var(--min-target-size)]",
|
|
569
|
-
|
|
570
|
-
].join(" "), c = /* @__PURE__ */
|
|
570
|
+
ie.active
|
|
571
|
+
].join(" "), c = /* @__PURE__ */ K(ae, { children: [
|
|
571
572
|
n.icon ? /* @__PURE__ */ a(
|
|
572
573
|
"span",
|
|
573
574
|
{
|
|
@@ -582,6 +583,7 @@ function ve(s, r, o, i, f) {
|
|
|
582
583
|
id: w,
|
|
583
584
|
role: "option",
|
|
584
585
|
"aria-selected": p,
|
|
586
|
+
"data-active": p || void 0,
|
|
585
587
|
// onMouseDown rather than onClick so we trigger before the
|
|
586
588
|
// input loses focus to the pointer-down on the popover.
|
|
587
589
|
onMouseDown: (b) => {
|
|
@@ -598,15 +600,15 @@ function ve(s, r, o, i, f) {
|
|
|
598
600
|
);
|
|
599
601
|
});
|
|
600
602
|
}
|
|
601
|
-
function
|
|
603
|
+
function ye(s) {
|
|
602
604
|
if (!s) return;
|
|
603
605
|
const r = s.trim();
|
|
604
606
|
if (r !== "" && (/^(https?:|mailto:|tel:)/i.test(r) || /^(\/|\.\/|\.\.\/)/.test(r)))
|
|
605
607
|
return r;
|
|
606
608
|
}
|
|
607
609
|
export {
|
|
608
|
-
|
|
609
|
-
|
|
610
|
+
fe as S,
|
|
611
|
+
Me as f,
|
|
610
612
|
J as s
|
|
611
613
|
};
|
|
612
|
-
//# sourceMappingURL=search-bar-
|
|
614
|
+
//# sourceMappingURL=search-bar-6bHatpYJ.js.map
|