@alfadocs/ui-kit 0.63.0 → 0.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{agenda-tray-DA6qj8BL.js → agenda-tray-Bh1KfEOG.js} +2 -2
- package/dist/_chunks/{ai-consent-banner-DBKV27je.js → ai-consent-banner-Btzmk8OH.js} +3 -2
- package/dist/_chunks/{ai-prompt-input-C6sCr1Vi.js → ai-prompt-input-BwEACCPm.js} +3 -3
- package/dist/_chunks/{ai-tools-rail-7tC3GT4h.js → ai-tools-rail-JnlTqfS4.js} +2 -2
- package/dist/_chunks/{alia-sidebar-DlvyXgVC.js → alia-sidebar-CN8pA6c-.js} +7 -7
- package/dist/_chunks/{anamnesis-card-CmkBVAln.js → anamnesis-card-qeLYRG79.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-CdiqkF05.js → antenatal-schedule-timeline-BfzFjEyb.js} +3 -3
- package/dist/_chunks/{appointment-tray-BwDHhWWC.js → appointment-tray-BQnJEora.js} +2 -2
- package/dist/_chunks/{ar-C68WKG5a.js → ar-Cn5Fq48Z.js} +2 -2
- package/dist/_chunks/{audio-recorder-D6OVfNiZ.js → audio-recorder-DjXLP4aF.js} +3 -3
- package/dist/_chunks/{autocomplete-CDqxB68B.js → autocomplete-CcCFlVf-.js} +4 -4
- package/dist/_chunks/{bishop-score-B9tvgoIq.js → bishop-score-x2fNqbuZ.js} +3 -3
- package/dist/_chunks/{bmi-calculator-DA2NGmVK.js → bmi-calculator-C3roxbqD.js} +2 -2
- package/dist/_chunks/{booking-BUV9fspj.js → booking-L8-YP8BJ.js} +149 -149
- package/dist/_chunks/calendar-B6soK1Yb.js +17 -0
- package/dist/_chunks/{calendar-CkuJIg3s.js → calendar-oYWOCrnf.js} +1 -1
- package/dist/_chunks/{care-plan-card-QmNpGggC.js → care-plan-card-D42WD4-T.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-Cnra7vUc.js → care-plan-entry-card-BukNI7Uy.js} +2 -2
- package/dist/_chunks/{carousel.agent-DrX96W-1.js → carousel.agent-vt21A_el.js} +2 -2
- package/dist/_chunks/{chat-input-CFwc7JxL.js → chat-input-B5zjNEUN.js} +2 -2
- package/dist/_chunks/{chat-message-Dm8U2RY1.js → chat-message-3V54YipB.js} +2 -2
- package/dist/_chunks/{code-block-HoddNOKJ.js → code-block-BBWHhIc8.js} +2 -2
- package/dist/_chunks/{contact-profile-card-DvvVfAA2.js → contact-profile-card-CCeJmjbd.js} +2 -2
- package/dist/_chunks/{cycle-calculator-C_t1Hs8V.js → cycle-calculator-DrVXbIB4.js} +4 -4
- package/dist/_chunks/{date-picker-BfHblqwA.js → date-picker-oGg5BnXL.js} +12 -11
- package/dist/_chunks/{date-picker-variants-CXEAx3O_.js → date-picker-variants-DAcSLTua.js} +358 -372
- package/dist/_chunks/{date-range-picker-hcAMs1wO.js → date-range-picker-C5BWfH_T.js} +34 -25
- package/dist/_chunks/{date-time-picker-H-3Pwqlb.js → date-time-picker-Ze1My59T.js} +18 -17
- package/dist/_chunks/{de-DK4A9_a8.js → de-CrJs4ZsX.js} +2 -2
- package/dist/_chunks/{description-list-BEbK2g93.js → description-list-gkNGWk5G.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Q8MIwEVV.js → due-date-calculator-D4K1BnE2.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-D5C5tCfu.js → editable-currency-cell-renderer-CFqQc56y.js} +305 -295
- package/dist/_chunks/editor-overlay-wYm22wZK.js +88 -0
- package/dist/_chunks/{el-B29HXhG5.js → el-DHdMOIhL.js} +6 -6
- package/dist/_chunks/{es-BOwPVwWn.js → es-DCATCfqo.js} +2 -2
- package/dist/_chunks/{fetal-weight-D1a6BmM-.js → fetal-weight-B_pBjlO7.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-BZ0FxwUl.js → fiscal-code-input-DPtqluVb.js} +2 -2
- package/dist/_chunks/{fr-DoDBtn0T.js → fr-BfGEMshF.js} +2 -2
- package/dist/_chunks/{freemium-paywall-gHGA44dW.js → freemium-paywall-CkWjv3o6.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-AkNFfZYs.js → gestational-age-calculator-BETQAVkA.js} +7 -7
- package/dist/_chunks/{hcg-doubling-Dg0Hr7ey.js → hcg-doubling-8zXCJgAQ.js} +3 -3
- package/dist/_chunks/{header-Ce1Br27u.js → header-CNszv2WQ.js} +2 -2
- package/dist/_chunks/{header-settings-D5Z2B_Yz.js → header-settings-CNOqIhoW.js} +3 -3
- package/dist/_chunks/{hi-DGByrKby.js → hi-CBFRXEIm.js} +2 -2
- package/dist/_chunks/icon-button-LqoiKcUN.js +78 -0
- package/dist/_chunks/{insert-result-C1SYdueh.js → insert-result-DIAG3ltJ.js} +115 -136
- package/dist/_chunks/{isSameWeek-B1odL2vR.js → isSameWeek-I3DfXUp1.js} +2 -2
- package/dist/_chunks/{it-B16rEecm.js → it-nz6vAKwG.js} +7 -7
- package/dist/_chunks/{ja-B0viOgft.js → ja-DQcqdAEJ.js} +2 -2
- package/dist/_chunks/{key-value-pair-CkQIb9EG.js → key-value-pair-BrgbMfbF.js} +2 -2
- package/dist/_chunks/{locale-picker-D99UyZVJ.js → locale-picker-C9JmBht3.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-C4OYAC22.js → marketplace-app-shell-BXfRMiRk.js} +4 -4
- package/dist/_chunks/{message-card-Dvl1TgaN.js → message-card-Bgcvfj6-.js} +2 -2
- package/dist/_chunks/{message-tray-Dl6GQaaV.js → message-tray-saAVMeHP.js} +3 -3
- package/dist/_chunks/{multi-select-DOLO3K_z.js → multi-select-BcPylvHR.js} +100 -90
- package/dist/_chunks/{nl-cBxEX2QU.js → nl-L5SuDjyl.js} +2 -2
- package/dist/_chunks/{notification-card-CObnGdJu.js → notification-card-BiESdm8q.js} +2 -2
- package/dist/_chunks/{notification-tray-BWHDIjgd.js → notification-tray-DlgenTEe.js} +3 -3
- package/dist/_chunks/{patient-search-CArmRKeg.js → patient-search-Bw9ONucF.js} +2 -2
- package/dist/_chunks/{patient-shell-Coarf346.js → patient-shell-CF_qon7C.js} +3 -3
- package/dist/_chunks/{patient-summary-card-BnTqxcTr.js → patient-summary-card-Bgso0p_l.js} +2 -2
- package/dist/_chunks/{payment-form-DJ9vnzrT.js → payment-form-nXocS_MX.js} +11 -4
- package/dist/_chunks/{payment-request-card-B_lyobd0.js → payment-request-card-DBz3hVDz.js} +3 -3
- package/dist/_chunks/{pdf-viewer-chMpwpA4.js → pdf-viewer-GsfNqeeT.js} +3 -3
- package/dist/_chunks/{periodontal-chart-card-BYs9hax1.js → periodontal-chart-card-AYyHtU9K.js} +2 -2
- package/dist/_chunks/phone-input-DVXhNlIl.js +563 -0
- package/dist/_chunks/{pl-DtS08ioY.js → pl-YAn5z2wR.js} +3 -3
- package/dist/_chunks/{popover-Devce-tT.js → popover-DTbfAuR0.js} +2 -2
- package/dist/_chunks/{practice-results-CtfciF2v.js → practice-results-CVAgY2RZ.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-Dg6dTe1p.js → pregnancy-dating-BuzLTwjy.js} +7 -7
- package/dist/_chunks/{pregnancy-weight-gain-DI7X-0JX.js → pregnancy-weight-gain-aicn7qs7.js} +2 -2
- package/dist/_chunks/{privacy-lock-BN3L-alb.js → privacy-lock-C7JyMf0y.js} +2 -2
- package/dist/_chunks/{product-hub-panel-CkfZBA3t.js → product-hub-panel-CAXDFeGP.js} +2 -2
- package/dist/_chunks/{pt-yFXs1VvH.js → pt-D9xdT5KQ.js} +6 -6
- package/dist/_chunks/{public-header.agent-CYQK6T6F.js → public-header.agent-BOhJgZEU.js} +3 -3
- package/dist/_chunks/{reviews-panel-CPrXu5TX.js → reviews-panel-DBktKm7i.js} +2 -2
- package/dist/_chunks/rich-text-editor-u36FqSWz.js +1190 -0
- package/dist/_chunks/{ro-DsCzSrzR.js → ro-Cp--52bT.js} +2 -2
- package/dist/_chunks/{ru-DgDxL0pc.js → ru-BM8eX_Zz.js} +3 -3
- package/dist/_chunks/{search-bar-CvN_S0jW.js → search-bar-SY2BcV2N.js} +2 -2
- package/dist/_chunks/{search-input-D3aMvi4l.js → search-input-DbxrnHkW.js} +3 -3
- package/dist/_chunks/{select-hsCaJSX3.js → select-CEtRcon5.js} +46 -45
- package/dist/_chunks/{sheet-xbzu4YiY.js → sheet-taJer-Ha.js} +2 -2
- package/dist/_chunks/{sign-document--nr5cxsB.js → sign-document-CdAiHiCh.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-BpAjVmsI.js → sign-in-with-alfadocs-button-LppxjlFt.js} +2 -2
- package/dist/_chunks/{signature-field-DbhbpLha.js → signature-field-Dy1JRjzE.js} +10 -3
- package/dist/_chunks/{slot-grid-BlHHP9Qy.js → slot-grid-FsqumOaS.js} +2 -2
- package/dist/_chunks/smart-date-CWikAqZx.js +114 -0
- package/dist/_chunks/{social-sign-in-button-uJYLM366.js → social-sign-in-button-dlpPI5l7.js} +2 -2
- package/dist/_chunks/{spinner-OjQNn8oN.js → spinner-hbwuKwMf.js} +10 -10
- package/dist/_chunks/{sq-DHlCYN67.js → sq-XRpr0r49.js} +6 -6
- package/dist/_chunks/{streaming-text-CfhDqtIT.js → streaming-text-BB9mvK4m.js} +2 -2
- package/dist/_chunks/subDays-BcYv1Lxi.js +8 -0
- package/dist/_chunks/{sv-O0QaQs_s.js → sv-Z3APomE8.js} +2 -2
- package/dist/_chunks/{tabs-BpPYVme_.js → tabs-BIQ0ew1T.js} +2 -2
- package/dist/_chunks/{task-tray-Cb_hK4yb.js → task-tray-CAncV-QQ.js} +2 -2
- package/dist/_chunks/{theme-toggle-DAW7uC0B.js → theme-toggle-DETmSu_h.js} +2 -2
- package/dist/_chunks/{toast.agent-B0MCsvdZ.js → toast.agent-vuLRRn2a.js} +2 -2
- package/dist/_chunks/tooth-scheme-BIx1O2aJ.js +1257 -0
- package/dist/_chunks/{tr-BmNDRuio.js → tr-e0-P4FON.js} +2 -2
- package/dist/_chunks/{transcript-panel-B4HiC7ed.js → transcript-panel-CLHmv83g.js} +2 -2
- package/dist/_chunks/type-DZ5OMRA2.js +28 -0
- package/dist/_chunks/{unit-converter-3sINXO3m.js → unit-converter-CHN2cZ4b.js} +3 -3
- package/dist/_chunks/{wallet-pay-button-DuDPBlCO.js → wallet-pay-button--dnR6NfJ.js} +2 -2
- package/dist/_chunks/{workflow-map-BJDUNYlX.js → workflow-map-BX3JY1Bu.js} +3 -3
- package/dist/_chunks/{zh-CN-CgVJZEzz.js → zh-CN-B-igM5gY.js} +3 -3
- package/dist/agent-catalog.json +72 -4
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/ai-tools-rail/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/audio-recorder/index.js +1 -1
- 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/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/calendar/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/carousel/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/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/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/due-date-calculator/index.js +2 -2
- package/dist/components/editor-overlay/editor-overlay.d.ts +19 -0
- package/dist/components/editor-overlay/index.d.ts +3 -0
- package/dist/components/editor-overlay/index.js +5 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/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/notification-card/index.js +1 -1
- package/dist/components/notification-tray/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/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.d.ts +9 -0
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +16 -0
- package/dist/components/rich-text-editor/help-me-write-overlay.d.ts +25 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +43 -0
- 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 +8 -0
- 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/slot-grid/index.js +1 -1
- package/dist/components/smart-date/index.d.ts +3 -0
- package/dist/components/smart-date/index.js +5 -0
- package/dist/components/smart-date/smart-date.d.ts +32 -0
- package/dist/components/social-sign-in-button/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tooth-scheme/index.d.ts +2 -2
- package/dist/components/tooth-scheme/index.js +22 -15
- package/dist/components/tooth-scheme/tooth-data.d.ts +79 -18
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -0
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +48 -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/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +61 -0
- package/dist/i18n/locales/ar.js +63 -2
- package/dist/i18n/locales/de.d.ts +61 -0
- package/dist/i18n/locales/de.js +63 -2
- package/dist/i18n/locales/el.d.ts +61 -0
- package/dist/i18n/locales/el.js +63 -2
- package/dist/i18n/locales/en.d.ts +61 -0
- package/dist/i18n/locales/en.js +67 -2
- package/dist/i18n/locales/es.d.ts +61 -0
- package/dist/i18n/locales/es.js +63 -2
- package/dist/i18n/locales/fr.d.ts +61 -0
- package/dist/i18n/locales/fr.js +63 -2
- package/dist/i18n/locales/hi.d.ts +61 -0
- package/dist/i18n/locales/hi.js +63 -2
- package/dist/i18n/locales/it.d.ts +61 -0
- package/dist/i18n/locales/it.js +63 -2
- package/dist/i18n/locales/ja.d.ts +61 -0
- package/dist/i18n/locales/ja.js +63 -2
- package/dist/i18n/locales/nl.d.ts +61 -0
- package/dist/i18n/locales/nl.js +63 -2
- package/dist/i18n/locales/pl.d.ts +61 -0
- package/dist/i18n/locales/pl.js +63 -2
- package/dist/i18n/locales/pt.d.ts +61 -0
- package/dist/i18n/locales/pt.js +63 -2
- package/dist/i18n/locales/ro.d.ts +61 -0
- package/dist/i18n/locales/ro.js +63 -2
- package/dist/i18n/locales/ru.d.ts +61 -0
- package/dist/i18n/locales/ru.js +63 -2
- package/dist/i18n/locales/sq.d.ts +61 -0
- package/dist/i18n/locales/sq.js +63 -2
- package/dist/i18n/locales/sv.d.ts +61 -0
- package/dist/i18n/locales/sv.js +63 -2
- package/dist/i18n/locales/tr.d.ts +61 -0
- package/dist/i18n/locales/tr.js +63 -2
- package/dist/i18n/locales/zh.d.ts +61 -0
- package/dist/i18n/locales/zh.js +63 -2
- package/dist/index.js +511 -500
- package/dist/locales/ar.json +63 -2
- package/dist/locales/de.json +63 -2
- package/dist/locales/el.json +63 -2
- package/dist/locales/en.json +63 -2
- package/dist/locales/es.json +63 -2
- package/dist/locales/fr.json +63 -2
- package/dist/locales/hi.json +63 -2
- package/dist/locales/it.json +63 -2
- package/dist/locales/ja.json +63 -2
- package/dist/locales/nl.json +63 -2
- package/dist/locales/pl.json +63 -2
- package/dist/locales/pt.json +63 -2
- package/dist/locales/ro.json +63 -2
- package/dist/locales/ru.json +63 -2
- package/dist/locales/sq.json +63 -2
- package/dist/locales/sv.json +63 -2
- package/dist/locales/tr.json +63 -2
- package/dist/locales/zh.json +63 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +36 -22
- package/package.json +10 -1
- package/dist/_chunks/icon-button-CKEOrN37.js +0 -70
- package/dist/_chunks/phone-input-DfZbPPvh.js +0 -525
- package/dist/_chunks/rich-text-editor-B03qM22-.js +0 -334
- package/dist/_chunks/subDays-Bs00akhK.js +0 -8
- package/dist/_chunks/tooth-scheme-CxlsLjfN.js +0 -753
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as m, q as t, r as n, v as s } from "./date-picker-variants-DAcSLTua.js";
|
|
2
2
|
const d = {
|
|
3
3
|
lessThanXSeconds: {
|
|
4
4
|
one: "mai puțin de o secundă",
|
|
@@ -358,4 +358,4 @@ const d = {
|
|
|
358
358
|
export {
|
|
359
359
|
N as ro
|
|
360
360
|
};
|
|
361
|
-
//# sourceMappingURL=ro-
|
|
361
|
+
//# sourceMappingURL=ro-Cp--52bT.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as d } from "./isSameWeek-
|
|
1
|
+
import { o as s, q as u, r as o, v as g } from "./date-picker-variants-DAcSLTua.js";
|
|
2
|
+
import { i as d } from "./isSameWeek-I3DfXUp1.js";
|
|
3
3
|
function l(e, t) {
|
|
4
4
|
if (e.one !== void 0 && t === 1)
|
|
5
5
|
return e.one;
|
|
@@ -558,4 +558,4 @@ const P = {
|
|
|
558
558
|
export {
|
|
559
559
|
B as ru
|
|
560
560
|
};
|
|
561
|
-
//# sourceMappingURL=ru-
|
|
561
|
+
//# sourceMappingURL=ru-BM8eX_Zz.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as te, useState as _, useEffect as F, useRef as j, useMemo a
|
|
|
3
3
|
import { c as A } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as U } from "react-i18next";
|
|
5
5
|
import * as q from "@radix-ui/react-popover";
|
|
6
|
-
import { S as oe } from "./search-input-
|
|
6
|
+
import { S as oe } from "./search-input-DbxrnHkW.js";
|
|
7
7
|
import { u as W } from "./registry-nPAVE19X.js";
|
|
8
8
|
import { n as O } from "./normalize-diacritics-BNGbFNlJ.js";
|
|
9
9
|
import { S as ie } from "./search-BonnQsHv.js";
|
|
@@ -582,4 +582,4 @@ export {
|
|
|
582
582
|
Ie as f,
|
|
583
583
|
J as s
|
|
584
584
|
};
|
|
585
|
-
//# sourceMappingURL=search-bar-
|
|
585
|
+
//# sourceMappingURL=search-bar-SY2BcV2N.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as ie, useState as F, useRef as K, useCallback as V, useImpe
|
|
|
3
3
|
import { c as x } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as le } from "react-i18next";
|
|
5
5
|
import { T as ce } from "./text-input-BaClJL8Y.js";
|
|
6
|
-
import { S as ue } from "./spinner-
|
|
6
|
+
import { S as ue } from "./spinner-hbwuKwMf.js";
|
|
7
7
|
import { u as fe } from "./form-field-context-B3APVHKx.js";
|
|
8
8
|
import { u as me } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
9
9
|
import { u as be } from "./use-debounced-callback-BisrB-Fq.js";
|
|
@@ -171,7 +171,7 @@ const Ee = ie(
|
|
|
171
171
|
"aria-expanded": v["aria-expanded"],
|
|
172
172
|
"aria-controls": v["aria-controls"],
|
|
173
173
|
"aria-activedescendant": v["aria-activedescendant"]
|
|
174
|
-
} : void 0, R = k && !b && !w, ae = b ? /* @__PURE__ */ t(ue, { size: "sm", label: A }) : R ? /* @__PURE__ */ t("span", { className: "ds:inline-block ds:size-4", "aria-hidden": "true" }) : void 0;
|
|
174
|
+
} : void 0, R = k && !b && !w, ae = b ? /* @__PURE__ */ t(ue, { variant: "pulse", size: "sm", label: A }) : R ? /* @__PURE__ */ t("span", { className: "ds:inline-block ds:size-4", "aria-hidden": "true" }) : void 0;
|
|
175
175
|
return /* @__PURE__ */ ne(
|
|
176
176
|
"div",
|
|
177
177
|
{
|
|
@@ -234,4 +234,4 @@ Ee.displayName = "SearchInput";
|
|
|
234
234
|
export {
|
|
235
235
|
Ee as S
|
|
236
236
|
};
|
|
237
|
-
//# sourceMappingURL=search-input-
|
|
237
|
+
//# sourceMappingURL=search-input-DbxrnHkW.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t, jsxs as f } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as a, useContext as
|
|
2
|
+
import { forwardRef as a, useContext as fe, useState as P, useRef as G, useMemo as ge } from "react";
|
|
3
3
|
import * as o from "@radix-ui/react-select";
|
|
4
4
|
import { c as z } from "./index-D2ZczOXr.js";
|
|
5
|
-
import { useTranslation as
|
|
6
|
-
import { u as
|
|
7
|
-
import { g as
|
|
8
|
-
import { C as
|
|
5
|
+
import { useTranslation as he } from "react-i18next";
|
|
6
|
+
import { u as ve, F as be } from "./form-field-context-B3APVHKx.js";
|
|
7
|
+
import { g as ye } from "./group-options-BvKhQ3xb.js";
|
|
8
|
+
import { C as Se } from "./chevron-up-zOEDrmBB.js";
|
|
9
9
|
import { C as q } from "./chevron-down-BX_NP2Yh.js";
|
|
10
|
-
import { C as
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import { X as
|
|
14
|
-
const
|
|
10
|
+
import { C as xe } from "./check-DPdL_Sm7.js";
|
|
11
|
+
import { u as Ne } from "./use-direction-Dp8h70PP.js";
|
|
12
|
+
import { u as Ce } from "./registry-nPAVE19X.js";
|
|
13
|
+
import { X as we } from "./x-CCcI3eJp.js";
|
|
14
|
+
const ze = {
|
|
15
15
|
id: "select",
|
|
16
16
|
capabilities: ["select_single", "open", "close"],
|
|
17
17
|
state: {
|
|
@@ -109,7 +109,7 @@ const we = {
|
|
|
109
109
|
tone: "default"
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
),
|
|
112
|
+
), Ie = z(
|
|
113
113
|
[
|
|
114
114
|
"ds:z-[var(--z-dropdown)] ds:overflow-hidden",
|
|
115
115
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
|
|
@@ -121,7 +121,7 @@ const we = {
|
|
|
121
121
|
"ds:data-[side=top]:slide-in-from-bottom-2",
|
|
122
122
|
"ds:motion-reduce:animate-none"
|
|
123
123
|
].join(" ")
|
|
124
|
-
),
|
|
124
|
+
), je = z(
|
|
125
125
|
[
|
|
126
126
|
"ds:relative ds:flex ds:cursor-pointer ds:items-center",
|
|
127
127
|
"ds:rounded-[var(--radius-sm)]",
|
|
@@ -141,20 +141,20 @@ const we = {
|
|
|
141
141
|
size: "md"
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
),
|
|
144
|
+
), Ve = [
|
|
145
145
|
"ds:ps-8 ds:pe-3 ds:py-1.5",
|
|
146
146
|
"type-eyebrow ds:text-muted-foreground",
|
|
147
147
|
"ds:sticky ds:top-0 ds:bg-background"
|
|
148
|
-
].join(" "),
|
|
148
|
+
].join(" "), ke = {
|
|
149
149
|
sm: "ds:size-3.5",
|
|
150
150
|
md: "ds:size-4",
|
|
151
151
|
lg: "ds:size-5"
|
|
152
|
-
},
|
|
152
|
+
}, Te = {
|
|
153
153
|
sm: "ds:start-2",
|
|
154
154
|
md: "ds:start-2",
|
|
155
155
|
lg: "ds:start-3"
|
|
156
156
|
};
|
|
157
|
-
function
|
|
157
|
+
function Re(...e) {
|
|
158
158
|
return (s) => {
|
|
159
159
|
for (const n of e)
|
|
160
160
|
n && (typeof n == "function" ? n(s) : n.current = s);
|
|
@@ -191,10 +191,10 @@ const I = a(
|
|
|
191
191
|
position: n,
|
|
192
192
|
sideOffset: r,
|
|
193
193
|
"data-component": "select-content",
|
|
194
|
-
className:
|
|
194
|
+
className: Ie({ className: e }),
|
|
195
195
|
...c,
|
|
196
196
|
children: [
|
|
197
|
-
/* @__PURE__ */ t(o.ScrollUpButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ t(
|
|
197
|
+
/* @__PURE__ */ t(o.ScrollUpButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ t(Se, { "aria-hidden": "true", className: "ds:size-4" }) }),
|
|
198
198
|
s,
|
|
199
199
|
/* @__PURE__ */ t(o.ScrollDownButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ t(q, { "aria-hidden": "true", className: "ds:size-4" }) })
|
|
200
200
|
]
|
|
@@ -212,12 +212,12 @@ const j = a(({ className: e, ...s }, n) => /* @__PURE__ */ t(
|
|
|
212
212
|
));
|
|
213
213
|
j.displayName = "Select.Viewport";
|
|
214
214
|
const V = a(({ size: e = "md", className: s, children: n, ...r }, l) => {
|
|
215
|
-
const c =
|
|
215
|
+
const c = Te[e ?? "md"], g = ke[e ?? "md"];
|
|
216
216
|
return /* @__PURE__ */ f(
|
|
217
217
|
o.Item,
|
|
218
218
|
{
|
|
219
219
|
ref: l,
|
|
220
|
-
className:
|
|
220
|
+
className: je({ size: e, className: s }),
|
|
221
221
|
...r,
|
|
222
222
|
children: [
|
|
223
223
|
/* @__PURE__ */ t(
|
|
@@ -225,7 +225,7 @@ const V = a(({ size: e = "md", className: s, children: n, ...r }, l) => {
|
|
|
225
225
|
{
|
|
226
226
|
className: `ds:absolute ${c} ds:inline-flex ds:items-center ds:justify-center`,
|
|
227
227
|
"aria-hidden": "true",
|
|
228
|
-
children: /* @__PURE__ */ t(o.ItemIndicator, { children: /* @__PURE__ */ t(
|
|
228
|
+
children: /* @__PURE__ */ t(o.ItemIndicator, { children: /* @__PURE__ */ t(xe, { className: g }) })
|
|
229
229
|
}
|
|
230
230
|
),
|
|
231
231
|
/* @__PURE__ */ t(o.ItemText, { children: n })
|
|
@@ -242,7 +242,7 @@ const k = a(({ className: e, ...s }, n) => /* @__PURE__ */ t(
|
|
|
242
242
|
o.Label,
|
|
243
243
|
{
|
|
244
244
|
ref: n,
|
|
245
|
-
className: [
|
|
245
|
+
className: [Ve, e].filter(Boolean).join(" "),
|
|
246
246
|
...s
|
|
247
247
|
}
|
|
248
248
|
));
|
|
@@ -270,18 +270,19 @@ const _ = a(function({
|
|
|
270
270
|
size: T = "md",
|
|
271
271
|
tone: Q = "default",
|
|
272
272
|
className: Y,
|
|
273
|
+
container: Z,
|
|
273
274
|
"aria-label": R
|
|
274
|
-
},
|
|
275
|
-
const { t: x } =
|
|
275
|
+
}, ee) {
|
|
276
|
+
const { t: x } = he(), u = ve(), p = fe(be) !== null, [te, b] = P(
|
|
276
277
|
n ?? r ?? ""
|
|
277
|
-
), m = n !== void 0, h = m ? n :
|
|
278
|
+
), m = n !== void 0, h = m ? n : te, [N, C] = P(!1), B = G(h);
|
|
278
279
|
B.current = h;
|
|
279
|
-
const
|
|
280
|
+
const se = S ?? (p ? u.id : void 0), O = (p ? u.disabled : !1) || !!E, oe = (p ? u.required : !1) || !!X, D = p ? u.invalid : !1, ne = D ? "error" : Q, de = p && u.describedBy ? u.describedBy : void 0, w = G(null), ie = Re(ee, w), ae = Ne(w), i = l, re = (d) => {
|
|
280
281
|
m || b(d), i == null || i(d);
|
|
281
|
-
},
|
|
282
|
+
}, le = (d) => {
|
|
282
283
|
var y;
|
|
283
284
|
d.preventDefault(), d.stopPropagation(), m || b(""), i == null || i(""), (y = w.current) == null || y.focus();
|
|
284
|
-
}, F = c ?? x("inputs.select.placeholder", "Select…"),
|
|
285
|
+
}, F = c ?? x("inputs.select.placeholder", "Select…"), ce = g && !!h && !O, ue = ye(s), pe = ge(
|
|
285
286
|
() => ({
|
|
286
287
|
getValue: () => B.current,
|
|
287
288
|
setValue: (d) => {
|
|
@@ -296,43 +297,43 @@ const _ = a(function({
|
|
|
296
297
|
}),
|
|
297
298
|
[i, m, N]
|
|
298
299
|
);
|
|
299
|
-
return
|
|
300
|
+
return Ce(ze, pe, S), /* @__PURE__ */ f(
|
|
300
301
|
o.Root,
|
|
301
302
|
{
|
|
302
303
|
value: h === "" ? void 0 : h,
|
|
303
|
-
onValueChange:
|
|
304
|
+
onValueChange: re,
|
|
304
305
|
open: N,
|
|
305
306
|
onOpenChange: C,
|
|
306
307
|
disabled: O,
|
|
307
|
-
required:
|
|
308
|
+
required: oe,
|
|
308
309
|
name: J,
|
|
309
|
-
dir:
|
|
310
|
+
dir: ae,
|
|
310
311
|
children: [
|
|
311
312
|
/* @__PURE__ */ f(
|
|
312
313
|
o.Trigger,
|
|
313
314
|
{
|
|
314
|
-
ref:
|
|
315
|
-
id:
|
|
315
|
+
ref: ie,
|
|
316
|
+
id: se,
|
|
316
317
|
"aria-label": R ?? (p ? void 0 : F),
|
|
317
318
|
"aria-labelledby": !R && p ? `${u.id}-label` : void 0,
|
|
318
|
-
"aria-describedby":
|
|
319
|
+
"aria-describedby": de,
|
|
319
320
|
"aria-invalid": D || void 0,
|
|
320
321
|
"data-component": "select",
|
|
321
322
|
"data-component-id": S,
|
|
322
323
|
className: L({
|
|
323
324
|
size: T,
|
|
324
|
-
tone:
|
|
325
|
+
tone: ne,
|
|
325
326
|
className: Y
|
|
326
327
|
}),
|
|
327
328
|
children: [
|
|
328
329
|
/* @__PURE__ */ t(o.Value, { placeholder: F }),
|
|
329
330
|
/* @__PURE__ */ f("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
330
|
-
|
|
331
|
+
ce ? /* @__PURE__ */ t(
|
|
331
332
|
"button",
|
|
332
333
|
{
|
|
333
334
|
type: "button",
|
|
334
335
|
"aria-label": x("inputs.select.clear", "Clear selection"),
|
|
335
|
-
onClick:
|
|
336
|
+
onClick: le,
|
|
336
337
|
onPointerDown: (d) => d.stopPropagation(),
|
|
337
338
|
onKeyDown: (d) => {
|
|
338
339
|
(d.key === "Enter" || d.key === " ") && d.stopPropagation();
|
|
@@ -345,7 +346,7 @@ const _ = a(function({
|
|
|
345
346
|
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
346
347
|
"ds:size-4"
|
|
347
348
|
].join(" "),
|
|
348
|
-
children: /* @__PURE__ */ t(
|
|
349
|
+
children: /* @__PURE__ */ t(we, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
349
350
|
}
|
|
350
351
|
) : null,
|
|
351
352
|
/* @__PURE__ */ t(o.Icon, { asChild: !0, children: /* @__PURE__ */ t(
|
|
@@ -363,7 +364,7 @@ const _ = a(function({
|
|
|
363
364
|
]
|
|
364
365
|
}
|
|
365
366
|
),
|
|
366
|
-
/* @__PURE__ */ t(I, { children: /* @__PURE__ */ t(j, { children: s.length === 0 ? /* @__PURE__ */ t("div", { className: "ds:ps-8 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: x("inputs.select.noOptions", "No options") }) :
|
|
367
|
+
/* @__PURE__ */ t(I, { container: Z, children: /* @__PURE__ */ t(j, { children: s.length === 0 ? /* @__PURE__ */ t("div", { className: "ds:ps-8 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: x("inputs.select.noOptions", "No options") }) : ue.map(({ group: d, items: y }, me) => {
|
|
367
368
|
const K = y.map((v) => /* @__PURE__ */ t(
|
|
368
369
|
V,
|
|
369
370
|
{
|
|
@@ -378,14 +379,14 @@ const _ = a(function({
|
|
|
378
379
|
return d ? /* @__PURE__ */ f(o.Group, { children: [
|
|
379
380
|
/* @__PURE__ */ t(k, { children: d }),
|
|
380
381
|
K
|
|
381
|
-
] }, `group-${d}`) : /* @__PURE__ */ t(o.Group, { children: K }, `group-${
|
|
382
|
+
] }, `group-${d}`) : /* @__PURE__ */ t(o.Group, { children: K }, `group-${me}`);
|
|
382
383
|
}) }) })
|
|
383
384
|
]
|
|
384
385
|
}
|
|
385
386
|
);
|
|
386
387
|
});
|
|
387
388
|
_.displayName = "Select";
|
|
388
|
-
const
|
|
389
|
+
const Be = Object.assign(_, {
|
|
389
390
|
Root: $,
|
|
390
391
|
Trigger: A,
|
|
391
392
|
Value: H,
|
|
@@ -396,9 +397,9 @@ const Re = Object.assign(_, {
|
|
|
396
397
|
Group: U,
|
|
397
398
|
Label: k,
|
|
398
399
|
Separator: W
|
|
399
|
-
}),
|
|
400
|
+
}), Ue = Be;
|
|
400
401
|
export {
|
|
401
|
-
|
|
402
|
+
Ue as S,
|
|
402
403
|
I as a,
|
|
403
404
|
U as b,
|
|
404
405
|
V as c,
|
|
@@ -410,4 +411,4 @@ export {
|
|
|
410
411
|
H as i,
|
|
411
412
|
j
|
|
412
413
|
};
|
|
413
|
-
//# sourceMappingURL=select-
|
|
414
|
+
//# sourceMappingURL=select-CEtRcon5.js.map
|
|
@@ -3,7 +3,7 @@ import { useState as R, useRef as B, useEffect as T, useCallback as I, useMemo a
|
|
|
3
3
|
import * as d from "@radix-ui/react-dialog";
|
|
4
4
|
import { c as H } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { useTranslation as E } from "react-i18next";
|
|
6
|
-
import { I as F } from "./icon-button-
|
|
6
|
+
import { I as F } from "./icon-button-LqoiKcUN.js";
|
|
7
7
|
import { u as L } from "./registry-nPAVE19X.js";
|
|
8
8
|
import { X as V } from "./x-CCcI3eJp.js";
|
|
9
9
|
const P = {
|
|
@@ -268,4 +268,4 @@ export {
|
|
|
268
268
|
W as S,
|
|
269
269
|
P as s
|
|
270
270
|
};
|
|
271
|
-
//# sourceMappingURL=sheet-
|
|
271
|
+
//# sourceMappingURL=sheet-taJer-Ha.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as ce, useId as le, useMemo as G, useRef as L, useState as x, useEffect as _, useCallback as l, useImperativeHandle as ue } from "react";
|
|
3
3
|
import { c as i } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as me } from "react-i18next";
|
|
5
|
-
import { P as ge } from "./pdf-viewer-
|
|
5
|
+
import { P as ge } from "./pdf-viewer-GsfNqeeT.js";
|
|
6
6
|
import { S as pe } from "./signature-capture-COi0Uiqu.js";
|
|
7
7
|
import { u as fe } from "./registry-nPAVE19X.js";
|
|
8
8
|
import { C as J } from "./circle-check-9AeSgJD_.js";
|
|
@@ -341,4 +341,4 @@ export {
|
|
|
341
341
|
je as S,
|
|
342
342
|
ve as s
|
|
343
343
|
};
|
|
344
|
-
//# sourceMappingURL=sign-document
|
|
344
|
+
//# sourceMappingURL=sign-document-CdAiHiCh.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as L, useRef as c, useEffect as b } from "react";
|
|
|
3
3
|
import { useTranslation as y } from "react-i18next";
|
|
4
4
|
import { B as E } from "./button-DD_0Xdmr.js";
|
|
5
5
|
import { L as I } from "./logo-1FuSGx0n.js";
|
|
6
|
-
import { S as g } from "./spinner-
|
|
6
|
+
import { S as g } from "./spinner-hbwuKwMf.js";
|
|
7
7
|
const A = /* @__PURE__ */ new Set([
|
|
8
8
|
"primary",
|
|
9
9
|
"secondary",
|
|
@@ -46,4 +46,4 @@ B.displayName = "SignInWithAlfadocsButton";
|
|
|
46
46
|
export {
|
|
47
47
|
B as S
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=sign-in-with-alfadocs-button-
|
|
49
|
+
//# sourceMappingURL=sign-in-with-alfadocs-button-LppxjlFt.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as s, jsxs as f, Fragment as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as k } from "react";
|
|
3
3
|
import { c as y } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as C } from "react-i18next";
|
|
5
|
-
import { S as _ } from "./spinner-
|
|
5
|
+
import { S as _ } from "./spinner-hbwuKwMf.js";
|
|
6
6
|
import { C as T } from "./check-DPdL_Sm7.js";
|
|
7
7
|
import { c as w } from "./createLucideIcon-CrFbzy84.js";
|
|
8
8
|
/**
|
|
@@ -145,7 +145,14 @@ const S = [
|
|
|
145
145
|
// Decorative: the button's aria-label + aria-busy are the single
|
|
146
146
|
// source of the status announcement, so the Spinner's own
|
|
147
147
|
// role="status" live region is hidden from assistive tech.
|
|
148
|
-
/* @__PURE__ */ s("span", { "aria-hidden": "true", children: /* @__PURE__ */ s(
|
|
148
|
+
/* @__PURE__ */ s("span", { "aria-hidden": "true", children: /* @__PURE__ */ s(
|
|
149
|
+
_,
|
|
150
|
+
{
|
|
151
|
+
variant: "pulse",
|
|
152
|
+
size: "sm",
|
|
153
|
+
label: i("signatureField.signing")
|
|
154
|
+
}
|
|
155
|
+
) })
|
|
149
156
|
) : e === "signed" ? c ? (
|
|
150
157
|
// overflow-hidden + rounding live on this inner wrapper (not the
|
|
151
158
|
// button root) so the signature is clipped to the box WITHOUT
|
|
@@ -187,4 +194,4 @@ export {
|
|
|
187
194
|
M as S,
|
|
188
195
|
L as s
|
|
189
196
|
};
|
|
190
|
-
//# sourceMappingURL=signature-field-
|
|
197
|
+
//# sourceMappingURL=signature-field-Dy1JRjzE.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as pe, useId as he, useState as ve, useCallback as S } from
|
|
|
3
3
|
import { c as b } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as be } from "react-i18next";
|
|
5
5
|
import { B as Y } from "./button-DD_0Xdmr.js";
|
|
6
|
-
import { I as A } from "./icon-button-
|
|
6
|
+
import { I as A } from "./icon-button-LqoiKcUN.js";
|
|
7
7
|
import { E as xe } from "./empty-state-BLy7tigq.js";
|
|
8
8
|
import { S as B } from "./skeleton-CZbwyJAA.js";
|
|
9
9
|
import { t as W, c as De, m as K, a as Z, i as ye } from "./isSameDay-DUEiAT0G.js";
|
|
@@ -499,4 +499,4 @@ export {
|
|
|
499
499
|
rt as i,
|
|
500
500
|
Ne as p
|
|
501
501
|
};
|
|
502
|
-
//# sourceMappingURL=slot-grid-
|
|
502
|
+
//# sourceMappingURL=slot-grid-FsqumOaS.js.map
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { jsxs as F, jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as A } from "react";
|
|
3
|
+
import { c as j } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as L } from "react-i18next";
|
|
5
|
+
import { C as O } from "./calendar-B6soK1Yb.js";
|
|
6
|
+
import { C as R } from "./clock-21AGPWJ5.js";
|
|
7
|
+
import { C as f } from "./calendar-clock-CYkcqdwl.js";
|
|
8
|
+
import { c as V } from "./createLucideIcon-CrFbzy84.js";
|
|
9
|
+
import { T as Y } from "./triangle-alert-CBPUIzQo.js";
|
|
10
|
+
/**
|
|
11
|
+
* @license lucide-react v1.8.0 - ISC
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the ISC license.
|
|
14
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
const $ = [
|
|
17
|
+
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
18
|
+
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
19
|
+
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
20
|
+
["path", { d: "M3 10h18", key: "8toen8" }],
|
|
21
|
+
["path", { d: "m9 16 2 2 4-4", key: "19s6y9" }]
|
|
22
|
+
], E = V("calendar-check", $), U = {
|
|
23
|
+
overdue: Y,
|
|
24
|
+
past: E,
|
|
25
|
+
today: f,
|
|
26
|
+
tomorrow: f,
|
|
27
|
+
soon: R,
|
|
28
|
+
upcoming: O
|
|
29
|
+
}, q = 1440 * 60 * 1e3, B = j(
|
|
30
|
+
[
|
|
31
|
+
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
32
|
+
"ds:whitespace-nowrap ds:align-middle",
|
|
33
|
+
"ds:font-[var(--font-weight-medium)]"
|
|
34
|
+
].join(" "),
|
|
35
|
+
{
|
|
36
|
+
variants: {
|
|
37
|
+
state: {
|
|
38
|
+
// Deeper `*-foreground` tokens so the small text clears WCAG AA on the
|
|
39
|
+
// app surface, matching how Badge / TransactionChip pick their text.
|
|
40
|
+
overdue: "ds:text-[color:var(--destructive)]",
|
|
41
|
+
today: "ds:text-[color:var(--info-foreground)]",
|
|
42
|
+
tomorrow: "ds:text-[color:var(--info-foreground)]",
|
|
43
|
+
soon: "ds:text-[color:var(--foreground)]",
|
|
44
|
+
past: "ds:text-[color:var(--muted-foreground)]",
|
|
45
|
+
upcoming: "ds:text-[color:var(--muted-foreground)]"
|
|
46
|
+
},
|
|
47
|
+
size: {
|
|
48
|
+
sm: "ds:text-[length:var(--font-size-sm)] ds:[&_svg]:size-3.5",
|
|
49
|
+
md: "ds:text-[length:var(--font-size-base)] ds:[&_svg]:size-4"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
defaultVariants: { state: "upcoming", size: "md" }
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
function p(e) {
|
|
56
|
+
return e instanceof Date ? e.getTime() : typeof e == "number" ? e : new Date(e).getTime();
|
|
57
|
+
}
|
|
58
|
+
function g(e) {
|
|
59
|
+
const a = new Date(e);
|
|
60
|
+
return new Date(a.getFullYear(), a.getMonth(), a.getDate()).getTime();
|
|
61
|
+
}
|
|
62
|
+
const G = A(
|
|
63
|
+
({
|
|
64
|
+
date: e,
|
|
65
|
+
now: a,
|
|
66
|
+
deadline: h = !1,
|
|
67
|
+
soonWithinDays: d = 7,
|
|
68
|
+
size: v = "md",
|
|
69
|
+
locale: y,
|
|
70
|
+
className: D,
|
|
71
|
+
...w
|
|
72
|
+
}, x) => {
|
|
73
|
+
const { t: l, i18n: T } = L(), s = y ?? T.language ?? "en", r = p(e), o = !Number.isNaN(r), C = a != null ? p(a) : Date.now(), n = o ? Math.round((g(r) - g(C)) / q) : 0;
|
|
74
|
+
let t;
|
|
75
|
+
o ? n === 0 ? t = "today" : n === 1 ? t = "tomorrow" : n > 1 && n <= d ? t = "soon" : n > d ? t = "upcoming" : t = h ? "overdue" : "past" : t = "upcoming";
|
|
76
|
+
const k = new Intl.RelativeTimeFormat(s, {
|
|
77
|
+
numeric: "auto",
|
|
78
|
+
style: "long"
|
|
79
|
+
}), M = (m) => m && m.charAt(0).toLocaleUpperCase(s) + m.slice(1), I = o ? new Intl.DateTimeFormat(s, {
|
|
80
|
+
day: "numeric",
|
|
81
|
+
month: "short"
|
|
82
|
+
}).format(r) : "", c = o ? new Intl.DateTimeFormat(s, {
|
|
83
|
+
year: "numeric",
|
|
84
|
+
month: "long",
|
|
85
|
+
day: "numeric"
|
|
86
|
+
}).format(r) : "", N = o ? new Intl.DateTimeFormat(s, {
|
|
87
|
+
year: "numeric",
|
|
88
|
+
month: "short",
|
|
89
|
+
day: "numeric"
|
|
90
|
+
}).format(r) : "", i = t === "overdue" ? l("smartDate.overdue") : t === "upcoming" ? "" : M(k.format(n, "day")), S = t === "upcoming" ? N : t === "soon" || t === "overdue" ? `${i} · ${I}` : i, b = o ? i ? l("smartDate.aria", { context: i, date: c }) : c : void 0, z = U[t], _ = o ? new Date(r).toISOString().slice(0, 10) : void 0;
|
|
91
|
+
return /* @__PURE__ */ F(
|
|
92
|
+
"time",
|
|
93
|
+
{
|
|
94
|
+
ref: x,
|
|
95
|
+
dateTime: _,
|
|
96
|
+
title: c || void 0,
|
|
97
|
+
"aria-label": b,
|
|
98
|
+
"data-component": "smart-date",
|
|
99
|
+
"data-state": t,
|
|
100
|
+
className: B({ state: t, size: v, className: D }),
|
|
101
|
+
...w,
|
|
102
|
+
children: [
|
|
103
|
+
/* @__PURE__ */ u(z, { "aria-hidden": "true" }),
|
|
104
|
+
/* @__PURE__ */ u("span", { children: S })
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
G.displayName = "SmartDate";
|
|
111
|
+
export {
|
|
112
|
+
G as S
|
|
113
|
+
};
|
|
114
|
+
//# sourceMappingURL=smart-date-CWikAqZx.js.map
|
package/dist/_chunks/{social-sign-in-button-uJYLM366.js → social-sign-in-button-dlpPI5l7.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { jsx as s, jsxs as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as y, useRef as p, useEffect as N } from "react";
|
|
3
3
|
import { c as n } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as j } from "react-i18next";
|
|
5
|
-
import { S as V } from "./spinner-
|
|
5
|
+
import { S as V } from "./spinner-hbwuKwMf.js";
|
|
6
6
|
function A({ className: e }) {
|
|
7
7
|
return /* @__PURE__ */ s(
|
|
8
8
|
"svg",
|
|
@@ -240,4 +240,4 @@ I.displayName = "SocialSignInButton";
|
|
|
240
240
|
export {
|
|
241
241
|
I as S
|
|
242
242
|
};
|
|
243
|
-
//# sourceMappingURL=social-sign-in-button-
|
|
243
|
+
//# sourceMappingURL=social-sign-in-button-dlpPI5l7.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as i, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as u } from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as e } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as h } from "react-i18next";
|
|
5
|
-
const f =
|
|
5
|
+
const f = e("ds:inline-block ds:shrink-0 ds:text-current", {
|
|
6
6
|
variants: {
|
|
7
7
|
size: {
|
|
8
8
|
sm: "ds:size-3",
|
|
@@ -93,8 +93,8 @@ const f = i("ds:inline-block ds:shrink-0 ds:text-current", {
|
|
|
93
93
|
class: "ds:[--spinner-duration:1200ms]"
|
|
94
94
|
}
|
|
95
95
|
],
|
|
96
|
-
defaultVariants: { size: "md", variant: "
|
|
97
|
-
}), n =
|
|
96
|
+
defaultVariants: { size: "md", variant: "prism", speed: "normal" }
|
|
97
|
+
}), n = e(
|
|
98
98
|
[
|
|
99
99
|
"ds:fill-current",
|
|
100
100
|
"ds:[transform-box:fill-box] ds:[transform-origin:center]",
|
|
@@ -118,19 +118,19 @@ const f = i("ds:inline-block ds:shrink-0 ds:text-current", {
|
|
|
118
118
|
left: "ds:[--spinner-position:3]"
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
|
-
defaultVariants: { variant: "
|
|
121
|
+
defaultVariants: { variant: "prism", position: "top" }
|
|
122
122
|
}
|
|
123
123
|
), v = u(
|
|
124
124
|
({
|
|
125
125
|
size: r = "md",
|
|
126
|
-
variant: a = "
|
|
126
|
+
variant: a = "prism",
|
|
127
127
|
speed: t = "normal",
|
|
128
128
|
label: o,
|
|
129
129
|
className: d,
|
|
130
130
|
...p
|
|
131
131
|
}, l) => {
|
|
132
132
|
const { t: m } = h(), c = o ?? m("common.loading", "Loading…");
|
|
133
|
-
return /* @__PURE__ */
|
|
133
|
+
return /* @__PURE__ */ i(
|
|
134
134
|
"span",
|
|
135
135
|
{
|
|
136
136
|
ref: l,
|
|
@@ -140,7 +140,7 @@ const f = i("ds:inline-block ds:shrink-0 ds:text-current", {
|
|
|
140
140
|
className: f({ size: r, variant: a, speed: t, className: d }),
|
|
141
141
|
...p,
|
|
142
142
|
children: [
|
|
143
|
-
/* @__PURE__ */
|
|
143
|
+
/* @__PURE__ */ i("svg", { "aria-hidden": "true", viewBox: "0 0 148 148", className: "ds:size-full", children: [
|
|
144
144
|
/* @__PURE__ */ s(
|
|
145
145
|
"g",
|
|
146
146
|
{
|
|
@@ -217,4 +217,4 @@ v.displayName = "Spinner";
|
|
|
217
217
|
export {
|
|
218
218
|
v as S
|
|
219
219
|
};
|
|
220
|
-
//# sourceMappingURL=spinner-
|
|
220
|
+
//# sourceMappingURL=spinner-hbwuKwMf.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as s, q as r, r as i, v as m } from "./date-picker-variants-DAcSLTua.js";
|
|
2
2
|
const d = {
|
|
3
3
|
lessThanXSeconds: {
|
|
4
4
|
one: "më pak se një sekondë",
|
|
@@ -205,11 +205,11 @@ const d = {
|
|
|
205
205
|
evening: "në mbrëmje",
|
|
206
206
|
night: "në mesnatë"
|
|
207
207
|
}
|
|
208
|
-
},
|
|
208
|
+
}, y = (e, a) => {
|
|
209
209
|
const t = Number(e);
|
|
210
210
|
return (a == null ? void 0 : a.unit) === "hour" ? String(t) : t === 1 ? t + "-rë" : t === 4 ? t + "t" : t + "-të";
|
|
211
|
-
},
|
|
212
|
-
ordinalNumber:
|
|
211
|
+
}, w = {
|
|
212
|
+
ordinalNumber: y,
|
|
213
213
|
era: r({
|
|
214
214
|
values: j,
|
|
215
215
|
defaultWidth: "wide"
|
|
@@ -342,7 +342,7 @@ const d = {
|
|
|
342
342
|
formatDistance: h,
|
|
343
343
|
formatLong: b,
|
|
344
344
|
formatRelative: g,
|
|
345
|
-
localize:
|
|
345
|
+
localize: w,
|
|
346
346
|
match: X,
|
|
347
347
|
options: {
|
|
348
348
|
weekStartsOn: 1,
|
|
@@ -352,4 +352,4 @@ const d = {
|
|
|
352
352
|
export {
|
|
353
353
|
T as sq
|
|
354
354
|
};
|
|
355
|
-
//# sourceMappingURL=sq-
|
|
355
|
+
//# sourceMappingURL=sq-XRpr0r49.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as h, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as y, useState as v, useEffect as b, Fragment as m } from "react";
|
|
3
3
|
import { c as x } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { s as g, C } from "./code-block-
|
|
4
|
+
import { s as g, C } from "./code-block-BBWHhIc8.js";
|
|
5
5
|
const z = x(
|
|
6
6
|
"type-body ds:block ds:whitespace-pre-wrap ds:break-words",
|
|
7
7
|
{
|
|
@@ -128,4 +128,4 @@ j.displayName = "StreamingText";
|
|
|
128
128
|
export {
|
|
129
129
|
j as S
|
|
130
130
|
};
|
|
131
|
-
//# sourceMappingURL=streaming-text-
|
|
131
|
+
//# sourceMappingURL=streaming-text-BB9mvK4m.js.map
|