@alfadocs/ui-kit 1.57.0 → 1.59.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-Dj1ZkvJj.js → actions-cell-renderer-KoO3EYrZ.js} +4 -4
- package/dist/_chunks/{address-fields-BfjxS05Z.js → address-fields-CJtu7LQU.js} +2 -2
- package/dist/_chunks/{agenda-tray-ZKhDxlfw.js → agenda-tray-D3GH9t3T.js} +3 -3
- package/dist/_chunks/{ai-credits-notice-ktklr8fy.js → ai-credits-notice-DAxBt_wr.js} +11 -11
- package/dist/_chunks/{ai-permission-notice-DyuEGwAt.js → ai-permission-notice-htJegWcH.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-Beh-O_rJ.js → ai-prompt-input-DRNqTCSK.js} +3 -3
- package/dist/_chunks/{alia-sidebar-BBKBJCv6.js → alia-sidebar-bMVUsMmJ.js} +8 -8
- package/dist/_chunks/{anamnesis-card-BSlAhaoG.js → anamnesis-card-Bh7Tg6i-.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-card-2YfIYY2j.js → anamnesis-summary-card-cCj7LPh3.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-CCQ62mMN.js → anamnesis-summary-rows-D9cFUeXk.js} +14 -14
- package/dist/_chunks/{antenatal-schedule-timeline-Kf2Yg8uo.js → antenatal-schedule-timeline-CfNFrej5.js} +2 -2
- package/dist/_chunks/{app-frame-B-0O9CrU.js → app-frame-CqmDh2v5.js} +2 -2
- package/dist/_chunks/{appointment-card-Dh3fAcyf.js → appointment-card-BXQUZlAJ.js} +2 -2
- package/dist/_chunks/{appointment-peek-WvNbE4JG.js → appointment-peek-drkQF54M.js} +4 -4
- package/dist/_chunks/{appointment-timeline-Z0494xO-.js → appointment-timeline-C3mTzaUm.js} +5 -5
- package/dist/_chunks/{appointment-tray-CyI_p3zU.js → appointment-tray-CUBBT4mL.js} +4 -4
- package/dist/_chunks/{audio-recorder-DWKKjGPt.js → audio-recorder-B1TpJoMu.js} +4 -4
- package/dist/_chunks/{balance-badge-cell-CII3SDmR.js → balance-badge-cell-BC92nTi9.js} +5 -5
- package/dist/_chunks/{bishop-score-BxA20j9T.js → bishop-score-BOjlxLzL.js} +4 -4
- package/dist/_chunks/{bmi-calculator-C0UTxB7R.js → bmi-calculator-JNiTHdYJ.js} +3 -3
- package/dist/_chunks/{booking-81WnKDsH.js → booking-BdWwr_NM.js} +8 -8
- package/dist/_chunks/{button-Bn16lcFM.js → button-CnUVJg1Y.js} +71 -61
- package/dist/_chunks/{button-group-CWlwR-A5.js → button-group-DLqAoowT.js} +73 -73
- package/dist/_chunks/{calculator-dialog-CzQv03p0.js → calculator-dialog-BUfaWqvu.js} +2 -2
- package/dist/_chunks/{calendar-6-24PQ1u.js → calendar-KihOHLCs.js} +2 -2
- package/dist/_chunks/{calendar-workspace-D5-k_9zE.js → calendar-workspace-DD378Xg8.js} +30 -30
- package/dist/_chunks/{card-DMO2nkt4.js → card-BA4Ig_kn.js} +9 -8
- package/dist/_chunks/{care-plan-card-DxrRLRdW.js → care-plan-card-Cd1En8-p.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-0rpR-4Te.js → care-plan-entry-card-FIYdF44t.js} +2 -2
- package/dist/_chunks/{care-plan-header-BMwZIgHJ.js → care-plan-header-DgPAJWS4.js} +2 -2
- package/dist/_chunks/{carousel.agent-D3xthzTf.js → carousel.agent-C7MXzwUi.js} +2 -2
- package/dist/_chunks/{chart-DQ5GxqgT.js → chart-0jK6B2ry.js} +407 -393
- package/dist/_chunks/{chat-input-PtrSu1ZC.js → chat-input-1c4k4-uk.js} +2 -2
- package/dist/_chunks/{chat-message-CmGUcajG.js → chat-message-Bv9eW1NW.js} +3 -3
- package/dist/_chunks/{city-input-BC_nYINn.js → city-input-3J3bz9EO.js} +2 -2
- package/dist/_chunks/{clinical-note-card-hx939bvw.js → clinical-note-card-L6FVM9Gx.js} +2 -2
- package/dist/_chunks/{code-block-BQgK70mO.js → code-block-DWVvOrUF.js} +2 -2
- package/dist/_chunks/{connection-status-ncTjUPt6.js → connection-status-D-Zeqpr3.js} +4 -4
- package/dist/_chunks/{contact-card-fHBMwEsx.js → contact-card-C8rEsC4Q.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CMyBYgRR.js → contact-profile-card-DJe2ld0g.js} +3 -3
- package/dist/_chunks/{control-room-rail-Tx2jW250.js → control-room-rail-DgS2snUz.js} +3 -3
- package/dist/_chunks/{copy-field-CvTIuA_p.js → copy-field-CY1f0k7O.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Cww9DzIa.js → cycle-calculator-sOOESGEG.js} +3 -3
- package/dist/_chunks/dashboard-grid-SAGjktTs.js +933 -0
- package/dist/_chunks/{data-table-fAMTeAjM.js → data-table-DjDuXaQB.js} +11 -11
- package/dist/_chunks/{data-table-tabs-CHYAAeHy.js → data-table-tabs-BsCll8sH.js} +3 -3
- package/dist/_chunks/{description-list-DkLeHiew.js → description-list-ZWlFfbOy.js} +2 -2
- package/dist/_chunks/{dev-bypass-button-BhGn6evf.js → dev-bypass-button-m-eXU2PU.js} +2 -2
- package/dist/_chunks/{dialog-Dn-iQ0Jp.js → dialog-D6fkpRc4.js} +72 -61
- package/dist/_chunks/{document-preview-CHGGG0l_.js → document-preview-E6od-Yy0.js} +4 -4
- package/dist/_chunks/{document-scanner-CQS9kv84.js → document-scanner-DDOMMswN.js} +2 -2
- package/dist/_chunks/{dropdown-menu-BQSNVp4x.js → dropdown-menu-D1we7oAY.js} +134 -133
- package/dist/_chunks/{due-date-calculator-D_qFUiHp.js → due-date-calculator-rtMADvJ8.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-CmYcMuwi.js → editable-currency-cell-renderer-DTtF6IIr.js} +3 -3
- package/dist/_chunks/{editable-description-DuJlvltc.js → editable-description-CriawIum.js} +3 -3
- package/dist/_chunks/{editor-overlay-NMxzcO6J.js → editor-overlay-CbFUYsVk.js} +2 -2
- package/dist/_chunks/{empty-state-gNG3qYCX.js → empty-state-BN_R5AzQ.js} +61 -59
- package/dist/_chunks/{entity-summary-CWcCSThK.js → entity-summary-CoCUJe3N.js} +4 -4
- package/dist/_chunks/{error-boundary-ChowhO6w.js → error-boundary-BlwcM1KR.js} +2 -2
- package/dist/_chunks/{error-page-CpuYbpOB.js → error-page-B0ER6tPK.js} +2 -2
- package/dist/_chunks/{face-scheme-BicuUA2K.js → face-scheme-BunF1rjI.js} +7 -7
- package/dist/_chunks/{fetal-weight-BWaqqjea.js → fetal-weight-67yvef3S.js} +3 -3
- package/dist/_chunks/{field-array-BO-kaKFK.js → field-array-BVitwPIt.js} +3 -3
- package/dist/_chunks/{file-manager-CFsL1KVt.js → file-manager-YXtUu76I.js} +9 -9
- package/dist/_chunks/{finished-terminal-CPSDrIMB.js → finished-terminal-DdLHDe_5.js} +3 -3
- package/dist/_chunks/{fiscal-code-input-DesSQ6Fh.js → fiscal-code-input-Dsa1M6VK.js} +2 -2
- package/dist/_chunks/{forgot-password-form-DEx-M_QR.js → forgot-password-form-C2ibWCZT.js} +4 -4
- package/dist/_chunks/{freemium-paywall-DIKuhX8b.js → freemium-paywall-C8CXWbhO.js} +27 -27
- package/dist/_chunks/{gestational-age-calculator-CZi43xKG.js → gestational-age-calculator-DT8XDFVK.js} +5 -5
- package/dist/_chunks/{hcg-doubling-Ccvh7OaU.js → hcg-doubling-BxggoYNV.js} +3 -3
- package/dist/_chunks/{header-B9552pLh.js → header-C0XQZtu6.js} +2 -2
- package/dist/_chunks/{header-settings-BMcCx2LC.js → header-settings-BJ6M2p9Q.js} +4 -4
- package/dist/_chunks/{heatmap-BEeOThkW.js → heatmap-COoukTUe.js} +6 -6
- package/dist/_chunks/{help-me-write-templates-BUoYGo6f.js → help-me-write-templates-DpcMweG1.js} +7 -7
- package/dist/_chunks/{hover-card-U_ZYoh1n.js → hover-card-s2qD4RAz.js} +2 -2
- package/dist/_chunks/{icon-button-COX76Jdj.js → icon-button-CsOGhuRB.js} +2 -2
- package/dist/_chunks/{icon-button-group-C5hhI-R5.js → icon-button-group-Cap4-Idv.js} +3 -3
- package/dist/_chunks/{icon-picker-C86lQTIA.js → icon-picker-BbO2FB4y.js} +4 -4
- package/dist/_chunks/{image-cropper-D0kkQ4lG.js → image-cropper-DXqCUezS.js} +2 -2
- package/dist/_chunks/{info-tip-CJpNpzZe.js → info-tip-CJqR9fhi.js} +2 -2
- package/dist/_chunks/{insert-result-C1C2OCc3.js → insert-result-BUEtHFMg.js} +2 -2
- package/dist/_chunks/{key-value-pair-BNNITp6S.js → key-value-pair-BN5lWXcB.js} +2 -2
- package/dist/_chunks/{kit-extensions-DYVxWcqv.js → kit-extensions-BVtvnev_.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-CxW_oLa5.js → link-cell-renderer-BZmRw_Yi.js} +6 -6
- package/dist/_chunks/{list-RRN2TJ_7.js → list-CNnn7DOD.js} +75 -73
- package/dist/_chunks/{locale-picker-BGfrZyTw.js → locale-picker-DVWHnuDN.js} +3 -3
- package/dist/_chunks/{login-dev-card-DmZ1B0lB.js → login-dev-card-DQioAtdz.js} +4 -4
- package/dist/_chunks/{map-view-CO2v0hfp.js → map-view-9Ro_P8O8.js} +2 -2
- package/dist/_chunks/marketplace-app-shell-DnuHxuoE.js +613 -0
- package/dist/_chunks/{message-card-DVo8-dOm.js → message-card-BNoaKInS.js} +3 -3
- package/dist/_chunks/{message-tray-QKQutwxj.js → message-tray-D4R0boMJ.js} +5 -5
- package/dist/_chunks/{muscle-scheme-BDgIaGeW.js → muscle-scheme-YoN3rYXV.js} +2 -2
- package/dist/_chunks/navigation-dismiss-B1mcW1CT.js +9 -0
- package/dist/_chunks/{notes-panel-Cm4pttpl.js → notes-panel-0Wots8rp.js} +7 -7
- package/dist/_chunks/{notification-card-BGCIL6Mu.js → notification-card-DRLmYlL8.js} +3 -3
- package/dist/_chunks/{notification-tray-C5VtbGjd.js → notification-tray-qrSc9Fcs.js} +5 -5
- package/dist/_chunks/{operator-hero-Dyd2IGbR.js → operator-hero-C_Khr5IU.js} +2 -2
- package/dist/_chunks/{optical-prescription-Do6e3wfs.js → optical-prescription-B0ap3kGl.js} +3 -3
- package/dist/_chunks/{pagination-BR1_GfD_.js → pagination-DvKGrsXu.js} +146 -142
- package/dist/_chunks/{panel-subview-BT-Apwgb.js → panel-subview-Bs0WhwR9.js} +62 -48
- package/dist/_chunks/{patient-details-99kEdtc5.js → patient-details-C6buDwuI.js} +4 -4
- package/dist/_chunks/{patient-field-row-DkxY13T6.js → patient-field-row-CKb4FIaM.js} +9 -9
- package/dist/_chunks/{patient-search-D5xlXmd2.js → patient-search-Cgv8Pjsc.js} +4 -4
- package/dist/_chunks/{patient-summary-card-opdyfeW2.js → patient-summary-card-DWx0emu2.js} +6 -6
- package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js → payment-automation-upsell-BAJwtVCs.js} +4 -4
- package/dist/_chunks/{payment-request-card-DAniJNLX.js → payment-request-card-BNiZqIzT.js} +4 -4
- package/dist/_chunks/{periodontal-chart-DD5C0M3l.js → periodontal-chart-DMWiP5Ti.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CxdXvsPU.js → periodontal-chart-card-D2ZFjN7G.js} +3 -3
- package/dist/_chunks/{periodontal-diagnosis-D-PJv7KS.js → periodontal-diagnosis-6wybid_W.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-D3DjIymT.js → periodontal-risk-chart-CgLwBj5c.js} +2 -2
- package/dist/_chunks/{popover-BG75rYjN.js → popover-CltTC2Rg.js} +2 -2
- package/dist/_chunks/popup-region-qz_5_A0V.js +79 -0
- package/dist/_chunks/{practice-profile-hero-C8RPACCi.js → practice-profile-hero-DPbvYfCs.js} +2 -2
- package/dist/_chunks/{practice-results-CfRkjzsI.js → practice-results-PINvX-1g.js} +6 -6
- package/dist/_chunks/{pregnancy-dating-BFzv9g1N.js → pregnancy-dating-BNSWXA0p.js} +5 -5
- package/dist/_chunks/{pregnancy-weight-gain-CUUrBTBo.js → pregnancy-weight-gain-CI7R6sA6.js} +3 -3
- package/dist/_chunks/{privacy-lock-WkUgwIj_.js → privacy-lock-CqLxFiLE.js} +3 -3
- package/dist/_chunks/{privacy-mask-ChIjELJC.js → privacy-mask-CUnJv35j.js} +3 -3
- package/dist/_chunks/{product-hub-panel-DlVRK7Ue.js → product-hub-panel-MbiHZwjC.js} +4 -4
- package/dist/_chunks/{public-header.agent-BctevbuY.js → public-header.agent-1MZVDYY1.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-DyqbTECc.js → radiograph-panel.agent-CpKvvZIU.js} +6 -6
- package/dist/_chunks/{registration-form-BlTzYywa.js → registration-form-JYravsvu.js} +7 -7
- package/dist/_chunks/{reviews-panel-CDcK6W3b.js → reviews-panel-B1Xirvh4.js} +5 -5
- package/dist/_chunks/{rich-text-editor-DTnNZ4Ff.js → rich-text-editor-CZXnqI3-.js} +11 -11
- package/dist/_chunks/{scroll-area-ZtFCv9K7.js → scroll-area-CY5SLYNw.js} +104 -74
- package/dist/_chunks/{search-bar-DQJS0wJN.js → search-bar-mA4bPe3t.js} +294 -255
- package/dist/_chunks/{section-card-ChJdOlBU.js → section-card-D5nWiTcK.js} +2 -2
- package/dist/_chunks/{select-Ce5RMk93.js → select-k4gBdS8N.js} +249 -224
- package/dist/_chunks/{session-countdown-CBINYw8H.js → session-countdown-DAyI9Wye.js} +2 -2
- package/dist/_chunks/{sheet-8qsiMoUI.js → sheet-D_bERXP2.js} +8 -8
- package/dist/_chunks/sidebar-D_S2-SXH.js +2165 -0
- package/dist/_chunks/{sign-in-with-alfadocs-button-D91_x8DX.js → sign-in-with-alfadocs-button-WfdfqQ8O.js} +2 -2
- package/dist/_chunks/{signature-request-DRuYAG5I.js → signature-request-BZIs36nH.js} +7 -7
- package/dist/_chunks/{signed-out-frame-AhMsNW1r.js → signed-out-frame-BR5sJSNX.js} +4 -4
- package/dist/_chunks/{slot-grid-sVZriOiQ.js → slot-grid-JU--9C6W.js} +4 -4
- package/dist/_chunks/{state-backed-text-input-DECQy5aA.js → state-backed-text-input-Cgh4ms3p.js} +2 -2
- package/dist/_chunks/{streaming-text-BKZmbW1Q.js → streaming-text-COuXesoR.js} +2 -2
- package/dist/_chunks/{tab-bar-Bm-rJB7Y.js → tab-bar-5GppbMGc.js} +2 -2
- package/dist/_chunks/{tabs-I2wf_nC7.js → tabs-2x3L13jn.js} +3 -3
- package/dist/_chunks/{task-card-BMXMh3uE.js → task-card-D9ngXO7p.js} +2 -2
- package/dist/_chunks/{task-editor-NkcopDna.js → task-editor-B7xb-mMs.js} +11 -10
- package/dist/_chunks/{task-tray-DsBO-AaP.js → task-tray-BAW_wbTO.js} +4 -4
- package/dist/_chunks/{tasks-panel-CdgZQQgG.js → tasks-panel-DQvN3TiB.js} +7 -7
- package/dist/_chunks/{theme-toggle-PpFcFoYK.js → theme-toggle-CfjLDUfK.js} +4 -4
- package/dist/_chunks/{timeline-DG8wAlAx.js → timeline-DEIuHrWz.js} +2 -2
- package/dist/_chunks/{toast-CPqguP7G.js → toast-2y0czYHr.js} +2 -2
- package/dist/_chunks/{token-insert-menu-B-pWFDKX.js → token-insert-menu-BzNAHiND.js} +3 -3
- package/dist/_chunks/{tool-rail-Bwyuw_Ot.js → tool-rail-DQ5qTv4l.js} +115 -114
- package/dist/_chunks/{tooth-scheme-BAO_voUO.js → tooth-scheme-CLyS9UUW.js} +3 -3
- package/dist/_chunks/{unit-converter-DS4UB_59.js → unit-converter-W62N99Mw.js} +3 -3
- package/dist/_chunks/{use-appointment-details-read-CfFQNOF_.js → use-appointment-details-read-Ba1DBPr7.js} +18 -18
- package/dist/_chunks/use-state-backed-input-DhRQo6gM.js +57 -0
- package/dist/_chunks/{voice-control-panel-BKbgb7FM.js → voice-control-panel-p7WMTj4D.js} +6 -6
- package/dist/_chunks/{warning-stack-ubD0IZCy.js → warning-stack-DGPuJNVD.js} +3 -3
- package/dist/_chunks/{widget-picker-rBA7MR5P.js → widget-picker-CkhoG4Rj.js} +80 -57
- package/dist/_chunks/{workflow-map-Demlpy39.js → workflow-map-DFuVff8U.js} +7 -7
- package/dist/_chunks/{workflow-status-BT27_fQp.js → workflow-status-Dc_CyEz5.js} +2 -2
- package/dist/agent-catalog.json +2 -2
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/_shared/navigation-dismiss.d.ts +8 -0
- package/dist/components/_shared/popup-region.d.ts +28 -0
- package/dist/components/_shared/use-state-backed-input.d.ts +3 -2
- package/dist/components/address-fields/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/app-frame/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/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 +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/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/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/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/dashboard-grid.d.ts +33 -8
- 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/dev-bypass-button/index.js +1 -1
- package/dist/components/dialog/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/empty-state.d.ts +8 -0
- package/dist/components/empty-state/index.d.ts +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/heatmap/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/list/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/muscle-scheme/index.js +1 -1
- 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/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/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/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/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +6 -5
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-bar/search-bar.d.ts +1 -1
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.d.ts +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar-move.d.ts +88 -0
- package/dist/components/sidebar/sidebar.d.ts +40 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/skeleton-scheme/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/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/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/unit-converter/index.js +1 -1
- package/dist/components/voice-control-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.js +1 -1
- package/dist/host-compat.css +2 -1
- package/dist/i18n/locales/ar.d.ts +15 -0
- package/dist/i18n/locales/ar.js +16 -1
- package/dist/i18n/locales/de.d.ts +15 -0
- package/dist/i18n/locales/de.js +16 -1
- package/dist/i18n/locales/el.d.ts +15 -0
- package/dist/i18n/locales/el.js +16 -1
- package/dist/i18n/locales/en.d.ts +15 -0
- package/dist/i18n/locales/en.js +16 -1
- package/dist/i18n/locales/es.d.ts +15 -0
- package/dist/i18n/locales/es.js +16 -1
- package/dist/i18n/locales/fr.d.ts +15 -0
- package/dist/i18n/locales/fr.js +16 -1
- package/dist/i18n/locales/hi.d.ts +15 -0
- package/dist/i18n/locales/hi.js +16 -1
- package/dist/i18n/locales/it.d.ts +15 -0
- package/dist/i18n/locales/it.js +16 -1
- package/dist/i18n/locales/ja.d.ts +15 -0
- package/dist/i18n/locales/ja.js +16 -1
- package/dist/i18n/locales/nl.d.ts +15 -0
- package/dist/i18n/locales/nl.js +16 -1
- package/dist/i18n/locales/pl.d.ts +15 -0
- package/dist/i18n/locales/pl.js +16 -1
- package/dist/i18n/locales/pt.d.ts +15 -0
- package/dist/i18n/locales/pt.js +16 -1
- package/dist/i18n/locales/ro.d.ts +15 -0
- package/dist/i18n/locales/ro.js +16 -1
- package/dist/i18n/locales/ru.d.ts +15 -0
- package/dist/i18n/locales/ru.js +16 -1
- package/dist/i18n/locales/sq.d.ts +15 -0
- package/dist/i18n/locales/sq.js +16 -1
- package/dist/i18n/locales/sv.d.ts +15 -0
- package/dist/i18n/locales/sv.js +16 -1
- package/dist/i18n/locales/tr.d.ts +15 -0
- package/dist/i18n/locales/tr.js +16 -1
- package/dist/i18n/locales/zh.d.ts +15 -0
- package/dist/i18n/locales/zh.js +16 -1
- package/dist/index.js +147 -147
- package/dist/locales/ar.json +16 -1
- package/dist/locales/de.json +16 -1
- package/dist/locales/el.json +16 -1
- package/dist/locales/en.json +16 -1
- package/dist/locales/es.json +16 -1
- package/dist/locales/fr.json +16 -1
- package/dist/locales/hi.json +16 -1
- package/dist/locales/it.json +16 -1
- package/dist/locales/ja.json +16 -1
- package/dist/locales/nl.json +16 -1
- package/dist/locales/pl.json +16 -1
- package/dist/locales/pt.json +16 -1
- package/dist/locales/ro.json +16 -1
- package/dist/locales/ru.json +16 -1
- package/dist/locales/sq.json +16 -1
- package/dist/locales/sv.json +16 -1
- package/dist/locales/tr.json +16 -1
- package/dist/locales/zh.json +16 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +34 -9
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +6 -3
- package/package.json +1 -1
- package/dist/_chunks/dashboard-grid-DfEY2qci.js +0 -844
- package/dist/_chunks/marketplace-app-shell-BZcA9Z06.js +0 -555
- package/dist/_chunks/sidebar-DLsG2AIk.js +0 -1349
- package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +0 -59
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsxs as R, jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as lt, useRef as h, useState as S, useMemo as j, useId as dt, useCallback as N, useEffect as re, useImperativeHandle as ct, Fragment as ut } from "react";
|
|
3
3
|
import { c as A } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { I as
|
|
6
|
-
import { S as
|
|
7
|
-
import { a as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
4
|
+
import { useTranslation as ft } from "react-i18next";
|
|
5
|
+
import { I as De } from "./icon-button-CsOGhuRB.js";
|
|
6
|
+
import { S as pt } from "./scroll-area-CY5SLYNw.js";
|
|
7
|
+
import { a as vt } from "./tooltip-Cp-PLePW.js";
|
|
8
|
+
import { u as gt } from "./use-controllable-state-BiY4xTzM.js";
|
|
9
|
+
import { u as mt } from "./use-edge-resize-DHbyQwu8.js";
|
|
10
10
|
import { u as M } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
11
|
-
import { a as
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as
|
|
14
|
-
import { u as
|
|
15
|
-
import { u as
|
|
16
|
-
const
|
|
11
|
+
import { a as bt, u as Ce, R as ht } from "./use-list-reflow-C7O4Uqnl.js";
|
|
12
|
+
import { u as yt } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
13
|
+
import { u as xt } from "./use-presence-transition-cDwWUXV-.js";
|
|
14
|
+
import { u as It } from "./use-theme-CAuo6EYT.js";
|
|
15
|
+
import { u as wt } from "./registry-DvAUVLHh.js";
|
|
16
|
+
const Tt = {
|
|
17
17
|
id: "tool-rail",
|
|
18
18
|
capabilities: ["open", "close", "select_single"],
|
|
19
19
|
state: {
|
|
@@ -85,7 +85,7 @@ const wt = {
|
|
|
85
85
|
description: "Stable tool id emitted on each strip IconButton. The active icon also carries data-active set to its id."
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
},
|
|
88
|
+
}, Rt = "ds:[inline-size:3rem]", St = "ds:[inline-size:var(--tool-rail-panel-inline-size,var(--ai-tools-rail-panel-inline-size,22rem))]", _e = "--tool-rail-panel-inline-size", At = 288, Et = 880, kt = 352, Lt = A(
|
|
89
89
|
["ds:flex ds:shrink-0 ds:h-full", "ds:bg-[var(--background)]"].join(" "),
|
|
90
90
|
{
|
|
91
91
|
variants: {
|
|
@@ -106,18 +106,18 @@ const wt = {
|
|
|
106
106
|
},
|
|
107
107
|
defaultVariants: { side: "end" }
|
|
108
108
|
}
|
|
109
|
-
),
|
|
109
|
+
), zt = A(
|
|
110
110
|
[
|
|
111
111
|
"ds:flex ds:shrink-0 ds:flex-col ds:items-center",
|
|
112
112
|
"ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]",
|
|
113
113
|
"ds:gap-[var(--spacing-xs)]",
|
|
114
|
-
|
|
114
|
+
Rt
|
|
115
115
|
].join(" ")
|
|
116
|
-
),
|
|
116
|
+
), Nt = A(
|
|
117
117
|
[
|
|
118
118
|
"ds:relative ds:flex ds:min-h-0 ds:flex-col ds:h-full",
|
|
119
119
|
"ds:bg-[var(--background)]",
|
|
120
|
-
|
|
120
|
+
St,
|
|
121
121
|
// Open / collapse: the panel fades and slides from the strip. The WIDTH
|
|
122
122
|
// snaps on purpose — animating it would re-lay-out the main area (a
|
|
123
123
|
// calendar grid) on every frame. Declared at rest so both directions
|
|
@@ -138,7 +138,7 @@ const wt = {
|
|
|
138
138
|
},
|
|
139
139
|
defaultVariants: { side: "end" }
|
|
140
140
|
}
|
|
141
|
-
),
|
|
141
|
+
), Dt = "ds:relative ds:flex ds:min-h-0 ds:flex-1 ds:flex-col ds:overflow-clip", Ve = A(
|
|
142
142
|
[
|
|
143
143
|
"ds:flex ds:min-h-0 ds:flex-col",
|
|
144
144
|
"ds:transition-[opacity,translate] ds:duration-[var(--animation-duration)]",
|
|
@@ -163,7 +163,7 @@ const wt = {
|
|
|
163
163
|
},
|
|
164
164
|
defaultVariants: { layer: "live" }
|
|
165
165
|
}
|
|
166
|
-
),
|
|
166
|
+
), Ct = 500, _t = [
|
|
167
167
|
"id",
|
|
168
168
|
"name",
|
|
169
169
|
"for",
|
|
@@ -171,10 +171,10 @@ const wt = {
|
|
|
171
171
|
"data-component-id",
|
|
172
172
|
"data-testid"
|
|
173
173
|
];
|
|
174
|
-
function
|
|
174
|
+
function Vt(l) {
|
|
175
175
|
return window.getComputedStyle(l).transitionDuration.split(",").some((n) => Number.parseFloat(n) > 0);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Bt(l) {
|
|
178
178
|
const n = l.cloneNode(!0), U = l.querySelectorAll("*"), q = n.querySelectorAll("*"), P = [];
|
|
179
179
|
return U.forEach((d, D) => {
|
|
180
180
|
var F;
|
|
@@ -186,14 +186,14 @@ function Vt(l) {
|
|
|
186
186
|
}
|
|
187
187
|
}), q.forEach((d) => {
|
|
188
188
|
const D = d instanceof SVGElement;
|
|
189
|
-
for (const f of
|
|
189
|
+
for (const f of _t)
|
|
190
190
|
D && f === "id" || d.removeAttribute(f);
|
|
191
191
|
if (d.matches("iframe, video, audio, embed, object, source"))
|
|
192
192
|
for (const f of ["src", "srcdoc", "data", "autoplay"])
|
|
193
193
|
d.removeAttribute(f);
|
|
194
194
|
}), { nodes: Array.from(n.childNodes), scrolls: P };
|
|
195
195
|
}
|
|
196
|
-
const
|
|
196
|
+
const jt = A(
|
|
197
197
|
[
|
|
198
198
|
"ds:absolute ds:[inset-block:0] ds:z-[1] ds:select-none ds:touch-none",
|
|
199
199
|
"ds:[inline-size:var(--resizable-handle-size)] ds:cursor-col-resize",
|
|
@@ -217,7 +217,7 @@ const Bt = A(
|
|
|
217
217
|
},
|
|
218
218
|
defaultVariants: { edge: "inline-start" }
|
|
219
219
|
}
|
|
220
|
-
),
|
|
220
|
+
), Mt = A(
|
|
221
221
|
[
|
|
222
222
|
"ds:absolute ds:-top-[var(--spacing-xs)] ds:-end-[var(--spacing-xs)]",
|
|
223
223
|
"ds:inline-flex ds:items-center ds:justify-center",
|
|
@@ -230,7 +230,7 @@ const Bt = A(
|
|
|
230
230
|
"ds:pointer-events-none ds:select-none",
|
|
231
231
|
"ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText]"
|
|
232
232
|
].join(" ")
|
|
233
|
-
),
|
|
233
|
+
), Be = A(
|
|
234
234
|
// `group/rail-tool` lets an affordance overlay (e.g. a pin star) reveal on
|
|
235
235
|
// hover / focus-within of the whole slot.
|
|
236
236
|
["ds:group/rail-tool ds:relative", "ds:rounded-[var(--radius-sm)]"],
|
|
@@ -252,14 +252,14 @@ const Bt = A(
|
|
|
252
252
|
reorderable: !1
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
),
|
|
255
|
+
), qt = "ds:opacity-0", je = [
|
|
256
256
|
"ds:transition-opacity ds:duration-[var(--animation-duration)]",
|
|
257
257
|
"ds:ease-[var(--ease-out)] ds:motion-reduce:transition-none"
|
|
258
258
|
].join(" ");
|
|
259
|
-
function
|
|
259
|
+
function Pt(l, n) {
|
|
260
260
|
return l > 99 ? n : String(l);
|
|
261
261
|
}
|
|
262
|
-
const
|
|
262
|
+
const Ft = lt(
|
|
263
263
|
({
|
|
264
264
|
id: l,
|
|
265
265
|
tools: n,
|
|
@@ -270,46 +270,46 @@ const Pt = ot(
|
|
|
270
270
|
railLabel: D,
|
|
271
271
|
resizablePanel: f = !1,
|
|
272
272
|
panelWidth: F,
|
|
273
|
-
onPanelWidthChange:
|
|
273
|
+
onPanelWidthChange: Me,
|
|
274
274
|
onReorder: K,
|
|
275
275
|
formatReorderAnnouncement: W,
|
|
276
276
|
renderToolAffordance: Z,
|
|
277
277
|
renderPanelHeader: ie,
|
|
278
|
-
dataComponent:
|
|
279
|
-
agentAdapter:
|
|
280
|
-
className:
|
|
281
|
-
},
|
|
282
|
-
var
|
|
283
|
-
const { t: y } =
|
|
278
|
+
dataComponent: qe = "tool-rail",
|
|
279
|
+
agentAdapter: Pe = Tt,
|
|
280
|
+
className: Fe
|
|
281
|
+
}, Ke) => {
|
|
282
|
+
var ke, Le;
|
|
283
|
+
const { t: y } = ft("ui"), [Oe, x] = gt({
|
|
284
284
|
value: U,
|
|
285
285
|
defaultValue: q,
|
|
286
286
|
onChange: P
|
|
287
|
-
}), I =
|
|
287
|
+
}), I = Oe ?? null, G = h([]), C = h(null), [oe, Y] = S(0), E = h(!1), X = h(!1), w = j(
|
|
288
288
|
() => n.findIndex((e) => e.id === I),
|
|
289
289
|
[n, I]
|
|
290
290
|
), u = w >= 0 ? n[w] : null, J = h(u);
|
|
291
291
|
u && (J.current = u);
|
|
292
|
-
const
|
|
292
|
+
const $e = j(
|
|
293
293
|
() => n.findIndex((e) => !e.disabled),
|
|
294
294
|
[n]
|
|
295
295
|
), le = j(() => {
|
|
296
296
|
var t;
|
|
297
297
|
const e = (t = n[0]) == null ? void 0 : t.scope;
|
|
298
298
|
return e ? n.findIndex((a) => a.scope && a.scope !== e) : -1;
|
|
299
|
-
}, [n]),
|
|
299
|
+
}, [n]), He = le > 0, p = j(() => {
|
|
300
300
|
var a;
|
|
301
301
|
const e = n.findIndex((s) => s.reorderable);
|
|
302
302
|
if (e < 0) return null;
|
|
303
303
|
let t = e;
|
|
304
304
|
for (; t + 1 < n.length && ((a = n[t + 1]) != null && a.reorderable); ) t += 1;
|
|
305
305
|
return { first: e, last: t };
|
|
306
|
-
}, [n]), de = !!K && p !== null,
|
|
306
|
+
}, [n]), de = !!K && p !== null, Ue = dt(), [_, Q] = S(null), [ce, O] = S(null), { resolvedTheme: We } = It(), k = We.endsWith("-accessible") || void 0, { containerRef: Ze } = bt({
|
|
307
307
|
key: n.map((e) => e.id).join(),
|
|
308
308
|
reduceMotion: k
|
|
309
|
-
}), ee =
|
|
309
|
+
}), ee = Ce({ reduceMotion: k }), te = xt(
|
|
310
310
|
u !== null,
|
|
311
311
|
{ reduceMotion: k }
|
|
312
|
-
), T = u === null && te.mounted, b = u ?? (T ? J.current : null), { ref: ue } = te,
|
|
312
|
+
), T = u === null && te.mounted, b = u ?? (T ? J.current : null), { ref: ue } = te, Ge = N(
|
|
313
313
|
(e) => {
|
|
314
314
|
C.current = e, ue(e);
|
|
315
315
|
},
|
|
@@ -336,7 +336,7 @@ const Pt = ot(
|
|
|
336
336
|
}
|
|
337
337
|
e.toggleAttribute("inert", T);
|
|
338
338
|
}, [T]);
|
|
339
|
-
const fe =
|
|
339
|
+
const fe = yt(), [$, pe] = S(
|
|
340
340
|
(u == null ? void 0 : u.id) ?? null
|
|
341
341
|
), v = (u == null ? void 0 : u.id) ?? null, H = !k && !fe && v !== null && $ !== null && $ !== v;
|
|
342
342
|
M(() => {
|
|
@@ -353,9 +353,9 @@ const Pt = ot(
|
|
|
353
353
|
cancelAnimationFrame(a), cancelAnimationFrame(e), window.clearTimeout(s);
|
|
354
354
|
};
|
|
355
355
|
}, [v, $, H]);
|
|
356
|
-
const
|
|
356
|
+
const Ye = !!k || fe, ve = h(null), [c, ge] = S({ liveId: v, serial: 0, focusLost: !1, leaving: [] });
|
|
357
357
|
if (c.liveId !== v) {
|
|
358
|
-
const e = c.liveId !== null && v !== null ? ((
|
|
358
|
+
const e = c.liveId !== null && v !== null ? ((ke = ve.current) == null ? void 0 : ke.querySelector(
|
|
359
359
|
':scope > [data-tool-rail-layer="live"]'
|
|
360
360
|
)) ?? null : null, t = c.leaving.filter(
|
|
361
361
|
(a) => a.toolId !== v
|
|
@@ -364,12 +364,12 @@ const Pt = ot(
|
|
|
364
364
|
liveId: v,
|
|
365
365
|
serial: c.serial + 1,
|
|
366
366
|
focusLost: (e == null ? void 0 : e.contains(document.activeElement)) ?? !1,
|
|
367
|
-
leaving: e && !
|
|
367
|
+
leaving: e && !Ye ? [
|
|
368
368
|
...t.filter((a) => a.toolId !== c.liveId),
|
|
369
369
|
{
|
|
370
370
|
exitId: `${c.liveId}:${c.serial}`,
|
|
371
371
|
toolId: c.liveId,
|
|
372
|
-
...
|
|
372
|
+
...Bt(e)
|
|
373
373
|
}
|
|
374
374
|
] : t
|
|
375
375
|
});
|
|
@@ -381,24 +381,24 @@ const Pt = ot(
|
|
|
381
381
|
leaving: t.leaving.filter((a) => a.exitId !== e)
|
|
382
382
|
} : t
|
|
383
383
|
);
|
|
384
|
-
}, []), { leave: me } =
|
|
384
|
+
}, []), { leave: me } = Ce({
|
|
385
385
|
reduceMotion: k,
|
|
386
|
-
durationMs:
|
|
386
|
+
durationMs: Ct
|
|
387
387
|
});
|
|
388
388
|
re(() => {
|
|
389
389
|
for (const { exitId: e } of c.leaving)
|
|
390
390
|
me(e, () => V(e));
|
|
391
391
|
}, [c.leaving, me, V]);
|
|
392
|
-
const
|
|
392
|
+
const Xe = b ? c.leaving : [], Je = ((Le = c.leaving[c.leaving.length - 1]) == null ? void 0 : Le.exitId) ?? null, be = h(c.leaving);
|
|
393
393
|
be.current = c.leaving;
|
|
394
|
-
const
|
|
394
|
+
const Qe = N(
|
|
395
395
|
(e) => {
|
|
396
396
|
if (!e || e.childNodes.length > 0) return;
|
|
397
397
|
const t = be.current.find(
|
|
398
398
|
(a) => a.exitId === e.dataset.exitId
|
|
399
399
|
);
|
|
400
400
|
if (t) {
|
|
401
|
-
if (!
|
|
401
|
+
if (!Vt(e)) {
|
|
402
402
|
V(t.exitId);
|
|
403
403
|
return;
|
|
404
404
|
}
|
|
@@ -417,7 +417,7 @@ const Pt = ot(
|
|
|
417
417
|
`[data-tool-id="${CSS.escape(v)}"]`
|
|
418
418
|
)) == null || a.focus();
|
|
419
419
|
}, [c.serial]);
|
|
420
|
-
const [
|
|
420
|
+
const [et, he] = S([]), ye = h(n);
|
|
421
421
|
re(() => {
|
|
422
422
|
const e = ye.current, t = new Set(n.map((s) => s.id)), a = e.filter((s) => !t.has(s.id));
|
|
423
423
|
if (a.length > 0) {
|
|
@@ -437,7 +437,7 @@ const Pt = ot(
|
|
|
437
437
|
}
|
|
438
438
|
ye.current = n;
|
|
439
439
|
}, [n, ee]);
|
|
440
|
-
const [
|
|
440
|
+
const [tt, at] = S(""), ae = h(!1), xe = N(
|
|
441
441
|
(e, t) => {
|
|
442
442
|
if (!K || !p) return;
|
|
443
443
|
const a = Math.max(
|
|
@@ -454,17 +454,17 @@ const Pt = ot(
|
|
|
454
454
|
total: p.last - p.first + 1,
|
|
455
455
|
defaultValue: "{{tool}} moved to position {{to}} of {{total}}"
|
|
456
456
|
});
|
|
457
|
-
r && (ae.current = !ae.current,
|
|
457
|
+
r && (ae.current = !ae.current, at(ae.current ? r : `${r}`));
|
|
458
458
|
}
|
|
459
459
|
},
|
|
460
460
|
[K, p, n, y, W]
|
|
461
|
-
), Ie = n[oe], B = w >= 0 ? w : Ie && !Ie.disabled ? oe :
|
|
461
|
+
), Ie = n[oe], B = w >= 0 ? w : Ie && !Ie.disabled ? oe : $e, nt = N(
|
|
462
462
|
(e, t) => {
|
|
463
463
|
const a = n.find((s) => s.id === e);
|
|
464
464
|
!a || a.disabled || (E.current = t, x(I === e ? null : e));
|
|
465
465
|
},
|
|
466
466
|
[n, I, x]
|
|
467
|
-
),
|
|
467
|
+
), st = N(
|
|
468
468
|
(e) => {
|
|
469
469
|
var z, i, g;
|
|
470
470
|
const t = n.length;
|
|
@@ -496,23 +496,23 @@ const Pt = ot(
|
|
|
496
496
|
var e;
|
|
497
497
|
u && E.current && ((e = C.current) == null || e.focus()), E.current = !1;
|
|
498
498
|
}, [u]);
|
|
499
|
-
const we = d === "end" ? "inline-start" : "inline-end", { separatorProps: Te, isResizing: Re, isResized: Se } =
|
|
499
|
+
const we = d === "end" ? "inline-start" : "inline-end", { separatorProps: Te, isResizing: Re, isResized: Se } = mt({
|
|
500
500
|
edge: we,
|
|
501
501
|
targetRef: C,
|
|
502
|
-
cssProperty:
|
|
503
|
-
minSize:
|
|
504
|
-
maxSize:
|
|
505
|
-
defaultSize:
|
|
502
|
+
cssProperty: _e,
|
|
503
|
+
minSize: At,
|
|
504
|
+
maxSize: Et,
|
|
505
|
+
defaultSize: kt,
|
|
506
506
|
disabled: !f,
|
|
507
507
|
// A width the user cannot change or reset is a trap: the controlled
|
|
508
508
|
// value applies only while the handle is on.
|
|
509
509
|
size: f ? F : void 0,
|
|
510
|
-
onResize:
|
|
510
|
+
onResize: Me
|
|
511
511
|
}), Ae = Te["aria-valuenow"];
|
|
512
512
|
M(() => {
|
|
513
513
|
var e;
|
|
514
514
|
!f || !Se || !u || (e = C.current) == null || e.style.setProperty(
|
|
515
|
-
|
|
515
|
+
_e,
|
|
516
516
|
`${Ae}px`
|
|
517
517
|
);
|
|
518
518
|
}, [u, f, Se, Ae]);
|
|
@@ -540,24 +540,25 @@ const Pt = ot(
|
|
|
540
540
|
}),
|
|
541
541
|
[n, x]
|
|
542
542
|
);
|
|
543
|
-
|
|
544
|
-
const
|
|
543
|
+
ct(Ke, () => se, [se]), wt(Pe, se, l);
|
|
544
|
+
const rt = y("toolRail.badgeCountOverflow", {
|
|
545
545
|
defaultValue: "99+"
|
|
546
|
-
});
|
|
546
|
+
}), Ee = D ?? y("toolRail.railLabel", { defaultValue: "Tools" });
|
|
547
547
|
return /* @__PURE__ */ R(
|
|
548
|
-
"
|
|
548
|
+
"aside",
|
|
549
549
|
{
|
|
550
550
|
ref: L,
|
|
551
|
-
"
|
|
551
|
+
"aria-label": Ee,
|
|
552
|
+
"data-component": qe,
|
|
552
553
|
"data-component-id": l,
|
|
553
554
|
"data-side": d,
|
|
554
|
-
className: [
|
|
555
|
+
className: [Lt({ side: d }), Fe].filter(Boolean).join(" "),
|
|
555
556
|
children: [
|
|
556
|
-
de ? /* @__PURE__ */ m("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children:
|
|
557
|
+
de ? /* @__PURE__ */ m("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: tt }) : null,
|
|
557
558
|
b ? /* @__PURE__ */ R(
|
|
558
|
-
"
|
|
559
|
+
"section",
|
|
559
560
|
{
|
|
560
|
-
ref:
|
|
561
|
+
ref: Ge,
|
|
561
562
|
tabIndex: -1,
|
|
562
563
|
"aria-label": y("toolRail.panelLabel", {
|
|
563
564
|
tool: b.label,
|
|
@@ -569,14 +570,14 @@ const Pt = ot(
|
|
|
569
570
|
"data-active-tool": b.id,
|
|
570
571
|
"data-resizing": Re ? "" : void 0,
|
|
571
572
|
className: [
|
|
572
|
-
|
|
573
|
+
Nt({ side: d }),
|
|
573
574
|
// Subtle shadow — not a line — separating the panel from the
|
|
574
575
|
// icon strip (the tab row). The panel casts a soft chrome
|
|
575
576
|
// shadow toward the strip on its strip-facing edge. `z-[1]`
|
|
576
577
|
// lifts it above the adjacent strip (the panel is already
|
|
577
578
|
// `relative`) so the shadow paints at the seam instead of being
|
|
578
579
|
// covered by the strip's opaque background. Only renders while
|
|
579
|
-
// the panel is open (
|
|
580
|
+
// the panel is open (it is unmounted when collapsed), so
|
|
580
581
|
// it never doubles as a rail↔main seam. In the accessible (AAA)
|
|
581
582
|
// theme the soft shadow becomes a solid 1px border on that same
|
|
582
583
|
// strip-facing edge.
|
|
@@ -586,17 +587,17 @@ const Pt = ot(
|
|
|
586
587
|
].join(" "),
|
|
587
588
|
children: [
|
|
588
589
|
ie ? ie(b, { isActive: !T }) : null,
|
|
589
|
-
/* @__PURE__ */ R("div", { ref: ve, className:
|
|
590
|
-
|
|
590
|
+
/* @__PURE__ */ R("div", { ref: ve, className: Dt, children: [
|
|
591
|
+
Xe.map((e) => /* @__PURE__ */ m(
|
|
591
592
|
"div",
|
|
592
593
|
{
|
|
593
|
-
ref:
|
|
594
|
+
ref: Qe,
|
|
594
595
|
"aria-hidden": "true",
|
|
595
596
|
"data-exit-id": e.exitId,
|
|
596
597
|
"data-tool-rail-body": e.toolId,
|
|
597
598
|
"data-tool-rail-layer": "leaving",
|
|
598
|
-
"data-presence": H && e.exitId ===
|
|
599
|
-
className:
|
|
599
|
+
"data-presence": H && e.exitId === Je ? "present" : "leaving",
|
|
600
|
+
className: Ve({ layer: "leaving" }),
|
|
600
601
|
onTransitionEnd: (t) => {
|
|
601
602
|
t.target === t.currentTarget && V(e.exitId);
|
|
602
603
|
}
|
|
@@ -609,7 +610,7 @@ const Pt = ot(
|
|
|
609
610
|
"data-tool-rail-body": b.id,
|
|
610
611
|
"data-tool-rail-layer": "live",
|
|
611
612
|
"data-presence": H ? "entering" : "present",
|
|
612
|
-
className:
|
|
613
|
+
className: Ve({ layer: "live" }),
|
|
613
614
|
children: [
|
|
614
615
|
b.header ? /* @__PURE__ */ m("div", { className: "ds:shrink-0", children: b.header }) : null,
|
|
615
616
|
b.fill ? (
|
|
@@ -618,7 +619,7 @@ const Pt = ot(
|
|
|
618
619
|
// 8px overlay. See tokens/index.css.
|
|
619
620
|
/* @__PURE__ */ m("div", { "data-tool-fill": "", className: "ds:flex-1 ds:min-h-0", children: b.panel })
|
|
620
621
|
) : /* @__PURE__ */ m(
|
|
621
|
-
|
|
622
|
+
pt,
|
|
622
623
|
{
|
|
623
624
|
orientation: "vertical",
|
|
624
625
|
className: "ds:flex-1 ds:min-h-0",
|
|
@@ -638,30 +639,30 @@ const Pt = ot(
|
|
|
638
639
|
defaultValue: "Resize tool panel"
|
|
639
640
|
}),
|
|
640
641
|
"data-resizing": Re ? "" : void 0,
|
|
641
|
-
className:
|
|
642
|
+
className: jt({ edge: we })
|
|
642
643
|
}
|
|
643
644
|
) : null
|
|
644
645
|
]
|
|
645
646
|
}
|
|
646
647
|
) : null,
|
|
647
|
-
/* @__PURE__ */ m(
|
|
648
|
+
/* @__PURE__ */ m(vt, { children: /* @__PURE__ */ R(
|
|
648
649
|
"div",
|
|
649
650
|
{
|
|
650
|
-
ref:
|
|
651
|
+
ref: Ze,
|
|
651
652
|
role: "toolbar",
|
|
652
653
|
"aria-orientation": "vertical",
|
|
653
|
-
"aria-label":
|
|
654
|
-
className:
|
|
655
|
-
onKeyDown:
|
|
654
|
+
"aria-label": Ee,
|
|
655
|
+
className: zt(),
|
|
656
|
+
onKeyDown: st,
|
|
656
657
|
children: [
|
|
657
658
|
n.map((e, t) => {
|
|
658
659
|
const a = e.id === I, s = typeof e.badgeCount == "number" && e.badgeCount > 0, r = s ? y("toolRail.toolWithCount", {
|
|
659
660
|
tool: e.label,
|
|
660
661
|
count: e.badgeCount,
|
|
661
662
|
defaultValue: "{{tool}}, {{count}} updates"
|
|
662
|
-
}) : e.label, o = de && !!e.reorderable && !e.disabled, z = o ? `${
|
|
663
|
-
return /* @__PURE__ */ R(
|
|
664
|
-
|
|
663
|
+
}) : e.label, o = de && !!e.reorderable && !e.disabled, z = o ? `${Ue}-${e.id}` : void 0;
|
|
664
|
+
return /* @__PURE__ */ R(ut, { children: [
|
|
665
|
+
He && t === le ? /* @__PURE__ */ m(
|
|
665
666
|
"div",
|
|
666
667
|
{
|
|
667
668
|
role: "separator",
|
|
@@ -673,13 +674,13 @@ const Pt = ot(
|
|
|
673
674
|
"div",
|
|
674
675
|
{
|
|
675
676
|
className: [
|
|
676
|
-
|
|
677
|
+
Be({
|
|
677
678
|
dragging: _ === t,
|
|
678
679
|
dropTarget: ce === t && _ !== t,
|
|
679
680
|
reorderable: o
|
|
680
681
|
}),
|
|
681
|
-
|
|
682
|
-
|
|
682
|
+
je,
|
|
683
|
+
ht
|
|
683
684
|
].filter(Boolean).join(" "),
|
|
684
685
|
"data-reflow-id": e.id,
|
|
685
686
|
"data-dragging": _ === t ? "" : void 0,
|
|
@@ -704,7 +705,7 @@ const Pt = ot(
|
|
|
704
705
|
} : void 0,
|
|
705
706
|
children: [
|
|
706
707
|
/* @__PURE__ */ m(
|
|
707
|
-
|
|
708
|
+
De,
|
|
708
709
|
{
|
|
709
710
|
ref: (i) => {
|
|
710
711
|
G.current[t] = i;
|
|
@@ -725,7 +726,7 @@ const Pt = ot(
|
|
|
725
726
|
onFocus: () => {
|
|
726
727
|
e.disabled || Y(t);
|
|
727
728
|
},
|
|
728
|
-
onClick: () =>
|
|
729
|
+
onClick: () => nt(e.id, X.current),
|
|
729
730
|
onKeyDown: (i) => {
|
|
730
731
|
if (i.key === "Enter" || i.key === " ") {
|
|
731
732
|
X.current = !0;
|
|
@@ -735,15 +736,15 @@ const Pt = ot(
|
|
|
735
736
|
let g = null;
|
|
736
737
|
if (i.key === "ArrowUp" ? g = t - 1 : i.key === "ArrowDown" ? g = t + 1 : i.key === "Home" ? g = p.first : i.key === "End" && (g = p.last), g !== null) {
|
|
737
738
|
i.preventDefault();
|
|
738
|
-
const
|
|
739
|
+
const it = Math.max(
|
|
739
740
|
p.first,
|
|
740
741
|
Math.min(p.last, g)
|
|
741
|
-
),
|
|
742
|
-
xe(t,
|
|
743
|
-
var
|
|
744
|
-
(
|
|
745
|
-
`[data-tool-id="${CSS.escape(
|
|
746
|
-
)) == null ||
|
|
742
|
+
), ot = e.id;
|
|
743
|
+
xe(t, it), requestAnimationFrame(() => {
|
|
744
|
+
var ze, Ne;
|
|
745
|
+
(Ne = (ze = L.current) == null ? void 0 : ze.querySelector(
|
|
746
|
+
`[data-tool-id="${CSS.escape(ot)}"]`
|
|
747
|
+
)) == null || Ne.focus();
|
|
747
748
|
});
|
|
748
749
|
}
|
|
749
750
|
}
|
|
@@ -753,9 +754,9 @@ const Pt = ot(
|
|
|
753
754
|
}
|
|
754
755
|
}
|
|
755
756
|
),
|
|
756
|
-
s ? /* @__PURE__ */ m("span", { "aria-hidden": "true", className:
|
|
757
|
+
s ? /* @__PURE__ */ m("span", { "aria-hidden": "true", className: Mt(), children: Pt(
|
|
757
758
|
e.badgeCount,
|
|
758
|
-
|
|
759
|
+
rt
|
|
759
760
|
) }) : null,
|
|
760
761
|
Z == null ? void 0 : Z(e, {
|
|
761
762
|
index: t,
|
|
@@ -771,22 +772,22 @@ const Pt = ot(
|
|
|
771
772
|
)
|
|
772
773
|
] }, e.id);
|
|
773
774
|
}),
|
|
774
|
-
|
|
775
|
+
et.map(
|
|
775
776
|
(e) => ee.isLeaving(e.id) ? /* @__PURE__ */ m(
|
|
776
777
|
"div",
|
|
777
778
|
{
|
|
778
779
|
className: [
|
|
779
|
-
|
|
780
|
+
Be({
|
|
780
781
|
dragging: !1,
|
|
781
782
|
dropTarget: !1,
|
|
782
783
|
reorderable: !1
|
|
783
784
|
}),
|
|
784
|
-
|
|
785
|
-
|
|
785
|
+
je,
|
|
786
|
+
qt
|
|
786
787
|
].filter(Boolean).join(" "),
|
|
787
788
|
"aria-hidden": "true",
|
|
788
789
|
children: /* @__PURE__ */ m(
|
|
789
|
-
|
|
790
|
+
De,
|
|
790
791
|
{
|
|
791
792
|
icon: e.icon,
|
|
792
793
|
intent: "ghost",
|
|
@@ -807,9 +808,9 @@ const Pt = ot(
|
|
|
807
808
|
);
|
|
808
809
|
}
|
|
809
810
|
);
|
|
810
|
-
|
|
811
|
+
Ft.displayName = "ToolRail";
|
|
811
812
|
export {
|
|
812
|
-
|
|
813
|
-
|
|
813
|
+
Ft as T,
|
|
814
|
+
Tt as t
|
|
814
815
|
};
|
|
815
|
-
//# sourceMappingURL=tool-rail-
|
|
816
|
+
//# sourceMappingURL=tool-rail-DQ5qTv4l.js.map
|
|
@@ -5,8 +5,8 @@ import * as W from "@radix-ui/react-tooltip";
|
|
|
5
5
|
import { c as re } from "./index-D2ZczOXr.js";
|
|
6
6
|
import { useTranslation as oo } from "react-i18next";
|
|
7
7
|
import { u as Go } from "./registry-DvAUVLHh.js";
|
|
8
|
-
import { I as Qo } from "./icon-button-
|
|
9
|
-
import { D as H } from "./dropdown-menu-
|
|
8
|
+
import { I as Qo } from "./icon-button-CsOGhuRB.js";
|
|
9
|
+
import { D as H } from "./dropdown-menu-D1we7oAY.js";
|
|
10
10
|
import { S as Zo } from "./switch-D--x7n6h.js";
|
|
11
11
|
import { o as Ut, K as Xo, a0 as Jo, J as Ue, R as Ye, u as no, U as io, G as en, S as tn, w as Be, X as F, f as le, $ as at, _ as Yt, E as ut, a1 as de, H as zt, z as lt, y as on, l as st, A as ro, L as nn, t as ht, W as ct, s as ao, Y as so, x as rn, V as an, a2 as sn, a3 as $, a4 as U, a5 as cn, Z as dn, C as co, Q as ln, a6 as hn, k as Vt, T as un, O as pn, q as fn, N as mn } from "./tooth-data-DR8Kdnup.js";
|
|
12
12
|
import { S as gn } from "./settings-d25ju_6L.js";
|
|
@@ -1993,4 +1993,4 @@ export {
|
|
|
1993
1993
|
On as r,
|
|
1994
1994
|
_n as t
|
|
1995
1995
|
};
|
|
1996
|
-
//# sourceMappingURL=tooth-scheme-
|
|
1996
|
+
//# sourceMappingURL=tooth-scheme-CLyS9UUW.js.map
|
|
@@ -5,8 +5,8 @@ import { useTranslation as M } from "react-i18next";
|
|
|
5
5
|
import { u as Y } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { F as C } from "./form-field-Ani72sVY.js";
|
|
7
7
|
import { N as B } from "./number-input-CVwI1ltI.js";
|
|
8
|
-
import { S } from "./select-
|
|
9
|
-
import { I as D } from "./insert-result-
|
|
8
|
+
import { S } from "./select-k4gBdS8N.js";
|
|
9
|
+
import { I as D } from "./insert-result-BUEtHFMg.js";
|
|
10
10
|
const L = [
|
|
11
11
|
"weight",
|
|
12
12
|
"length",
|
|
@@ -334,4 +334,4 @@ export {
|
|
|
334
334
|
ee as b,
|
|
335
335
|
Q as c
|
|
336
336
|
};
|
|
337
|
-
//# sourceMappingURL=unit-converter-
|
|
337
|
+
//# sourceMappingURL=unit-converter-W62N99Mw.js.map
|