@alfadocs/ui-kit-debug 1.56.0 → 1.58.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/{address-fields-BfjxS05Z.js → address-fields-CJtu7LQU.js} +2 -2
- package/dist/_chunks/{address-fields-BfjxS05Z.js.map → address-fields-CJtu7LQU.js.map} +1 -1
- package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
- package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js.map → ai-credits-notice-ktklr8fy.js.map} +1 -1
- package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
- package/dist/_chunks/ai-permission-notice-DyuEGwAt.js.map +1 -0
- package/dist/_chunks/alia-sidebar-dybRpWml.js +1284 -0
- package/dist/_chunks/alia-sidebar-dybRpWml.js.map +1 -0
- package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js → anamnesis-summary-rows-M-FUkw9p.js} +6 -6
- package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js.map → anamnesis-summary-rows-M-FUkw9p.js.map} +1 -1
- package/dist/_chunks/{app-frame-B-0O9CrU.js → app-frame-CqmDh2v5.js} +2 -2
- package/dist/_chunks/{app-frame-B-0O9CrU.js.map → app-frame-CqmDh2v5.js.map} +1 -1
- package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
- package/dist/_chunks/{appointment-peek-BIZaDeCi.js.map → appointment-peek-WvNbE4JG.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DmqYEIT9.js.map → appointment-timeline-Z0494xO-.js.map} +1 -1
- package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js → balance-badge-cell-CGoJZlKf.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js.map → balance-badge-cell-CGoJZlKf.js.map} +1 -1
- package/dist/_chunks/{booking-WyNGKPE2.js → booking-CiFSAMR-.js} +4 -4
- package/dist/_chunks/{booking-WyNGKPE2.js.map → booking-CiFSAMR-.js.map} +1 -1
- package/dist/_chunks/{calculator-dialog-pCPWta7h.js → calculator-dialog-CzQv03p0.js} +2 -2
- package/dist/_chunks/{calculator-dialog-pCPWta7h.js.map → calculator-dialog-CzQv03p0.js.map} +1 -1
- package/dist/_chunks/{calendar-workspace-Du2ryaI-.js → calendar-workspace-DNHzjG7O.js} +19 -19
- package/dist/_chunks/calendar-workspace-DNHzjG7O.js.map +1 -0
- package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
- package/dist/_chunks/{care-plan-card-Ddjh5Doc.js.map → care-plan-card-DxrRLRdW.js.map} +1 -1
- package/dist/_chunks/{care-plan-header-DUX_SVvF.js → care-plan-header-BMwZIgHJ.js} +2 -2
- package/dist/_chunks/{care-plan-header-DUX_SVvF.js.map → care-plan-header-BMwZIgHJ.js.map} +1 -1
- package/dist/_chunks/{chart-HsF1KHbx.js → chart-ZMkX-Gqy.js} +338 -341
- package/dist/_chunks/chart-ZMkX-Gqy.js.map +1 -0
- package/dist/_chunks/{city-input-BC_nYINn.js → city-input-3J3bz9EO.js} +2 -2
- package/dist/_chunks/{city-input-BC_nYINn.js.map → city-input-3J3bz9EO.js.map} +1 -1
- package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
- package/dist/_chunks/{clinical-note-card-14JIoUR0.js.map → clinical-note-card-hx939bvw.js.map} +1 -1
- package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
- package/dist/_chunks/color-picker-BsggJovx.js.map +1 -0
- package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
- package/dist/_chunks/{contact-card-CmK05vNb.js.map → contact-card-fHBMwEsx.js.map} +1 -1
- package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js → contact-profile-card-CMyBYgRR.js} +2 -2
- package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js.map → contact-profile-card-CMyBYgRR.js.map} +1 -1
- package/dist/_chunks/{control-room-rail-Tx2jW250.js → control-room-rail-CJ85HkS2.js} +2 -2
- package/dist/_chunks/{control-room-rail-Tx2jW250.js.map → control-room-rail-CJ85HkS2.js.map} +1 -1
- package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js.map → cycle-calculator-Cww9DzIa.js.map} +1 -1
- package/dist/_chunks/dashboard-grid-Cs7cJAsA.js +933 -0
- package/dist/_chunks/dashboard-grid-Cs7cJAsA.js.map +1 -0
- package/dist/_chunks/{data-table-D8fuhqO1.js → data-table-Yn5xiGzs.js} +3 -3
- package/dist/_chunks/{data-table-D8fuhqO1.js.map → data-table-Yn5xiGzs.js.map} +1 -1
- package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
- package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js.map → data-table-tabs-CHYAAeHy.js.map} +1 -1
- package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
- package/dist/_chunks/date-picker-BSZuKo13.js.map +1 -0
- package/dist/_chunks/{date-range-picker-CtUOI38x.js → date-range-picker-CFk-5O3R.js} +176 -171
- package/dist/_chunks/date-range-picker-CFk-5O3R.js.map +1 -0
- package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
- package/dist/_chunks/date-time-picker-CjxTkblD.js.map +1 -0
- package/dist/_chunks/{dialog-CUzbnKLw.js → dialog-Dn-iQ0Jp.js} +2 -2
- package/dist/_chunks/{dialog-CUzbnKLw.js.map → dialog-Dn-iQ0Jp.js.map} +1 -1
- package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
- package/dist/_chunks/{document-preview-uoTekVR7.js.map → document-preview-CHGGG0l_.js.map} +1 -1
- package/dist/_chunks/{due-date-calculator-CSjklbyw.js → due-date-calculator-D_qFUiHp.js} +2 -2
- package/dist/_chunks/{due-date-calculator-CSjklbyw.js.map → due-date-calculator-D_qFUiHp.js.map} +1 -1
- package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
- package/dist/_chunks/{entity-summary-DcB0fIiv.js.map → entity-summary-CWcCSThK.js.map} +1 -1
- package/dist/_chunks/{face-scheme-BicuUA2K.js → face-scheme-DSKDdIsb.js} +2 -2
- package/dist/_chunks/{face-scheme-BicuUA2K.js.map → face-scheme-DSKDdIsb.js.map} +1 -1
- package/dist/_chunks/{file-manager-Cc_uO8r2.js → file-manager-DEtkQR1F.js} +4 -4
- package/dist/_chunks/{file-manager-Cc_uO8r2.js.map → file-manager-DEtkQR1F.js.map} +1 -1
- package/dist/_chunks/{forgot-password-form-DEx-M_QR.js → forgot-password-form-CEqOmNuX.js} +2 -2
- package/dist/_chunks/{forgot-password-form-DEx-M_QR.js.map → forgot-password-form-CEqOmNuX.js.map} +1 -1
- package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js → gestational-age-calculator-CZi43xKG.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js.map → gestational-age-calculator-CZi43xKG.js.map} +1 -1
- package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js.map → hcg-doubling-Ccvh7OaU.js.map} +1 -1
- package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
- package/dist/_chunks/{header-settings-ge_3gYEq.js.map → header-settings-BMcCx2LC.js.map} +1 -1
- package/dist/_chunks/{heatmap-Gf9r7Tn1.js → heatmap-DiyOSQk9.js} +2 -2
- package/dist/_chunks/{heatmap-Gf9r7Tn1.js.map → heatmap-DiyOSQk9.js.map} +1 -1
- package/dist/_chunks/{help-me-write-templates-fV-Apf72.js → help-me-write-templates-CM1p6qkm.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-fV-Apf72.js.map → help-me-write-templates-CM1p6qkm.js.map} +1 -1
- package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
- package/dist/_chunks/hover-card-U_ZYoh1n.js.map +1 -0
- package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-rOFTawXk.js} +3 -3
- package/dist/_chunks/{icon-picker-DWrqmI1c.js.map → icon-picker-rOFTawXk.js.map} +1 -1
- package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
- package/dist/_chunks/{info-tip-B0jmIt6M.js.map → info-tip-CJpNpzZe.js.map} +1 -1
- package/dist/_chunks/{kit-extensions-Byfxy6sy.js → kit-extensions-DYVxWcqv.js} +4 -4
- package/dist/_chunks/{kit-extensions-Byfxy6sy.js.map → kit-extensions-DYVxWcqv.js.map} +1 -1
- package/dist/_chunks/{link-cell-renderer-TeJNvymP.js → link-cell-renderer-C1wOyxDF.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-TeJNvymP.js.map → link-cell-renderer-C1wOyxDF.js.map} +1 -1
- package/dist/_chunks/link-gRw3NtOt.js +137 -0
- package/dist/_chunks/link-gRw3NtOt.js.map +1 -0
- package/dist/_chunks/{list-RRN2TJ_7.js → list-CNnn7DOD.js} +75 -73
- package/dist/_chunks/list-CNnn7DOD.js.map +1 -0
- package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
- package/dist/_chunks/{locale-picker-DfNSdOpy.js.map → locale-picker-BGfrZyTw.js.map} +1 -1
- package/dist/_chunks/{login-dev-card-DmZ1B0lB.js → login-dev-card-CIim81VB.js} +2 -2
- package/dist/_chunks/{login-dev-card-DmZ1B0lB.js.map → login-dev-card-CIim81VB.js.map} +1 -1
- package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js +613 -0
- package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js.map +1 -0
- package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-DmU0poD7.js} +76 -69
- package/dist/_chunks/message-tray-DmU0poD7.js.map +1 -0
- package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
- package/dist/_chunks/{nav-grid-BqCPH8sm.js.map → nav-grid-Byx8PxuB.js.map} +1 -1
- package/dist/_chunks/navigation-dismiss-B1mcW1CT.js +9 -0
- package/dist/_chunks/navigation-dismiss-B1mcW1CT.js.map +1 -0
- package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
- package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js.map +1 -0
- package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
- package/dist/_chunks/{note-attachment-I1NLoeRZ.js.map → note-attachment-Bt2cddsZ.js.map} +1 -1
- package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
- package/dist/_chunks/{note-timeline-CsY8YOE7.js.map → note-timeline-CX9nAgAR.js.map} +1 -1
- package/dist/_chunks/{notes-panel-DceRhthG.js → notes-panel-DHLHsxpW.js} +4 -4
- package/dist/_chunks/{notes-panel-DceRhthG.js.map → notes-panel-DHLHsxpW.js.map} +1 -1
- package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-DPU-Xg0i.js} +83 -76
- package/dist/_chunks/notification-tray-DPU-Xg0i.js.map +1 -0
- package/dist/_chunks/{panel-subview-BT-Apwgb.js → panel-subview-D4o6ar6_.js} +61 -47
- package/dist/_chunks/panel-subview-D4o6ar6_.js.map +1 -0
- package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-BCaVuaXz.js} +2 -2
- package/dist/_chunks/{patient-details-DsTtjpuX.js.map → patient-details-BCaVuaXz.js.map} +1 -1
- package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-jcRSTrp4.js} +7 -7
- package/dist/_chunks/{patient-field-row-BvZ9luz-.js.map → patient-field-row-jcRSTrp4.js.map} +1 -1
- package/dist/_chunks/{patient-summary-card-9nQWTQf6.js → patient-summary-card-kQIfPQOE.js} +4 -4
- package/dist/_chunks/{patient-summary-card-9nQWTQf6.js.map → patient-summary-card-kQIfPQOE.js.map} +1 -1
- package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js → payment-automation-upsell-C4wHOxsp.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js.map → payment-automation-upsell-C4wHOxsp.js.map} +1 -1
- package/dist/_chunks/{payment-request-card-CwDpwXUC.js → payment-request-card-DAniJNLX.js} +2 -2
- package/dist/_chunks/{payment-request-card-CwDpwXUC.js.map → payment-request-card-DAniJNLX.js.map} +1 -1
- package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
- package/dist/_chunks/pdf-viewer-CNQxa4tv.js.map +1 -0
- package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
- package/dist/_chunks/phone-input-O9camxkq.js.map +1 -0
- package/dist/_chunks/popover-BG75rYjN.js +367 -0
- package/dist/_chunks/popover-BG75rYjN.js.map +1 -0
- package/dist/_chunks/{practice-results-Dhbo-fc_.js → practice-results-D07wgCqV.js} +2 -2
- package/dist/_chunks/{practice-results-Dhbo-fc_.js.map → practice-results-D07wgCqV.js.map} +1 -1
- package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js → pregnancy-dating-BFzv9g1N.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js.map → pregnancy-dating-BFzv9g1N.js.map} +1 -1
- package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DCYX0rPG.js} +103 -96
- package/dist/_chunks/product-hub-panel-DCYX0rPG.js.map +1 -0
- package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
- package/dist/_chunks/{public-footer-CxpG6J1M.js.map → public-footer-ZWTEG1Rq.js.map} +1 -1
- package/dist/_chunks/{public-header.agent-pr2hyiND.js → public-header.agent-C1SlVSYt.js} +2 -2
- package/dist/_chunks/{public-header.agent-pr2hyiND.js.map → public-header.agent-C1SlVSYt.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
- package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js.map → radiograph-panel.agent-DyqbTECc.js.map} +1 -1
- package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-DrSR9Sjk.js} +4 -4
- package/dist/_chunks/{registration-form-D7iNqMBF.js.map → registration-form-DrSR9Sjk.js.map} +1 -1
- package/dist/_chunks/{rich-text-editor-CkFfmA3v.js → rich-text-editor-UgXri8h6.js} +490 -485
- package/dist/_chunks/rich-text-editor-UgXri8h6.js.map +1 -0
- package/dist/_chunks/{scroll-area-ZtFCv9K7.js → scroll-area-CY5SLYNw.js} +104 -74
- package/dist/_chunks/scroll-area-CY5SLYNw.js.map +1 -0
- package/dist/_chunks/{search-bar-DQJS0wJN.js → search-bar-mA4bPe3t.js} +294 -255
- package/dist/_chunks/search-bar-mA4bPe3t.js.map +1 -0
- package/dist/_chunks/{sheet-C7SwIxwB.js → sheet-Dtjk0CVv.js} +3 -3
- package/dist/_chunks/{sheet-C7SwIxwB.js.map → sheet-Dtjk0CVv.js.map} +1 -1
- package/dist/_chunks/sidebar-D4Wllqfz.js +2029 -0
- package/dist/_chunks/sidebar-D4Wllqfz.js.map +1 -0
- package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
- package/dist/_chunks/{sign-document-B6HlyCGV.js.map → sign-document-D4iHS_Ug.js.map} +1 -1
- package/dist/_chunks/{signature-request-DhbpB9N9.js → signature-request-dAVgE0_5.js} +3 -3
- package/dist/_chunks/{signature-request-DhbpB9N9.js.map → signature-request-dAVgE0_5.js.map} +1 -1
- package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-DOJpobp8.js} +3 -3
- package/dist/_chunks/{signed-out-frame-B2GTIeqA.js.map → signed-out-frame-DOJpobp8.js.map} +1 -1
- package/dist/_chunks/{state-backed-text-input-DECQy5aA.js → state-backed-text-input-Cgh4ms3p.js} +2 -2
- package/dist/_chunks/{state-backed-text-input-DECQy5aA.js.map → state-backed-text-input-Cgh4ms3p.js.map} +1 -1
- package/dist/_chunks/{task-editor-ByyRu29Y.js → task-editor-BflEZmcF.js} +7 -6
- package/dist/_chunks/task-editor-BflEZmcF.js.map +1 -0
- package/dist/_chunks/{tool-rail-Bwyuw_Ot.js → tool-rail-CTq1KwxW.js} +115 -114
- package/dist/_chunks/{tool-rail-Bwyuw_Ot.js.map → tool-rail-CTq1KwxW.js.map} +1 -1
- package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js → use-appointment-details-read-izwoXh-G.js} +8 -8
- package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js.map → use-appointment-details-read-izwoXh-G.js.map} +1 -1
- package/dist/_chunks/use-state-backed-input-DhRQo6gM.js +57 -0
- package/dist/_chunks/use-state-backed-input-DhRQo6gM.js.map +1 -0
- package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-an-bpQfF.js} +3 -3
- package/dist/_chunks/{voice-control-panel-Bg1eklL0.js.map → voice-control-panel-an-bpQfF.js.map} +1 -1
- package/dist/_chunks/{widget-picker-DXYBMTfe.js → widget-picker-DlJOgYrZ.js} +80 -57
- package/dist/_chunks/widget-picker-DlJOgYrZ.js.map +1 -0
- package/dist/agent-catalog.json +3 -3
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/_shared/navigation-dismiss.d.ts +8 -0
- package/dist/components/_shared/navigation-dismiss.d.ts.map +1 -0
- package/dist/components/_shared/non-modal-tab-exit.d.ts +15 -4
- package/dist/components/_shared/non-modal-tab-exit.d.ts.map +1 -1
- package/dist/components/_shared/use-state-backed-input.d.ts +3 -2
- package/dist/components/_shared/use-state-backed-input.d.ts.map +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts.map +1 -1
- package/dist/components/ai-permission-notice/index.d.ts +1 -1
- package/dist/components/ai-permission-notice/index.d.ts.map +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- 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/booking/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chart/chart.d.ts +5 -5
- package/dist/components/chart/chart.d.ts.map +1 -1
- package/dist/components/chart/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/color-picker/color-picker.d.ts.map +1 -1
- package/dist/components/color-picker/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/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +33 -8
- package/dist/components/dashboard-grid/dashboard-grid.d.ts.map +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/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-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +5 -3
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/list/list.d.ts.map +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/message-tray/message-tray.d.ts.map +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/panel-subview/panel-subview.d.ts.map +1 -1
- package/dist/components/patient-details/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/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.d.ts.map +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -1
- package/dist/components/public-footer/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/rich-text-editor/editor-toolbar.d.ts.map +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/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-bar/search-bar.d.ts +1 -1
- package/dist/components/search-bar/search-bar.d.ts.map +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.d.ts +1 -1
- package/dist/components/sidebar/index.d.ts.map +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-move.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.d.ts +26 -1
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-editor/task-editor.d.ts.map +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts.map +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/widget-picker/widget-picker.d.ts.map +1 -1
- package/dist/host-compat.css +2 -1
- package/dist/i18n/locales/ar.d.ts +24 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +26 -2
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +24 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +26 -2
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +24 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +26 -2
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +24 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +26 -2
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +24 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +26 -2
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +24 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +26 -2
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +24 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +26 -2
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +24 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +26 -2
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +24 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +26 -2
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +24 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +26 -2
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +24 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +26 -2
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +24 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +26 -2
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +24 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +26 -2
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +24 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +26 -2
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +24 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +26 -2
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +24 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +26 -2
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +24 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +26 -2
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +24 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +26 -2
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +204 -203
- package/dist/locales/ar.json +26 -2
- package/dist/locales/de.json +26 -2
- package/dist/locales/el.json +26 -2
- package/dist/locales/en.json +26 -2
- package/dist/locales/es.json +26 -2
- package/dist/locales/fr.json +26 -2
- package/dist/locales/hi.json +26 -2
- package/dist/locales/it.json +26 -2
- package/dist/locales/ja.json +26 -2
- package/dist/locales/nl.json +26 -2
- package/dist/locales/pl.json +26 -2
- package/dist/locales/pt.json +26 -2
- package/dist/locales/ro.json +26 -2
- package/dist/locales/ru.json +26 -2
- package/dist/locales/sq.json +26 -2
- package/dist/locales/sv.json +26 -2
- package/dist/locales/tr.json +26 -2
- package/dist/locales/zh.json +26 -2
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
- package/dist/patterns/alia-assistant/alia-popout.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/index.d.ts +2 -0
- package/dist/patterns/alia-assistant/index.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/index.js +6 -5
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/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 +40 -10
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
- 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 +1 -1
- package/package.json +1 -1
- package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
- package/dist/_chunks/ai-permission-notice-5vpblPCx.js.map +0 -1
- package/dist/_chunks/alia-sidebar-DOei4Iyu.js +0 -1183
- package/dist/_chunks/alia-sidebar-DOei4Iyu.js.map +0 -1
- package/dist/_chunks/calendar-workspace-Du2ryaI-.js.map +0 -1
- package/dist/_chunks/chart-HsF1KHbx.js.map +0 -1
- package/dist/_chunks/color-picker-BRQ4Y9SO.js.map +0 -1
- package/dist/_chunks/dashboard-grid-DfEY2qci.js +0 -844
- package/dist/_chunks/dashboard-grid-DfEY2qci.js.map +0 -1
- package/dist/_chunks/date-picker-wRAcq2lt.js.map +0 -1
- package/dist/_chunks/date-range-picker-CtUOI38x.js.map +0 -1
- package/dist/_chunks/date-time-picker-CLeLKuv9.js.map +0 -1
- package/dist/_chunks/hover-card-BnTueNS2.js.map +0 -1
- package/dist/_chunks/link-2HokYuIi.js +0 -130
- package/dist/_chunks/link-2HokYuIi.js.map +0 -1
- package/dist/_chunks/list-RRN2TJ_7.js.map +0 -1
- package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js +0 -541
- package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js.map +0 -1
- package/dist/_chunks/message-tray-BB95DA82.js.map +0 -1
- package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js +0 -65
- package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js.map +0 -1
- package/dist/_chunks/notification-tray-__sJXnsz.js.map +0 -1
- package/dist/_chunks/panel-subview-BT-Apwgb.js.map +0 -1
- package/dist/_chunks/pdf-viewer-C3minW5b.js.map +0 -1
- package/dist/_chunks/phone-input-DxkHMYmu.js.map +0 -1
- package/dist/_chunks/popover-BI3oV3eY.js +0 -305
- package/dist/_chunks/popover-BI3oV3eY.js.map +0 -1
- package/dist/_chunks/product-hub-panel-BSSiGGG4.js.map +0 -1
- package/dist/_chunks/rich-text-editor-CkFfmA3v.js.map +0 -1
- package/dist/_chunks/scroll-area-ZtFCv9K7.js.map +0 -1
- package/dist/_chunks/search-bar-DQJS0wJN.js.map +0 -1
- package/dist/_chunks/sidebar-DLsG2AIk.js +0 -1349
- package/dist/_chunks/sidebar-DLsG2AIk.js.map +0 -1
- package/dist/_chunks/task-editor-ByyRu29Y.js.map +0 -1
- package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +0 -59
- package/dist/_chunks/use-state-backed-input-C7ESmxKB.js.map +0 -1
- package/dist/_chunks/widget-picker-DXYBMTfe.js.map +0 -1
|
@@ -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-COX76Jdj.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-CTq1KwxW.js.map
|