@alfadocs/ui-kit 0.72.2 → 0.73.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/{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-DFm58UjY.js} +2 -2
- 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/arrow-up-right-C2v_MKsK.js +15 -0
- package/dist/_chunks/{audio-recorder-BbjG55dP.js → audio-recorder-CjAY0GAc.js} +3 -3
- package/dist/_chunks/{benefit-card-Xnxj4Gmo.js → benefit-card-DB1Kdrmc.js} +4 -2
- package/dist/_chunks/{bishop-score-C6eoak_j.js → bishop-score-Bs6t6Zv1.js} +2 -2
- package/dist/_chunks/{bmi-calculator-BmQfoEGP.js → bmi-calculator-Bk2GAju7.js} +2 -2
- package/dist/_chunks/{booking-B62CMY5k.js → booking-CWnZhZ5g.js} +8 -8
- 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-CfIP3Vc1.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-D3YGD6rj.js → care-plan-entry-card-CRbS-G00.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/{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-scanner-B23j4w7X.js → document-scanner-BE6Jz4Ob.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-DCXJXKab.js} +5 -5
- package/dist/_chunks/{file-upload-Kw1rdvFw.js → file-upload-B2SXhRiN.js} +104 -111
- 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-C9Dfis4I.js} +6 -6
- 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-CRQDCYgr.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-BePK27S-.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-BCppbMec.js → link-cell-renderer-CLI7sBkX.js} +803 -778
- package/dist/_chunks/{locale-picker-DzF7Q5Y8.js → locale-picker-Cbfqc0_N.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-Dm6S-hun.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/{nl-CDVnnx1U.js → nl-C6Y0QXnm.js} +2 -2
- package/dist/_chunks/{notes-panel-CMyjUXD4.js → notes-panel-B_8-Mebz.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-BQ75_kf6.js +1260 -0
- package/dist/_chunks/{patient-details-pU_E5xM2.js → patient-details-JkOI3Ijd.js} +6 -6
- 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-CQOLMH3E.js} +4 -4
- package/dist/_chunks/{patient-table-BgWgNIMf.js → patient-table-B_mOe-ZT.js} +2 -2
- 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-card-6c6Lt4ws.js → periodontal-chart-card-WVjJAheq.js} +2 -2
- package/dist/_chunks/{pl-BWNumNrg.js → pl-BdazJAOp.js} +3 -3
- package/dist/_chunks/{popover-uJ6BvEU3.js → popover-DGTKfLWh.js} +2 -2
- package/dist/_chunks/{practice-results-CSEHTH2V.js → practice-results-BCr7jMt1.js} +5 -5
- package/dist/_chunks/{pregnancy-dating-CxVAA6_4.js → pregnancy-dating-IsDVfqJX.js} +6 -6
- 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-e488ooH8.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-CgA2bYwi.js} +186 -195
- 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/{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-CtU35PIX.js} +70 -67
- 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/{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/{task-tray-DP5A3Qnc.js → task-tray-Br3vc0O1.js} +3 -3
- package/dist/_chunks/{tasks-panel-BuxaYtEF.js → tasks-panel-LCK5ZXvU.js} +5 -5
- 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-scheme-D_rso4uu.js → tooth-scheme-CX49GycY.js} +3 -3
- 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-3uL_tMCm.js} +2 -2
- 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 +845 -1034
- package/dist/agent-i18n/en.json +42 -69
- package/dist/brand/product-lockup/product-lockup.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/index.js +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/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/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/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 +2 -2
- package/dist/components/data-table/toolbar.d.ts +4 -10
- 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-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-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 +0 -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-tray/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/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-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/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/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/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 +1194 -0
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/streaming-text/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 +1 -1
- 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 +170 -9
- package/dist/i18n/locales/ar.js +173 -12
- package/dist/i18n/locales/de.d.ts +170 -9
- package/dist/i18n/locales/de.js +173 -12
- package/dist/i18n/locales/el.d.ts +170 -9
- package/dist/i18n/locales/el.js +173 -12
- package/dist/i18n/locales/en.d.ts +170 -9
- package/dist/i18n/locales/en.js +173 -12
- package/dist/i18n/locales/es.d.ts +170 -9
- package/dist/i18n/locales/es.js +173 -12
- package/dist/i18n/locales/fr.d.ts +170 -9
- package/dist/i18n/locales/fr.js +173 -12
- package/dist/i18n/locales/hi.d.ts +170 -9
- package/dist/i18n/locales/hi.js +173 -12
- package/dist/i18n/locales/it.d.ts +170 -9
- package/dist/i18n/locales/it.js +173 -12
- package/dist/i18n/locales/ja.d.ts +170 -9
- package/dist/i18n/locales/ja.js +173 -12
- package/dist/i18n/locales/nl.d.ts +170 -9
- package/dist/i18n/locales/nl.js +173 -12
- package/dist/i18n/locales/pl.d.ts +170 -9
- package/dist/i18n/locales/pl.js +173 -12
- package/dist/i18n/locales/pt.d.ts +170 -9
- package/dist/i18n/locales/pt.js +173 -12
- package/dist/i18n/locales/ro.d.ts +170 -9
- package/dist/i18n/locales/ro.js +173 -12
- package/dist/i18n/locales/ru.d.ts +170 -9
- package/dist/i18n/locales/ru.js +173 -12
- package/dist/i18n/locales/sq.d.ts +170 -9
- package/dist/i18n/locales/sq.js +173 -12
- package/dist/i18n/locales/sv.d.ts +170 -9
- package/dist/i18n/locales/sv.js +173 -12
- package/dist/i18n/locales/tr.d.ts +170 -9
- package/dist/i18n/locales/tr.js +173 -12
- package/dist/i18n/locales/zh.d.ts +170 -9
- package/dist/i18n/locales/zh.js +173 -12
- package/dist/index.js +774 -761
- package/dist/locales/ar.json +173 -12
- package/dist/locales/de.json +173 -12
- package/dist/locales/el.json +173 -12
- package/dist/locales/en.json +173 -12
- package/dist/locales/es.json +173 -12
- package/dist/locales/fr.json +173 -12
- package/dist/locales/hi.json +173 -12
- package/dist/locales/it.json +173 -12
- package/dist/locales/ja.json +173 -12
- package/dist/locales/nl.json +173 -12
- package/dist/locales/pl.json +173 -12
- package/dist/locales/pt.json +173 -12
- package/dist/locales/ro.json +173 -12
- package/dist/locales/ru.json +173 -12
- package/dist/locales/sq.json +173 -12
- package/dist/locales/sv.json +173 -12
- package/dist/locales/tr.json +173 -12
- package/dist/locales/zh.json +173 -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/tokens.css +2 -2
- package/package.json +5 -5
- 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/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/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,101 @@
|
|
|
1
|
+
import { useState as m, useCallback as y, useRef as j } from "react";
|
|
2
|
+
import { u as k } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
3
|
+
function z(l) {
|
|
4
|
+
const {
|
|
5
|
+
containerWidth: o,
|
|
6
|
+
fullWidths: i,
|
|
7
|
+
fullRowWidth: s,
|
|
8
|
+
iconWidths: c,
|
|
9
|
+
iconRowWidth: a,
|
|
10
|
+
triggerWidth: p,
|
|
11
|
+
pinned: g = []
|
|
12
|
+
} = l, f = i.length, n = Array.from({ length: f }, () => !0);
|
|
13
|
+
if (f === 0 || o <= 0)
|
|
14
|
+
return { stage: "full", visible: n, overflowing: !1 };
|
|
15
|
+
if (s <= o + 1)
|
|
16
|
+
return { stage: "full", visible: n, overflowing: !1 };
|
|
17
|
+
const w = c !== void 0 && c.length === f;
|
|
18
|
+
if (w && (a ?? 1 / 0) <= o + 1)
|
|
19
|
+
return { stage: "icons", visible: n, overflowing: !1 };
|
|
20
|
+
const b = w ? "icons" : "full", W = w ? c : i, x = w ? a ?? s : s, A = W.reduce((e, u) => e + u, 0), C = f > 1 ? (x - A) / (f - 1) : 0, r = W.map((e, u) => g[u] === !0), R = (e) => e === 0 ? p : W.reduce((u, P, t) => r[t] ? u + P : u, 0) + p + e * C;
|
|
21
|
+
let d = r.filter(Boolean).length;
|
|
22
|
+
for (let e = 0; e < f; e += 1)
|
|
23
|
+
if (!r[e] && (r[e] = !0, d += 1, R(d) > o + 1)) {
|
|
24
|
+
r[e] = !1, d -= 1;
|
|
25
|
+
break;
|
|
26
|
+
}
|
|
27
|
+
return { stage: b, visible: r, overflowing: r.some((e) => !e) };
|
|
28
|
+
}
|
|
29
|
+
const O = (l, o) => l.stage === o.stage && l.overflowing === o.overflowing && l.visible.length === o.visible.length && l.visible.every((i, s) => i === o.visible[s]);
|
|
30
|
+
function q(l) {
|
|
31
|
+
const { enabled: o, count: i, twoStage: s = !1, pinned: c } = l, [a, p] = m(null), [g, f] = m(null), [n, w] = m(null), [b, W] = m(null), x = y(
|
|
32
|
+
(t) => p(t),
|
|
33
|
+
[]
|
|
34
|
+
), A = y(
|
|
35
|
+
(t) => f(t),
|
|
36
|
+
[]
|
|
37
|
+
), C = y(
|
|
38
|
+
(t) => w(t),
|
|
39
|
+
[]
|
|
40
|
+
), r = y(
|
|
41
|
+
(t) => W(t),
|
|
42
|
+
[]
|
|
43
|
+
), R = y(
|
|
44
|
+
() => ({
|
|
45
|
+
stage: "full",
|
|
46
|
+
visible: Array.from({ length: i }, () => !0),
|
|
47
|
+
overflowing: !1
|
|
48
|
+
}),
|
|
49
|
+
[i]
|
|
50
|
+
), [d, e] = m(R), u = c ? c.map((t) => t ? 1 : 0).join("") : "", P = j(c);
|
|
51
|
+
return P.current = c, k(() => {
|
|
52
|
+
if (!o) {
|
|
53
|
+
e((h) => {
|
|
54
|
+
const v = R();
|
|
55
|
+
return O(h, v) ? h : v;
|
|
56
|
+
});
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
if (!a || !g || !b) return;
|
|
60
|
+
const t = (h) => Array.from(h.children, (v) => v.offsetWidth), I = () => {
|
|
61
|
+
const h = t(g);
|
|
62
|
+
if (h.length !== i) return;
|
|
63
|
+
const v = z({
|
|
64
|
+
containerWidth: a.clientWidth,
|
|
65
|
+
fullWidths: h,
|
|
66
|
+
fullRowWidth: g.scrollWidth,
|
|
67
|
+
iconWidths: s && n ? t(n) : void 0,
|
|
68
|
+
iconRowWidth: s && n ? n.scrollWidth : void 0,
|
|
69
|
+
triggerWidth: b.offsetWidth,
|
|
70
|
+
pinned: P.current
|
|
71
|
+
});
|
|
72
|
+
e((L) => O(L, v) ? L : v);
|
|
73
|
+
};
|
|
74
|
+
if (I(), typeof ResizeObserver > "u") return;
|
|
75
|
+
const S = new ResizeObserver(I);
|
|
76
|
+
return S.observe(a), S.observe(g), n && S.observe(n), () => S.disconnect();
|
|
77
|
+
}, [
|
|
78
|
+
o,
|
|
79
|
+
i,
|
|
80
|
+
s,
|
|
81
|
+
u,
|
|
82
|
+
a,
|
|
83
|
+
g,
|
|
84
|
+
n,
|
|
85
|
+
b,
|
|
86
|
+
R
|
|
87
|
+
]), {
|
|
88
|
+
containerRef: x,
|
|
89
|
+
fullRowRef: A,
|
|
90
|
+
iconRowRef: C,
|
|
91
|
+
triggerProbeRef: r,
|
|
92
|
+
stage: d.stage,
|
|
93
|
+
visible: d.visible,
|
|
94
|
+
overflowing: d.overflowing
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
export {
|
|
98
|
+
z as c,
|
|
99
|
+
q as u
|
|
100
|
+
};
|
|
101
|
+
//# sourceMappingURL=use-priority-overflow-c9SjxZkZ.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { useState as c, useEffect as u, useCallback as d } from "react";
|
|
2
|
+
function w({
|
|
3
|
+
edge: o = "top",
|
|
4
|
+
disabled: s = !1
|
|
5
|
+
} = {}) {
|
|
6
|
+
const [t, a] = c(null);
|
|
7
|
+
return u(() => {
|
|
8
|
+
const e = typeof window > "u" ? null : window.visualViewport;
|
|
9
|
+
if (!t || !e || s) return;
|
|
10
|
+
let r = 0;
|
|
11
|
+
const i = () => {
|
|
12
|
+
t.style.transform = "", t.style.transformOrigin = "", t.style.transitionProperty = "";
|
|
13
|
+
}, l = () => {
|
|
14
|
+
if (r = 0, e.scale <= 1.001) {
|
|
15
|
+
i();
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
const f = o === "top" ? e.offsetTop : e.offsetTop + e.height - window.innerHeight;
|
|
19
|
+
t.style.transitionProperty = "none", t.style.transformOrigin = o === "top" ? "0 0" : "0 100%", t.style.transform = `translate(${e.offsetLeft}px, ${f}px) scale(${1 / e.scale})`;
|
|
20
|
+
}, n = () => {
|
|
21
|
+
r || (r = window.requestAnimationFrame(l));
|
|
22
|
+
};
|
|
23
|
+
return e.addEventListener("resize", n), e.addEventListener("scroll", n), window.addEventListener("scroll", n, { passive: !0 }), l(), () => {
|
|
24
|
+
e.removeEventListener("resize", n), e.removeEventListener("scroll", n), window.removeEventListener("scroll", n), r && window.cancelAnimationFrame(r), i();
|
|
25
|
+
};
|
|
26
|
+
}, [t, o, s]), d((e) => a(e), []);
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
w as u
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=use-visual-viewport-pin-ChurOsHM.js.map
|
|
@@ -4,8 +4,8 @@ import { c as dn } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as ln } from "react-i18next";
|
|
5
5
|
import { u as un } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
6
6
|
import { A as C } from "./alert-KJbsPYkI.js";
|
|
7
|
-
import { B as fn } from "./button-
|
|
8
|
-
import { I as mn } from "./icon-button-
|
|
7
|
+
import { B as fn } from "./button-CPGiR_bH.js";
|
|
8
|
+
import { I as mn } from "./icon-button-C_kbcd7I.js";
|
|
9
9
|
import { X as gn } from "./x-B5YnXwCz.js";
|
|
10
10
|
import { C as hn } from "./chevron-down-DWE7GSq9.js";
|
|
11
11
|
const pn = dn(
|
|
@@ -265,4 +265,4 @@ Nn.displayName = "WarningStack";
|
|
|
265
265
|
export {
|
|
266
266
|
Nn as W
|
|
267
267
|
};
|
|
268
|
-
//# sourceMappingURL=warning-stack-
|
|
268
|
+
//# sourceMappingURL=warning-stack-BlG_Ujy3.js.map
|
|
@@ -4,18 +4,18 @@ import { c as j } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as M } from "react-i18next";
|
|
5
5
|
import { C } from "./card-DPmk26CL.js";
|
|
6
6
|
import { B as ye } from "./badge-DCOqV9mI.js";
|
|
7
|
-
import { a as Z } from "./key-value-pair-
|
|
7
|
+
import { a as Z } from "./key-value-pair-LHKfDT_9.js";
|
|
8
8
|
import { T as xe } from "./timestamp-BV2lC-wV.js";
|
|
9
|
-
import { I as S } from "./icon-button-
|
|
9
|
+
import { I as S } from "./icon-button-C_kbcd7I.js";
|
|
10
10
|
import { P as U } from "./pencil-B1sKKyuT.js";
|
|
11
11
|
import { c as D } from "./createLucideIcon-DhHxpK9K.js";
|
|
12
12
|
import { T as ae } from "./trash-2-uumy3fy1.js";
|
|
13
13
|
import { C as Ne } from "./circle-j7oZoouK.js";
|
|
14
14
|
import { u as Ce } from "./registry-DvAUVLHh.js";
|
|
15
15
|
import { A as $ } from "./alert-KJbsPYkI.js";
|
|
16
|
-
import { B as _e } from "./button-
|
|
16
|
+
import { B as _e } from "./button-CPGiR_bH.js";
|
|
17
17
|
import { D as N } from "./dropdown-menu-DU-Hrf33.js";
|
|
18
|
-
import { E } from "./empty-state-
|
|
18
|
+
import { E } from "./empty-state-CrLsi0XI.js";
|
|
19
19
|
import { P as ne } from "./plus-DzMQ_c6b.js";
|
|
20
20
|
import { G as ie } from "./globe-sHBW1JN5.js";
|
|
21
21
|
import { U as de } from "./user-cog-BTn98Arm.js";
|
|
@@ -1353,4 +1353,4 @@ export {
|
|
|
1353
1353
|
ee as r,
|
|
1354
1354
|
L as w
|
|
1355
1355
|
};
|
|
1356
|
-
//# sourceMappingURL=workflow-map-
|
|
1356
|
+
//# sourceMappingURL=workflow-map-C643Q43h.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as s, q as i, r as o, v as m } from "./date-picker-variants-
|
|
2
|
-
import { i as u } from "./isSameWeek-
|
|
1
|
+
import { o as s, q as i, r as o, v as m } from "./date-picker-variants-CYQAm1Gk.js";
|
|
2
|
+
import { i as u } from "./isSameWeek-BYl5poz_.js";
|
|
3
3
|
const c = {
|
|
4
4
|
lessThanXSeconds: {
|
|
5
5
|
one: "不到 1 秒",
|
|
@@ -385,4 +385,4 @@ const b = {
|
|
|
385
385
|
export {
|
|
386
386
|
Q as zhCN
|
|
387
387
|
};
|
|
388
|
-
//# sourceMappingURL=zh-CN-
|
|
388
|
+
//# sourceMappingURL=zh-CN-DkVN4vsB.js.map
|