@alfadocs/ui-kit 1.53.0 → 1.54.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/{Alfadocs_Logo_Mark-7o3L3WBI.js → Alfadocs_Logo_Mark-Z_b6ZI1g.js} +22 -9
- package/dist/_chunks/{actions-cell-renderer-DhmUGzRY.js → actions-cell-renderer-CjzSqMgn.js} +3 -3
- package/dist/_chunks/{address-autocomplete-Bp816Mb1.js → address-autocomplete-BBZ0u_U1.js} +99 -98
- package/dist/_chunks/address-fields-1pD-8hML.js +292 -0
- package/dist/_chunks/{agenda-tray-C2a8OfKC.js → agenda-tray-B8vuZKjH.js} +3 -3
- package/dist/_chunks/{ai-credits-notice-Da0fJPXO.js → ai-credits-notice-D9_qP2xc.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-C5q_uHBA.js → ai-permission-notice-Cr6o1f0f.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-IObcUWqB.js → ai-prompt-input-DkL8W-nt.js} +3 -3
- package/dist/_chunks/{alia-sidebar-DyQMsyiz.js → alia-sidebar-DSUQ2RpK.js} +6 -6
- package/dist/_chunks/{anamnesis-card-D4RWzQXP.js → anamnesis-card-BT1tMt5O.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-CnHxtht-.js → anamnesis-summary-rows-BMjSBqhS.js} +19 -19
- package/dist/_chunks/{appointment-peek-DpPzeYXm.js → appointment-peek-Cbrg36wj.js} +3 -3
- package/dist/_chunks/{appointment-timeline-By-EwmJU.js → appointment-timeline-CssAJLpL.js} +4 -4
- package/dist/_chunks/{appointment-tray-7Z3A3Xz9.js → appointment-tray-EQUjllVy.js} +3 -3
- package/dist/_chunks/{audio-recorder-BafA28cX.js → audio-recorder-BM68r6fe.js} +3 -3
- package/dist/_chunks/auth-form-parts-Celi-TLV.js +85 -0
- package/dist/_chunks/{autocomplete-IfLaXwyb.js → autocomplete-BXm1rnT0.js} +229 -220
- package/dist/_chunks/{balance-badge-cell-BtiFfFRY.js → balance-badge-cell-BDX1Krdv.js} +5 -5
- package/dist/_chunks/{bishop-score-BfDsm9HH.js → bishop-score-CGAVpIWL.js} +3 -3
- package/dist/_chunks/{bmi-calculator-BNtmMzQy.js → bmi-calculator-g_wjo4nq.js} +5 -5
- package/dist/_chunks/booking-CPUjwxj0.js +3710 -0
- package/dist/_chunks/{button-group-DnSR6eN6.js → button-group-CpEycMps.js} +2 -2
- package/dist/_chunks/{calendar-workspace-LDuzo_Ie.js → calendar-workspace-BbZIx2PT.js} +32 -32
- package/dist/_chunks/{care-plan-card-BanlKJZn.js → care-plan-card-BqI-_B4T.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-ByqT84_P.js → care-plan-entry-card-CbsZmfQM.js} +2 -2
- package/dist/_chunks/{care-plan-header-BwfUHMgM.js → care-plan-header-BIS4CGcp.js} +3 -3
- package/dist/_chunks/{carousel.agent-WKODAYVw.js → carousel.agent-DW9iPLdy.js} +2 -2
- package/dist/_chunks/{chart-D37VAIa-.js → chart-C134Ibwm.js} +3 -3
- package/dist/_chunks/{chat-input-DA10w969.js → chat-input-Bg99kcl3.js} +2 -2
- package/dist/_chunks/{chat-message-DoMjMa-M.js → chat-message-D4rvLoIJ.js} +2 -2
- package/dist/_chunks/{checkbox-CZkipDn7.js → checkbox--ndmyokr.js} +19 -15
- package/dist/_chunks/{checkbox-group-C7czpHmJ.js → checkbox-group-B0oZHNT3.js} +2 -2
- package/dist/_chunks/{city-input-CAnTVgBZ.js → city-input-DyxVWSRQ.js} +10 -9
- package/dist/_chunks/{clinical-note-card-kvlUrmP-.js → clinical-note-card-gmWXEwSu.js} +2 -2
- package/dist/_chunks/{code-block-NtHjtagI.js → code-block-CRVa-Thh.js} +2 -2
- package/dist/_chunks/{color-picker-Yl99lHuF.js → color-picker-Bu0wM8xv.js} +50 -50
- package/dist/_chunks/combobox-DppVSuUm.js +614 -0
- package/dist/_chunks/{connection-status-Dz8o-Fui.js → connection-status-BwTnjnUj.js} +2 -2
- package/dist/_chunks/{contact-card-D2gXrxlL.js → contact-card-CIVCcicP.js} +2 -2
- package/dist/_chunks/{contact-profile-card-B7cXr8g5.js → contact-profile-card-h0QX4_5B.js} +3 -3
- package/dist/_chunks/{control-room-rail-B446rHSL.js → control-room-rail-g4vNSPFi.js} +3 -3
- package/dist/_chunks/{country-select-BYa4BrEi.js → country-select-r3QC7cVA.js} +139 -113
- package/dist/_chunks/{cycle-calculator-D_5f9VSN.js → cycle-calculator-CwDEdmda.js} +4 -4
- package/dist/_chunks/{dashboard-grid-DWNP02Ff.js → dashboard-grid--rkojX6m.js} +2 -2
- package/dist/_chunks/{data-table-CiVyhNXx.js → data-table-DeUoJzNn.js} +8 -8
- package/dist/_chunks/{data-table-tabs-Dc6zvoI_.js → data-table-tabs-BfEmXvUk.js} +4 -4
- package/dist/_chunks/{date-picker-p9yz3pxc.js → date-picker-BnhBmcH6.js} +31 -31
- package/dist/_chunks/{date-range-picker-DIy8gNY0.js → date-range-picker-Dg050N1d.js} +65 -65
- package/dist/_chunks/{date-time-picker-C3UVzqOm.js → date-time-picker-Ckl6ezCL.js} +50 -49
- package/dist/_chunks/{description-list-9rchqp5q.js → description-list-BKQMUiXv.js} +2 -2
- package/dist/_chunks/dev-bypass-button-Y1s7gPSD.js +33 -0
- package/dist/_chunks/dev-bypass-button.agent-BJqFSTqE.js +17 -0
- package/dist/_chunks/{document-preview-VXOQZZvy.js → document-preview-C_6R_VZK.js} +4 -4
- package/dist/_chunks/{document-scanner-T5jHiraQ.js → document-scanner-pADVX447.js} +2 -2
- package/dist/_chunks/{due-date-calculator-iJXm6HOj.js → due-date-calculator-_0Dz_d7n.js} +6 -6
- package/dist/_chunks/{editable-currency-cell-renderer-DdMHme5y.js → editable-currency-cell-renderer-CfFp_1hI.js} +3 -3
- package/dist/_chunks/{editable-description-Cy3AZ5K2.js → editable-description-CCrAEJMq.js} +2 -2
- package/dist/_chunks/{editor-overlay-C0awV6ba.js → editor-overlay-CWV0chPV.js} +2 -2
- package/dist/_chunks/{email-input-ebdovOmh.js → email-input-Cmeo4zdT.js} +88 -86
- package/dist/_chunks/{empty-state-C62P_6kr.js → empty-state-CgvmPPvW.js} +44 -50
- package/dist/_chunks/{entity-summary-oW3_jFhU.js → entity-summary-C3E4JKVr.js} +3 -3
- package/dist/_chunks/{error-boundary-Cvs23EzK.js → error-boundary-Bzjk9Q2l.js} +2 -2
- package/dist/_chunks/error-page-CKFJlekz.js +275 -0
- package/dist/_chunks/error-page-illustration-QGJAvuFB.js +459 -0
- package/dist/_chunks/{face-scheme-Dg7KcbW2.js → face-scheme-pZgT26gB.js} +8 -8
- package/dist/_chunks/{fetal-weight-BoIkl2t1.js → fetal-weight-CbE61Uyk.js} +3 -3
- package/dist/_chunks/{field-array-BF2nCmvt.js → field-array-DGiIHCdy.js} +2 -2
- package/dist/_chunks/{file-manager-BfG3usGk.js → file-manager-DdsAd4TQ.js} +8 -8
- package/dist/_chunks/{file-upload-OMlGHz70.js → file-upload-CxjCs7TX.js} +46 -46
- package/dist/_chunks/{fiscal-code-input-CuuE8_dt.js → fiscal-code-input-DNA_SbQx.js} +69 -69
- package/dist/_chunks/forgot-password-form-DVVOBEGj.js +203 -0
- package/dist/_chunks/form-field-D9WfDpYB.js +165 -0
- package/dist/_chunks/form-field-context-DtiROUJV.js +36 -0
- package/dist/_chunks/{freemium-paywall-BhxKSEJD.js → freemium-paywall-CtUCj-ND.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CjZ7v-8x.js → gestational-age-calculator-BMkoLJGR.js} +7 -7
- package/dist/_chunks/{hcg-doubling-BYMogA0e.js → hcg-doubling-BtW2pBJX.js} +4 -4
- package/dist/_chunks/{header-CzJbtTGQ.js → header--a4ZTiM5.js} +6 -3
- package/dist/_chunks/{header-settings-BqdBe4zk.js → header-settings-kkVm9VP3.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-DcR-e_90.js → help-me-write-templates-Cy-iO5AU.js} +8 -8
- package/dist/_chunks/{hover-card-DEMPFs9M.js → hover-card-CcRSI4gy.js} +2 -2
- package/dist/_chunks/{iban-input-D88HRGZo.js → iban-input-CpOUMMR-.js} +35 -35
- package/dist/_chunks/{icon-button-group-DHRz90jY.js → icon-button-group-BsQkbCX4.js} +2 -2
- package/dist/_chunks/{icon-button-JAXAkqWC.js → icon-button-mKIvw90h.js} +31 -30
- package/dist/_chunks/{icon-picker-C5Fhx1-3.js → icon-picker-CSViTQL9.js} +3 -3
- package/dist/_chunks/{info-tip-DfmEvyAF.js → info-tip-Czh1izZ6.js} +2 -2
- package/dist/_chunks/is-development-CLUAnsU7.js +11 -0
- package/dist/_chunks/{key-value-pair-DZH8ESsc.js → key-value-pair-BkXjt88Z.js} +2 -2
- package/dist/_chunks/{kit-extensions-CF5mDF_Z.js → kit-extensions-Kca1tkfP.js} +6 -6
- package/dist/_chunks/{link-BlVUIKk1.js → link-2HokYuIi.js} +19 -18
- package/dist/_chunks/{link-cell-renderer-DvcbSHyp.js → link-cell-renderer-D-xv2HMS.js} +7 -7
- package/dist/_chunks/{locale-picker-DYDppQdZ.js → locale-picker-BhNIgeXA.js} +3 -3
- package/dist/_chunks/log-in-OQUEoGhX.js +16 -0
- package/dist/_chunks/login-dev-card-C7wo-Hv1.js +275 -0
- package/dist/_chunks/{logo-1FuSGx0n.js → logo-CuaqxTGK.js} +128 -77
- package/dist/_chunks/mark-pieces-m_rn1mAc.js +46 -0
- package/dist/_chunks/{marketplace-app-shell-rd1bSSm4.js → marketplace-app-shell-DbEfoNxe.js} +6 -6
- package/dist/_chunks/{message-card-Dub3790J.js → message-card-C1buKlzM.js} +2 -2
- package/dist/_chunks/{message-tray-CTd6CsnG.js → message-tray-DyBVqlGj.js} +3 -3
- package/dist/_chunks/{multi-select-Bx0_cgPI.js → multi-select-CVb6PJOK.js} +87 -85
- package/dist/_chunks/{muscle-scheme-X2bdmsQt.js → muscle-scheme-DfYQ0Z3v.js} +2 -2
- package/dist/_chunks/{nav-grid-BnY0Ilet.js → nav-grid-BPbmzHY0.js} +2 -2
- package/dist/_chunks/{note-attachment-CpPRIfSn.js → note-attachment-I1NLoeRZ.js} +2 -2
- package/dist/_chunks/{note-timeline-CZUmobcn.js → note-timeline-CsY8YOE7.js} +2 -2
- package/dist/_chunks/{notes-panel-CPfxz-1j.js → notes-panel-BPb-2ZnJ.js} +6 -6
- package/dist/_chunks/{notification-card-B39g86vM.js → notification-card-DubeUbVJ.js} +2 -2
- package/dist/_chunks/{notification-tray-WsP7c1jf.js → notification-tray-DJ0gtfu6.js} +3 -3
- package/dist/_chunks/{number-input-BLrx3utH.js → number-input-DRDRYZJg.js} +41 -41
- package/dist/_chunks/{optical-prescription-x--Rpmmx.js → optical-prescription-DBvebioV.js} +5 -5
- package/dist/_chunks/{otp-input-Dz8WMg4F.js → otp-input-BedEqmIV.js} +47 -45
- package/dist/_chunks/{panel-subview-DAY-ToM3.js → panel-subview-D8HGXaUa.js} +2 -2
- package/dist/_chunks/password-input-B7pQTk7l.js +447 -0
- package/dist/_chunks/{patient-details-BSAMAd3I.js → patient-details-BP9r_lNS.js} +3 -3
- package/dist/_chunks/{patient-field-row-dUF2cW2G.js → patient-field-row-BK9JjbzA.js} +19 -19
- package/dist/_chunks/{patient-search-CXl0FNfN.js → patient-search-Dm3w0jWw.js} +3 -3
- package/dist/_chunks/{patient-summary-card-DF-Mxcma.js → patient-summary-card-DGbRLzF1.js} +6 -6
- package/dist/_chunks/{payment-form-DxsjXYHJ.js → payment-form-B08gHZIY.js} +327 -295
- package/dist/_chunks/{payment-request-card-BFsmHLtf.js → payment-request-card-CR7SjsRs.js} +4 -4
- package/dist/_chunks/{pdf-viewer-hzfM5pZf.js → pdf-viewer-zv7pkUPA.js} +2 -2
- package/dist/_chunks/{periodontal-chart-Bvii6uOg.js → periodontal-chart-5nLsSuRM.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-DTbvFQO7.js → periodontal-chart-card-Djr3en8Q.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-BqEo0usu.js → periodontal-diagnosis-DmVIqXtC.js} +4 -4
- package/dist/_chunks/{permission-matrix-DHKECaNW.js → permission-matrix-DuTkUHxe.js} +3 -3
- package/dist/_chunks/{phone-input-opMMHkyh.js → phone-input-BzeUr49H.js} +253 -204
- package/dist/_chunks/{popover-CGYPYIVi.js → popover-9_v-7fJc.js} +2 -2
- package/dist/_chunks/{postal-code-input-Dv02t5MD.js → postal-code-input-BmbqjkfD.js} +71 -71
- package/dist/_chunks/{practice-results-B9uV0TT8.js → practice-results-D3liWOz1.js} +4 -4
- package/dist/_chunks/{pregnancy-dating-CcPxK3S3.js → pregnancy-dating-DV3o2PPl.js} +8 -8
- package/dist/_chunks/{pregnancy-weight-gain-tGbbravi.js → pregnancy-weight-gain-BLjWgtS9.js} +5 -5
- package/dist/_chunks/{privacy-lock-Bh4O7Y7g.js → privacy-lock-KDPKiTpH.js} +3 -3
- package/dist/_chunks/{privacy-mask-CK-9sxeI.js → privacy-mask-H8yYwgIb.js} +2 -2
- package/dist/_chunks/{product-hub-panel-D87kbz5j.js → product-hub-panel-M5X3TYzq.js} +4 -4
- package/dist/_chunks/{province-select-BZtM0RSR.js → province-select-DtF2ukoC.js} +92 -79
- package/dist/_chunks/{public-footer.agent-CVYmHY94.js → public-footer-Bfs81Qzp.js} +188 -219
- package/dist/_chunks/public-footer.agent-CRZCrq3_.js +37 -0
- package/dist/_chunks/{public-header.agent-1mcrQqIM.js → public-header.agent-CrXkGtTF.js} +3 -3
- package/dist/_chunks/{qr-code-C3m9o7om.js → qr-code-Ofx7ryyu.js} +2 -2
- package/dist/_chunks/{radio-6fml-pWk.js → radio-BBbMdbE_.js} +15 -11
- package/dist/_chunks/{radio-group-CIjmyioi.js → radio-group-BT97ty7o.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-BWBaxJ8e.js → radiograph-panel.agent-C4j6eoQn.js} +8 -8
- package/dist/_chunks/recaptcha-widget-CsvwlYTE.js +234 -0
- package/dist/_chunks/registration-form-CBDeXzlk.js +748 -0
- package/dist/_chunks/{reviews-panel-DUgqU-Wr.js → reviews-panel-CyxZ0VmZ.js} +3 -3
- package/dist/_chunks/{rich-text-editor-C7N4Cem6.js → rich-text-editor-CCCSEPlG.js} +13 -13
- package/dist/_chunks/safe-href-5dbsfbQn.js +22 -0
- package/dist/_chunks/{search-bar-Blq_QeSe.js → search-bar-D695TCDH.js} +2 -2
- package/dist/_chunks/{search-input-DfsAu3P2.js → search-input-Tl-RkS5x.js} +31 -31
- package/dist/_chunks/{select-Br88h070.js → select-DHPmASkG.js} +293 -228
- package/dist/_chunks/{sheet-BE6oi30q.js → sheet-BTgxkDJS.js} +2 -2
- package/dist/_chunks/{sign-document-Buw-zC_7.js → sign-document-B_3U-S6g.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-Bd4VPGQh.js → sign-in-with-alfadocs-button-DFmgQuDo.js} +3 -3
- package/dist/_chunks/{signature-field-DBIGiY-J.js → signature-field-DLDznGnB.js} +2 -2
- package/dist/_chunks/{signature-request-DqZkn-iB.js → signature-request-BdolmJk4.js} +6 -6
- package/dist/_chunks/signed-out-frame-dz1rLJ65.js +171 -0
- package/dist/_chunks/{slider-BRq2lL-l.js → slider-pZ95bEm7.js} +50 -50
- package/dist/_chunks/{slot-grid-kq7bDdrx.js → slot-grid-kCDoV3k4.js} +3 -3
- package/dist/_chunks/{social-sign-in-button-Bb2UQpsA.js → social-sign-in-button-BMGNlUWs.js} +2 -2
- package/dist/_chunks/spinner-a0FTYX9Q.js +211 -0
- package/dist/_chunks/{streaming-text-D0IJeRBg.js → streaming-text-BAPn_sZs.js} +2 -2
- package/dist/_chunks/{switch-DXGD2Drz.js → switch-D--x7n6h.js} +29 -29
- package/dist/_chunks/{tabs-DLXVEDsa.js → tabs-yIY-RySP.js} +2 -2
- package/dist/_chunks/{task-card-Cfl08MCS.js → task-card-C02Km4Gb.js} +2 -2
- package/dist/_chunks/{task-editor-CxF-sBnu.js → task-editor-Dl27rI3J.js} +15 -15
- package/dist/_chunks/{task-tray-rAGslT2C.js → task-tray-By6DPwbT.js} +4 -4
- package/dist/_chunks/{tasks-panel-Dkm8SnmV.js → tasks-panel-BkN9sROF.js} +7 -7
- package/dist/_chunks/{text-area-Cjtw7mna.js → text-area-CDuItrvL.js} +23 -23
- package/dist/_chunks/{text-input-CLaItY93.js → text-input-lZ2-t-p2.js} +37 -37
- package/dist/_chunks/{theme-toggle-Byg0x2vB.js → theme-toggle-BAHz3itd.js} +4 -4
- package/dist/_chunks/{time-picker-BG7G3ujX.js → time-picker-DKKmpFh3.js} +28 -28
- package/dist/_chunks/{toast-6wbpghjF.js → toast-UMUvXFsA.js} +2 -2
- package/dist/_chunks/{tool-rail-CXcLzxPb.js → tool-rail-CwXN-sDC.js} +2 -2
- package/dist/_chunks/{tooth-scheme-BLbwUVer.js → tooth-scheme-BAMhwCZe.js} +3 -3
- package/dist/_chunks/{transcript-panel-Dve7bsm7.js → transcript-panel-CLgtyVbR.js} +2 -2
- package/dist/_chunks/{unit-converter-D8WnJbZm.js → unit-converter-CXNr5P4J.js} +4 -4
- package/dist/_chunks/{use-appointment-details-read-W6h4oTHx.js → use-appointment-details-read-BEbLseXW.js} +13 -13
- package/dist/_chunks/use-field-match-pdbEnKvO.js +28 -0
- package/dist/_chunks/use-password-requirements-C8DdwPEy.js +69 -0
- package/dist/_chunks/use-prism-DaspP8w-.js +55 -0
- package/dist/_chunks/use-registration-submit-DxCWic5_.js +141 -0
- package/dist/_chunks/{wallet-pay-button-C-GFl7RO.js → wallet-pay-button-Dew8Pmgq.js} +2 -2
- package/dist/_chunks/{warning-stack-CzKSeB5v.js → warning-stack-B_v_qMBI.js} +2 -2
- package/dist/_chunks/{widget-picker-b5NCHxFe.js → widget-picker-BCbwD5Z1.js} +2 -2
- package/dist/_chunks/{workflow-map-C1OjRhM3.js → workflow-map-PzamnfJK.js} +4 -4
- package/dist/agent-catalog.json +289 -103
- package/dist/agent-i18n/en.json +29 -8
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts +2 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts +2 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts +2 -1
- package/dist/brand/logo-asset/index.d.ts +1 -0
- package/dist/brand/logo-asset/mark-piece.d.ts +10 -0
- package/dist/components/_shared/safe-href.d.ts +21 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/address-fields.d.ts +7 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +7 -0
- package/dist/components/autocomplete/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/booking-types.d.ts +57 -0
- package/dist/components/booking/booking.d.ts +1 -1
- package/dist/components/booking/details-form.d.ts +5 -0
- package/dist/components/booking/index.d.ts +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- 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/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/city-input/city-input.d.ts +2 -5
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +10 -4
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/command-palette.d.ts +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/country-select/country-select.d.ts +3 -4
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/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/dev-bypass-button/dev-bypass-button.agent.d.ts +3 -0
- package/dist/components/dev-bypass-button/dev-bypass-button.d.ts +18 -0
- package/dist/components/dev-bypass-button/index.d.ts +4 -0
- package/dist/components/dev-bypass-button/index.js +7 -0
- 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 +1 -1
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/email-input.d.ts +13 -4
- package/dist/components/email-input/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/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/form-field/form-field-context.d.ts +20 -0
- package/dist/components/form-field/index.d.ts +1 -1
- package/dist/components/form-field/index.js +7 -5
- 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/hover-card/index.js +1 -1
- package/dist/components/iban-input/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/index.d.ts +7 -2
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/logo/logo.d.ts +15 -0
- 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/muscle-scheme/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/password-input/index.js +3 -2
- package/dist/components/password-input/password-input.d.ts +6 -3
- package/dist/components/password-input/use-password-requirements.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/payment-form/index.js +1 -1
- package/dist/components/payment-form/payment-form.d.ts +8 -0
- 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/permission-matrix/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.d.ts +13 -0
- package/dist/components/popover/index.js +1 -1
- package/dist/components/postal-code-input/index.js +1 -1
- package/dist/components/postal-code-input/postal-code-input.d.ts +3 -2
- 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/province-select/index.js +1 -1
- package/dist/components/province-select/province-select.d.ts +3 -2
- package/dist/components/public-footer/index.js +6 -5
- package/dist/components/public-footer/public-footer.d.ts +8 -0
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +13 -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/select/index.js +1 -1
- package/dist/components/select/select.d.ts +6 -2
- package/dist/components/sheet/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-field/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/social-sign-in-button/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/toast/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/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/wallet-pay-button/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/error-pages/400.ar.html +1 -1
- package/dist/error-pages/400.de.html +1 -1
- package/dist/error-pages/400.el.html +1 -1
- package/dist/error-pages/400.en.html +1 -1
- package/dist/error-pages/400.es.html +1 -1
- package/dist/error-pages/400.fr.html +1 -1
- package/dist/error-pages/400.hi.html +1 -1
- package/dist/error-pages/400.html +1 -1
- package/dist/error-pages/400.it.html +1 -1
- package/dist/error-pages/400.ja.html +1 -1
- package/dist/error-pages/400.nl.html +1 -1
- package/dist/error-pages/400.pl.html +1 -1
- package/dist/error-pages/400.pt.html +1 -1
- package/dist/error-pages/400.ro.html +1 -1
- package/dist/error-pages/400.ru.html +1 -1
- package/dist/error-pages/400.sq.html +1 -1
- package/dist/error-pages/400.sv.html +1 -1
- package/dist/error-pages/400.tr.html +1 -1
- package/dist/error-pages/400.zh.html +1 -1
- package/dist/error-pages/401.ar.html +1 -1
- package/dist/error-pages/401.de.html +1 -1
- package/dist/error-pages/401.el.html +1 -1
- package/dist/error-pages/401.en.html +1 -1
- package/dist/error-pages/401.es.html +1 -1
- package/dist/error-pages/401.fr.html +1 -1
- package/dist/error-pages/401.hi.html +1 -1
- package/dist/error-pages/401.html +1 -1
- package/dist/error-pages/401.it.html +1 -1
- package/dist/error-pages/401.ja.html +1 -1
- package/dist/error-pages/401.nl.html +1 -1
- package/dist/error-pages/401.pl.html +1 -1
- package/dist/error-pages/401.pt.html +1 -1
- package/dist/error-pages/401.ro.html +1 -1
- package/dist/error-pages/401.ru.html +1 -1
- package/dist/error-pages/401.sq.html +1 -1
- package/dist/error-pages/401.sv.html +1 -1
- package/dist/error-pages/401.tr.html +1 -1
- package/dist/error-pages/401.zh.html +1 -1
- package/dist/error-pages/403.ar.html +1 -1
- package/dist/error-pages/403.de.html +1 -1
- package/dist/error-pages/403.el.html +1 -1
- package/dist/error-pages/403.en.html +1 -1
- package/dist/error-pages/403.es.html +1 -1
- package/dist/error-pages/403.fr.html +1 -1
- package/dist/error-pages/403.hi.html +1 -1
- package/dist/error-pages/403.html +1 -1
- package/dist/error-pages/403.it.html +1 -1
- package/dist/error-pages/403.ja.html +1 -1
- package/dist/error-pages/403.nl.html +1 -1
- package/dist/error-pages/403.pl.html +1 -1
- package/dist/error-pages/403.pt.html +1 -1
- package/dist/error-pages/403.ro.html +1 -1
- package/dist/error-pages/403.ru.html +1 -1
- package/dist/error-pages/403.sq.html +1 -1
- package/dist/error-pages/403.sv.html +1 -1
- package/dist/error-pages/403.tr.html +1 -1
- package/dist/error-pages/403.zh.html +1 -1
- package/dist/error-pages/404.ar.html +1 -1
- package/dist/error-pages/404.de.html +1 -1
- package/dist/error-pages/404.el.html +1 -1
- package/dist/error-pages/404.en.html +1 -1
- package/dist/error-pages/404.es.html +1 -1
- package/dist/error-pages/404.fr.html +1 -1
- package/dist/error-pages/404.hi.html +1 -1
- package/dist/error-pages/404.html +1 -1
- package/dist/error-pages/404.it.html +1 -1
- package/dist/error-pages/404.ja.html +1 -1
- package/dist/error-pages/404.nl.html +1 -1
- package/dist/error-pages/404.pl.html +1 -1
- package/dist/error-pages/404.pt.html +1 -1
- package/dist/error-pages/404.ro.html +1 -1
- package/dist/error-pages/404.ru.html +1 -1
- package/dist/error-pages/404.sq.html +1 -1
- package/dist/error-pages/404.sv.html +1 -1
- package/dist/error-pages/404.tr.html +1 -1
- package/dist/error-pages/404.zh.html +1 -1
- package/dist/error-pages/405.ar.html +1 -1
- package/dist/error-pages/405.de.html +1 -1
- package/dist/error-pages/405.el.html +1 -1
- package/dist/error-pages/405.en.html +1 -1
- package/dist/error-pages/405.es.html +1 -1
- package/dist/error-pages/405.fr.html +1 -1
- package/dist/error-pages/405.hi.html +1 -1
- package/dist/error-pages/405.html +1 -1
- package/dist/error-pages/405.it.html +1 -1
- package/dist/error-pages/405.ja.html +1 -1
- package/dist/error-pages/405.nl.html +1 -1
- package/dist/error-pages/405.pl.html +1 -1
- package/dist/error-pages/405.pt.html +1 -1
- package/dist/error-pages/405.ro.html +1 -1
- package/dist/error-pages/405.ru.html +1 -1
- package/dist/error-pages/405.sq.html +1 -1
- package/dist/error-pages/405.sv.html +1 -1
- package/dist/error-pages/405.tr.html +1 -1
- package/dist/error-pages/405.zh.html +1 -1
- package/dist/error-pages/410.ar.html +1 -1
- package/dist/error-pages/410.de.html +1 -1
- package/dist/error-pages/410.el.html +1 -1
- package/dist/error-pages/410.en.html +1 -1
- package/dist/error-pages/410.es.html +1 -1
- package/dist/error-pages/410.fr.html +1 -1
- package/dist/error-pages/410.hi.html +1 -1
- package/dist/error-pages/410.html +1 -1
- package/dist/error-pages/410.it.html +1 -1
- package/dist/error-pages/410.ja.html +1 -1
- package/dist/error-pages/410.nl.html +1 -1
- package/dist/error-pages/410.pl.html +1 -1
- package/dist/error-pages/410.pt.html +1 -1
- package/dist/error-pages/410.ro.html +1 -1
- package/dist/error-pages/410.ru.html +1 -1
- package/dist/error-pages/410.sq.html +1 -1
- package/dist/error-pages/410.sv.html +1 -1
- package/dist/error-pages/410.tr.html +1 -1
- package/dist/error-pages/410.zh.html +1 -1
- package/dist/error-pages/419.ar.html +1 -1
- package/dist/error-pages/419.de.html +1 -1
- package/dist/error-pages/419.el.html +1 -1
- package/dist/error-pages/419.en.html +1 -1
- package/dist/error-pages/419.es.html +1 -1
- package/dist/error-pages/419.fr.html +1 -1
- package/dist/error-pages/419.hi.html +1 -1
- package/dist/error-pages/419.html +1 -1
- package/dist/error-pages/419.it.html +1 -1
- package/dist/error-pages/419.ja.html +1 -1
- package/dist/error-pages/419.nl.html +1 -1
- package/dist/error-pages/419.pl.html +1 -1
- package/dist/error-pages/419.pt.html +1 -1
- package/dist/error-pages/419.ro.html +1 -1
- package/dist/error-pages/419.ru.html +1 -1
- package/dist/error-pages/419.sq.html +1 -1
- package/dist/error-pages/419.sv.html +1 -1
- package/dist/error-pages/419.tr.html +1 -1
- package/dist/error-pages/419.zh.html +1 -1
- package/dist/error-pages/429.ar.html +1 -1
- package/dist/error-pages/429.de.html +1 -1
- package/dist/error-pages/429.el.html +1 -1
- package/dist/error-pages/429.en.html +1 -1
- package/dist/error-pages/429.es.html +1 -1
- package/dist/error-pages/429.fr.html +1 -1
- package/dist/error-pages/429.hi.html +1 -1
- package/dist/error-pages/429.html +1 -1
- package/dist/error-pages/429.it.html +1 -1
- package/dist/error-pages/429.ja.html +1 -1
- package/dist/error-pages/429.nl.html +1 -1
- package/dist/error-pages/429.pl.html +1 -1
- package/dist/error-pages/429.pt.html +1 -1
- package/dist/error-pages/429.ro.html +1 -1
- package/dist/error-pages/429.ru.html +1 -1
- package/dist/error-pages/429.sq.html +1 -1
- package/dist/error-pages/429.sv.html +1 -1
- package/dist/error-pages/429.tr.html +1 -1
- package/dist/error-pages/429.zh.html +1 -1
- package/dist/error-pages/500.ar.html +1 -1
- package/dist/error-pages/500.de.html +1 -1
- package/dist/error-pages/500.el.html +1 -1
- package/dist/error-pages/500.en.html +1 -1
- package/dist/error-pages/500.es.html +1 -1
- package/dist/error-pages/500.fr.html +1 -1
- package/dist/error-pages/500.hi.html +1 -1
- package/dist/error-pages/500.html +1 -1
- package/dist/error-pages/500.it.html +1 -1
- package/dist/error-pages/500.ja.html +1 -1
- package/dist/error-pages/500.nl.html +1 -1
- package/dist/error-pages/500.pl.html +1 -1
- package/dist/error-pages/500.pt.html +1 -1
- package/dist/error-pages/500.ro.html +1 -1
- package/dist/error-pages/500.ru.html +1 -1
- package/dist/error-pages/500.sq.html +1 -1
- package/dist/error-pages/500.sv.html +1 -1
- package/dist/error-pages/500.tr.html +1 -1
- package/dist/error-pages/500.zh.html +1 -1
- package/dist/error-pages/502.ar.html +1 -1
- package/dist/error-pages/502.de.html +1 -1
- package/dist/error-pages/502.el.html +1 -1
- package/dist/error-pages/502.en.html +1 -1
- package/dist/error-pages/502.es.html +1 -1
- package/dist/error-pages/502.fr.html +1 -1
- package/dist/error-pages/502.hi.html +1 -1
- package/dist/error-pages/502.html +1 -1
- package/dist/error-pages/502.it.html +1 -1
- package/dist/error-pages/502.ja.html +1 -1
- package/dist/error-pages/502.nl.html +1 -1
- package/dist/error-pages/502.pl.html +1 -1
- package/dist/error-pages/502.pt.html +1 -1
- package/dist/error-pages/502.ro.html +1 -1
- package/dist/error-pages/502.ru.html +1 -1
- package/dist/error-pages/502.sq.html +1 -1
- package/dist/error-pages/502.sv.html +1 -1
- package/dist/error-pages/502.tr.html +1 -1
- package/dist/error-pages/502.zh.html +1 -1
- package/dist/error-pages/503.ar.html +1 -1
- package/dist/error-pages/503.de.html +1 -1
- package/dist/error-pages/503.el.html +1 -1
- package/dist/error-pages/503.en.html +1 -1
- package/dist/error-pages/503.es.html +1 -1
- package/dist/error-pages/503.fr.html +1 -1
- package/dist/error-pages/503.hi.html +1 -1
- package/dist/error-pages/503.html +1 -1
- package/dist/error-pages/503.it.html +1 -1
- package/dist/error-pages/503.ja.html +1 -1
- package/dist/error-pages/503.nl.html +1 -1
- package/dist/error-pages/503.pl.html +1 -1
- package/dist/error-pages/503.pt.html +1 -1
- package/dist/error-pages/503.ro.html +1 -1
- package/dist/error-pages/503.ru.html +1 -1
- package/dist/error-pages/503.sq.html +1 -1
- package/dist/error-pages/503.sv.html +1 -1
- package/dist/error-pages/503.tr.html +1 -1
- package/dist/error-pages/503.zh.html +1 -1
- package/dist/error-pages/504.ar.html +1 -1
- package/dist/error-pages/504.de.html +1 -1
- package/dist/error-pages/504.el.html +1 -1
- package/dist/error-pages/504.en.html +1 -1
- package/dist/error-pages/504.es.html +1 -1
- package/dist/error-pages/504.fr.html +1 -1
- package/dist/error-pages/504.hi.html +1 -1
- package/dist/error-pages/504.html +1 -1
- package/dist/error-pages/504.it.html +1 -1
- package/dist/error-pages/504.ja.html +1 -1
- package/dist/error-pages/504.nl.html +1 -1
- package/dist/error-pages/504.pl.html +1 -1
- package/dist/error-pages/504.pt.html +1 -1
- package/dist/error-pages/504.ro.html +1 -1
- package/dist/error-pages/504.ru.html +1 -1
- package/dist/error-pages/504.sq.html +1 -1
- package/dist/error-pages/504.sv.html +1 -1
- package/dist/error-pages/504.tr.html +1 -1
- package/dist/error-pages/504.zh.html +1 -1
- package/dist/error-pages/maintenance.ar.html +1 -1
- package/dist/error-pages/maintenance.de.html +1 -1
- package/dist/error-pages/maintenance.el.html +1 -1
- package/dist/error-pages/maintenance.en.html +1 -1
- package/dist/error-pages/maintenance.es.html +1 -1
- package/dist/error-pages/maintenance.fr.html +1 -1
- package/dist/error-pages/maintenance.hi.html +1 -1
- package/dist/error-pages/maintenance.html +1 -1
- package/dist/error-pages/maintenance.it.html +1 -1
- package/dist/error-pages/maintenance.ja.html +1 -1
- package/dist/error-pages/maintenance.nl.html +1 -1
- package/dist/error-pages/maintenance.pl.html +1 -1
- package/dist/error-pages/maintenance.pt.html +1 -1
- package/dist/error-pages/maintenance.ro.html +1 -1
- package/dist/error-pages/maintenance.ru.html +1 -1
- package/dist/error-pages/maintenance.sq.html +1 -1
- package/dist/error-pages/maintenance.sv.html +1 -1
- package/dist/error-pages/maintenance.tr.html +1 -1
- package/dist/error-pages/maintenance.zh.html +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +89 -79
- package/dist/hooks/use-field-match.d.ts +71 -0
- package/dist/hooks/use-prism.d.ts +85 -0
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +51 -0
- package/dist/i18n/locales/ar.js +51 -0
- package/dist/i18n/locales/de.d.ts +51 -0
- package/dist/i18n/locales/de.js +51 -0
- package/dist/i18n/locales/el.d.ts +51 -0
- package/dist/i18n/locales/el.js +51 -0
- package/dist/i18n/locales/en.d.ts +51 -0
- package/dist/i18n/locales/en.js +51 -0
- package/dist/i18n/locales/es.d.ts +51 -0
- package/dist/i18n/locales/es.js +51 -0
- package/dist/i18n/locales/fr.d.ts +51 -0
- package/dist/i18n/locales/fr.js +51 -0
- package/dist/i18n/locales/hi.d.ts +51 -0
- package/dist/i18n/locales/hi.js +51 -0
- package/dist/i18n/locales/it.d.ts +51 -0
- package/dist/i18n/locales/it.js +51 -0
- package/dist/i18n/locales/ja.d.ts +51 -0
- package/dist/i18n/locales/ja.js +51 -0
- package/dist/i18n/locales/nl.d.ts +51 -0
- package/dist/i18n/locales/nl.js +51 -0
- package/dist/i18n/locales/pl.d.ts +51 -0
- package/dist/i18n/locales/pl.js +51 -0
- package/dist/i18n/locales/pt.d.ts +51 -0
- package/dist/i18n/locales/pt.js +51 -0
- package/dist/i18n/locales/ro.d.ts +51 -0
- package/dist/i18n/locales/ro.js +51 -0
- package/dist/i18n/locales/ru.d.ts +51 -0
- package/dist/i18n/locales/ru.js +51 -0
- package/dist/i18n/locales/sq.d.ts +51 -0
- package/dist/i18n/locales/sq.js +51 -0
- package/dist/i18n/locales/sv.d.ts +51 -0
- package/dist/i18n/locales/sv.js +51 -0
- package/dist/i18n/locales/tr.d.ts +51 -0
- package/dist/i18n/locales/tr.js +51 -0
- package/dist/i18n/locales/zh.d.ts +51 -0
- package/dist/i18n/locales/zh.js +51 -0
- package/dist/index.js +1170 -1145
- package/dist/locales/ar.json +51 -0
- package/dist/locales/de.json +51 -0
- package/dist/locales/el.json +51 -0
- package/dist/locales/en.json +51 -0
- package/dist/locales/es.json +51 -0
- package/dist/locales/fr.json +51 -0
- package/dist/locales/hi.json +51 -0
- package/dist/locales/it.json +51 -0
- package/dist/locales/ja.json +51 -0
- package/dist/locales/nl.json +51 -0
- package/dist/locales/pl.json +51 -0
- package/dist/locales/pt.json +51 -0
- package/dist/locales/ro.json +51 -0
- package/dist/locales/ru.json +51 -0
- package/dist/locales/sq.json +51 -0
- package/dist/locales/sv.json +51 -0
- package/dist/locales/tr.json +51 -0
- package/dist/locales/zh.json +51 -0
- package/dist/patterns/_shared/auth-form-parts.d.ts +55 -0
- package/dist/patterns/_shared/brand-mark.d.ts +15 -0
- package/dist/patterns/_shared/mark-pieces.d.ts +15 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/forgot-password-form/forgot-password-form.d.ts +105 -0
- package/dist/patterns/forgot-password-form/index.d.ts +3 -0
- package/dist/patterns/forgot-password-form/index.js +6 -0
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.d.ts +5 -0
- package/dist/patterns/login-form/index.js +7 -0
- package/dist/patterns/login-form/login-dev-card.d.ts +27 -0
- package/dist/patterns/login-form/login-form.d.ts +120 -0
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/registration-form/index.d.ts +3 -0
- package/dist/patterns/registration-form/index.js +6 -0
- package/dist/patterns/registration-form/registration-form.d.ts +217 -0
- package/dist/patterns/registration-form/use-registration-submit.d.ts +59 -0
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.d.ts +5 -0
- package/dist/patterns/signed-out-frame/index.js +6 -0
- package/dist/patterns/signed-out-frame/signed-out-frame.d.ts +27 -0
- package/dist/patterns/signed-out-frame/signed-out-header.d.ts +23 -0
- package/dist/tokens.css +1 -1
- package/package.json +21 -1
- package/dist/_chunks/address-fields-BIL6cvLS.js +0 -246
- package/dist/_chunks/booking-CFR7vU8X.js +0 -3474
- package/dist/_chunks/combobox-Iel8y3u6.js +0 -578
- package/dist/_chunks/error-page-BtxEOL6g.js +0 -780
- package/dist/_chunks/form-field-YUJl_U5l.js +0 -131
- package/dist/_chunks/form-field-context-B3APVHKx.js +0 -21
- package/dist/_chunks/recaptcha-widget-BNAeSTCo.js +0 -228
- package/dist/_chunks/spinner-DxjSZLD-.js +0 -220
- package/dist/_chunks/use-password-requirements-DK4hV1Ik.js +0 -453
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { u as
|
|
4
|
-
import * as
|
|
5
|
-
import { c as
|
|
6
|
-
import { useTranslation as
|
|
7
|
-
import { u as
|
|
8
|
-
import { g as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { C as
|
|
12
|
-
import { C as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { jsx as e, jsxs as u } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as p, useId as je, useContext as ke, useState as A, useRef as z, useEffect as Re, useMemo as Ve } from "react";
|
|
3
|
+
import { u as Be } from "./registry-DvAUVLHh.js";
|
|
4
|
+
import * as o from "@radix-ui/react-select";
|
|
5
|
+
import { c as _ } from "./index-D2ZczOXr.js";
|
|
6
|
+
import { useTranslation as Oe } from "react-i18next";
|
|
7
|
+
import { u as De, F as Ee, a as Fe } from "./form-field-context-DtiROUJV.js";
|
|
8
|
+
import { g as Ge } from "./group-options-BvKhQ3xb.js";
|
|
9
|
+
import { u as Ae } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
10
|
+
import { b as _e } from "./menu-row-BAr8bx1I.js";
|
|
11
|
+
import { C as Le } from "./chevron-up-umRGgtJA.js";
|
|
12
|
+
import { C as ee } from "./chevron-down-DWE7GSq9.js";
|
|
13
|
+
import { C as Ke } from "./check-DrFSN__t.js";
|
|
14
|
+
import { u as Pe } from "./use-direction-Dp8h70PP.js";
|
|
15
|
+
import { X as $e } from "./x-B5YnXwCz.js";
|
|
16
|
+
const qe = {
|
|
16
17
|
id: "select",
|
|
17
18
|
// Persisted single choice (value state + set_value) → select_single + set_value,
|
|
18
19
|
// plus open/close of the option list.
|
|
@@ -22,13 +23,13 @@ const Be = {
|
|
|
22
23
|
type: "string",
|
|
23
24
|
descriptionKey: "ui.agent.select.state.value",
|
|
24
25
|
description: "Currently selected option value, or empty string when none.",
|
|
25
|
-
read: (
|
|
26
|
+
read: (t) => t.getValue()
|
|
26
27
|
},
|
|
27
28
|
isOpen: {
|
|
28
29
|
type: "boolean",
|
|
29
30
|
descriptionKey: "ui.agent.select.state.isOpen",
|
|
30
31
|
description: "Whether the option list is open.",
|
|
31
|
-
read: (
|
|
32
|
+
read: (t) => t.isOpen()
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
actions: {
|
|
@@ -47,8 +48,8 @@ const Be = {
|
|
|
47
48
|
descriptionKey: "ui.agent.select.actions.setValue",
|
|
48
49
|
description: "Select the option with the given value. A value that is not among the options, or belongs to a disabled option, is ignored and the selection stays as it was.",
|
|
49
50
|
examples: [{ args: { value: "it" }, note: 'Select the "it" option.' }],
|
|
50
|
-
invoke: (
|
|
51
|
-
|
|
51
|
+
invoke: (t, a) => {
|
|
52
|
+
t.setValue(a.value);
|
|
52
53
|
}
|
|
53
54
|
},
|
|
54
55
|
clear: {
|
|
@@ -57,8 +58,8 @@ const Be = {
|
|
|
57
58
|
idempotent: !0,
|
|
58
59
|
descriptionKey: "ui.agent.select.actions.clear",
|
|
59
60
|
description: "Clear the current selection.",
|
|
60
|
-
invoke: (
|
|
61
|
-
|
|
61
|
+
invoke: (t) => {
|
|
62
|
+
t.clear();
|
|
62
63
|
}
|
|
63
64
|
},
|
|
64
65
|
open: {
|
|
@@ -66,8 +67,8 @@ const Be = {
|
|
|
66
67
|
idempotent: !0,
|
|
67
68
|
descriptionKey: "ui.agent.select.actions.open",
|
|
68
69
|
description: "Open the option list.",
|
|
69
|
-
invoke: (
|
|
70
|
-
|
|
70
|
+
invoke: (t) => {
|
|
71
|
+
t.open();
|
|
71
72
|
}
|
|
72
73
|
},
|
|
73
74
|
close: {
|
|
@@ -75,8 +76,8 @@ const Be = {
|
|
|
75
76
|
idempotent: !0,
|
|
76
77
|
descriptionKey: "ui.agent.select.actions.close",
|
|
77
78
|
description: "Close the option list.",
|
|
78
|
-
invoke: (
|
|
79
|
-
|
|
79
|
+
invoke: (t) => {
|
|
80
|
+
t.close();
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
83
|
},
|
|
@@ -96,7 +97,7 @@ const Be = {
|
|
|
96
97
|
description: "Stable opaque option value emitted on each rendered option."
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
|
-
},
|
|
100
|
+
}, te = _(
|
|
100
101
|
[
|
|
101
102
|
"ds:group ds:inline-flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)] ds:w-full",
|
|
102
103
|
"ds:rounded-[var(--radius-sm)] ds:border ds:border-border ds:bg-input",
|
|
@@ -126,7 +127,7 @@ const Be = {
|
|
|
126
127
|
tone: "default"
|
|
127
128
|
}
|
|
128
129
|
}
|
|
129
|
-
),
|
|
130
|
+
), He = _(
|
|
130
131
|
[
|
|
131
132
|
"ds:z-[var(--z-dropdown)] ds:overflow-hidden",
|
|
132
133
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
|
|
@@ -138,12 +139,12 @@ const Be = {
|
|
|
138
139
|
"ds:data-[side=top]:slide-in-from-bottom-2",
|
|
139
140
|
"ds:motion-reduce:animate-none"
|
|
140
141
|
].join(" ")
|
|
141
|
-
),
|
|
142
|
+
), We = _(
|
|
142
143
|
[
|
|
143
144
|
"ds:relative ds:flex ds:cursor-pointer ds:items-center",
|
|
144
145
|
"ds:rounded-[var(--radius-sm)]",
|
|
145
146
|
"ds:text-foreground ds:outline-none ds:select-none",
|
|
146
|
-
|
|
147
|
+
_e.highlighted,
|
|
147
148
|
"ds:data-[disabled]:pointer-events-none ds:data-[disabled]:opacity-50"
|
|
148
149
|
].join(" "),
|
|
149
150
|
{
|
|
@@ -158,87 +159,87 @@ const Be = {
|
|
|
158
159
|
size: "md"
|
|
159
160
|
}
|
|
160
161
|
}
|
|
161
|
-
),
|
|
162
|
+
), Me = [
|
|
162
163
|
"ds:ps-8 ds:pe-3 ds:py-1.5",
|
|
163
164
|
"type-eyebrow ds:text-muted-foreground",
|
|
164
165
|
"ds:sticky ds:top-0 ds:bg-background"
|
|
165
|
-
].join(" "),
|
|
166
|
+
].join(" "), Ue = {
|
|
166
167
|
sm: "ds:size-3.5",
|
|
167
168
|
md: "ds:size-4",
|
|
168
169
|
lg: "ds:size-5"
|
|
169
|
-
},
|
|
170
|
+
}, Xe = {
|
|
170
171
|
sm: "ds:start-2",
|
|
171
172
|
md: "ds:start-2",
|
|
172
173
|
lg: "ds:start-3"
|
|
173
174
|
};
|
|
174
|
-
function
|
|
175
|
-
return (
|
|
176
|
-
for (const n of
|
|
177
|
-
n && (typeof n == "function" ? n(
|
|
175
|
+
function Je(...t) {
|
|
176
|
+
return (a) => {
|
|
177
|
+
for (const n of t)
|
|
178
|
+
n && (typeof n == "function" ? n(a) : n.current = a);
|
|
178
179
|
};
|
|
179
180
|
}
|
|
180
|
-
const
|
|
181
|
-
|
|
182
|
-
const
|
|
183
|
-
({ size:
|
|
184
|
-
|
|
181
|
+
const se = (t) => /* @__PURE__ */ e(o.Root, { ...t });
|
|
182
|
+
se.displayName = "Select.Root";
|
|
183
|
+
const ae = p(
|
|
184
|
+
({ size: t, tone: a, className: n, children: i, ...m }, r) => /* @__PURE__ */ e(
|
|
185
|
+
o.Trigger,
|
|
185
186
|
{
|
|
186
|
-
ref:
|
|
187
|
-
className:
|
|
188
|
-
...
|
|
189
|
-
children:
|
|
187
|
+
ref: r,
|
|
188
|
+
className: te({ size: t, tone: a, className: n }),
|
|
189
|
+
...m,
|
|
190
|
+
children: i
|
|
190
191
|
}
|
|
191
192
|
)
|
|
192
193
|
);
|
|
193
|
-
|
|
194
|
-
const
|
|
195
|
-
|
|
196
|
-
const
|
|
194
|
+
ae.displayName = "Select.Trigger";
|
|
195
|
+
const ne = p((t, a) => /* @__PURE__ */ e(o.Value, { ref: a, ...t }));
|
|
196
|
+
ne.displayName = "Select.Value";
|
|
197
|
+
const L = p(
|
|
197
198
|
({
|
|
198
|
-
className:
|
|
199
|
-
children:
|
|
199
|
+
className: t,
|
|
200
|
+
children: a,
|
|
200
201
|
position: n = "popper",
|
|
201
|
-
sideOffset:
|
|
202
|
-
container:
|
|
203
|
-
...
|
|
204
|
-
}, S) => /* @__PURE__ */ e(
|
|
205
|
-
|
|
202
|
+
sideOffset: i = 4,
|
|
203
|
+
container: m,
|
|
204
|
+
...r
|
|
205
|
+
}, S) => /* @__PURE__ */ e(o.Portal, { container: m ?? void 0, children: /* @__PURE__ */ u(
|
|
206
|
+
o.Content,
|
|
206
207
|
{
|
|
207
208
|
ref: S,
|
|
208
209
|
position: n,
|
|
209
|
-
sideOffset:
|
|
210
|
+
sideOffset: i,
|
|
210
211
|
"data-component": "select-content",
|
|
211
|
-
className:
|
|
212
|
-
...
|
|
212
|
+
className: He({ className: t }),
|
|
213
|
+
...r,
|
|
213
214
|
children: [
|
|
214
|
-
/* @__PURE__ */ e(
|
|
215
|
-
|
|
216
|
-
/* @__PURE__ */ e(
|
|
215
|
+
/* @__PURE__ */ e(o.ScrollUpButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(Le, { "aria-hidden": "true", className: "ds:size-4" }) }),
|
|
216
|
+
a,
|
|
217
|
+
/* @__PURE__ */ e(o.ScrollDownButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(ee, { "aria-hidden": "true", className: "ds:size-4" }) })
|
|
217
218
|
]
|
|
218
219
|
}
|
|
219
220
|
) })
|
|
220
221
|
);
|
|
221
|
-
|
|
222
|
-
const
|
|
223
|
-
|
|
222
|
+
L.displayName = "Select.Content";
|
|
223
|
+
const K = p(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
224
|
+
o.Viewport,
|
|
224
225
|
{
|
|
225
226
|
ref: n,
|
|
226
|
-
className: ["ds:p-1",
|
|
227
|
-
...
|
|
227
|
+
className: ["ds:p-1", t].filter(Boolean).join(" "),
|
|
228
|
+
...a
|
|
228
229
|
}
|
|
229
230
|
));
|
|
230
|
-
|
|
231
|
-
const
|
|
231
|
+
K.displayName = "Select.Viewport";
|
|
232
|
+
const P = p(
|
|
232
233
|
({
|
|
233
|
-
size:
|
|
234
|
-
className:
|
|
234
|
+
size: t = "md",
|
|
235
|
+
className: a,
|
|
235
236
|
children: n,
|
|
236
|
-
startAdornment:
|
|
237
|
-
endContent:
|
|
238
|
-
description:
|
|
237
|
+
startAdornment: i,
|
|
238
|
+
endContent: m,
|
|
239
|
+
description: r,
|
|
239
240
|
...S
|
|
240
|
-
},
|
|
241
|
-
const
|
|
241
|
+
}, T) => {
|
|
242
|
+
const j = Xe[t ?? "md"], N = Ue[t ?? "md"], h = je(), f = r != null && r !== "", b = f ? "ds:group-data-[disabled]/select-item:opacity-50" : "", w = m ? (
|
|
242
243
|
// Radix points the item's `aria-labelledby` at `ItemText`, so
|
|
243
244
|
// anything rendered outside it is dropped from the accessible
|
|
244
245
|
// name — a price there would be visible but never announced.
|
|
@@ -260,186 +261,218 @@ const F = r(
|
|
|
260
261
|
// chip would sit against the label instead of the row's end —
|
|
261
262
|
// the ragged column this change exists to remove. `asChild` makes
|
|
262
263
|
// our own span become the ItemText element, so `flex-1` lands.
|
|
263
|
-
/* @__PURE__ */ e(
|
|
264
|
+
/* @__PURE__ */ e(o.ItemText, { asChild: !0, children: /* @__PURE__ */ u(
|
|
264
265
|
"span",
|
|
265
266
|
{
|
|
266
|
-
className: `ds:flex ds:flex-1 ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)] ${
|
|
267
|
+
className: `ds:flex ds:flex-1 ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)] ${b}`,
|
|
267
268
|
children: [
|
|
268
269
|
/* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:truncate", children: n }),
|
|
269
|
-
/* @__PURE__ */ e("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0", children:
|
|
270
|
+
/* @__PURE__ */ e("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0", children: m })
|
|
270
271
|
]
|
|
271
272
|
}
|
|
272
273
|
) })
|
|
273
|
-
) :
|
|
274
|
-
return /* @__PURE__ */
|
|
275
|
-
|
|
274
|
+
) : f ? /* @__PURE__ */ e(o.ItemText, { asChild: !0, children: /* @__PURE__ */ e("span", { className: b, children: n }) }) : /* @__PURE__ */ e(o.ItemText, { children: n });
|
|
275
|
+
return /* @__PURE__ */ u(
|
|
276
|
+
o.Item,
|
|
276
277
|
{
|
|
277
|
-
ref:
|
|
278
|
-
"aria-describedby":
|
|
279
|
-
className:
|
|
280
|
-
size:
|
|
281
|
-
className:
|
|
278
|
+
ref: T,
|
|
279
|
+
"aria-describedby": f ? h : void 0,
|
|
280
|
+
className: We({
|
|
281
|
+
size: t,
|
|
282
|
+
className: f ? [
|
|
282
283
|
"ds:group/select-item ds:data-[disabled]:!opacity-100",
|
|
283
|
-
|
|
284
|
-
].filter(Boolean).join(" ") :
|
|
284
|
+
a
|
|
285
|
+
].filter(Boolean).join(" ") : a
|
|
285
286
|
}),
|
|
286
287
|
...S,
|
|
287
288
|
children: [
|
|
288
289
|
/* @__PURE__ */ e(
|
|
289
290
|
"span",
|
|
290
291
|
{
|
|
291
|
-
className: `ds:absolute ${
|
|
292
|
+
className: `ds:absolute ${j} ds:inline-flex ds:items-center ds:justify-center ${b}`,
|
|
292
293
|
"aria-hidden": "true",
|
|
293
|
-
children: /* @__PURE__ */ e(
|
|
294
|
+
children: /* @__PURE__ */ e(o.ItemIndicator, { children: /* @__PURE__ */ e(Ke, { className: N }) })
|
|
294
295
|
}
|
|
295
296
|
),
|
|
296
|
-
|
|
297
|
+
i ? (
|
|
297
298
|
// Decorative by contract — accessible name comes from the item text.
|
|
298
299
|
/* @__PURE__ */ e(
|
|
299
300
|
"span",
|
|
300
301
|
{
|
|
301
302
|
"aria-hidden": "true",
|
|
302
|
-
className: `ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)] ${
|
|
303
|
-
children:
|
|
303
|
+
className: `ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)] ${b}`,
|
|
304
|
+
children: i
|
|
304
305
|
}
|
|
305
306
|
)
|
|
306
307
|
) : null,
|
|
307
|
-
|
|
308
|
-
|
|
308
|
+
f ? /* @__PURE__ */ u("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:py-[var(--spacing-xs)]", children: [
|
|
309
|
+
w,
|
|
309
310
|
/* @__PURE__ */ e(
|
|
310
311
|
"span",
|
|
311
312
|
{
|
|
312
313
|
id: h,
|
|
313
314
|
className: "type-meta ds:text-muted-foreground",
|
|
314
|
-
children:
|
|
315
|
+
children: r
|
|
315
316
|
}
|
|
316
317
|
)
|
|
317
|
-
] }) :
|
|
318
|
+
] }) : w
|
|
318
319
|
]
|
|
319
320
|
}
|
|
320
321
|
);
|
|
321
322
|
}
|
|
322
323
|
);
|
|
323
|
-
|
|
324
|
-
const
|
|
325
|
-
|
|
326
|
-
const
|
|
327
|
-
|
|
328
|
-
const
|
|
329
|
-
|
|
324
|
+
P.displayName = "Select.Item";
|
|
325
|
+
const oe = p((t, a) => /* @__PURE__ */ e(o.ItemText, { ref: a, ...t }));
|
|
326
|
+
oe.displayName = "Select.ItemText";
|
|
327
|
+
const de = p((t, a) => /* @__PURE__ */ e(o.Group, { ref: a, ...t }));
|
|
328
|
+
de.displayName = "Select.Group";
|
|
329
|
+
const $ = p(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
330
|
+
o.Label,
|
|
330
331
|
{
|
|
331
332
|
ref: n,
|
|
332
|
-
className: [
|
|
333
|
-
...
|
|
333
|
+
className: [Me, t].filter(Boolean).join(" "),
|
|
334
|
+
...a
|
|
334
335
|
}
|
|
335
336
|
));
|
|
336
|
-
|
|
337
|
-
const
|
|
338
|
-
|
|
337
|
+
$.displayName = "Select.Label";
|
|
338
|
+
const ie = p(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
339
|
+
o.Separator,
|
|
339
340
|
{
|
|
340
341
|
ref: n,
|
|
341
|
-
className: ["ds:my-1 ds:h-px ds:bg-border",
|
|
342
|
-
...
|
|
342
|
+
className: ["ds:my-1 ds:h-px ds:bg-border", t].filter(Boolean).join(" "),
|
|
343
|
+
...a
|
|
343
344
|
}
|
|
344
345
|
));
|
|
345
|
-
|
|
346
|
-
const
|
|
347
|
-
|
|
346
|
+
ie.displayName = "Select.Separator";
|
|
347
|
+
const Qe = "ds-select-detached", Ye = /* @__PURE__ */ new Set([
|
|
348
|
+
"data-component",
|
|
349
|
+
"data-component-id",
|
|
350
|
+
"data-state",
|
|
351
|
+
"data-placeholder",
|
|
352
|
+
"data-disabled",
|
|
353
|
+
"aria-expanded",
|
|
354
|
+
"aria-controls"
|
|
355
|
+
]);
|
|
356
|
+
function Ze(t) {
|
|
357
|
+
const a = {};
|
|
358
|
+
for (const [n, i] of Object.entries(t))
|
|
359
|
+
i === void 0 || Ye.has(n) || (n.startsWith("data-") || n.startsWith("aria-")) && (a[n] = i);
|
|
360
|
+
return a;
|
|
361
|
+
}
|
|
362
|
+
const re = p(function({
|
|
363
|
+
options: a,
|
|
348
364
|
value: n,
|
|
349
|
-
defaultValue:
|
|
350
|
-
onValueChange:
|
|
351
|
-
placeholder:
|
|
365
|
+
defaultValue: i,
|
|
366
|
+
onValueChange: m,
|
|
367
|
+
placeholder: r,
|
|
352
368
|
clearable: S = !1,
|
|
353
|
-
disabled:
|
|
354
|
-
required:
|
|
355
|
-
name:
|
|
369
|
+
disabled: T,
|
|
370
|
+
required: j,
|
|
371
|
+
name: N,
|
|
356
372
|
id: h,
|
|
357
|
-
size:
|
|
358
|
-
tone:
|
|
359
|
-
className:
|
|
360
|
-
container:
|
|
361
|
-
"aria-label":
|
|
362
|
-
"aria-describedby":
|
|
363
|
-
adornmentInTrigger:
|
|
364
|
-
showDescriptions:
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
var
|
|
375
|
-
|
|
376
|
-
}
|
|
373
|
+
size: f = "md",
|
|
374
|
+
tone: b = "default",
|
|
375
|
+
className: w,
|
|
376
|
+
container: le,
|
|
377
|
+
"aria-label": q,
|
|
378
|
+
"aria-describedby": ce,
|
|
379
|
+
adornmentInTrigger: ue = !1,
|
|
380
|
+
showDescriptions: pe = !1,
|
|
381
|
+
...me
|
|
382
|
+
}, fe) {
|
|
383
|
+
var Y;
|
|
384
|
+
const { t: k } = Oe("ui"), y = De(), v = ke(Ee) !== null, [ge, C] = A(
|
|
385
|
+
n ?? i ?? ""
|
|
386
|
+
), x = n !== void 0, l = x ? n : ge, [R, V] = A(!1), H = z(l);
|
|
387
|
+
H.current = l;
|
|
388
|
+
const he = Fe(y, h), ve = h ?? (v ? he : void 0), B = (v ? y.disabled : !1) || !!T, O = (v ? y.required : !1) || !!j, W = v ? y.invalid : !1, be = W ? "error" : b, ye = [v ? y.describedBy : void 0, ce].filter(Boolean).join(" ") || void 0, M = ue ? (Y = a.find((s) => s.value === l)) == null ? void 0 : Y.startAdornment : void 0, I = z(null), xe = Je(fe, I), Se = Pe(I), [Ne, Ie] = A(!0);
|
|
389
|
+
Ae(() => {
|
|
390
|
+
var s;
|
|
391
|
+
l === "" && Ie(!!((s = I.current) != null && s.closest("form")));
|
|
392
|
+
});
|
|
393
|
+
const D = l === "" && Ne, U = z(null), E = z(l !== "");
|
|
394
|
+
Re(() => {
|
|
395
|
+
var s;
|
|
396
|
+
if (l !== "") {
|
|
397
|
+
E.current = !0;
|
|
398
|
+
return;
|
|
399
|
+
}
|
|
400
|
+
E.current && (E.current = !1, (s = U.current) == null || s.dispatchEvent(new Event("change", { bubbles: !0 })));
|
|
401
|
+
}, [l]);
|
|
402
|
+
const d = m, X = (s) => {
|
|
403
|
+
x || C(s), d == null || d(s);
|
|
404
|
+
}, we = (s) => {
|
|
405
|
+
var c;
|
|
406
|
+
s.preventDefault(), s.stopPropagation(), x || C(""), d == null || d(""), (c = I.current) == null || c.focus();
|
|
407
|
+
}, F = r ?? k("inputs.select.placeholder", "Select…"), Ce = S && !!l && !B, J = q ?? (v ? void 0 : F), Q = !q && v ? `${y.id}-label` : void 0, ze = Ge(a), Te = Ve(
|
|
377
408
|
() => ({
|
|
378
|
-
getValue: () =>
|
|
379
|
-
setValue: (
|
|
380
|
-
const
|
|
381
|
-
!
|
|
409
|
+
getValue: () => H.current,
|
|
410
|
+
setValue: (s) => {
|
|
411
|
+
const c = a.find((G) => G.value === s);
|
|
412
|
+
!c || c.disabled || (x || C(s), d == null || d(s));
|
|
382
413
|
},
|
|
383
414
|
clear: () => {
|
|
384
|
-
|
|
415
|
+
x || C(""), d == null || d("");
|
|
385
416
|
},
|
|
386
|
-
open: () =>
|
|
387
|
-
close: () =>
|
|
388
|
-
isOpen: () =>
|
|
417
|
+
open: () => V(!0),
|
|
418
|
+
close: () => V(!1),
|
|
419
|
+
isOpen: () => R
|
|
389
420
|
}),
|
|
390
|
-
[d,
|
|
421
|
+
[d, x, R, a]
|
|
391
422
|
);
|
|
392
|
-
return
|
|
393
|
-
|
|
423
|
+
return Be(qe, Te, h), /* @__PURE__ */ u(
|
|
424
|
+
o.Root,
|
|
394
425
|
{
|
|
395
|
-
value:
|
|
396
|
-
onValueChange:
|
|
397
|
-
open:
|
|
398
|
-
onOpenChange:
|
|
399
|
-
disabled:
|
|
400
|
-
required:
|
|
401
|
-
name:
|
|
402
|
-
|
|
426
|
+
value: l,
|
|
427
|
+
onValueChange: X,
|
|
428
|
+
open: R,
|
|
429
|
+
onOpenChange: V,
|
|
430
|
+
disabled: B,
|
|
431
|
+
required: O,
|
|
432
|
+
name: D ? void 0 : N,
|
|
433
|
+
form: D ? Qe : void 0,
|
|
434
|
+
dir: Se,
|
|
403
435
|
children: [
|
|
404
|
-
/* @__PURE__ */
|
|
405
|
-
|
|
436
|
+
/* @__PURE__ */ u(
|
|
437
|
+
o.Trigger,
|
|
406
438
|
{
|
|
407
|
-
ref:
|
|
408
|
-
id:
|
|
409
|
-
"aria-label":
|
|
410
|
-
"aria-labelledby":
|
|
411
|
-
"aria-describedby":
|
|
412
|
-
"aria-invalid":
|
|
439
|
+
ref: xe,
|
|
440
|
+
id: ve,
|
|
441
|
+
"aria-label": J,
|
|
442
|
+
"aria-labelledby": Q,
|
|
443
|
+
"aria-describedby": ye,
|
|
444
|
+
"aria-invalid": W || void 0,
|
|
445
|
+
...Ze(me),
|
|
413
446
|
"data-component": "select",
|
|
414
447
|
"data-component-id": h,
|
|
415
|
-
className:
|
|
416
|
-
size:
|
|
417
|
-
tone:
|
|
418
|
-
className:
|
|
448
|
+
className: te({
|
|
449
|
+
size: f,
|
|
450
|
+
tone: be,
|
|
451
|
+
className: w
|
|
419
452
|
}),
|
|
420
453
|
children: [
|
|
421
|
-
|
|
454
|
+
M ? /* @__PURE__ */ u("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
422
455
|
/* @__PURE__ */ e(
|
|
423
456
|
"span",
|
|
424
457
|
{
|
|
425
458
|
"aria-hidden": "true",
|
|
426
459
|
"data-select-trigger-adornment": "",
|
|
427
460
|
className: "ds:inline-flex ds:shrink-0 ds:items-center",
|
|
428
|
-
children:
|
|
461
|
+
children: M
|
|
429
462
|
}
|
|
430
463
|
),
|
|
431
|
-
/* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ e(
|
|
432
|
-
] }) : /* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ e(
|
|
433
|
-
/* @__PURE__ */
|
|
434
|
-
|
|
464
|
+
/* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ e(o.Value, { placeholder: F }) })
|
|
465
|
+
] }) : /* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ e(o.Value, { placeholder: F }) }),
|
|
466
|
+
/* @__PURE__ */ u("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
467
|
+
Ce ? /* @__PURE__ */ e(
|
|
435
468
|
"button",
|
|
436
469
|
{
|
|
437
470
|
type: "button",
|
|
438
|
-
"aria-label":
|
|
439
|
-
onClick:
|
|
440
|
-
onPointerDown: (
|
|
441
|
-
onKeyDown: (
|
|
442
|
-
(
|
|
471
|
+
"aria-label": k("inputs.select.clear", "Clear selection"),
|
|
472
|
+
onClick: we,
|
|
473
|
+
onPointerDown: (s) => s.stopPropagation(),
|
|
474
|
+
onKeyDown: (s) => {
|
|
475
|
+
(s.key === "Enter" || s.key === " ") && s.stopPropagation();
|
|
443
476
|
},
|
|
444
477
|
className: [
|
|
445
478
|
"ds:inline-flex ds:items-center ds:justify-center ds:rounded-[var(--radius-sm)]",
|
|
@@ -449,11 +482,11 @@ const se = r(function({
|
|
|
449
482
|
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
450
483
|
"ds:size-4"
|
|
451
484
|
].join(" "),
|
|
452
|
-
children: /* @__PURE__ */ e(
|
|
485
|
+
children: /* @__PURE__ */ e($e, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
453
486
|
}
|
|
454
487
|
) : null,
|
|
455
|
-
/* @__PURE__ */ e(
|
|
456
|
-
|
|
488
|
+
/* @__PURE__ */ e(o.Icon, { asChild: !0, children: /* @__PURE__ */ e(
|
|
489
|
+
ee,
|
|
457
490
|
{
|
|
458
491
|
"aria-hidden": "true",
|
|
459
492
|
className: [
|
|
@@ -467,55 +500,87 @@ const se = r(function({
|
|
|
467
500
|
]
|
|
468
501
|
}
|
|
469
502
|
),
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
503
|
+
D && (N !== void 0 || O) ? /* @__PURE__ */ u(
|
|
504
|
+
"select",
|
|
505
|
+
{
|
|
506
|
+
ref: U,
|
|
507
|
+
"data-component": "select-field",
|
|
508
|
+
"aria-hidden": !0,
|
|
509
|
+
tabIndex: -1,
|
|
510
|
+
"aria-label": J,
|
|
511
|
+
"aria-labelledby": Q,
|
|
512
|
+
name: N,
|
|
513
|
+
required: O,
|
|
514
|
+
disabled: B,
|
|
515
|
+
value: "",
|
|
516
|
+
onChange: (s) => {
|
|
517
|
+
var c;
|
|
518
|
+
s.target.value !== "" && (document.activeElement === s.target && ((c = I.current) == null || c.focus()), X(s.target.value));
|
|
519
|
+
},
|
|
520
|
+
className: "ds:sr-only",
|
|
521
|
+
children: [
|
|
522
|
+
/* @__PURE__ */ e("option", { value: "" }),
|
|
523
|
+
a.map((s) => /* @__PURE__ */ e(
|
|
524
|
+
"option",
|
|
525
|
+
{
|
|
526
|
+
value: s.value,
|
|
527
|
+
disabled: s.disabled,
|
|
528
|
+
children: s.label
|
|
529
|
+
},
|
|
530
|
+
s.value
|
|
531
|
+
))
|
|
532
|
+
]
|
|
533
|
+
}
|
|
534
|
+
) : null,
|
|
535
|
+
/* @__PURE__ */ e(L, { container: le, children: /* @__PURE__ */ e(K, { children: a.length === 0 ? /* @__PURE__ */ e("div", { className: "ds:ps-8 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: k("inputs.select.noOptions", "No options") }) : ze.map(({ group: s, items: c }, G) => {
|
|
536
|
+
const Z = c.map((g) => /* @__PURE__ */ e(
|
|
537
|
+
P,
|
|
473
538
|
{
|
|
474
|
-
value:
|
|
475
|
-
disabled:
|
|
476
|
-
size:
|
|
477
|
-
"data-option-id":
|
|
478
|
-
startAdornment:
|
|
479
|
-
endContent:
|
|
480
|
-
description:
|
|
481
|
-
children:
|
|
539
|
+
value: g.value,
|
|
540
|
+
disabled: g.disabled,
|
|
541
|
+
size: f,
|
|
542
|
+
"data-option-id": g.value,
|
|
543
|
+
startAdornment: g.startAdornment,
|
|
544
|
+
endContent: g.endContent,
|
|
545
|
+
description: pe ? g.description : void 0,
|
|
546
|
+
children: g.label
|
|
482
547
|
},
|
|
483
|
-
|
|
548
|
+
g.value
|
|
484
549
|
));
|
|
485
|
-
return
|
|
486
|
-
/* @__PURE__ */ e(
|
|
487
|
-
|
|
488
|
-
] }, `group-${
|
|
550
|
+
return s ? /* @__PURE__ */ u(o.Group, { children: [
|
|
551
|
+
/* @__PURE__ */ e($, { children: s }),
|
|
552
|
+
Z
|
|
553
|
+
] }, `group-${s}`) : /* @__PURE__ */ e(o.Group, { children: Z }, `group-${G}`);
|
|
489
554
|
}) }) })
|
|
490
555
|
]
|
|
491
556
|
}
|
|
492
557
|
);
|
|
493
558
|
});
|
|
494
|
-
|
|
495
|
-
const
|
|
496
|
-
Root:
|
|
497
|
-
Trigger:
|
|
498
|
-
Value:
|
|
499
|
-
Content:
|
|
500
|
-
Viewport:
|
|
501
|
-
Item:
|
|
502
|
-
ItemText:
|
|
503
|
-
Group:
|
|
504
|
-
Label:
|
|
505
|
-
Separator:
|
|
506
|
-
}),
|
|
559
|
+
re.displayName = "Select";
|
|
560
|
+
const et = Object.assign(re, {
|
|
561
|
+
Root: se,
|
|
562
|
+
Trigger: ae,
|
|
563
|
+
Value: ne,
|
|
564
|
+
Content: L,
|
|
565
|
+
Viewport: K,
|
|
566
|
+
Item: P,
|
|
567
|
+
ItemText: oe,
|
|
568
|
+
Group: de,
|
|
569
|
+
Label: $,
|
|
570
|
+
Separator: ie
|
|
571
|
+
}), gt = et;
|
|
507
572
|
export {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
573
|
+
gt as S,
|
|
574
|
+
L as a,
|
|
575
|
+
de as b,
|
|
576
|
+
P as c,
|
|
577
|
+
oe as d,
|
|
578
|
+
$ as e,
|
|
579
|
+
se as f,
|
|
580
|
+
ie as g,
|
|
581
|
+
ae as h,
|
|
582
|
+
ne as i,
|
|
583
|
+
K as j,
|
|
584
|
+
te as s
|
|
520
585
|
};
|
|
521
|
-
//# sourceMappingURL=select-
|
|
586
|
+
//# sourceMappingURL=select-DHPmASkG.js.map
|