@alfadocs/ui-kit 1.95.1 → 1.97.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-autocomplete-DR4Xn23Z.js → address-autocomplete-DC-H-MZw.js} +2 -2
- package/dist/_chunks/{address-fields-qxQkGwPf.js → address-fields-D5Ije0S2.js} +7 -7
- package/dist/_chunks/{agenda-card-BhY342MA.js → agenda-card-bRQ4j6U6.js} +2 -2
- package/dist/_chunks/{agenda-tray-BmxBGEci.js → agenda-tray-CzE3E8GU.js} +2 -2
- package/dist/_chunks/{alia-sidebar-ovRX_oti.js → alia-sidebar-B5mu44g2.js} +3 -3
- package/dist/_chunks/{anamnesis-card-BcadMmEM.js → anamnesis-card-BzuluoD1.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-DQ3iE1gD.js → anamnesis-summary-card-DdTRdNrQ.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-krsCC-F4.js → anamnesis-summary-rows-B9HqOGd7.js} +6 -6
- package/dist/_chunks/{antenatal-schedule-timeline-BGewPfEX.js → antenatal-schedule-timeline-DmsY5g28.js} +2 -2
- package/dist/_chunks/{appointment-card-Csx4544A.js → appointment-card-zPr0brha.js} +3 -3
- package/dist/_chunks/{appointment-peek-CcDCWb-F.js → appointment-peek-xFTBany4.js} +3 -3
- package/dist/_chunks/{appointment-timeline-DW6FN6u8.js → appointment-timeline-AKkVx9AN.js} +2 -2
- package/dist/_chunks/{appointment-tray-CZfXwHWz.js → appointment-tray-B8qQBW65.js} +2 -2
- package/dist/_chunks/{aspect-ratio-DeSNzASA.js → aspect-ratio-B-6cyOpm.js} +13 -13
- package/dist/_chunks/{autocomplete-BXMcNoa3.js → autocomplete-D10ydpgi.js} +2 -2
- package/dist/_chunks/{avatar-a6042Ox2.js → avatar-BoqdWsNe.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DbgEQsou.js → balance-badge-cell-DaZokVZY.js} +3 -3
- package/dist/_chunks/{bishop-score-BBYuyk2k.js → bishop-score-BhMomGcX.js} +2 -2
- package/dist/_chunks/{bmi-calculator-BIExHBZV.js → bmi-calculator-NMkXc079.js} +2 -2
- package/dist/_chunks/{breadcrumb-Bn29NCnf.js → breadcrumb-zxa_PNhF.js} +2 -2
- package/dist/_chunks/{calendar-CmiMS4FJ.js → calendar-DVe5eArk.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-D3tQ8N34.js → calendar-appointment-editor-dialog-26LEMx0q.js} +15 -15
- package/dist/_chunks/{card-BA4Ig_kn.js → card-C85_Ndhb.js} +96 -68
- package/dist/_chunks/{chat-message-LRO_6Ee3.js → chat-message-CkBCAcwn.js} +2 -2
- package/dist/_chunks/{city-input-CA59CjnV.js → city-input-DXipzTfZ.js} +3 -3
- package/dist/_chunks/{clinical-note-card-Cut2lNmu.js → clinical-note-card--juv_ELr.js} +3 -3
- package/dist/_chunks/{combobox-D-gpgEDy.js → combobox-duuDRI1t.js} +2 -2
- package/dist/_chunks/{command-palette-B3dVqm9D.js → command-palette-DxQBU4wH.js} +3 -3
- package/dist/_chunks/{connection-status-CVyCqxiY.js → connection-status-CWSU3eiq.js} +2 -2
- package/dist/_chunks/{contact-card-ClvEDM9e.js → contact-card-CymtNvy3.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CX45mZA3.js → contact-profile-card-QPUgGu-t.js} +57 -57
- package/dist/_chunks/{copy-field-hgVSc51W.js → copy-field-BaYEDJ9f.js} +24 -24
- package/dist/_chunks/{country-select-BfmX9y5i.js → country-select-CUuGOAoZ.js} +2 -2
- package/dist/_chunks/{cycle-calculator-CQkjVSD2.js → cycle-calculator-ZMDvToIm.js} +2 -2
- package/dist/_chunks/{data-table-Bh9_IEj4.js → data-table-C4UT4L9B.js} +4 -4
- package/dist/_chunks/{data-table-tabs-DlTPtqoI.js → data-table-tabs-Db7zToFD.js} +3 -3
- package/dist/_chunks/{dependent-selector-CyNi7M_f.js → dependent-selector-DRN0P0Kr.js} +2 -2
- package/dist/_chunks/{document-preview-CL1xsnLS.js → document-preview-U8H6tnDJ.js} +3 -3
- package/dist/_chunks/{document-scanner-BQP0Rqrt.js → document-scanner-Bf3VUp00.js} +24 -24
- package/dist/_chunks/{due-date-calculator-NjTlmoFK.js → due-date-calculator-Dr2cDa64.js} +3 -3
- package/dist/_chunks/editable-currency-cell-renderer-BUdFMh67.js +493 -0
- package/dist/_chunks/{email-input-C7THAwh2.js → email-input-BEO3vonE.js} +2 -2
- package/dist/_chunks/{entity-summary-B_bOloqP.js → entity-summary-B4p8zP1J.js} +3 -3
- package/dist/_chunks/{face-scheme-DyHc3zPt.js → face-scheme-DdVLQ5dP.js} +4 -4
- package/dist/_chunks/{fetal-weight-Brl3n4LN.js → fetal-weight-CkIwJgiH.js} +2 -2
- package/dist/_chunks/{file-manager-Cgf2yc10.js → file-manager-B4K2j7jB.js} +4 -4
- package/dist/_chunks/{finished-terminal-D8ohcFVS.js → finished-terminal-DXVAfhRr.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-BzWmNDnl.js → fiscal-code-input-BBvU7sAo.js} +2 -2
- package/dist/_chunks/{forgot-password-form-BQPvDS7i.js → forgot-password-form-CeTb5p-x.js} +3 -3
- package/dist/_chunks/{gestational-age-calculator-Dn8IOXHB.js → gestational-age-calculator-CXcDKQqC.js} +3 -3
- package/dist/_chunks/{hcg-doubling-DQe1ptNB.js → hcg-doubling-BJFR3onB.js} +2 -2
- package/dist/_chunks/{header-settings-DittkpqU.js → header-settings-Df9q1uHt.js} +2 -2
- package/dist/_chunks/{heatmap-9Ql8Ny9d.js → heatmap-B2Z1_kDn.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-BJSf24xS.js → help-me-write-templates-ra5a__Yy.js} +2 -2
- package/dist/_chunks/{iban-input-B9L2QDHh.js → iban-input-DuTwKok5.js} +2 -2
- package/dist/_chunks/{icon-picker-Bkm9m7ju.js → icon-picker-BmU6gpZT.js} +3 -3
- package/dist/_chunks/info-tip-Do3RFt60.js +216 -0
- package/dist/_chunks/{input-surface-iBmxVBfr.js → input-surface-BMffm2Vd.js} +4 -4
- package/dist/_chunks/{kit-extensions-44gudqqq.js → kit-extensions-C4o_tFN4.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-OmvrkUeN.js → link-cell-renderer-DKMgD-2v.js} +4 -4
- package/dist/_chunks/{locale-picker-DVvinQXU.js → locale-picker-C86h8Yt1.js} +3 -3
- package/dist/_chunks/{login-dev-card-BZBR58mu.js → login-dev-card-D5BV5j1i.js} +5 -5
- package/dist/_chunks/{map-view--c9bJDRw.js → map-view-V7etHnyF.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-C8nHixB8.js → marketplace-app-shell-D2qgIuXX.js} +5 -5
- package/dist/_chunks/{message-card-B6SduXJv.js → message-card-BzJEITml.js} +2 -2
- package/dist/_chunks/{message-tray-18_TrLCy.js → message-tray-DiPgJbOb.js} +2 -2
- package/dist/_chunks/{multi-select-i5MFRpXg.js → multi-select-Df3R8lv_.js} +30 -30
- package/dist/_chunks/{navigation-menu-DbaSlvdO.js → navigation-menu-1MrpIVkY.js} +3 -3
- package/dist/_chunks/{notes-panel-D6YhNGHU.js → notes-panel-BbNLYcdv.js} +4 -4
- package/dist/_chunks/{operator-hero-D_0KoEuJ.js → operator-hero-BcuPTzS_.js} +3 -3
- package/dist/_chunks/{pagination-DvKGrsXu.js → pagination-C7N_NiRN.js} +2 -2
- package/dist/_chunks/{password-input-BokZ_rnT.js → password-input-SJGHFdOO.js} +2 -2
- package/dist/_chunks/{patient-details-DQQpgx4A.js → patient-details-DoIOWP6j.js} +4 -4
- package/dist/_chunks/{patient-field-row-Cb5jUd5Q.js → patient-field-row--dCDO5oB.js} +10 -10
- package/dist/_chunks/{patient-search-Cp2efqHs.js → patient-search-DJy0IZSx.js} +3 -3
- package/dist/_chunks/{patient-summary-card-BvMI0eMu.js → patient-summary-card-CL04aq8h.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-D1YdO1xY.js → payment-automation-upsell-BPF0c-5D.js} +3 -3
- package/dist/_chunks/{payment-request-card-BfGauFY0.js → payment-request-card-BbpN8GQg.js} +2 -2
- package/dist/_chunks/{pdf-viewer-gAsNUsA8.js → pdf-viewer-DlceXkfW.js} +267 -286
- package/dist/_chunks/{periodontal-chart-_y4Ck7_P.js → periodontal-chart-Cw-ZsIls.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-Bx6PeS3b.js → periodontal-chart-card-CG8mxR62.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-DD3hrg9X.js → periodontal-diagnosis-CF1d_0yl.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-B7S9OmPC.js → periodontal-risk-chart-D2zyID0H.js} +2 -2
- package/dist/_chunks/{phone-input-DJ4BN8tG.js → phone-input-BL8Sj6OG.js} +3 -3
- package/dist/_chunks/{popover-Da1ekjV1.js → popover-CN5IsOeS.js} +156 -148
- package/dist/_chunks/{postal-code-input-CfZOnIkW.js → postal-code-input-dJdSAVkP.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-ClzE-4CB.js → practice-profile-hero-B8vykoci.js} +3 -3
- package/dist/_chunks/{practice-results-ZOVlrb43.js → practice-results-U-5kpnJa.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-CuVj9KGR.js → pregnancy-dating-D0Kf9s7s.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-BeQRxwdP.js → pregnancy-weight-gain-B_Zldlzq.js} +2 -2
- package/dist/_chunks/{privacy-mask-BDVkikTm.js → privacy-mask-DbEKI-Jv.js} +2 -2
- package/dist/_chunks/{province-select-D64whw0m.js → province-select-cVOlwEc5.js} +2 -2
- package/dist/_chunks/{public-footer-BiPiU_lk.js → public-footer-t6gx6sjn.js} +163 -152
- package/dist/_chunks/{registration-form-BygI73vG.js → registration-form-JzzTomhd.js} +6 -6
- package/dist/_chunks/{reserved.agent-BvwjDyne.js → reserved.agent-CB-92Vi9.js} +9 -9
- package/dist/_chunks/{reset-password-form-Cf9QPEJu.js → reset-password-form-DDdGEoIL.js} +4 -4
- package/dist/_chunks/{reviews-panel-B7InBORU.js → reviews-panel-jPYgYvxG.js} +2 -2
- package/dist/_chunks/{rich-text-editor-iw2tJLKA.js → rich-text-editor-F04przIt.js} +3 -3
- package/dist/_chunks/{search-bar-mA4bPe3t.js → search-bar-CQ9_V3EJ.js} +2 -2
- package/dist/_chunks/{search-input-BAlDd05M.js → search-input-CRAMo1CA.js} +2 -2
- package/dist/_chunks/{section-card-D5nWiTcK.js → section-card-D1sV4Voz.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-CZYOO7NO.js → send-registration-link-form-DHCQpA4C.js} +4 -4
- package/dist/_chunks/{sidebar-BS24EnYd.js → sidebar-2VsPlNkZ.js} +3 -3
- package/dist/_chunks/{sign-document-BiOTs1P4.js → sign-document-B5qZhthO.js} +10 -10
- package/dist/_chunks/{signature-capture-Chqh62Pc.js → signature-capture-BJc7kfqi.js} +2 -2
- package/dist/_chunks/{signature-field-Y01UB5DA.js → signature-field-DjabvRZm.js} +28 -34
- package/dist/_chunks/{signature-request-CLtMgQKi.js → signature-request-CQ0torGq.js} +2 -2
- package/dist/_chunks/{signed-out-frame-CRwVTCjY.js → signed-out-frame-BcQE00H1.js} +2 -2
- package/dist/_chunks/{stat-D2PNJujA.js → stat-BFKZV50y.js} +161 -126
- package/dist/_chunks/{state-backed-text-input-Cgh4ms3p.js → state-backed-text-input-DVETOhSS.js} +2 -2
- package/dist/_chunks/{stepper-accordion-DDTSOUHc.js → stepper-accordion-CYjrmRte.js} +44 -44
- package/dist/_chunks/{task-card-C4HJUKVw.js → task-card-TSJjuuDe.js} +2 -2
- package/dist/_chunks/{task-editor-BlGdXR9F.js → task-editor-BiPGFXtB.js} +4 -4
- package/dist/_chunks/{task-tray-DZQGhDdc.js → task-tray-DrXfMCuf.js} +2 -2
- package/dist/_chunks/{tasks-panel-Q0CiEAff.js → tasks-panel-iVeuu9a8.js} +2 -2
- package/dist/_chunks/{text-input-CaG9ApoE.js → text-input-B6iAgCr3.js} +2 -2
- package/dist/_chunks/{timeline-BcYHdP56.js → timeline-tn5QQJdS.js} +3 -3
- package/dist/_chunks/{transcript-panel-CoHHpcFg.js → transcript-panel-A781Pkzr.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-CpXRSfPI.js → use-appointment-details-read-BbIoPWO6.js} +7 -7
- package/dist/_chunks/{widget-picker-B9HpT2Tb.js → widget-picker-DNYIqRT1.js} +2 -2
- package/dist/_chunks/{workflow-map-BWJhlZbC.js → workflow-map-k-dQkpe7.js} +21 -21
- package/dist/_chunks/{workflow-status-HQ6ziE46.js → workflow-status-9wb7iWUd.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-Uhyfr6_6.js → workflow-webhook-action-B_52rH7O.js} +4 -4
- package/dist/ag-grid.css +3 -1
- package/dist/agent-catalog.json +2 -2
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/_shared/input-surface.d.ts +3 -3
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/aspect-ratio/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/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/breadcrumb/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/card.d.ts +10 -1
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/header-info.d.ts +31 -0
- package/dist/components/data-table/index.d.ts +1 -0
- package/dist/components/data-table/index.js +19 -18
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/email-input/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/fetal-weight/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/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/iban-input/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/info-tip/info-tip.d.ts +21 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/postal-code-input/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/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/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +16 -0
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-compat.css +13 -1
- package/dist/i18n/locales/ar.d.ts +2 -0
- package/dist/i18n/locales/ar.js +3 -1
- package/dist/i18n/locales/de.d.ts +2 -0
- package/dist/i18n/locales/de.js +3 -1
- package/dist/i18n/locales/el.d.ts +2 -0
- package/dist/i18n/locales/el.js +3 -1
- package/dist/i18n/locales/en.d.ts +2 -0
- package/dist/i18n/locales/en.js +3 -1
- package/dist/i18n/locales/es.d.ts +2 -0
- package/dist/i18n/locales/es.js +3 -1
- package/dist/i18n/locales/fr.d.ts +2 -0
- package/dist/i18n/locales/fr.js +3 -1
- package/dist/i18n/locales/hi.d.ts +2 -0
- package/dist/i18n/locales/hi.js +3 -1
- package/dist/i18n/locales/it.d.ts +2 -0
- package/dist/i18n/locales/it.js +3 -1
- package/dist/i18n/locales/ja.d.ts +2 -0
- package/dist/i18n/locales/ja.js +3 -1
- package/dist/i18n/locales/nl.d.ts +2 -0
- package/dist/i18n/locales/nl.js +3 -1
- package/dist/i18n/locales/pl.d.ts +2 -0
- package/dist/i18n/locales/pl.js +3 -1
- package/dist/i18n/locales/pt.d.ts +2 -0
- package/dist/i18n/locales/pt.js +3 -1
- package/dist/i18n/locales/ro.d.ts +2 -0
- package/dist/i18n/locales/ro.js +3 -1
- package/dist/i18n/locales/ru.d.ts +2 -0
- package/dist/i18n/locales/ru.js +3 -1
- package/dist/i18n/locales/sq.d.ts +2 -0
- package/dist/i18n/locales/sq.js +3 -1
- package/dist/i18n/locales/sv.d.ts +2 -0
- package/dist/i18n/locales/sv.js +3 -1
- package/dist/i18n/locales/tr.d.ts +2 -0
- package/dist/i18n/locales/tr.js +3 -1
- package/dist/i18n/locales/zh.d.ts +2 -0
- package/dist/i18n/locales/zh.js +3 -1
- package/dist/index.js +931 -930
- package/dist/locales/ar.json +3 -1
- package/dist/locales/de.json +3 -1
- package/dist/locales/el.json +3 -1
- package/dist/locales/en.json +3 -1
- package/dist/locales/es.json +3 -1
- package/dist/locales/fr.json +3 -1
- package/dist/locales/hi.json +3 -1
- package/dist/locales/it.json +3 -1
- package/dist/locales/ja.json +3 -1
- package/dist/locales/nl.json +3 -1
- package/dist/locales/pl.json +3 -1
- package/dist/locales/pt.json +3 -1
- package/dist/locales/ro.json +3 -1
- package/dist/locales/ru.json +3 -1
- package/dist/locales/sq.json +3 -1
- package/dist/locales/sv.json +3 -1
- package/dist/locales/tr.json +3 -1
- package/dist/locales/zh.json +3 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/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/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-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/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +2 -1
- package/package.json +1 -1
- package/dist/_chunks/editable-currency-cell-renderer-BQYL5GjP.js +0 -412
- package/dist/_chunks/info-tip-Cfd5SKbY.js +0 -166
package/package.json
CHANGED
|
@@ -1,412 +0,0 @@
|
|
|
1
|
-
import { useMemo as M, useState as E, useRef as T, useEffect as _ } from "react";
|
|
2
|
-
import { jsx as i, jsxs as L } from "react/jsx-runtime";
|
|
3
|
-
import { T as P } from "./tag-DOZGz0fT.js";
|
|
4
|
-
import { useTranslation as x } from "react-i18next";
|
|
5
|
-
import { I as S } from "./icon-button-S8_weU3g.js";
|
|
6
|
-
import { I as V } from "./icon-button-group-mXvYDaba.js";
|
|
7
|
-
import { A as $, a as H } from "./arrow-up-BYvcvTkB.js";
|
|
8
|
-
import { S as G } from "./square-check-big-dj0o8yA3.js";
|
|
9
|
-
import { S as O } from "./square-DASBRZ0U.js";
|
|
10
|
-
import { u as X } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
11
|
-
import { c as D, a as U, b as j, d as A } from "./input-surface-iBmxVBfr.js";
|
|
12
|
-
function me(t, e, n) {
|
|
13
|
-
return M(() => {
|
|
14
|
-
const c = {};
|
|
15
|
-
for (const r of e) {
|
|
16
|
-
let m = 0;
|
|
17
|
-
for (const u of t ?? []) {
|
|
18
|
-
const s = u[r], d = typeof s == "number" ? s : Number(s);
|
|
19
|
-
Number.isFinite(d) && (m += d);
|
|
20
|
-
}
|
|
21
|
-
c[r] = m;
|
|
22
|
-
}
|
|
23
|
-
return n != null && n.labelField && n.labelValue !== void 0 && (c[n.labelField] = n.labelValue), c;
|
|
24
|
-
}, [t, e, n == null ? void 0 : n.labelField, n == null ? void 0 : n.labelValue]);
|
|
25
|
-
}
|
|
26
|
-
function q() {
|
|
27
|
-
return /* @__PURE__ */ i(
|
|
28
|
-
"svg",
|
|
29
|
-
{
|
|
30
|
-
viewBox: "0 0 24 24",
|
|
31
|
-
fill: "none",
|
|
32
|
-
stroke: "currentColor",
|
|
33
|
-
strokeWidth: 1.75,
|
|
34
|
-
strokeLinecap: "round",
|
|
35
|
-
strokeLinejoin: "round",
|
|
36
|
-
"aria-hidden": "true",
|
|
37
|
-
className: "ds:size-3.5",
|
|
38
|
-
children: /* @__PURE__ */ i("path", { d: "M12 5.5c-1.074 -1.426 -2.45 -2.2 -4 -2c-2.5 .323 -3.7 2.5 -3.5 5c.1 1.5 .5 3 .5 4.5c0 1.5 .5 3.5 1 5c.3 .9 .5 2 1.5 2s1.3 -1.5 1.5 -2.5c.2 -1 .5 -2 1.5 -2s1.3 1 1.5 2c.2 1 .5 2.5 1.5 2.5s1.2 -1.1 1.5 -2c.5 -1.5 1 -3.5 1 -5c0 -1.5 .4 -3 .5 -4.5c.2 -2.5 -1 -4.677 -3.5 -5c-1.55 -.2 -2.926 .574 -4 2z" })
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
function pe(t) {
|
|
43
|
-
const { value: e, maxInlineSize: n = "8rem" } = t;
|
|
44
|
-
return !Array.isArray(e) || e.length === 0 ? null : /* @__PURE__ */ i(
|
|
45
|
-
P,
|
|
46
|
-
{
|
|
47
|
-
label: e.join(", "),
|
|
48
|
-
size: "sm",
|
|
49
|
-
fill: "outline",
|
|
50
|
-
leading: /* @__PURE__ */ i(q, {}),
|
|
51
|
-
maxInlineSize: n
|
|
52
|
-
}
|
|
53
|
-
);
|
|
54
|
-
}
|
|
55
|
-
function K(t) {
|
|
56
|
-
if (t == null || t === "") return null;
|
|
57
|
-
const e = typeof t == "number" ? t : Number(t);
|
|
58
|
-
return Number.isFinite(e) ? e : null;
|
|
59
|
-
}
|
|
60
|
-
function be(t) {
|
|
61
|
-
const {
|
|
62
|
-
value: e,
|
|
63
|
-
currency: n = "EUR",
|
|
64
|
-
colorNegative: c,
|
|
65
|
-
strikethrough: r,
|
|
66
|
-
options: m
|
|
67
|
-
} = t, { i18n: u } = x("ui"), s = K(e);
|
|
68
|
-
if (s === null) return null;
|
|
69
|
-
const d = u.language || "en", a = new Intl.NumberFormat(d, {
|
|
70
|
-
style: "currency",
|
|
71
|
-
currency: n,
|
|
72
|
-
...m
|
|
73
|
-
}).format(s), o = ["ds:tabular-nums"];
|
|
74
|
-
return c && s < 0 && o.push("ds:text-[color:var(--destructive)]"), r && o.push("line-through"), /* @__PURE__ */ i("span", { className: o.join(" "), children: a });
|
|
75
|
-
}
|
|
76
|
-
function ge() {
|
|
77
|
-
return 90;
|
|
78
|
-
}
|
|
79
|
-
function he(t) {
|
|
80
|
-
const {
|
|
81
|
-
data: e,
|
|
82
|
-
node: n,
|
|
83
|
-
api: c,
|
|
84
|
-
onMove: r,
|
|
85
|
-
moveUpLabel: m,
|
|
86
|
-
moveDownLabel: u,
|
|
87
|
-
intent: s = "ghost",
|
|
88
|
-
group: d = !0,
|
|
89
|
-
disableAtEnds: a = !0
|
|
90
|
-
} = t, { t: o } = x("ui");
|
|
91
|
-
if (!e) return null;
|
|
92
|
-
const l = n.rowIndex ?? -1, b = c.getDisplayedRowCount() - 1, g = a && l <= 0, C = a && l >= b, N = m ?? o("dataTable.moveUp", "Move up"), y = u ?? o("dataTable.moveDown", "Move down"), f = [
|
|
93
|
-
/* @__PURE__ */ i(
|
|
94
|
-
S,
|
|
95
|
-
{
|
|
96
|
-
size: "sm",
|
|
97
|
-
intent: s,
|
|
98
|
-
icon: /* @__PURE__ */ i($, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
99
|
-
tooltip: N,
|
|
100
|
-
"aria-label": N,
|
|
101
|
-
disabled: g,
|
|
102
|
-
onClick: (p) => {
|
|
103
|
-
p.stopPropagation(), r(e, "up");
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"up"
|
|
107
|
-
),
|
|
108
|
-
/* @__PURE__ */ i(
|
|
109
|
-
S,
|
|
110
|
-
{
|
|
111
|
-
size: "sm",
|
|
112
|
-
intent: s,
|
|
113
|
-
icon: /* @__PURE__ */ i(H, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
114
|
-
tooltip: y,
|
|
115
|
-
"aria-label": y,
|
|
116
|
-
disabled: C,
|
|
117
|
-
onClick: (p) => {
|
|
118
|
-
p.stopPropagation(), r(e, "down");
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"down"
|
|
122
|
-
)
|
|
123
|
-
];
|
|
124
|
-
return d ? /* @__PURE__ */ i(
|
|
125
|
-
V,
|
|
126
|
-
{
|
|
127
|
-
"aria-label": o("dataTable.reorder", "Reorder row"),
|
|
128
|
-
size: "sm",
|
|
129
|
-
children: f
|
|
130
|
-
}
|
|
131
|
-
) : /* @__PURE__ */ i("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: f });
|
|
132
|
-
}
|
|
133
|
-
function ve(t) {
|
|
134
|
-
const {
|
|
135
|
-
value: e,
|
|
136
|
-
data: n,
|
|
137
|
-
onToggle: c,
|
|
138
|
-
onError: r,
|
|
139
|
-
trueIcon: m,
|
|
140
|
-
falseIcon: u,
|
|
141
|
-
trueClass: s = "ds:text-[color:var(--success)]",
|
|
142
|
-
falseClass: d = "ds:text-[color:var(--muted-foreground)]",
|
|
143
|
-
label: a
|
|
144
|
-
} = t, { t: o } = x("ui"), [l, b] = E(!1);
|
|
145
|
-
if (!n) return null;
|
|
146
|
-
const g = !!e, C = g ? m ?? /* @__PURE__ */ i(G, { "aria-hidden": !0, className: "ds:size-4" }) : u ?? /* @__PURE__ */ i(O, { "aria-hidden": !0, className: "ds:size-4" }), N = g ? s : d, y = a ?? o(g ? "inputs.switch.on" : "inputs.switch.off");
|
|
147
|
-
async function f(p) {
|
|
148
|
-
if (p.stopPropagation(), l || !n) return;
|
|
149
|
-
const v = c(n, !g);
|
|
150
|
-
if (v && typeof v.then == "function") {
|
|
151
|
-
b(!0);
|
|
152
|
-
try {
|
|
153
|
-
await v;
|
|
154
|
-
} catch (w) {
|
|
155
|
-
r == null || r(n, w);
|
|
156
|
-
} finally {
|
|
157
|
-
b(!1);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
return /* @__PURE__ */ i(
|
|
162
|
-
"button",
|
|
163
|
-
{
|
|
164
|
-
type: "button",
|
|
165
|
-
role: "switch",
|
|
166
|
-
"aria-checked": g,
|
|
167
|
-
"aria-busy": l,
|
|
168
|
-
"aria-label": y,
|
|
169
|
-
disabled: l,
|
|
170
|
-
onClick: f,
|
|
171
|
-
className: [
|
|
172
|
-
"ds:inline-flex ds:items-center ds:justify-center",
|
|
173
|
-
"ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
|
|
174
|
-
"ds:appearance-none ds:bg-transparent ds:p-[var(--spacing-xs)]",
|
|
175
|
-
"ds:rounded-[var(--radius-sm)]",
|
|
176
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
177
|
-
"ds:focus-visible:outline-solid",
|
|
178
|
-
"ds:focus-visible:outline-[color:var(--ring)]",
|
|
179
|
-
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
180
|
-
"ds:disabled:opacity-50",
|
|
181
|
-
N
|
|
182
|
-
].join(" "),
|
|
183
|
-
children: C
|
|
184
|
-
}
|
|
185
|
-
);
|
|
186
|
-
}
|
|
187
|
-
const W = {
|
|
188
|
-
sm: "ds:size-[var(--icon-size-sm)]",
|
|
189
|
-
md: "ds:size-[var(--icon-size-md)]",
|
|
190
|
-
lg: "ds:size-[var(--icon-size-lg)]"
|
|
191
|
-
};
|
|
192
|
-
function k(t, e) {
|
|
193
|
-
if (!t || typeof t != "object") return;
|
|
194
|
-
const n = t[e];
|
|
195
|
-
return typeof n == "string" ? n : void 0;
|
|
196
|
-
}
|
|
197
|
-
const Z = /^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i, J = /^rgba?\(\s*[\d.\s,%/]+\)$/i, Q = /^hsla?\(\s*[\d.\s,%/]+\)$/i, Y = /^var\(--[a-z0-9-]+(?:,\s*[^)]+)?\)$/i;
|
|
198
|
-
function ee(t) {
|
|
199
|
-
if (!t) return;
|
|
200
|
-
const e = t.trim();
|
|
201
|
-
if (Z.test(e) || J.test(e) || Q.test(e) || Y.test(e))
|
|
202
|
-
return e;
|
|
203
|
-
}
|
|
204
|
-
function Ne(t) {
|
|
205
|
-
const { data: e, colorField: n, size: c = "md", labelField: r } = t, m = T(null), u = e ? k(e, n) : void 0, s = ee(u), d = e && r ? k(e, r) : void 0;
|
|
206
|
-
return X(() => {
|
|
207
|
-
const a = m.current;
|
|
208
|
-
a && (s ? a.style.setProperty("--data-table-dot-color", s) : a.style.removeProperty("--data-table-dot-color"));
|
|
209
|
-
}, [s]), s ? /* @__PURE__ */ L("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
210
|
-
/* @__PURE__ */ i(
|
|
211
|
-
"span",
|
|
212
|
-
{
|
|
213
|
-
ref: m,
|
|
214
|
-
"aria-hidden": "true",
|
|
215
|
-
className: [
|
|
216
|
-
"ds:inline-block ds:shrink-0 ds:rounded-[var(--radius-full)]",
|
|
217
|
-
"ds:bg-[var(--data-table-dot-color)]",
|
|
218
|
-
"ds:border ds:border-[color:var(--border)]",
|
|
219
|
-
W[c]
|
|
220
|
-
].join(" ")
|
|
221
|
-
}
|
|
222
|
-
),
|
|
223
|
-
d ? /* @__PURE__ */ i("span", { children: d }) : null
|
|
224
|
-
] }) : null;
|
|
225
|
-
}
|
|
226
|
-
function ne(t, e) {
|
|
227
|
-
if (!t || typeof t != "object") return null;
|
|
228
|
-
const n = t[e], c = typeof n == "number" ? n : Number(n);
|
|
229
|
-
return Number.isFinite(c) ? c : null;
|
|
230
|
-
}
|
|
231
|
-
function ye(t) {
|
|
232
|
-
const { data: e, lines: n, currency: c = "EUR", highlightNegative: r } = t, { i18n: m } = x("ui");
|
|
233
|
-
if (!e) return null;
|
|
234
|
-
const u = m.language || "en", s = (a) => {
|
|
235
|
-
const o = ne(e, a.valueField);
|
|
236
|
-
if (o === null) return null;
|
|
237
|
-
let l;
|
|
238
|
-
switch (a.format ?? "number") {
|
|
239
|
-
case "currency":
|
|
240
|
-
l = new Intl.NumberFormat(u, {
|
|
241
|
-
style: "currency",
|
|
242
|
-
currency: c
|
|
243
|
-
}).format(o);
|
|
244
|
-
break;
|
|
245
|
-
case "percent":
|
|
246
|
-
l = new Intl.NumberFormat(u, {
|
|
247
|
-
style: "percent",
|
|
248
|
-
maximumFractionDigits: 1
|
|
249
|
-
}).format(o / 100);
|
|
250
|
-
break;
|
|
251
|
-
default:
|
|
252
|
-
l = new Intl.NumberFormat(u).format(o);
|
|
253
|
-
}
|
|
254
|
-
return {
|
|
255
|
-
label: a.label,
|
|
256
|
-
formatted: l,
|
|
257
|
-
negative: !!r && o < 0
|
|
258
|
-
};
|
|
259
|
-
}, d = n.map(s).filter(
|
|
260
|
-
(a) => a !== null
|
|
261
|
-
);
|
|
262
|
-
return d.length === 0 ? null : /* @__PURE__ */ i(
|
|
263
|
-
"div",
|
|
264
|
-
{
|
|
265
|
-
className: [
|
|
266
|
-
"ds:flex",
|
|
267
|
-
"ds:flex-wrap",
|
|
268
|
-
"ds:items-center",
|
|
269
|
-
"ds:gap-x-[var(--spacing-sm)]",
|
|
270
|
-
"ds:gap-y-0",
|
|
271
|
-
"type-meta",
|
|
272
|
-
"ds:leading-tight"
|
|
273
|
-
].join(" "),
|
|
274
|
-
children: d.map((a, o) => /* @__PURE__ */ L(
|
|
275
|
-
"span",
|
|
276
|
-
{
|
|
277
|
-
className: "ds:inline-flex ds:items-baseline ds:gap-x-[var(--spacing-xs)]",
|
|
278
|
-
children: [
|
|
279
|
-
o > 0 ? /* @__PURE__ */ i(
|
|
280
|
-
"span",
|
|
281
|
-
{
|
|
282
|
-
"aria-hidden": "true",
|
|
283
|
-
className: "ds:me-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]",
|
|
284
|
-
children: "·"
|
|
285
|
-
}
|
|
286
|
-
) : null,
|
|
287
|
-
/* @__PURE__ */ i("span", { className: "ds:text-[color:var(--muted-foreground)]", children: a.label }),
|
|
288
|
-
/* @__PURE__ */ i(
|
|
289
|
-
"span",
|
|
290
|
-
{
|
|
291
|
-
className: [
|
|
292
|
-
"ds:tabular-nums",
|
|
293
|
-
"ds:font-medium",
|
|
294
|
-
a.negative ? "ds:text-[color:var(--destructive)]" : ""
|
|
295
|
-
].filter(Boolean).join(" "),
|
|
296
|
-
children: a.formatted
|
|
297
|
-
}
|
|
298
|
-
)
|
|
299
|
-
]
|
|
300
|
-
},
|
|
301
|
-
`${a.label}-${o}`
|
|
302
|
-
))
|
|
303
|
-
}
|
|
304
|
-
);
|
|
305
|
-
}
|
|
306
|
-
function Ce(t) {
|
|
307
|
-
var a, o;
|
|
308
|
-
const { initialValue: e, onValueChange: n, stopEditing: c, column: r } = t, [m, u] = E(e ?? ""), s = T(null);
|
|
309
|
-
_(() => {
|
|
310
|
-
const l = s.current;
|
|
311
|
-
l && (l.focus(), l.select());
|
|
312
|
-
}, []);
|
|
313
|
-
const d = ((o = (a = r == null ? void 0 : r.getColDef) == null ? void 0 : a.call(r)) == null ? void 0 : o.headerName) ?? void 0;
|
|
314
|
-
return /* @__PURE__ */ i(
|
|
315
|
-
"input",
|
|
316
|
-
{
|
|
317
|
-
ref: s,
|
|
318
|
-
type: "text",
|
|
319
|
-
value: m,
|
|
320
|
-
"aria-label": d,
|
|
321
|
-
onChange: (l) => {
|
|
322
|
-
const b = l.target.value;
|
|
323
|
-
u(b), n(b);
|
|
324
|
-
},
|
|
325
|
-
onKeyDown: (l) => {
|
|
326
|
-
l.key === "Enter" && (l.preventDefault(), c());
|
|
327
|
-
},
|
|
328
|
-
className: [
|
|
329
|
-
"ds:block ds:w-full ds:appearance-none",
|
|
330
|
-
// Input surface chrome: rounded border + bg + focus halo.
|
|
331
|
-
D,
|
|
332
|
-
// Use the `md` height (`--min-target-size`) so the input
|
|
333
|
-
// auto-lifts to 48px under `.theme-accessible` to satisfy
|
|
334
|
-
// WCAG 2.5.5 target size.
|
|
335
|
-
U.md,
|
|
336
|
-
j.sm,
|
|
337
|
-
A.sm
|
|
338
|
-
].join(" ")
|
|
339
|
-
}
|
|
340
|
-
);
|
|
341
|
-
}
|
|
342
|
-
function xe(t) {
|
|
343
|
-
var N, y;
|
|
344
|
-
const {
|
|
345
|
-
initialValue: e,
|
|
346
|
-
onValueChange: n,
|
|
347
|
-
stopEditing: c,
|
|
348
|
-
column: r,
|
|
349
|
-
decimals: m = 2,
|
|
350
|
-
min: u,
|
|
351
|
-
max: s
|
|
352
|
-
} = t, { i18n: d } = x("ui"), a = T(null), o = ((y = (N = r == null ? void 0 : r.getColDef) == null ? void 0 : N.call(r)) == null ? void 0 : y.headerName) ?? void 0, [l, b] = E(() => e == null || Number.isNaN(e) ? "" : String(e));
|
|
353
|
-
_(() => {
|
|
354
|
-
const f = a.current;
|
|
355
|
-
f && (f.focus(), f.select());
|
|
356
|
-
}, []);
|
|
357
|
-
function g(f) {
|
|
358
|
-
var z, F;
|
|
359
|
-
if (f.trim().length === 0) return null;
|
|
360
|
-
const p = d.language || "en", h = new Intl.NumberFormat(p).formatToParts(12345.6), v = ((z = h.find((R) => R.type === "group")) == null ? void 0 : z.value) ?? "", w = ((F = h.find((R) => R.type === "decimal")) == null ? void 0 : F.value) ?? ".", B = f.replace(new RegExp(`\\${v}`, "g"), "").replace(w, ".").replace(/[^\d.-]/g, ""), I = Number(B);
|
|
361
|
-
return Number.isFinite(I) ? I : null;
|
|
362
|
-
}
|
|
363
|
-
function C(f) {
|
|
364
|
-
const p = g(f);
|
|
365
|
-
if (p == null) {
|
|
366
|
-
n(null);
|
|
367
|
-
return;
|
|
368
|
-
}
|
|
369
|
-
let h = p;
|
|
370
|
-
typeof u == "number" && (h = Math.max(u, h)), typeof s == "number" && (h = Math.min(s, h));
|
|
371
|
-
const v = 10 ** m;
|
|
372
|
-
n(Math.round(h * v) / v);
|
|
373
|
-
}
|
|
374
|
-
return /* @__PURE__ */ i(
|
|
375
|
-
"input",
|
|
376
|
-
{
|
|
377
|
-
ref: a,
|
|
378
|
-
type: "text",
|
|
379
|
-
inputMode: "decimal",
|
|
380
|
-
value: l,
|
|
381
|
-
"aria-label": o,
|
|
382
|
-
onChange: (f) => {
|
|
383
|
-
const p = f.target.value;
|
|
384
|
-
b(p), C(p);
|
|
385
|
-
},
|
|
386
|
-
onKeyDown: (f) => {
|
|
387
|
-
f.key === "Enter" && (f.preventDefault(), c());
|
|
388
|
-
},
|
|
389
|
-
className: [
|
|
390
|
-
"ds:block ds:w-full ds:appearance-none ds:text-end ds:tabular-nums",
|
|
391
|
-
D,
|
|
392
|
-
// Use `md` height — see editable-text-cell-renderer for rationale.
|
|
393
|
-
U.md,
|
|
394
|
-
j.sm,
|
|
395
|
-
A.sm
|
|
396
|
-
].join(" ")
|
|
397
|
-
}
|
|
398
|
-
);
|
|
399
|
-
}
|
|
400
|
-
export {
|
|
401
|
-
ye as B,
|
|
402
|
-
Ne as C,
|
|
403
|
-
xe as E,
|
|
404
|
-
he as R,
|
|
405
|
-
ve as T,
|
|
406
|
-
be as a,
|
|
407
|
-
Ce as b,
|
|
408
|
-
pe as c,
|
|
409
|
-
ge as r,
|
|
410
|
-
me as u
|
|
411
|
-
};
|
|
412
|
-
//# sourceMappingURL=editable-currency-cell-renderer-BQYL5GjP.js.map
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { jsxs as u, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as I, useState as O, useRef as m, useEffect as k, useMemo as z } from "react";
|
|
3
|
-
import { c as C } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as D } from "react-i18next";
|
|
5
|
-
import { P as o } from "./popover-Da1ekjV1.js";
|
|
6
|
-
import { u as P } from "./registry-DvAUVLHh.js";
|
|
7
|
-
import { I as A } from "./info-CGn22peZ.js";
|
|
8
|
-
const R = {
|
|
9
|
-
id: "info-tip",
|
|
10
|
-
capabilities: ["open", "close"],
|
|
11
|
-
state: {
|
|
12
|
-
isOpen: {
|
|
13
|
-
type: "boolean",
|
|
14
|
-
descriptionKey: "ui.agent.infoTip.state.isOpen",
|
|
15
|
-
description: "True when the info tip card is currently open.",
|
|
16
|
-
read: (t) => t.getIsOpen()
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
actions: {
|
|
20
|
-
open: {
|
|
21
|
-
safety: "read",
|
|
22
|
-
idempotent: !0,
|
|
23
|
-
descriptionKey: "ui.agent.infoTip.actions.open",
|
|
24
|
-
description: "Open the info tip card.",
|
|
25
|
-
invoke: (t) => {
|
|
26
|
-
t.open();
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
close: {
|
|
30
|
-
safety: "read",
|
|
31
|
-
idempotent: !0,
|
|
32
|
-
descriptionKey: "ui.agent.infoTip.actions.close",
|
|
33
|
-
description: "Close the info tip card.",
|
|
34
|
-
invoke: (t) => {
|
|
35
|
-
t.close();
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
domHooks: {
|
|
40
|
-
root: {
|
|
41
|
-
attr: "data-component",
|
|
42
|
-
value: "info-tip",
|
|
43
|
-
description: "Marks the InfoTip trigger button."
|
|
44
|
-
},
|
|
45
|
-
instanceId: {
|
|
46
|
-
attr: "data-component-id",
|
|
47
|
-
sourceProp: "id",
|
|
48
|
-
description: "Sourced from the id prop on InfoTip."
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}, S = C(
|
|
52
|
-
[
|
|
53
|
-
"ds:relative ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center",
|
|
54
|
-
"ds:rounded-[var(--radius-full)]",
|
|
55
|
-
"ds:bg-[var(--card)]",
|
|
56
|
-
"ds:text-[var(--accent)]",
|
|
57
|
-
// Single ring: the Lucide Info glyph draws its own accent circle, so the
|
|
58
|
-
// trigger carries NO CSS border of its own (a border would read as a
|
|
59
|
-
// second, concentric ring). The white circle comes from `bg-card` showing
|
|
60
|
-
// through the glyph, lifted by the drop shadow.
|
|
61
|
-
"ds:shadow-[var(--shadow-sm)]",
|
|
62
|
-
"ds:cursor-pointer",
|
|
63
|
-
"ds:transition-[color,box-shadow] ds:motion-reduce:transition-none",
|
|
64
|
-
"ds:hover:text-[var(--accent-hover)] ds:hover:shadow-[var(--shadow-md)]",
|
|
65
|
-
"ds:data-[state=open]:text-[var(--accent-hover)] ds:data-[state=open]:shadow-[var(--shadow-md)]",
|
|
66
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
67
|
-
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
68
|
-
].join(" "),
|
|
69
|
-
{
|
|
70
|
-
variants: {
|
|
71
|
-
size: {
|
|
72
|
-
// Both diameters sit below `--min-target-size` (44/48px), so each
|
|
73
|
-
// re-uses IconButton's invisible `::before` hit-area expansion to a
|
|
74
|
-
// full touch target on touch / small screens. From the `sm:`
|
|
75
|
-
// breakpoint up the pointer is precise, so the expansion relaxes —
|
|
76
|
-
// but the interactive target must never fall below WCAG 2.5.8's 24px:
|
|
77
|
-
// • md (24px visual) already meets the 24px floor, so its `::before`
|
|
78
|
-
// is hidden on desktop and the 24px circle IS the target.
|
|
79
|
-
// • sm (20px visual) would fall to 20px if hidden — below the floor
|
|
80
|
-
// — so instead of hiding, its `::before` shrinks to a persistent
|
|
81
|
-
// `--spacing-lg` (24px) minimum that holds on desktop too.
|
|
82
|
-
sm: 'ds:w-5 ds:h-5 ds:before:absolute ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)] ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""] ds:sm:before:inset-x-[calc((var(--spacing-lg)-100%)/-2)] ds:sm:before:inset-y-[calc((var(--spacing-lg)-100%)/-2)]',
|
|
83
|
-
md: 'ds:w-6 ds:h-6 ds:before:absolute ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)] ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""] ds:sm:before:hidden'
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
defaultVariants: {
|
|
87
|
-
size: "md"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
), j = I(
|
|
91
|
-
({
|
|
92
|
-
content: t,
|
|
93
|
-
heading: r,
|
|
94
|
-
size: a = "md",
|
|
95
|
-
side: v = "top",
|
|
96
|
-
align: g = "center",
|
|
97
|
-
"aria-label": h,
|
|
98
|
-
id: l,
|
|
99
|
-
className: b
|
|
100
|
-
}, w) => {
|
|
101
|
-
const { t: y } = D("ui"), [s, d] = O(!1), n = m(s);
|
|
102
|
-
k(() => {
|
|
103
|
-
n.current = s;
|
|
104
|
-
}, [s]);
|
|
105
|
-
const T = z(
|
|
106
|
-
() => ({
|
|
107
|
-
getIsOpen: () => n.current,
|
|
108
|
-
open: () => d(!0),
|
|
109
|
-
close: () => d(!1)
|
|
110
|
-
}),
|
|
111
|
-
[]
|
|
112
|
-
);
|
|
113
|
-
P(R, T, l);
|
|
114
|
-
const c = m(null), p = () => {
|
|
115
|
-
c.current = n.current;
|
|
116
|
-
}, f = h ?? y("infoTip.triggerLabel", "More information");
|
|
117
|
-
return /* @__PURE__ */ u(o, { openOn: "hover-or-click", open: s, onOpenChange: d, children: [
|
|
118
|
-
/* @__PURE__ */ i(
|
|
119
|
-
o.Trigger,
|
|
120
|
-
{
|
|
121
|
-
ref: w,
|
|
122
|
-
"aria-label": f,
|
|
123
|
-
className: S({ size: a, className: b }),
|
|
124
|
-
"data-component": "info-tip",
|
|
125
|
-
"data-component-id": l,
|
|
126
|
-
onPointerDown: p,
|
|
127
|
-
onKeyDown: (e) => {
|
|
128
|
-
(e.key === "Enter" || e.key === " ") && p();
|
|
129
|
-
},
|
|
130
|
-
onClick: (e) => {
|
|
131
|
-
const x = c.current;
|
|
132
|
-
c.current = null, x === !1 && n.current && e.preventDefault();
|
|
133
|
-
},
|
|
134
|
-
children: /* @__PURE__ */ i(
|
|
135
|
-
A,
|
|
136
|
-
{
|
|
137
|
-
"aria-hidden": "true",
|
|
138
|
-
className: a === "sm" ? "ds:size-5" : "ds:size-6"
|
|
139
|
-
}
|
|
140
|
-
)
|
|
141
|
-
}
|
|
142
|
-
),
|
|
143
|
-
/* @__PURE__ */ u(
|
|
144
|
-
o.Content,
|
|
145
|
-
{
|
|
146
|
-
side: v,
|
|
147
|
-
align: g,
|
|
148
|
-
size: a === "sm" ? "sm" : "md",
|
|
149
|
-
"aria-label": r == null ? f : void 0,
|
|
150
|
-
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
151
|
-
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
152
|
-
children: [
|
|
153
|
-
r != null && /* @__PURE__ */ i(o.Heading, { children: r }),
|
|
154
|
-
/* @__PURE__ */ i(o.Description, { children: t })
|
|
155
|
-
]
|
|
156
|
-
}
|
|
157
|
-
)
|
|
158
|
-
] });
|
|
159
|
-
}
|
|
160
|
-
);
|
|
161
|
-
j.displayName = "InfoTip";
|
|
162
|
-
export {
|
|
163
|
-
j as I,
|
|
164
|
-
R as i
|
|
165
|
-
};
|
|
166
|
-
//# sourceMappingURL=info-tip-Cfd5SKbY.js.map
|