@alfadocs/ui-kit 0.72.2 → 0.75.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-DLrcSTK_.js +1546 -0
- package/dist/_chunks/{agenda-tray-loL2A3Cx.js → agenda-tray-CVf-jfWU.js} +3 -3
- package/dist/_chunks/{ai-consent-banner-Bke9m8VS.js → ai-consent-banner-DUhr1yNj.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-TVI95hJD.js → ai-prompt-input-DziJCGLe.js} +3 -3
- package/dist/_chunks/{alia-sidebar-BV5lBSFR.js → alia-sidebar-w6B0TEx7.js} +8 -8
- package/dist/_chunks/{anamnesis-card-CWO4Ui9c.js → anamnesis-card-CJ5MNbkc.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-CY-VsLok.js → antenatal-schedule-timeline-BzJZqS-8.js} +3 -3
- package/dist/_chunks/{appointment-card-Cy4FOkGP.js → appointment-card-DgKI5QKD.js} +2 -2
- package/dist/_chunks/{appointment-timeline-BWAPPk8F.js → appointment-timeline-DQTG0btW.js} +6 -6
- package/dist/_chunks/{appointment-tray-D3mk04TT.js → appointment-tray-ezyCZN8v.js} +4 -4
- package/dist/_chunks/{ar-BOqyIfoY.js → ar-B1GhtlBP.js} +2 -2
- package/dist/_chunks/{columns-2-8lq4-b8e.js → arrow-up-right-C2v_MKsK.js} +5 -5
- package/dist/_chunks/{audio-recorder-BbjG55dP.js → audio-recorder-Cc3KuL9y.js} +4 -4
- package/dist/_chunks/{benefit-card-Xnxj4Gmo.js → benefit-card-DB1Kdrmc.js} +4 -2
- package/dist/_chunks/{bishop-score-C6eoak_j.js → bishop-score-DDW5-gb9.js} +3 -3
- package/dist/_chunks/{bmi-calculator-BmQfoEGP.js → bmi-calculator-Bk2GAju7.js} +2 -2
- package/dist/_chunks/{booking-B62CMY5k.js → booking-B1Qkcl3c.js} +9 -9
- package/dist/_chunks/{button-DD_0Xdmr.js → button-CPGiR_bH.js} +56 -35
- package/dist/_chunks/button-group-DzV5wgnx.js +289 -0
- package/dist/_chunks/camera-VSklPDCv.js +21 -0
- package/dist/_chunks/{care-plan-card-DhXbfGzE.js → care-plan-card-BrwhyIJI.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-D3YGD6rj.js → care-plan-entry-card-DWEdCQM3.js} +3 -3
- package/dist/_chunks/{care-plan-header-DtQxyfOb.js → care-plan-header-BXvRpGG8.js} +2 -2
- package/dist/_chunks/{carousel.agent-j7hWxJWr.js → carousel.agent-CtAAdsAd.js} +2 -2
- package/dist/_chunks/{chat-container-BVCoN06N.js → chat-container-HlFnoEIl.js} +4 -2
- package/dist/_chunks/{chat-input-Btq_uuMZ.js → chat-input-BTCDqUDX.js} +2 -2
- package/dist/_chunks/{chat-message-DXjjM8z9.js → chat-message-CdjWqZjo.js} +3 -3
- package/dist/_chunks/{code-block-Cwi7e3HM.js → code-block-BwanBjRh.js} +2 -2
- package/dist/_chunks/{connection-status-0HajXMXM.js → connection-status-oEUyrvev.js} +3 -3
- package/dist/_chunks/{contact-profile-card-IggiUVpN.js → contact-profile-card-veMV3W4J.js} +2 -2
- package/dist/_chunks/{control-room-rail-DaGcsdZ6.js → control-room-rail-CdfrZ6Vr.js} +3 -3
- package/dist/_chunks/{copy-field-PAp0-Wr5.js → copy-field-DBc9QquW.js} +2 -2
- package/dist/_chunks/{cycle-calculator-BNILyVas.js → cycle-calculator-OQp8Ik5U.js} +4 -4
- package/dist/_chunks/data-table-tabs-BEUXiRlu.js +710 -0
- package/dist/_chunks/{date-picker-CVkD_lOi.js → date-picker-DzQS8mvt.js} +2 -2
- package/dist/_chunks/{date-picker-variants-DLg-ZrIo.js → date-picker-variants-CYQAm1Gk.js} +116 -115
- package/dist/_chunks/{date-range-picker-Dw12DgV8.js → date-range-picker-Cbz1SKhm.js} +3 -3
- package/dist/_chunks/{date-time-picker-Cd_OJtOy.js → date-time-picker-B5IpU-nd.js} +2 -2
- package/dist/_chunks/{de-DFLsUxeV.js → de-DETDHQ0o.js} +2 -2
- package/dist/_chunks/{description-list-CmBVxIF5.js → description-list-ClNLdRMy.js} +2 -2
- package/dist/_chunks/document-preview-CGSM_au9.js +181 -0
- package/dist/_chunks/{document-scanner-B23j4w7X.js → document-scanner-B6h1Ir56.js} +198 -230
- package/dist/_chunks/{due-date-calculator-CmdAl_JO.js → due-date-calculator-DASNRgnH.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-z9fJFw6Z.js → editable-currency-cell-renderer-GwfA9tTR.js} +3 -3
- package/dist/_chunks/{editor-overlay-BIOzr8v7.js → editor-overlay-DE3esyio.js} +2 -2
- package/dist/_chunks/{el-OVjBKytp.js → el-HV3jOI0z.js} +2 -2
- package/dist/_chunks/{empty-state-BLy7tigq.js → empty-state-CrLsi0XI.js} +2 -2
- package/dist/_chunks/{entity-summary-DpGziDv5.js → entity-summary--vP698Jn.js} +3 -3
- package/dist/_chunks/eraser-CHOGQfVv.js +21 -0
- package/dist/_chunks/{es-DKDNrHXG.js → es-Dpo7Olwo.js} +2 -2
- package/dist/_chunks/face-scheme-C0rk21gg.js +3146 -0
- package/dist/_chunks/{fetal-weight-CVAH8sJ3.js → fetal-weight-1F9N4IMx.js} +2 -2
- package/dist/_chunks/{field-array-CDzc3hTM.js → field-array-DH3Mb1i8.js} +3 -3
- package/dist/_chunks/{field-value-Dj3i52H2.js → field-value-DHG6gEKS.js} +5 -5
- package/dist/_chunks/file-Cwe9VC1A.js +40 -0
- package/dist/_chunks/file-manager-UF8dkQF1.js +1776 -0
- package/dist/_chunks/{file-upload-Kw1rdvFw.js → file-upload-DENvuhfs.js} +101 -139
- package/dist/_chunks/{finished-terminal-Di4gtZ50.js → finished-terminal-C0_mefrf.js} +11 -11
- package/dist/_chunks/{fiscal-code-input-DKNXFXs3.js → fiscal-code-input-DWA6C8x8.js} +2 -2
- package/dist/_chunks/{fr-BfMvQh-v.js → fr-CgD4Jvtq.js} +2 -2
- package/dist/_chunks/{freemium-paywall-DFoeedwh.js → freemium-paywall-CmV642PA.js} +7 -3
- package/dist/_chunks/{gestational-age-calculator-BwCBPAGX.js → gestational-age-calculator-BpYw-WF-.js} +7 -7
- package/dist/_chunks/{hcg-doubling-CSsWxEJc.js → hcg-doubling-Dqj-EqMT.js} +3 -3
- package/dist/_chunks/{header-DaXWDw0M.js → header-CjwasYnn.js} +88 -79
- package/dist/_chunks/{header-settings-B0G_u-wV.js → header-settings-4cwQzeFc.js} +4 -4
- package/dist/_chunks/{hi-C0GEMwlD.js → hi-Bf8CAP6b.js} +2 -2
- package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
- package/dist/_chunks/{icon-button-LqoiKcUN.js → icon-button-C_kbcd7I.js} +2 -2
- package/dist/_chunks/icon-button-group-C_lqXTAj.js +391 -0
- package/dist/_chunks/{icon-picker-Di6uYDG-.js → icon-picker-CM9ubkew.js} +3 -3
- package/dist/_chunks/{image-cropper-CdmWFrMC.js → image-cropper-DKe4AORY.js} +2 -2
- package/dist/_chunks/{insert-result-C7xSDb8q.js → insert-result-D074GtHX.js} +58 -68
- package/dist/_chunks/{isSameWeek-HddDAyJG.js → isSameWeek-BYl5poz_.js} +2 -2
- package/dist/_chunks/{it-5f4hiT2e.js → it-mt1V2DFS.js} +3 -3
- package/dist/_chunks/{ja-U0_2inl_.js → ja-CbOHn2TO.js} +2 -2
- package/dist/_chunks/{key-value-pair-Byyyc_9J.js → key-value-pair-LHKfDT_9.js} +2 -2
- package/dist/_chunks/link-cell-renderer-BQGUs45d.js +711 -0
- package/dist/_chunks/{locale-picker-DzF7Q5Y8.js → locale-picker-GNF3lo8K.js} +3 -3
- package/dist/_chunks/{map-view-ByPvWG_9.js → map-view-CsaHfoo6.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-BCYiOvKZ.js → marketplace-app-shell-D_1tF4La.js} +6 -6
- package/dist/_chunks/{message-card-BZnnffyB.js → message-card-ievotOFa.js} +3 -3
- package/dist/_chunks/{message-tray-cUHOCdU0.js → message-tray-BFlu8clI.js} +4 -4
- package/dist/_chunks/{muscle-scheme-B9MIkuj0.js → muscle-scheme-CFBE2dme.js} +6 -14
- package/dist/_chunks/{nl-CDVnnx1U.js → nl-C6Y0QXnm.js} +2 -2
- package/dist/_chunks/{notes-panel-CMyjUXD4.js → notes-panel-Cvdp818a.js} +3 -3
- package/dist/_chunks/{notification-card-BHJ07FkH.js → notification-card-D29_sVA1.js} +3 -3
- package/dist/_chunks/{notification-tray-Dzm1c3Wy.js → notification-tray-CzIzz3bX.js} +4 -4
- package/dist/_chunks/optical-prescription-BEjYQjiO.js +1260 -0
- package/dist/_chunks/{patient-details-pU_E5xM2.js → patient-details-DP4wKyq4.js} +7 -7
- package/dist/_chunks/{patient-search-X9SUZGpy.js → patient-search-BaUJ_Y-N.js} +47 -45
- package/dist/_chunks/{patient-summary-card--t3BjTdU.js → patient-summary-card-D6kgdTNn.js} +4 -4
- package/dist/_chunks/{patient-table-BgWgNIMf.js → patient-table-DweKjiXg.js} +122 -118
- package/dist/_chunks/{payment-request-card-2ts7ITxd.js → payment-request-card-C0fqlKqO.js} +25 -24
- package/dist/_chunks/pen-line-D0De5zdl.js +21 -0
- package/dist/_chunks/periodontal-chart-D8hOFmde.js +1173 -0
- package/dist/_chunks/{periodontal-chart-card-6c6Lt4ws.js → periodontal-chart-card-WVjJAheq.js} +2 -2
- package/dist/_chunks/periodontal-diagnosis-cco40xTa.js +345 -0
- package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js +334 -0
- package/dist/_chunks/{pl-BWNumNrg.js → pl-BdazJAOp.js} +3 -3
- package/dist/_chunks/{popover-uJ6BvEU3.js → popover-Cc0a69sw.js} +32 -29
- package/dist/_chunks/{practice-results-CSEHTH2V.js → practice-results-BCr7jMt1.js} +5 -5
- package/dist/_chunks/{pregnancy-dating-CxVAA6_4.js → pregnancy-dating-msMl_6wz.js} +7 -7
- package/dist/_chunks/{pregnancy-weight-gain-C7zyrwow.js → pregnancy-weight-gain-B-CkVYnU.js} +2 -2
- package/dist/_chunks/{privacy-lock-DrRmK8C7.js → privacy-lock-YYBiI_bY.js} +3 -3
- package/dist/_chunks/{product-hub-panel-CaZqttvm.js → product-hub-panel-CTld1r5V.js} +3 -3
- package/dist/_chunks/{pt-zqdQuryr.js → pt-B3UKvhHp.js} +2 -2
- package/dist/_chunks/{public-header.agent-C-opZaOw.js → public-header.agent-rX_VA6hd.js} +107 -103
- package/dist/_chunks/{radiograph-panel.agent-D1x33moc.js → radiograph-panel.agent-CxF9pVxd.js} +40 -57
- package/dist/_chunks/{reviews-panel-liUj6OPX.js → reviews-panel-DmOjvmyH.js} +4 -4
- package/dist/_chunks/{rich-text-editor-DUgznqOf.js → rich-text-editor-CCWjNkbx.js} +26 -26
- package/dist/_chunks/{ro-CornQr64.js → ro-DVTEQpPK.js} +2 -2
- package/dist/_chunks/{ru-CKAXNYVD.js → ru-C-Mp40SC.js} +3 -3
- package/dist/_chunks/{select-BmCbJMJS.js → select-BW5ecXlX.js} +13 -13
- package/dist/_chunks/{session-countdown-qr8EO5QY.js → session-countdown-C8AsE072.js} +2 -2
- package/dist/_chunks/{sheet-B_X54aZo.js → sheet-D5K0LB3q.js} +2 -2
- package/dist/_chunks/{sidebar-B0OBmJrC.js → sidebar-C0PbwJBc.js} +375 -335
- package/dist/_chunks/{sign-document-nK03S73h.js → sign-document-Bfk0WpWV.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-LppxjlFt.js → sign-in-with-alfadocs-button-UlYefZpI.js} +2 -2
- package/dist/_chunks/{signature-capture-Ct_4Md4e.js → signature-capture-DN52VNKL.js} +206 -189
- package/dist/_chunks/{signature-field-jgwYgUhO.js → signature-field-0rFODJlW.js} +47 -41
- package/dist/_chunks/signature-request-C-mskXwi.js +318 -0
- package/dist/_chunks/{slot-grid-FsqumOaS.js → slot-grid-CQSULZjd.js} +4 -4
- package/dist/_chunks/{sq-CIIvqXZv.js → sq-DierVlw-.js} +2 -2
- package/dist/_chunks/{streaming-text-Cedc05ya.js → streaming-text-C5bYz7LL.js} +2 -2
- package/dist/_chunks/subDays-DIKRViZm.js +8 -0
- package/dist/_chunks/{sv-Kpk1pzjz.js → sv-gQWo_19z.js} +2 -2
- package/dist/_chunks/{tabs-DVQ941Sj.js → tabs-CVTukWRD.js} +2 -2
- package/dist/_chunks/{task-tray-DP5A3Qnc.js → task-tray-Br3vc0O1.js} +3 -3
- package/dist/_chunks/{tasks-panel-BuxaYtEF.js → tasks-panel-CjGAhIN8.js} +6 -6
- package/dist/_chunks/{theme-toggle-dtdy5EaL.js → theme-toggle-BJCz_UOi.js} +3 -3
- package/dist/_chunks/{toast.agent-BSxl057x.js → toast.agent-uV8CeAy6.js} +2 -2
- package/dist/_chunks/{token-insert-menu-Pok4nExI.js → token-insert-menu-BYv6yoZI.js} +2 -2
- package/dist/_chunks/{tool-rail-BZx0-yIr.js → tool-rail-AaTqxkIM.js} +2 -2
- package/dist/_chunks/tooth-data-BwuoKFf4.js +660 -0
- package/dist/_chunks/tooth-scheme-BzJ6rcte.js +1483 -0
- package/dist/_chunks/{tr-DHaeLFxG.js → tr-Btm6M3Km.js} +2 -2
- package/dist/_chunks/{transaction-chip-B6iWoVmU.js → transaction-chip-DJCstquX.js} +41 -51
- package/dist/_chunks/type-ggmfVs23.js +16 -0
- package/dist/_chunks/{unit-converter-fEqluT8b.js → unit-converter-CSLWFDQh.js} +3 -3
- package/dist/_chunks/upload-BfT2hzMg.js +16 -0
- package/dist/_chunks/use-priority-overflow-c9SjxZkZ.js +101 -0
- package/dist/_chunks/use-visual-viewport-pin-ChurOsHM.js +31 -0
- package/dist/_chunks/{warning-stack-BaMI7-n7.js → warning-stack-BlG_Ujy3.js} +3 -3
- package/dist/_chunks/{workflow-map-qWsgCldq.js → workflow-map-C643Q43h.js} +5 -5
- package/dist/_chunks/{zh-CN-BncsTBwM.js → zh-CN-DkVN4vsB.js} +3 -3
- package/dist/agent-catalog.json +4081 -3201
- package/dist/agent-i18n/en.json +121 -69
- package/dist/brand/product-lockup/product-lockup.d.ts +1 -1
- package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/anamnesis-card.d.ts +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/benefit-card/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/button.d.ts +8 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/button-group.d.ts +16 -0
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/card/card.d.ts +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/chat-container/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/clinical-note-card/clinical-note-card.d.ts +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/contact-profile-card.d.ts +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/counter/counter.d.ts +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +2 -8
- package/dist/components/data-table/index.js +35 -34
- package/dist/components/data-table/toolbar.d.ts +5 -11
- package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts +4 -0
- package/dist/components/data-table-tabs/data-table-tabs.d.ts +93 -0
- package/dist/components/data-table-tabs/index.d.ts +5 -0
- package/dist/components/data-table-tabs/index.js +8 -0
- package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +63 -0
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/document-preview/document-preview.agent.d.ts +4 -0
- package/dist/components/document-preview/document-preview.d.ts +41 -0
- package/dist/components/document-preview/index.d.ts +4 -0
- package/dist/components/document-preview/index.js +6 -0
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/face-scheme-data.d.ts +167 -0
- package/dist/components/face-scheme/face-scheme.d.ts +112 -2
- package/dist/components/face-scheme/index.d.ts +2 -2
- package/dist/components/face-scheme/index.js +25 -14
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/dialogs.d.ts +48 -0
- package/dist/components/file-manager/file-manager.agent.d.ts +4 -0
- package/dist/components/file-manager/file-manager.d.ts +82 -0
- package/dist/components/file-manager/folder-tree.d.ts +12 -0
- package/dist/components/file-manager/index.d.ts +5 -0
- package/dist/components/file-manager/index.js +6 -0
- package/dist/components/file-manager/list-view.d.ts +49 -0
- package/dist/components/file-manager/toolbar.d.ts +15 -0
- package/dist/components/file-manager/types.d.ts +167 -0
- package/dist/components/file-manager/utils.d.ts +34 -0
- package/dist/components/file-upload/file-upload.d.ts +1 -0
- package/dist/components/file-upload/index.d.ts +1 -1
- package/dist/components/file-upload/index.js +4 -3
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/flag/flag.d.ts +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/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts +6 -0
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +7 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-card/message-card.d.ts +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-card/notification-card.d.ts +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +1 -1
- package/dist/components/optical-prescription/index.d.ts +4 -2
- package/dist/components/optical-prescription/index.js +29 -26
- package/dist/components/optical-prescription/optical-prescription-charts.d.ts +78 -0
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +29 -0
- package/dist/components/optical-prescription/optical-prescription.d.ts +9 -0
- 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-summary-card/patient-summary-card.d.ts +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-card/payment-card.d.ts +1 -1
- package/dist/components/payment-card/payment-request-card.d.ts +1 -1
- package/dist/components/periodontal-chart/index.d.ts +6 -0
- package/dist/components/periodontal-chart/index.js +22 -0
- package/dist/components/periodontal-chart/periodontal-chart-data.d.ts +119 -0
- package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts +4 -0
- package/dist/components/periodontal-chart/periodontal-chart.d.ts +69 -0
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +1 -1
- package/dist/components/periodontal-diagnosis/index.d.ts +6 -0
- package/dist/components/periodontal-diagnosis/index.js +13 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts +30 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts +4 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts +44 -0
- package/dist/components/periodontal-risk-chart/index.d.ts +6 -0
- package/dist/components/periodontal-risk-chart/index.js +9 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts +4 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts +28 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts +47 -0
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -0
- 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/product-hub-tray/product-hub-panel.d.ts +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/radiograph-panel/radiograph-panel.d.ts +2 -2
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar.d.ts +9 -0
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/signature-field/signature-field.d.ts +7 -0
- package/dist/components/skeleton-scheme/index.js +1186 -0
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/stat/stat.d.ts +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +29 -28
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +40 -35
- package/dist/hooks/use-priority-overflow.d.ts +63 -0
- package/dist/hooks/use-visual-viewport-pin.d.ts +32 -0
- package/dist/i18n/locales/ar.d.ts +490 -9
- package/dist/i18n/locales/ar.js +493 -12
- package/dist/i18n/locales/de.d.ts +490 -9
- package/dist/i18n/locales/de.js +493 -12
- package/dist/i18n/locales/el.d.ts +490 -9
- package/dist/i18n/locales/el.js +493 -12
- package/dist/i18n/locales/en.d.ts +490 -9
- package/dist/i18n/locales/en.js +493 -12
- package/dist/i18n/locales/es.d.ts +490 -9
- package/dist/i18n/locales/es.js +493 -12
- package/dist/i18n/locales/fr.d.ts +490 -9
- package/dist/i18n/locales/fr.js +493 -12
- package/dist/i18n/locales/hi.d.ts +490 -9
- package/dist/i18n/locales/hi.js +493 -12
- package/dist/i18n/locales/it.d.ts +490 -9
- package/dist/i18n/locales/it.js +493 -12
- package/dist/i18n/locales/ja.d.ts +490 -9
- package/dist/i18n/locales/ja.js +493 -12
- package/dist/i18n/locales/nl.d.ts +490 -9
- package/dist/i18n/locales/nl.js +493 -12
- package/dist/i18n/locales/pl.d.ts +490 -9
- package/dist/i18n/locales/pl.js +493 -12
- package/dist/i18n/locales/pt.d.ts +490 -9
- package/dist/i18n/locales/pt.js +493 -12
- package/dist/i18n/locales/ro.d.ts +490 -9
- package/dist/i18n/locales/ro.js +493 -12
- package/dist/i18n/locales/ru.d.ts +490 -9
- package/dist/i18n/locales/ru.js +493 -12
- package/dist/i18n/locales/sq.d.ts +490 -9
- package/dist/i18n/locales/sq.js +493 -12
- package/dist/i18n/locales/sv.d.ts +490 -9
- package/dist/i18n/locales/sv.js +493 -12
- package/dist/i18n/locales/tr.d.ts +490 -9
- package/dist/i18n/locales/tr.js +493 -12
- package/dist/i18n/locales/zh.d.ts +490 -9
- package/dist/i18n/locales/zh.js +493 -12
- package/dist/index.js +872 -809
- package/dist/locales/ar.json +493 -12
- package/dist/locales/de.json +493 -12
- package/dist/locales/el.json +493 -12
- package/dist/locales/en.json +493 -12
- package/dist/locales/es.json +493 -12
- package/dist/locales/fr.json +493 -12
- package/dist/locales/hi.json +493 -12
- package/dist/locales/it.json +493 -12
- package/dist/locales/ja.json +493 -12
- package/dist/locales/nl.json +493 -12
- package/dist/locales/pl.json +493 -12
- package/dist/locales/pt.json +493 -12
- package/dist/locales/ro.json +493 -12
- package/dist/locales/ru.json +493 -12
- package/dist/locales/sq.json +493 -12
- package/dist/locales/sv.json +493 -12
- package/dist/locales/tr.json +493 -12
- package/dist/locales/zh.json +493 -12
- package/dist/patterns/alia-assistant/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 +1 -1
- package/dist/patterns/signature-request/index.d.ts +3 -0
- package/dist/patterns/signature-request/index.js +5 -0
- package/dist/patterns/signature-request/signature-request.d.ts +81 -0
- package/dist/tokens.css +2 -2
- package/package.json +32 -4
- package/dist/_chunks/button-group-CvEnVzY7.js +0 -119
- package/dist/_chunks/face-scheme-BT9_KdL0.js +0 -1450
- package/dist/_chunks/icon-button-group-C48khLE0.js +0 -206
- package/dist/_chunks/link-cell-renderer-BCppbMec.js +0 -2185
- package/dist/_chunks/optical-prescription-Bmlbuopi.js +0 -653
- package/dist/_chunks/patient-shell-oiIRqEAl.js +0 -162
- package/dist/_chunks/subDays-DGSOp9d9.js +0 -8
- package/dist/_chunks/tooth-scheme-D_rso4uu.js +0 -2133
- package/dist/patterns/patient-shell/index.d.ts +0 -12
- package/dist/patterns/patient-shell/index.js +0 -5
- package/dist/patterns/patient-shell/patient-shell.d.ts +0 -62
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
import { jsx as a, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Le, useState as E, useCallback as U, useRef as L, Children as ce, isValidElement as fe, useEffect as Ne, cloneElement as pe } from "react";
|
|
3
|
+
import { c as je } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as ze } from "react-i18next";
|
|
5
|
+
import { I as ge } from "./icon-button-C_kbcd7I.js";
|
|
6
|
+
import { D as h } from "./dropdown-menu-DU-Hrf33.js";
|
|
7
|
+
import { u as Se } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
|
+
import { u as Be } from "./use-priority-overflow-c9SjxZkZ.js";
|
|
9
|
+
import { E as me } from "./ellipsis-dRo9ouSU.js";
|
|
10
|
+
const be = je(
|
|
11
|
+
[
|
|
12
|
+
"ds:inline-flex ds:isolate",
|
|
13
|
+
// Hairline border around the group unifies the children into one
|
|
14
|
+
// visual unit. Internal child dividers are drawn via the per-child
|
|
15
|
+
// class list below.
|
|
16
|
+
"ds:border ds:border-border",
|
|
17
|
+
"ds:rounded-[var(--radius-md)]",
|
|
18
|
+
// Ensure the focus ring of a pressed child sits above its siblings.
|
|
19
|
+
"ds:[&>*]:relative ds:[&>*:focus-visible]:z-10"
|
|
20
|
+
].join(" "),
|
|
21
|
+
{
|
|
22
|
+
variants: {
|
|
23
|
+
orientation: {
|
|
24
|
+
horizontal: [
|
|
25
|
+
"ds:flex-row",
|
|
26
|
+
// Flatten internal corners on children so the outer radius owns
|
|
27
|
+
// the rounded edges.
|
|
28
|
+
"ds:[&>*:not(:first-child)]:rounded-s-none",
|
|
29
|
+
"ds:[&>*:not(:last-child)]:rounded-e-none",
|
|
30
|
+
// Internal divider — logical so it flips in RTL.
|
|
31
|
+
"ds:[&>*:not(:first-child)]:border-s",
|
|
32
|
+
"ds:[&>*:not(:first-child)]:border-border",
|
|
33
|
+
// The children already own an outer border (from IconButton's
|
|
34
|
+
// own border in secondary/outline variants). Collapse the doubled
|
|
35
|
+
// border so we don't get a 2px seam.
|
|
36
|
+
"ds:[&>*]:border-0"
|
|
37
|
+
].join(" "),
|
|
38
|
+
vertical: [
|
|
39
|
+
"ds:flex-col",
|
|
40
|
+
// Vertical groups flow block-wise. Reading direction doesn't
|
|
41
|
+
// invert vertical stacks in any locale this DS targets, so the
|
|
42
|
+
// physical `rounded-t/b` is intentional.
|
|
43
|
+
"ds:[&>*:not(:first-child)]:rounded-t-none",
|
|
44
|
+
"ds:[&>*:not(:last-child)]:rounded-b-none",
|
|
45
|
+
"ds:[&>*:not(:first-child)]:border-t",
|
|
46
|
+
"ds:[&>*:not(:first-child)]:border-border",
|
|
47
|
+
"ds:[&>*]:border-0"
|
|
48
|
+
].join(" ")
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
defaultVariants: {
|
|
52
|
+
orientation: "horizontal"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
), ve = "ds:absolute ds:start-0 ds:top-0 ds:invisible ds:pointer-events-none", Ke = Le(
|
|
56
|
+
(d, b) => {
|
|
57
|
+
const {
|
|
58
|
+
size: g,
|
|
59
|
+
orientation: u = "horizontal",
|
|
60
|
+
role: i = "group",
|
|
61
|
+
mode: n = "momentary",
|
|
62
|
+
disabled: W = !1,
|
|
63
|
+
intent: N = "outline",
|
|
64
|
+
overflow: ye = "none",
|
|
65
|
+
className: H,
|
|
66
|
+
children: q,
|
|
67
|
+
"aria-label": J,
|
|
68
|
+
"aria-labelledby": Q,
|
|
69
|
+
// Controlled-value props are consumed via `props as …` below; strip them
|
|
70
|
+
// here so they never spread onto the root <div> (React would warn that
|
|
71
|
+
// `onValueChange` is an unknown DOM event handler).
|
|
72
|
+
value: Te,
|
|
73
|
+
defaultValue: _e,
|
|
74
|
+
onValueChange: Fe,
|
|
75
|
+
...X
|
|
76
|
+
} = d, { t: he } = ze(), v = ye === "menu" && u !== "vertical", [Y, Z] = E(
|
|
77
|
+
() => n === "toggle-single" ? d.defaultValue ?? "" : n === "toggle-multi" ? d.defaultValue ?? [] : ""
|
|
78
|
+
), w = (() => {
|
|
79
|
+
if (n === "toggle-single") {
|
|
80
|
+
const e = d;
|
|
81
|
+
return e.value !== void 0 ? e.value : Y;
|
|
82
|
+
}
|
|
83
|
+
if (n === "toggle-multi") {
|
|
84
|
+
const e = d;
|
|
85
|
+
return e.value !== void 0 ? e.value : Y;
|
|
86
|
+
}
|
|
87
|
+
return "";
|
|
88
|
+
})(), k = U(
|
|
89
|
+
(e) => {
|
|
90
|
+
var o, r;
|
|
91
|
+
if (n === "toggle-single") {
|
|
92
|
+
const t = d;
|
|
93
|
+
t.value === void 0 && Z(e), (o = t.onValueChange) == null || o.call(t, e);
|
|
94
|
+
} else if (n === "toggle-multi") {
|
|
95
|
+
const t = d;
|
|
96
|
+
t.value === void 0 && Z(e), (r = t.onValueChange) == null || r.call(t, e);
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
[n, d]
|
|
100
|
+
), m = i === "toolbar" || i === "radiogroup", R = L([]), [y, j] = E(0), ee = U(
|
|
101
|
+
(e, o) => {
|
|
102
|
+
R.current[e] = o;
|
|
103
|
+
},
|
|
104
|
+
[]
|
|
105
|
+
), oe = L(null), [F, we] = E(!1);
|
|
106
|
+
Se(() => {
|
|
107
|
+
if (typeof window > "u") return;
|
|
108
|
+
const e = oe.current;
|
|
109
|
+
if (!e) return;
|
|
110
|
+
const o = window.getComputedStyle(e).direction;
|
|
111
|
+
we(o === "rtl");
|
|
112
|
+
}, []);
|
|
113
|
+
const G = U(
|
|
114
|
+
(e) => {
|
|
115
|
+
var P;
|
|
116
|
+
if (!m) return;
|
|
117
|
+
const o = R.current.filter(Boolean).length;
|
|
118
|
+
if (o === 0) return;
|
|
119
|
+
const r = u === "vertical" ? "ArrowDown" : F ? "ArrowLeft" : "ArrowRight", t = u === "vertical" ? "ArrowUp" : F ? "ArrowRight" : "ArrowLeft";
|
|
120
|
+
let s = null;
|
|
121
|
+
if (e.key === r ? s = (y + 1) % o : e.key === t ? s = (y - 1 + o) % o : e.key === "Home" ? s = 0 : e.key === "End" && (s = o - 1), s === null) return;
|
|
122
|
+
const V = o;
|
|
123
|
+
let C = 0, c = s;
|
|
124
|
+
for (; C < V; ) {
|
|
125
|
+
const f = R.current[c];
|
|
126
|
+
if (f && f.getAttribute("aria-disabled") !== "true" && !f.disabled)
|
|
127
|
+
break;
|
|
128
|
+
c = e.key === t || e.key === "End" ? (c - 1 + o) % o : (c + 1) % o, C += 1;
|
|
129
|
+
}
|
|
130
|
+
if (e.preventDefault(), j(c), (P = R.current[c]) == null || P.focus(), i === "radiogroup" && n === "toggle-single") {
|
|
131
|
+
const f = ne.current[c];
|
|
132
|
+
if (f && typeof f == "object" && "props" in f) {
|
|
133
|
+
const T = f.props.value;
|
|
134
|
+
T && k(T);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
[m, u, F, y, i, n, k]
|
|
139
|
+
), I = v ? ce.toArray(q).filter(fe) : [], z = (e) => {
|
|
140
|
+
const o = e.props["aria-label"];
|
|
141
|
+
return typeof o == "string" ? o : typeof e.props.tooltip == "string" ? e.props.tooltip : null;
|
|
142
|
+
};
|
|
143
|
+
L(!1);
|
|
144
|
+
const ke = I.map((e) => {
|
|
145
|
+
const o = e.props["data-overflow-pin"] !== void 0, r = z(e) !== null;
|
|
146
|
+
return o || !r;
|
|
147
|
+
}), { containerRef: Ce, fullRowRef: Re, triggerProbeRef: Ie, visible: te, overflowing: S } = Be({
|
|
148
|
+
enabled: v,
|
|
149
|
+
count: I.length,
|
|
150
|
+
pinned: ke
|
|
151
|
+
}), re = L(null), B = v ? I.filter((e, o) => te[o]) : ce.toArray(q);
|
|
152
|
+
v && (R.current.length = B.length + (S ? 1 : 0));
|
|
153
|
+
const ne = L([]);
|
|
154
|
+
ne.current = B;
|
|
155
|
+
const x = B.length;
|
|
156
|
+
Ne(() => {
|
|
157
|
+
var o;
|
|
158
|
+
if (!m || !v) return;
|
|
159
|
+
const e = x + (S ? 1 : 0);
|
|
160
|
+
e > 0 && y >= e && (j(e - 1), document.activeElement === document.body && ((o = re.current) == null || o.focus()));
|
|
161
|
+
}, [
|
|
162
|
+
m,
|
|
163
|
+
v,
|
|
164
|
+
x,
|
|
165
|
+
S,
|
|
166
|
+
y
|
|
167
|
+
]);
|
|
168
|
+
const ie = B.map((e, o) => {
|
|
169
|
+
if (!fe(e))
|
|
170
|
+
return e;
|
|
171
|
+
const r = e, t = r.props.value, { ariaPressed: s, ariaChecked: V } = Pe(
|
|
172
|
+
n,
|
|
173
|
+
i,
|
|
174
|
+
t,
|
|
175
|
+
w
|
|
176
|
+
), C = W === !0, c = r.props.disabled === !0, P = (p) => {
|
|
177
|
+
var l, D;
|
|
178
|
+
if (C) {
|
|
179
|
+
p.preventDefault(), p.stopPropagation();
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
if ((D = (l = r.props).onClick) == null || D.call(l, p), !p.defaultPrevented && t) {
|
|
183
|
+
if (n === "toggle-single") {
|
|
184
|
+
if (w === t) return;
|
|
185
|
+
k(t);
|
|
186
|
+
} else if (n === "toggle-multi") {
|
|
187
|
+
const $ = w, Ve = $.includes(t) ? $.filter((De) => De !== t) : [...$, t];
|
|
188
|
+
k(Ve);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}, f = (p) => {
|
|
192
|
+
ee(o, p);
|
|
193
|
+
const l = r.ref;
|
|
194
|
+
typeof l == "function" ? l(p) : l != null && typeof l == "object" && (l.current = p);
|
|
195
|
+
}, T = C && !c ? !0 : void 0, xe = n !== "momentary" || C, Ae = {
|
|
196
|
+
intent: r.props.intent ?? N,
|
|
197
|
+
size: r.props.size ?? g,
|
|
198
|
+
disabled: c,
|
|
199
|
+
"aria-disabled": T,
|
|
200
|
+
onClick: xe ? P : r.props.onClick,
|
|
201
|
+
"aria-pressed": s,
|
|
202
|
+
"aria-checked": V,
|
|
203
|
+
// When the group is a radiogroup, children must be `role="radio"`
|
|
204
|
+
// so screen readers announce them as radio buttons and so
|
|
205
|
+
// `getByRole('radio')` works in tests. The button element is
|
|
206
|
+
// re-purposed as a radio; `aria-checked` above carries the state.
|
|
207
|
+
role: i === "radiogroup" ? "radio" : void 0,
|
|
208
|
+
tabIndex: m ? o === y ? 0 : -1 : void 0,
|
|
209
|
+
onFocus: (p) => {
|
|
210
|
+
var l, D;
|
|
211
|
+
m && j(o), (D = (l = r.props).onFocus) == null || D.call(l, p);
|
|
212
|
+
},
|
|
213
|
+
ref: f
|
|
214
|
+
};
|
|
215
|
+
return pe(r, Ae);
|
|
216
|
+
}), se = (e) => {
|
|
217
|
+
oe.current = e, typeof b == "function" ? b(e) : b && typeof b == "object" && (b.current = e);
|
|
218
|
+
};
|
|
219
|
+
if (!v)
|
|
220
|
+
return /* @__PURE__ */ a(
|
|
221
|
+
"div",
|
|
222
|
+
{
|
|
223
|
+
ref: se,
|
|
224
|
+
role: i,
|
|
225
|
+
"aria-label": J,
|
|
226
|
+
"aria-labelledby": Q,
|
|
227
|
+
"aria-orientation": i === "toolbar" ? u : void 0,
|
|
228
|
+
onKeyDown: G,
|
|
229
|
+
className: be({ orientation: u, className: H }),
|
|
230
|
+
"data-component": "icon-button-group",
|
|
231
|
+
...X,
|
|
232
|
+
children: ie
|
|
233
|
+
}
|
|
234
|
+
);
|
|
235
|
+
const ae = he("buttonGroup.more", "More options"), A = W === !0, M = I.map((e, o) => ({ childEl: e, i: o })).filter(({ i: e }) => !te[e]);
|
|
236
|
+
let K = null;
|
|
237
|
+
n === "toggle-single" ? K = /* @__PURE__ */ a(
|
|
238
|
+
h.RadioGroup,
|
|
239
|
+
{
|
|
240
|
+
value: w,
|
|
241
|
+
onValueChange: (e) => {
|
|
242
|
+
!A && e !== w && k(e);
|
|
243
|
+
},
|
|
244
|
+
children: M.map(({ childEl: e, i: o }) => /* @__PURE__ */ a(
|
|
245
|
+
h.RadioItem,
|
|
246
|
+
{
|
|
247
|
+
value: e.props.value ?? "",
|
|
248
|
+
disabled: A || e.props.disabled === !0,
|
|
249
|
+
children: z(e)
|
|
250
|
+
},
|
|
251
|
+
e.key ?? o
|
|
252
|
+
))
|
|
253
|
+
}
|
|
254
|
+
) : n === "toggle-multi" ? K = M.map(({ childEl: e, i: o }) => {
|
|
255
|
+
const r = e.props.value, t = w, s = r ? t.includes(r) : !1;
|
|
256
|
+
return /* @__PURE__ */ a(
|
|
257
|
+
h.CheckboxItem,
|
|
258
|
+
{
|
|
259
|
+
checked: s,
|
|
260
|
+
disabled: A || e.props.disabled === !0,
|
|
261
|
+
onCheckedChange: () => {
|
|
262
|
+
A || !r || k(s ? t.filter((V) => V !== r) : [...t, r]);
|
|
263
|
+
},
|
|
264
|
+
children: z(e)
|
|
265
|
+
},
|
|
266
|
+
e.key ?? o
|
|
267
|
+
);
|
|
268
|
+
}) : K = M.map(({ childEl: e, i: o }) => /* @__PURE__ */ a(
|
|
269
|
+
h.Item,
|
|
270
|
+
{
|
|
271
|
+
startIcon: e.props.icon,
|
|
272
|
+
disabled: A || e.props.disabled === !0,
|
|
273
|
+
onSelect: (r) => {
|
|
274
|
+
var t, s;
|
|
275
|
+
(s = (t = e.props).onClick) == null || s.call(
|
|
276
|
+
t,
|
|
277
|
+
r
|
|
278
|
+
);
|
|
279
|
+
},
|
|
280
|
+
children: z(e)
|
|
281
|
+
},
|
|
282
|
+
e.key ?? o
|
|
283
|
+
));
|
|
284
|
+
const le = S ? /* @__PURE__ */ _(h.Root, { children: [
|
|
285
|
+
/* @__PURE__ */ a(h.Trigger, { asChild: !0, children: /* @__PURE__ */ a(
|
|
286
|
+
ge,
|
|
287
|
+
{
|
|
288
|
+
icon: /* @__PURE__ */ a(me, {}),
|
|
289
|
+
intent: N,
|
|
290
|
+
size: g,
|
|
291
|
+
"aria-label": ae,
|
|
292
|
+
ref: (e) => {
|
|
293
|
+
re.current = e, ee(x, e);
|
|
294
|
+
},
|
|
295
|
+
tabIndex: m ? y === x ? 0 : -1 : void 0,
|
|
296
|
+
onFocus: m ? () => j(x) : void 0
|
|
297
|
+
}
|
|
298
|
+
) }),
|
|
299
|
+
/* @__PURE__ */ a(h.Content, { align: "end", children: K })
|
|
300
|
+
] }) : null, de = be({ orientation: u }), O = i !== "radiogroup", ue = /* @__PURE__ */ _(
|
|
301
|
+
"div",
|
|
302
|
+
{
|
|
303
|
+
role: i,
|
|
304
|
+
"aria-label": J,
|
|
305
|
+
"aria-labelledby": Q,
|
|
306
|
+
"aria-orientation": i === "toolbar" ? u : void 0,
|
|
307
|
+
onKeyDown: O ? G : void 0,
|
|
308
|
+
className: `${de} ds:max-w-full`,
|
|
309
|
+
children: [
|
|
310
|
+
ie,
|
|
311
|
+
O ? le : null
|
|
312
|
+
]
|
|
313
|
+
}
|
|
314
|
+
);
|
|
315
|
+
return /* @__PURE__ */ a(
|
|
316
|
+
"div",
|
|
317
|
+
{
|
|
318
|
+
ref: se,
|
|
319
|
+
"data-component": "icon-button-group",
|
|
320
|
+
className: [
|
|
321
|
+
"ds:relative ds:block ds:w-full ds:min-w-0 ds:overflow-x-clip",
|
|
322
|
+
H ?? ""
|
|
323
|
+
].join(" ").trim(),
|
|
324
|
+
...X,
|
|
325
|
+
children: /* @__PURE__ */ _("div", { ref: Ce, className: "ds:block ds:w-full ds:min-w-0", children: [
|
|
326
|
+
/* @__PURE__ */ a(
|
|
327
|
+
"div",
|
|
328
|
+
{
|
|
329
|
+
ref: Re,
|
|
330
|
+
"aria-hidden": "true",
|
|
331
|
+
inert: !0,
|
|
332
|
+
className: `${ve} ${de}`,
|
|
333
|
+
children: I.map(
|
|
334
|
+
(e, o) => pe(e, {
|
|
335
|
+
key: e.key ?? o,
|
|
336
|
+
intent: e.props.intent ?? N,
|
|
337
|
+
size: e.props.size ?? g,
|
|
338
|
+
tabIndex: -1,
|
|
339
|
+
ref: null
|
|
340
|
+
})
|
|
341
|
+
)
|
|
342
|
+
}
|
|
343
|
+
),
|
|
344
|
+
/* @__PURE__ */ a(
|
|
345
|
+
"span",
|
|
346
|
+
{
|
|
347
|
+
ref: Ie,
|
|
348
|
+
"aria-hidden": "true",
|
|
349
|
+
inert: !0,
|
|
350
|
+
className: ve,
|
|
351
|
+
children: /* @__PURE__ */ a(
|
|
352
|
+
ge,
|
|
353
|
+
{
|
|
354
|
+
icon: /* @__PURE__ */ a(me, {}),
|
|
355
|
+
intent: N,
|
|
356
|
+
size: g,
|
|
357
|
+
"aria-label": ae,
|
|
358
|
+
tabIndex: -1
|
|
359
|
+
}
|
|
360
|
+
)
|
|
361
|
+
}
|
|
362
|
+
),
|
|
363
|
+
O ? ue : (
|
|
364
|
+
// eslint-disable-next-line jsx-a11y/no-static-element-interactions -- non-focusable wrapper; arrow-key roving bubbles up from the focusable IconButtons in the strip and the overflow trigger
|
|
365
|
+
/* @__PURE__ */ _(
|
|
366
|
+
"div",
|
|
367
|
+
{
|
|
368
|
+
className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
369
|
+
onKeyDown: G,
|
|
370
|
+
children: [
|
|
371
|
+
ue,
|
|
372
|
+
le
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
)
|
|
376
|
+
)
|
|
377
|
+
] })
|
|
378
|
+
}
|
|
379
|
+
);
|
|
380
|
+
}
|
|
381
|
+
);
|
|
382
|
+
Ke.displayName = "IconButtonGroup";
|
|
383
|
+
function Pe(d, b, g, u) {
|
|
384
|
+
if (d === "momentary" || !g) return {};
|
|
385
|
+
const i = d === "toggle-multi" ? u.includes(g) : u === g;
|
|
386
|
+
return b === "radiogroup" ? { ariaChecked: i } : { ariaPressed: i };
|
|
387
|
+
}
|
|
388
|
+
export {
|
|
389
|
+
Ke as I
|
|
390
|
+
};
|
|
391
|
+
//# sourceMappingURL=icon-button-group-C_lqXTAj.js.map
|
|
@@ -2,8 +2,8 @@ import { jsxs as N, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as H, useState as y, useRef as h, useCallback as v, useMemo as b } from "react";
|
|
3
3
|
import { c as M } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as F } from "react-i18next";
|
|
5
|
-
import { P as k } from "./popover-
|
|
6
|
-
import { B as D } from "./button-
|
|
5
|
+
import { P as k } from "./popover-Cc0a69sw.js";
|
|
6
|
+
import { B as D } from "./button-CPGiR_bH.js";
|
|
7
7
|
import { T as E } from "./text-input-CUvCb6ST.js";
|
|
8
8
|
import { u as G } from "./registry-DvAUVLHh.js";
|
|
9
9
|
import { S as J } from "./search-QbWPlY5f.js";
|
|
@@ -269,4 +269,4 @@ export {
|
|
|
269
269
|
X as I,
|
|
270
270
|
U as i
|
|
271
271
|
};
|
|
272
|
-
//# sourceMappingURL=icon-picker-
|
|
272
|
+
//# sourceMappingURL=icon-picker-CM9ubkew.js.map
|
|
@@ -4,7 +4,7 @@ import { c as Y } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as se } from "react-i18next";
|
|
5
5
|
import { c as ne } from "./compose-refs-C0k0tdqF.js";
|
|
6
6
|
import { u as ae } from "./registry-DvAUVLHh.js";
|
|
7
|
-
import { B as ce } from "./button-
|
|
7
|
+
import { B as ce } from "./button-CPGiR_bH.js";
|
|
8
8
|
import { R as de } from "./rotate-ccw-BBQnIVTr.js";
|
|
9
9
|
const le = {
|
|
10
10
|
type: "object",
|
|
@@ -364,4 +364,4 @@ export {
|
|
|
364
364
|
pe as i,
|
|
365
365
|
ue as t
|
|
366
366
|
};
|
|
367
|
-
//# sourceMappingURL=image-cropper-
|
|
367
|
+
//# sourceMappingURL=image-cropper-DKe4AORY.js.map
|