@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,13 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { Slot as
|
|
4
|
-
import { c as
|
|
5
|
-
const
|
|
1
|
+
import { jsxs as h, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as S, isValidElement as $, useEffect as j, cloneElement as C, Children as E } from "react";
|
|
3
|
+
import { Slot as T, Slottable as W } from "@radix-ui/react-slot";
|
|
4
|
+
import { c as x } from "./index-D2ZczOXr.js";
|
|
5
|
+
const q = x(
|
|
6
6
|
// `forced-colors:*` — under Windows High Contrast Mode the OS strips our
|
|
7
7
|
// bg/text tokens, so `ghost` / `outline` / `link` would lose their shape.
|
|
8
8
|
// We repaint a `ButtonBorder` edge + swap the focus ring to `CanvasText`
|
|
9
9
|
// so the control and its focused state both survive HCM.
|
|
10
|
-
|
|
10
|
+
// One line at natural width (`shrink-0`), capped at the container: the
|
|
11
|
+
// label truncates only when the container is narrower, never for a sibling.
|
|
12
|
+
"ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)] ds:whitespace-nowrap ds:shrink-0 ds:max-w-full ds:font-medium ds:transition-colors ds:rounded-[var(--radius-md)] ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:border ds:forced-colors:border-[ButtonBorder] ds:forced-colors:focus-visible:outline-[CanvasText] ds:disabled:opacity-50 ds:disabled:cursor-not-allowed ds:aria-disabled:opacity-50 ds:aria-disabled:cursor-not-allowed ds:aria-busy:cursor-wait ds:relative",
|
|
11
13
|
{
|
|
12
14
|
variants: {
|
|
13
15
|
intent: {
|
|
@@ -86,56 +88,70 @@ const E = j(
|
|
|
86
88
|
background: "transparent"
|
|
87
89
|
}
|
|
88
90
|
}
|
|
89
|
-
),
|
|
91
|
+
), g = x("", {
|
|
92
|
+
variants: {
|
|
93
|
+
content: {
|
|
94
|
+
text: "ds:overflow-hidden ds:text-ellipsis",
|
|
95
|
+
rich: "ds:inline-flex ds:min-w-0 ds:overflow-hidden",
|
|
96
|
+
hidden: "ds:sr-only"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
defaultVariants: { content: "text" }
|
|
100
|
+
});
|
|
101
|
+
function y(a) {
|
|
102
|
+
const e = E.toArray(a);
|
|
103
|
+
return e.length > 0 && e.every((n) => typeof n == "string" || typeof n == "number");
|
|
104
|
+
}
|
|
105
|
+
const A = S(
|
|
90
106
|
({
|
|
91
|
-
intent:
|
|
92
|
-
size:
|
|
93
|
-
background:
|
|
94
|
-
className:
|
|
95
|
-
asChild:
|
|
96
|
-
loading:
|
|
97
|
-
startIcon:
|
|
98
|
-
endIcon:
|
|
99
|
-
flipIconInRtl:
|
|
100
|
-
hideLabel:
|
|
101
|
-
disabled:
|
|
102
|
-
children:
|
|
107
|
+
intent: a,
|
|
108
|
+
size: e,
|
|
109
|
+
background: n,
|
|
110
|
+
className: w,
|
|
111
|
+
asChild: d = !1,
|
|
112
|
+
loading: o = !1,
|
|
113
|
+
startIcon: i,
|
|
114
|
+
endIcon: c,
|
|
115
|
+
flipIconInRtl: k = !1,
|
|
116
|
+
hideLabel: z = !1,
|
|
117
|
+
disabled: N,
|
|
118
|
+
children: s,
|
|
103
119
|
type: l,
|
|
104
120
|
...u
|
|
105
|
-
},
|
|
106
|
-
const
|
|
107
|
-
|
|
108
|
-
}, [
|
|
109
|
-
const
|
|
110
|
-
return /* @__PURE__ */
|
|
111
|
-
|
|
121
|
+
}, B) => {
|
|
122
|
+
const L = d ? T : "button", t = d && $(s) ? s : null, p = z && (!d || t !== null), b = p ? "hidden" : d ? t && y(t.props.children) ? "text" : "rich" : o ? "hidden" : y(s) || s == null ? "text" : "rich", V = !s && (i || c), O = u["aria-label"];
|
|
123
|
+
j(() => {
|
|
124
|
+
}, [V, O]);
|
|
125
|
+
const f = e === "sm" ? 16 : e === "lg" ? 20 : 18, v = e === "sm" ? "ds:size-4" : e === "lg" ? "ds:size-5" : "ds:size-[18px]", m = k ? "ds:rtl:rotate-180" : "";
|
|
126
|
+
return /* @__PURE__ */ h(
|
|
127
|
+
L,
|
|
112
128
|
{
|
|
113
|
-
ref:
|
|
114
|
-
type:
|
|
115
|
-
className:
|
|
116
|
-
intent:
|
|
117
|
-
size:
|
|
118
|
-
background:
|
|
119
|
-
hideLabel:
|
|
120
|
-
className:
|
|
129
|
+
ref: B,
|
|
130
|
+
type: d ? l : l ?? "button",
|
|
131
|
+
className: q({
|
|
132
|
+
intent: a,
|
|
133
|
+
size: e,
|
|
134
|
+
background: n,
|
|
135
|
+
hideLabel: p,
|
|
136
|
+
className: w
|
|
121
137
|
}),
|
|
122
|
-
disabled:
|
|
123
|
-
"aria-busy":
|
|
138
|
+
disabled: N || o,
|
|
139
|
+
"aria-busy": o || void 0,
|
|
124
140
|
"data-component": "button",
|
|
125
|
-
"data-intent":
|
|
141
|
+
"data-intent": a ?? void 0,
|
|
126
142
|
...u,
|
|
127
143
|
children: [
|
|
128
|
-
|
|
144
|
+
o && /* @__PURE__ */ h(
|
|
129
145
|
"svg",
|
|
130
146
|
{
|
|
131
147
|
"aria-hidden": "true",
|
|
132
148
|
className: "ds:animate-spin",
|
|
133
|
-
width:
|
|
134
|
-
height:
|
|
149
|
+
width: f,
|
|
150
|
+
height: f,
|
|
135
151
|
viewBox: "0 0 24 24",
|
|
136
152
|
fill: "none",
|
|
137
153
|
children: [
|
|
138
|
-
/* @__PURE__ */
|
|
154
|
+
/* @__PURE__ */ r(
|
|
139
155
|
"circle",
|
|
140
156
|
{
|
|
141
157
|
cx: "12",
|
|
@@ -146,7 +162,7 @@ const E = j(
|
|
|
146
162
|
strokeWidth: "3"
|
|
147
163
|
}
|
|
148
164
|
),
|
|
149
|
-
/* @__PURE__ */
|
|
165
|
+
/* @__PURE__ */ r(
|
|
150
166
|
"path",
|
|
151
167
|
{
|
|
152
168
|
d: "M22 12a10 10 0 0 1-10 10",
|
|
@@ -158,31 +174,25 @@ const E = j(
|
|
|
158
174
|
]
|
|
159
175
|
}
|
|
160
176
|
),
|
|
161
|
-
!
|
|
177
|
+
!o && i && /* @__PURE__ */ r(
|
|
162
178
|
"span",
|
|
163
179
|
{
|
|
164
180
|
"aria-hidden": "true",
|
|
165
|
-
className: `ds:inline-flex ds:items-center ${
|
|
166
|
-
children:
|
|
181
|
+
className: `ds:inline-flex ds:items-center ${v} ${m}`.trim(),
|
|
182
|
+
children: i
|
|
167
183
|
}
|
|
168
184
|
),
|
|
169
|
-
|
|
170
|
-
|
|
185
|
+
d ? /* @__PURE__ */ r(W, { children: t && t.props.children != null ? C(
|
|
186
|
+
t,
|
|
171
187
|
void 0,
|
|
172
|
-
/* @__PURE__ */
|
|
173
|
-
) :
|
|
174
|
-
|
|
175
|
-
{
|
|
176
|
-
className: e || n ? "ds:sr-only" : "ds:inline-flex",
|
|
177
|
-
children: d
|
|
178
|
-
}
|
|
179
|
-
),
|
|
180
|
-
!e && i && /* @__PURE__ */ s(
|
|
188
|
+
/* @__PURE__ */ r("span", { className: g({ content: b }), children: t.props.children })
|
|
189
|
+
) : s }) : /* @__PURE__ */ r("span", { className: g({ content: b }), children: s }),
|
|
190
|
+
!o && c && /* @__PURE__ */ r(
|
|
181
191
|
"span",
|
|
182
192
|
{
|
|
183
193
|
"aria-hidden": "true",
|
|
184
|
-
className: `ds:inline-flex ds:items-center ${
|
|
185
|
-
children:
|
|
194
|
+
className: `ds:inline-flex ds:items-center ${v} ${m}`.trim(),
|
|
195
|
+
children: c
|
|
186
196
|
}
|
|
187
197
|
)
|
|
188
198
|
]
|
|
@@ -190,8 +200,8 @@ const E = j(
|
|
|
190
200
|
);
|
|
191
201
|
}
|
|
192
202
|
);
|
|
193
|
-
|
|
203
|
+
A.displayName = "Button";
|
|
194
204
|
export {
|
|
195
|
-
|
|
205
|
+
A as B
|
|
196
206
|
};
|
|
197
|
-
//# sourceMappingURL=button-
|
|
207
|
+
//# sourceMappingURL=button-CnUVJg1Y.js.map
|
|
@@ -2,8 +2,8 @@ import { jsx as a, jsxs as S } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as Se, useRef as L, useState as pe, useCallback as j, Children as M, isValidElement as P, useEffect as Le, cloneElement as B } from "react";
|
|
3
3
|
import { c as Ae } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as Te } from "react-i18next";
|
|
5
|
-
import { I as ce } from "./icon-button-
|
|
6
|
-
import { D as d } from "./dropdown-menu-
|
|
5
|
+
import { I as ce } from "./icon-button-CsOGhuRB.js";
|
|
6
|
+
import { D as d } from "./dropdown-menu-D1we7oAY.js";
|
|
7
7
|
import { T as $e } from "./tooltip-Cp-PLePW.js";
|
|
8
8
|
import { u as Fe } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
9
9
|
import { u as Ne } from "./use-priority-overflow-Cdmb5EiR.js";
|
|
@@ -54,7 +54,7 @@ const fe = Ae(
|
|
|
54
54
|
), U = "ds:absolute ds:start-0 ds:top-0 ds:invisible ds:pointer-events-none", je = Se(
|
|
55
55
|
({
|
|
56
56
|
className: y,
|
|
57
|
-
orientation:
|
|
57
|
+
orientation: g = "horizontal",
|
|
58
58
|
separator: q = !1,
|
|
59
59
|
toolbar: k = !1,
|
|
60
60
|
intent: I = "outline",
|
|
@@ -66,11 +66,11 @@ const fe = Ae(
|
|
|
66
66
|
children: z,
|
|
67
67
|
...H
|
|
68
68
|
}, R) => {
|
|
69
|
-
const { t: G } = Te("ui"), W = be ?? G("buttonGroup.label", "Button group"), J = G("buttonGroup.more", "More options"),
|
|
69
|
+
const { t: G } = Te("ui"), W = be ?? G("buttonGroup.label", "Button group"), J = G("buttonGroup.more", "More options"), we = G("link.opensInNewTab", "Opens in a new tab"), b = me === "menu" && g !== "vertical", m = k, v = L([]), [w, x] = pe(0), Q = L(null), [K, ge] = pe(!1);
|
|
70
70
|
Fe(() => {
|
|
71
71
|
if (typeof window > "u") return;
|
|
72
72
|
const t = Q.current;
|
|
73
|
-
t &&
|
|
73
|
+
t && ge(window.getComputedStyle(t).direction === "rtl");
|
|
74
74
|
}, []);
|
|
75
75
|
const X = j(
|
|
76
76
|
(t) => {
|
|
@@ -78,20 +78,20 @@ const fe = Ae(
|
|
|
78
78
|
if (!m) return;
|
|
79
79
|
const e = v.current.filter(Boolean).length;
|
|
80
80
|
if (e === 0) return;
|
|
81
|
-
const n =
|
|
82
|
-
let
|
|
83
|
-
if (t.key === n ?
|
|
84
|
-
const
|
|
85
|
-
let
|
|
86
|
-
for (;
|
|
81
|
+
const n = g === "vertical" ? "ArrowDown" : K ? "ArrowLeft" : "ArrowRight", o = g === "vertical" ? "ArrowUp" : K ? "ArrowRight" : "ArrowLeft";
|
|
82
|
+
let r = null;
|
|
83
|
+
if (t.key === n ? r = (w + 1) % e : t.key === o ? r = (w - 1 + e) % e : t.key === "Home" ? r = 0 : t.key === "End" && (r = e - 1), r === null) return;
|
|
84
|
+
const i = e;
|
|
85
|
+
let l = 0, u = r;
|
|
86
|
+
for (; l < i; ) {
|
|
87
87
|
const p = v.current[u];
|
|
88
88
|
if (p && p.getAttribute("aria-disabled") !== "true" && !p.disabled)
|
|
89
89
|
break;
|
|
90
|
-
u = t.key ===
|
|
90
|
+
u = t.key === o || t.key === "End" ? (u - 1 + e) % e : (u + 1) % e, l += 1;
|
|
91
91
|
}
|
|
92
92
|
t.preventDefault(), x(u), (s = v.current[u]) == null || s.focus();
|
|
93
93
|
},
|
|
94
|
-
[m,
|
|
94
|
+
[m, g, K, w]
|
|
95
95
|
), c = b ? M.toArray(z).filter(P) : [], A = (t) => {
|
|
96
96
|
const e = t.props.children;
|
|
97
97
|
return !t.props.asChild || !P(e) || typeof e.props.href != "string" ? null : {
|
|
@@ -110,11 +110,11 @@ const fe = Ae(
|
|
|
110
110
|
(t) => T(t) !== null
|
|
111
111
|
), ve = c.map((t, e) => {
|
|
112
112
|
var u;
|
|
113
|
-
const { props: n } = t,
|
|
114
|
-
return Y[e] &&
|
|
113
|
+
const { props: n } = t, o = (((u = n.overflowItems) == null ? void 0 : u.length) ?? 0) > 0, r = typeof n.onClick == "function" || A(t) !== null || o, i = n["aria-haspopup"], l = n["aria-expanded"] !== void 0 || n["aria-pressed"] !== void 0 || i !== void 0 && i !== !1 && i !== "false" && !o;
|
|
114
|
+
return Y[e] && r && !l && n["data-overflow-pin"] !== "always";
|
|
115
115
|
}), ye = c.map((t, e) => {
|
|
116
|
-
const n = t.props["data-overflow-pin"] !== void 0,
|
|
117
|
-
return n || !
|
|
116
|
+
const n = t.props["data-overflow-pin"] !== void 0, o = Y[e];
|
|
117
|
+
return n || !o;
|
|
118
118
|
}), {
|
|
119
119
|
containerRef: ke,
|
|
120
120
|
fullRowRef: Z,
|
|
@@ -149,71 +149,71 @@ const fe = Ae(
|
|
|
149
149
|
var e;
|
|
150
150
|
if (!m || !b) return;
|
|
151
151
|
const t = N + (F ? 1 : 0);
|
|
152
|
-
t > 0 &&
|
|
152
|
+
t > 0 && w >= t && (x(t - 1), document.activeElement === document.body && ((e = te.current) == null || e.focus()));
|
|
153
153
|
}, [
|
|
154
154
|
m,
|
|
155
155
|
b,
|
|
156
156
|
N,
|
|
157
157
|
F,
|
|
158
|
-
|
|
158
|
+
w
|
|
159
159
|
]);
|
|
160
|
-
const
|
|
160
|
+
const oe = (t, e) => (n) => {
|
|
161
161
|
v.current[e] = n;
|
|
162
|
-
const
|
|
163
|
-
typeof
|
|
162
|
+
const o = t.ref;
|
|
163
|
+
typeof o == "function" ? o(n) : o != null && typeof o == "object" && (o.current = n);
|
|
164
164
|
}, Ce = b ? null : M.map(z, (t, e) => {
|
|
165
165
|
if (!P(t)) return t;
|
|
166
|
-
const n = t,
|
|
166
|
+
const n = t, o = {
|
|
167
167
|
intent: n.props.intent ?? I,
|
|
168
168
|
background: n.props.background ?? h,
|
|
169
169
|
...f ? { size: n.props.size ?? f } : null
|
|
170
170
|
};
|
|
171
|
-
return m && (
|
|
172
|
-
var
|
|
173
|
-
x(e), (
|
|
174
|
-
},
|
|
171
|
+
return m && (o.tabIndex = e === w ? 0 : -1, o.onFocus = (r) => {
|
|
172
|
+
var i, l;
|
|
173
|
+
x(e), (l = (i = n.props).onFocus) == null || l.call(i, r);
|
|
174
|
+
}, o.ref = oe(n, e)), B(
|
|
175
175
|
n,
|
|
176
|
-
|
|
176
|
+
o
|
|
177
177
|
);
|
|
178
178
|
});
|
|
179
|
-
let
|
|
179
|
+
let re = null, se = null, ae = null;
|
|
180
180
|
if (b) {
|
|
181
181
|
v.current.length = N + (F ? 1 : 0);
|
|
182
182
|
let t = -1;
|
|
183
|
-
|
|
183
|
+
re = c.map((e, n) => {
|
|
184
184
|
if (!$[n]) return null;
|
|
185
185
|
t += 1;
|
|
186
|
-
const
|
|
186
|
+
const o = t, r = {
|
|
187
187
|
intent: e.props.intent ?? I,
|
|
188
188
|
background: e.props.background ?? h,
|
|
189
189
|
...f ? { size: e.props.size ?? f } : null
|
|
190
190
|
};
|
|
191
|
-
D && Ie === "icons" && e.props.children && (e.props.startIcon || e.props.endIcon) && (
|
|
191
|
+
D && Ie === "icons" && e.props.children && (e.props.startIcon || e.props.endIcon) && (r.hideLabel = !0), m && (r.tabIndex = o === w ? 0 : -1, r.onFocus = (p) => {
|
|
192
192
|
var C, ue;
|
|
193
|
-
x(
|
|
194
|
-
},
|
|
195
|
-
const
|
|
193
|
+
x(o), (ue = (C = e.props).onFocus) == null || ue.call(C, p);
|
|
194
|
+
}, r.ref = oe(e, o));
|
|
195
|
+
const i = r.hideLabel === !0, l = B(
|
|
196
196
|
e,
|
|
197
|
-
|
|
198
|
-
), u = e.props["data-overflow-tip"] === !1 || e.props["data-overflow-tip"] === "false", s =
|
|
199
|
-
return s ? /* @__PURE__ */ a($e, { label: s, children:
|
|
197
|
+
r
|
|
198
|
+
), u = e.props["data-overflow-tip"] === !1 || e.props["data-overflow-tip"] === "false", s = i && !u ? T(e) : null;
|
|
199
|
+
return s ? /* @__PURE__ */ a($e, { label: s, children: l }, e.key ?? n) : l;
|
|
200
200
|
}), se = c.map((e, n) => {
|
|
201
201
|
if ($[n]) return null;
|
|
202
|
-
const
|
|
203
|
-
if (
|
|
204
|
-
const
|
|
205
|
-
if (
|
|
202
|
+
const o = T(e);
|
|
203
|
+
if (o === null) return null;
|
|
204
|
+
const r = e.props.disabled === !0 || e.props.loading === !0, i = e.props["data-action"], l = e.props.overflowItems;
|
|
205
|
+
if (l && l.length > 0)
|
|
206
206
|
return /* @__PURE__ */ S(d.Sub, { children: [
|
|
207
207
|
/* @__PURE__ */ a(
|
|
208
208
|
d.SubTrigger,
|
|
209
209
|
{
|
|
210
210
|
startIcon: e.props.startIcon,
|
|
211
|
-
disabled:
|
|
212
|
-
"data-action":
|
|
213
|
-
children:
|
|
211
|
+
disabled: r,
|
|
212
|
+
"data-action": i,
|
|
213
|
+
children: o
|
|
214
214
|
}
|
|
215
215
|
),
|
|
216
|
-
/* @__PURE__ */ a(d.SubContent, { children:
|
|
216
|
+
/* @__PURE__ */ a(d.SubContent, { children: l.map((s, p) => /* @__PURE__ */ a(
|
|
217
217
|
d.Item,
|
|
218
218
|
{
|
|
219
219
|
startIcon: s.icon,
|
|
@@ -230,24 +230,24 @@ const fe = Ae(
|
|
|
230
230
|
d.Item,
|
|
231
231
|
{
|
|
232
232
|
startIcon: e.props.startIcon,
|
|
233
|
-
disabled:
|
|
234
|
-
"data-action":
|
|
235
|
-
"aria-label": u.newTab ? `${
|
|
233
|
+
disabled: r,
|
|
234
|
+
"data-action": i,
|
|
235
|
+
"aria-label": u.newTab ? `${o}, ${we}` : void 0,
|
|
236
236
|
onSelect: () => {
|
|
237
237
|
var s, p;
|
|
238
238
|
(p = (s = ne.current) == null ? void 0 : s.querySelector(
|
|
239
239
|
`[data-link-index="${n}"] [href]`
|
|
240
240
|
)) == null || p.click();
|
|
241
241
|
},
|
|
242
|
-
children:
|
|
242
|
+
children: o
|
|
243
243
|
},
|
|
244
244
|
e.key ?? n
|
|
245
245
|
) : /* @__PURE__ */ a(
|
|
246
246
|
d.Item,
|
|
247
247
|
{
|
|
248
248
|
startIcon: e.props.startIcon,
|
|
249
|
-
disabled:
|
|
250
|
-
"data-action":
|
|
249
|
+
disabled: r,
|
|
250
|
+
"data-action": i,
|
|
251
251
|
onSelect: (s) => {
|
|
252
252
|
var p, C;
|
|
253
253
|
(C = (p = e.props).onClick) == null || C.call(
|
|
@@ -255,23 +255,23 @@ const fe = Ae(
|
|
|
255
255
|
s
|
|
256
256
|
);
|
|
257
257
|
},
|
|
258
|
-
children:
|
|
258
|
+
children: o
|
|
259
259
|
},
|
|
260
260
|
e.key ?? n
|
|
261
261
|
);
|
|
262
262
|
}), ae = c.map((e, n) => {
|
|
263
|
-
var
|
|
263
|
+
var i;
|
|
264
264
|
if ($[n] || T(e) === null) return null;
|
|
265
|
-
const
|
|
266
|
-
if (!
|
|
265
|
+
const o = A(e);
|
|
266
|
+
if (!o || (((i = e.props.overflowItems) == null ? void 0 : i.length) ?? 0) > 0)
|
|
267
267
|
return null;
|
|
268
|
-
const
|
|
269
|
-
return /* @__PURE__ */ a("span", { "data-link-index": n, children: B(
|
|
270
|
-
onClick: (
|
|
268
|
+
const r = o.element.props.onClick;
|
|
269
|
+
return /* @__PURE__ */ a("span", { "data-link-index": n, children: B(o.element, {
|
|
270
|
+
onClick: (l) => {
|
|
271
271
|
var u, s;
|
|
272
|
-
typeof
|
|
272
|
+
typeof r == "function" && r(l), (s = (u = e.props).onClick) == null || s.call(
|
|
273
273
|
u,
|
|
274
|
-
|
|
274
|
+
l
|
|
275
275
|
);
|
|
276
276
|
},
|
|
277
277
|
/* No query may land on this hidden copy. */
|
|
@@ -280,25 +280,25 @@ const fe = Ae(
|
|
|
280
280
|
}) }, e.key ?? n);
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
|
-
const
|
|
283
|
+
const ie = (t) => {
|
|
284
284
|
Q.current = t, typeof R == "function" ? R(t) : R && typeof R == "object" && (R.current = t);
|
|
285
285
|
};
|
|
286
286
|
if (!b)
|
|
287
287
|
return /* @__PURE__ */ a(
|
|
288
288
|
"div",
|
|
289
289
|
{
|
|
290
|
-
ref:
|
|
290
|
+
ref: ie,
|
|
291
291
|
role: k ? "toolbar" : "group",
|
|
292
292
|
"aria-label": W,
|
|
293
|
-
"aria-orientation": k ?
|
|
293
|
+
"aria-orientation": k ? g ?? "horizontal" : void 0,
|
|
294
294
|
"data-component": "button-group",
|
|
295
295
|
onKeyDown: X,
|
|
296
|
-
className: fe({ orientation:
|
|
296
|
+
className: fe({ orientation: g, separator: q, className: y }),
|
|
297
297
|
...H,
|
|
298
298
|
children: Ce
|
|
299
299
|
}
|
|
300
300
|
);
|
|
301
|
-
const O = fe({ orientation:
|
|
301
|
+
const O = fe({ orientation: g, separator: q }), V = N, le = (t, e, n) => B(t, {
|
|
302
302
|
key: t.key ?? e,
|
|
303
303
|
intent: t.props.intent ?? I,
|
|
304
304
|
background: t.props.background ?? h,
|
|
@@ -314,7 +314,7 @@ const fe = Ae(
|
|
|
314
314
|
return /* @__PURE__ */ a(
|
|
315
315
|
"div",
|
|
316
316
|
{
|
|
317
|
-
ref:
|
|
317
|
+
ref: ie,
|
|
318
318
|
"data-component": "button-group",
|
|
319
319
|
className: [
|
|
320
320
|
"ds:relative ds:block ds:w-full ds:min-w-0 ds:overflow-x-clip",
|
|
@@ -329,7 +329,7 @@ const fe = Ae(
|
|
|
329
329
|
"aria-hidden": "true",
|
|
330
330
|
inert: !0,
|
|
331
331
|
className: `${U} ${O}`,
|
|
332
|
-
children: c.map((t, e) =>
|
|
332
|
+
children: c.map((t, e) => le(t, e, !1))
|
|
333
333
|
}
|
|
334
334
|
),
|
|
335
335
|
D ? /* @__PURE__ */ a(
|
|
@@ -339,7 +339,7 @@ const fe = Ae(
|
|
|
339
339
|
"aria-hidden": "true",
|
|
340
340
|
inert: !0,
|
|
341
341
|
className: `${U} ${O}`,
|
|
342
|
-
children: c.map((t, e) =>
|
|
342
|
+
children: c.map((t, e) => le(t, e, !0))
|
|
343
343
|
}
|
|
344
344
|
) : null,
|
|
345
345
|
/* @__PURE__ */ a(
|
|
@@ -369,9 +369,9 @@ const fe = Ae(
|
|
|
369
369
|
"aria-label": W,
|
|
370
370
|
"aria-orientation": k ? "horizontal" : void 0,
|
|
371
371
|
onKeyDown: X,
|
|
372
|
-
className: `${O} ds:max-w-full ds:align-top`,
|
|
372
|
+
className: `${O} ds:max-w-full ds:align-top ds:[&>[data-component=button]]:shrink ds:[&>[data-component=button]]:min-w-0`,
|
|
373
373
|
children: [
|
|
374
|
-
|
|
374
|
+
re,
|
|
375
375
|
F ? /* @__PURE__ */ S(d.Root, { children: [
|
|
376
376
|
/* @__PURE__ */ a(d.Trigger, { asChild: !0, children: /* @__PURE__ */ a(
|
|
377
377
|
ce,
|
|
@@ -384,7 +384,7 @@ const fe = Ae(
|
|
|
384
384
|
ref: (t) => {
|
|
385
385
|
te.current = t, v.current[V] = t;
|
|
386
386
|
},
|
|
387
|
-
tabIndex: m ?
|
|
387
|
+
tabIndex: m ? w === V ? 0 : -1 : void 0,
|
|
388
388
|
onFocus: m ? () => x(V) : void 0
|
|
389
389
|
}
|
|
390
390
|
) }),
|
|
@@ -405,4 +405,4 @@ je.displayName = "ButtonGroup";
|
|
|
405
405
|
export {
|
|
406
406
|
je as B
|
|
407
407
|
};
|
|
408
|
-
//# sourceMappingURL=button-group-
|
|
408
|
+
//# sourceMappingURL=button-group-DLqAoowT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as p } from "react";
|
|
3
|
-
import { D as r } from "./dialog-
|
|
3
|
+
import { D as r } from "./dialog-D6fkpRc4.js";
|
|
4
4
|
const u = p(
|
|
5
5
|
({
|
|
6
6
|
trigger: i,
|
|
@@ -45,4 +45,4 @@ u.displayName = "CalculatorDialog";
|
|
|
45
45
|
export {
|
|
46
46
|
u as C
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=calculator-dialog-
|
|
48
|
+
//# sourceMappingURL=calculator-dialog-BUfaWqvu.js.map
|
|
@@ -16,7 +16,7 @@ import { u as Tr } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
|
16
16
|
import { u as xr } from "./registry-DvAUVLHh.js";
|
|
17
17
|
import { w as wr, C as Dr } from "./calendar-event-card-DXAYWH6k.js";
|
|
18
18
|
import { A as Cr } from "./avatar-WZY3eGE7.js";
|
|
19
|
-
import { B as kr } from "./button-
|
|
19
|
+
import { B as kr } from "./button-CnUVJg1Y.js";
|
|
20
20
|
import { a as je, R as Ar } from "./resource-chip-DQeCJzJf.js";
|
|
21
21
|
import { T as _e } from "./tooltip-Cp-PLePW.js";
|
|
22
22
|
import { V as Ir } from "./visually-hidden-BHxEUGyT.js";
|
|
@@ -1466,4 +1466,4 @@ export {
|
|
|
1466
1466
|
Er as c,
|
|
1467
1467
|
be as r
|
|
1468
1468
|
};
|
|
1469
|
-
//# sourceMappingURL=calendar-
|
|
1469
|
+
//# sourceMappingURL=calendar-KihOHLCs.js.map
|