@alfadocs/ui-kit 1.55.0 → 1.57.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/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
- package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
- package/dist/_chunks/alia-sidebar-BBKBJCv6.js +1284 -0
- package/dist/_chunks/{anamnesis-summary-rows-Dtw5Hpg4.js → anamnesis-summary-rows-CCQ62mMN.js} +5 -5
- package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-zP-iN-Pd.js → balance-badge-cell-CII3SDmR.js} +3 -3
- package/dist/_chunks/{bmi-calculator-DTZhRhXe.js → bmi-calculator-C0UTxB7R.js} +2 -2
- package/dist/_chunks/{booking-uZO10TLK.js → booking-81WnKDsH.js} +4 -4
- package/dist/_chunks/{breadcrumb-xgVpPH2H.js → breadcrumb-Boan-5n8.js} +39 -39
- package/dist/_chunks/{calculator-dialog-BRjZMWuE.js → calculator-dialog-CzQv03p0.js} +2 -2
- package/dist/_chunks/{calendar-workspace-DVajSkKA.js → calendar-workspace-D5-k_9zE.js} +15 -15
- package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
- package/dist/_chunks/{care-plan-header-BeMYMiI7.js → care-plan-header-BMwZIgHJ.js} +3 -3
- package/dist/_chunks/chart-DQ5GxqgT.js +906 -0
- package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
- package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
- package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
- package/dist/_chunks/{contact-profile-card-C5DbP_X3.js → contact-profile-card-CMyBYgRR.js} +3 -3
- package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
- package/dist/_chunks/dashboard-grid-DfEY2qci.js +844 -0
- package/dist/_chunks/{data-table-C6T31E33.js → data-table-fAMTeAjM.js} +2 -2
- package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
- package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
- package/dist/_chunks/{date-range-picker-BOvHwWO5.js → date-range-picker-CFk-5O3R.js} +188 -177
- package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
- package/dist/_chunks/{dependent-selector-Bet3XAFj.js → dependent-selector-DgaAQc-c.js} +91 -86
- package/dist/_chunks/{dialog-D52AI4nF.js → dialog-Dn-iQ0Jp.js} +86 -69
- package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
- package/dist/_chunks/{due-date-calculator-DXDJbUzo.js → due-date-calculator-D_qFUiHp.js} +3 -3
- package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
- package/dist/_chunks/{file-manager-dIJQUZvq.js → file-manager-CFsL1KVt.js} +4 -4
- package/dist/_chunks/{freemium-paywall-B6ojVXq7.js → freemium-paywall-DIKuhX8b.js} +90 -86
- package/dist/_chunks/{gestational-age-calculator-BfGpt3du.js → gestational-age-calculator-CZi43xKG.js} +3 -3
- package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
- package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
- package/dist/_chunks/{heatmap-BARGZZt2.js → heatmap-BEeOThkW.js} +2 -2
- package/dist/_chunks/{help-me-write-templates-B7L3zGsE.js → help-me-write-templates-BUoYGo6f.js} +2 -2
- package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
- package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-C86lQTIA.js} +2 -2
- package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
- package/dist/_chunks/{key-value-pair-Ax8IJr1M.js → key-value-pair-BNNITp6S.js} +25 -19
- package/dist/_chunks/{kit-extensions-C9-v8Dih.js → kit-extensions-DYVxWcqv.js} +5 -5
- package/dist/_chunks/{link-cell-renderer-DlBVPMTi.js → link-cell-renderer-CxW_oLa5.js} +2 -2
- package/dist/_chunks/link-gRw3NtOt.js +137 -0
- package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-Dcx-JEjg.js → marketplace-app-shell-BZcA9Z06.js} +143 -129
- package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-QKQutwxj.js} +76 -69
- package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
- package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
- package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
- package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
- package/dist/_chunks/{notes-panel-I8ntrrUW.js → notes-panel-Cm4pttpl.js} +4 -4
- package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-C5VtbGjd.js} +83 -76
- package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-99kEdtc5.js} +2 -2
- package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-DkxY13T6.js} +5 -5
- package/dist/_chunks/{patient-summary-card-3dspc2tR.js → patient-summary-card-opdyfeW2.js} +10 -6
- package/dist/_chunks/{payment-automation-upsell-DEUfM7EU.js → payment-automation-upsell-DiHovmUL.js} +2 -2
- package/dist/_chunks/{payment-request-card-DAGqh9Yx.js → payment-request-card-DAniJNLX.js} +3 -3
- package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
- package/dist/_chunks/{periodontal-chart-BqwLxy2m.js → periodontal-chart-DD5C0M3l.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CWZ1YM1h.js → periodontal-chart-card-CxdXvsPU.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-C9IuvLId.js → periodontal-diagnosis-D-PJv7KS.js} +2 -2
- package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
- package/dist/_chunks/popover-BG75rYjN.js +367 -0
- package/dist/_chunks/{position-grid-D2D5_Tze.js → position-grid-CBB88EaH.js} +38 -36
- package/dist/_chunks/{practice-results-DxOgbPDy.js → practice-results-CfRkjzsI.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-R3q5n1Wh.js → pregnancy-dating-BFzv9g1N.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-DwmNklDU.js → pregnancy-weight-gain-CUUrBTBo.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DlVRK7Ue.js} +103 -96
- package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
- package/dist/_chunks/{public-header.agent-BWusjxY8.js → public-header.agent-BctevbuY.js} +2 -2
- package/dist/_chunks/{radio-group-BT97ty7o.js → radio-group-DicxWJXP.js} +111 -106
- package/dist/_chunks/{radiograph-panel.agent-BA90I3Mu.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
- package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-BlTzYywa.js} +2 -2
- package/dist/_chunks/{rich-text-editor-Blp4smUr.js → rich-text-editor-DTnNZ4Ff.js} +489 -484
- package/dist/_chunks/{sheet-CNFW8mYZ.js → sheet-8qsiMoUI.js} +95 -79
- package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
- package/dist/_chunks/{signature-request-rgMsgo-C.js → signature-request-DRuYAG5I.js} +2 -2
- package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-AhMsNW1r.js} +2 -2
- package/dist/_chunks/{stat-51CDL4au.js → stat-DmjGfXND.js} +117 -108
- package/dist/_chunks/{stepper-accordion-D7lnBGh2.js → stepper-accordion-DDTSOUHc.js} +17 -6
- package/dist/_chunks/{task-editor-Ctxsa1BY.js → task-editor-NkcopDna.js} +4 -4
- package/dist/_chunks/{use-appointment-details-read-DinTrRIW.js → use-appointment-details-read-CfFQNOF_.js} +5 -5
- package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js +26 -0
- package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-BKbgb7FM.js} +2 -2
- package/dist/_chunks/{widget-picker-D8RiWrJd.js → widget-picker-rBA7MR5P.js} +2 -2
- package/dist/_chunks/{workflow-map-D3mezmGB.js → workflow-map-Demlpy39.js} +2 -2
- package/dist/agent-catalog.json +28 -11
- package/dist/agent-i18n/en.json +8 -7
- package/dist/components/_shared/non-modal-tab-exit.d.ts +19 -0
- package/dist/components/_shared/use-apex-chart-semantics.d.ts +6 -0
- package/dist/components/_shared/use-select-on-arrow.d.ts +20 -0
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
- package/dist/components/ai-permission-notice/index.d.ts +1 -1
- package/dist/components/ai-permission-notice/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/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chart/chart.d.ts +15 -10
- package/dist/components/chart/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/contact-card/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/dashboard-grid/dashboard-grid-engine.d.ts +22 -0
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +48 -4
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- 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/dependent-selector/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/file-manager/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-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +5 -3
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/message-tray/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-tray/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/position-grid/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/product-hub-tray/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sheet/sheet.d.ts +2 -2
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/stat/index.d.ts +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +9 -0
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-legacy.css +13 -2
- package/dist/i18n/locales/ar.d.ts +17 -2
- package/dist/i18n/locales/ar.js +20 -5
- package/dist/i18n/locales/de.d.ts +17 -2
- package/dist/i18n/locales/de.js +20 -5
- package/dist/i18n/locales/el.d.ts +17 -2
- package/dist/i18n/locales/el.js +20 -5
- package/dist/i18n/locales/en.d.ts +17 -2
- package/dist/i18n/locales/en.js +20 -5
- package/dist/i18n/locales/es.d.ts +17 -2
- package/dist/i18n/locales/es.js +20 -5
- package/dist/i18n/locales/fr.d.ts +17 -2
- package/dist/i18n/locales/fr.js +20 -5
- package/dist/i18n/locales/hi.d.ts +17 -2
- package/dist/i18n/locales/hi.js +20 -5
- package/dist/i18n/locales/it.d.ts +17 -2
- package/dist/i18n/locales/it.js +20 -5
- package/dist/i18n/locales/ja.d.ts +17 -2
- package/dist/i18n/locales/ja.js +20 -5
- package/dist/i18n/locales/nl.d.ts +17 -2
- package/dist/i18n/locales/nl.js +20 -5
- package/dist/i18n/locales/pl.d.ts +17 -2
- package/dist/i18n/locales/pl.js +20 -5
- package/dist/i18n/locales/pt.d.ts +17 -2
- package/dist/i18n/locales/pt.js +20 -5
- package/dist/i18n/locales/ro.d.ts +17 -2
- package/dist/i18n/locales/ro.js +20 -5
- package/dist/i18n/locales/ru.d.ts +17 -2
- package/dist/i18n/locales/ru.js +20 -5
- package/dist/i18n/locales/sq.d.ts +17 -2
- package/dist/i18n/locales/sq.js +20 -5
- package/dist/i18n/locales/sv.d.ts +17 -2
- package/dist/i18n/locales/sv.js +20 -5
- package/dist/i18n/locales/tr.d.ts +17 -2
- package/dist/i18n/locales/tr.js +20 -5
- package/dist/i18n/locales/zh.d.ts +17 -2
- package/dist/i18n/locales/zh.js +20 -5
- package/dist/index.js +207 -206
- package/dist/locales/ar.json +20 -5
- package/dist/locales/de.json +20 -5
- package/dist/locales/el.json +20 -5
- package/dist/locales/en.json +20 -5
- package/dist/locales/es.json +20 -5
- package/dist/locales/fr.json +20 -5
- package/dist/locales/hi.json +20 -5
- package/dist/locales/it.json +20 -5
- package/dist/locales/ja.json +20 -5
- package/dist/locales/nl.json +20 -5
- package/dist/locales/pl.json +20 -5
- package/dist/locales/pt.json +20 -5
- package/dist/locales/ro.json +20 -5
- package/dist/locales/ru.json +20 -5
- package/dist/locales/sq.json +20 -5
- package/dist/locales/sv.json +20 -5
- package/dist/locales/tr.json +20 -5
- package/dist/locales/zh.json +20 -5
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
- package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
- package/dist/patterns/alia-assistant/index.d.ts +2 -0
- package/dist/patterns/alia-assistant/index.js +6 -5
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +2 -2
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +7 -2
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +13 -2
- package/package.json +1 -1
- package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
- package/dist/_chunks/alia-sidebar-DS0b54Mv.js +0 -1183
- package/dist/_chunks/chart-C2RBJERE.js +0 -705
- package/dist/_chunks/dashboard-grid-SAGoyCtL.js +0 -691
- package/dist/_chunks/link-2HokYuIi.js +0 -130
- package/dist/_chunks/popover-BI3oV3eY.js +0 -305
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { jsx as s, jsxs as d } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import * as
|
|
4
|
-
import { c as
|
|
5
|
-
import { useTranslation as
|
|
6
|
-
import { A as
|
|
7
|
-
import { B as
|
|
8
|
-
import { T as
|
|
9
|
-
import { c as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import {
|
|
13
|
-
|
|
2
|
+
import { forwardRef as me, useId as pe, useRef as f, useEffect as E, useMemo as L, useState as ue } from "react";
|
|
3
|
+
import * as O from "@radix-ui/react-radio-group";
|
|
4
|
+
import { c as F } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { useTranslation as fe } from "react-i18next";
|
|
6
|
+
import { A as ge } from "./avatar-WZY3eGE7.js";
|
|
7
|
+
import { B as ve } from "./badge-hnBt8o7n.js";
|
|
8
|
+
import { T as be } from "./tooltip-Cp-PLePW.js";
|
|
9
|
+
import { c as he } from "./compose-refs-C0k0tdqF.js";
|
|
10
|
+
import { u as ye } from "./use-select-on-arrow-Cr4iBuW5.js";
|
|
11
|
+
import { u as xe } from "./registry-DvAUVLHh.js";
|
|
12
|
+
import { u as Se } from "./use-direction-Dp8h70PP.js";
|
|
13
|
+
import { C as we } from "./circle-alert-rGDZ73Wh.js";
|
|
14
|
+
const Ne = {
|
|
14
15
|
id: "dependent-selector",
|
|
15
16
|
capabilities: ["select_single"],
|
|
16
17
|
state: {
|
|
@@ -62,7 +63,7 @@ const xe = {
|
|
|
62
63
|
description: "Stable person id emitted on each rendered person row."
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
|
-
},
|
|
66
|
+
}, ze = F(
|
|
66
67
|
"ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:min-w-0",
|
|
67
68
|
{
|
|
68
69
|
variants: {
|
|
@@ -71,7 +72,7 @@ const xe = {
|
|
|
71
72
|
},
|
|
72
73
|
defaultVariants: { size: "md", tone: "checkin" }
|
|
73
74
|
}
|
|
74
|
-
),
|
|
75
|
+
), G = F(
|
|
75
76
|
[
|
|
76
77
|
// The row IS the Radix Item (`<button role="radio">`). Reset the
|
|
77
78
|
// button chrome, lay out avatar + text on the inline axis. Logical
|
|
@@ -116,15 +117,15 @@ const xe = {
|
|
|
116
117
|
},
|
|
117
118
|
defaultVariants: { size: "md", tone: "checkin", disabled: !1 }
|
|
118
119
|
}
|
|
119
|
-
),
|
|
120
|
+
), ke = { sm: "sm", md: "md", lg: "lg" }, Be = {
|
|
120
121
|
sm: "ds:size-8",
|
|
121
122
|
md: "ds:size-10",
|
|
122
123
|
lg: "ds:size-12"
|
|
123
|
-
},
|
|
124
|
+
}, Re = {
|
|
124
125
|
sm: "type-body-sm",
|
|
125
126
|
md: "type-label",
|
|
126
127
|
lg: "type-body"
|
|
127
|
-
},
|
|
128
|
+
}, Ie = me(
|
|
128
129
|
({
|
|
129
130
|
people: t,
|
|
130
131
|
value: c,
|
|
@@ -132,65 +133,66 @@ const xe = {
|
|
|
132
133
|
onValueChange: n,
|
|
133
134
|
label: v,
|
|
134
135
|
description: S,
|
|
135
|
-
size:
|
|
136
|
-
tone:
|
|
136
|
+
size: J = "md",
|
|
137
|
+
tone: Q = "checkin",
|
|
137
138
|
loading: r = !1,
|
|
138
139
|
error: m,
|
|
139
|
-
emptyState:
|
|
140
|
+
emptyState: U,
|
|
140
141
|
id: p,
|
|
141
|
-
className:
|
|
142
|
+
className: W,
|
|
142
143
|
"aria-label": w,
|
|
143
|
-
"aria-labelledby":
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
144
|
+
"aria-labelledby": k,
|
|
145
|
+
onKeyDown: N,
|
|
146
|
+
...X
|
|
147
|
+
}, Y) => {
|
|
148
|
+
const o = J ?? "md", z = Q ?? "checkin", { t: a } = fe("ui"), b = pe(), B = `${b}-legend`, R = `${b}-description`, I = `${b}-error`;
|
|
149
|
+
f(!1), E(() => {
|
|
150
|
+
}, [v, w, k]);
|
|
151
|
+
const A = L(
|
|
150
152
|
() => t.filter((e) => !e.disabled),
|
|
151
153
|
[t]
|
|
152
|
-
),
|
|
154
|
+
), Z = t.some(
|
|
153
155
|
(e) => e.relationshipKey !== "self"
|
|
154
|
-
), u =
|
|
156
|
+
), u = A.length === 1 ? A[0].id : void 0, i = c !== void 0, [C, ee] = ue(
|
|
155
157
|
g ?? u ?? ""
|
|
156
|
-
),
|
|
157
|
-
|
|
158
|
-
const
|
|
159
|
-
r
|
|
158
|
+
), _ = i ? c ?? "" : C, $ = f(_);
|
|
159
|
+
$.current = _;
|
|
160
|
+
const j = ye(), T = (e) => {
|
|
161
|
+
j.noteSelection(), !r && (i || ee(e), n == null || n(e));
|
|
160
162
|
}, h = f(n);
|
|
161
163
|
h.current = n;
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
+
const V = f(!1);
|
|
165
|
+
E(() => {
|
|
164
166
|
var e;
|
|
165
|
-
!
|
|
167
|
+
!V.current && !i && !r && g === void 0 && u !== void 0 && (V.current = !0, (e = h.current) == null || e.call(h, u));
|
|
166
168
|
}, [i, r, g, u]);
|
|
167
|
-
const
|
|
169
|
+
const se = L(
|
|
168
170
|
() => ({
|
|
169
|
-
getValue: () =>
|
|
170
|
-
setValue: (e) =>
|
|
171
|
+
getValue: () => $.current,
|
|
172
|
+
setValue: (e) => T(e)
|
|
171
173
|
}),
|
|
172
174
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
173
175
|
[i, r, n]
|
|
174
176
|
);
|
|
175
|
-
|
|
176
|
-
const D = f(null),
|
|
177
|
+
xe(Ne, se, p);
|
|
178
|
+
const D = f(null), M = he(Y, D), de = Se(D), y = k ?? (v ? B : void 0), H = [S ? R : null, m ? I : null].filter(Boolean).join(" ") || void 0, K = (e) => a(`dependentSelector.relationship.${e}`), P = (e) => a("dependentSelector.age", { count: e }), te = (e) => {
|
|
177
179
|
const l = [a("dependentSelector.optionLabel", {
|
|
178
180
|
name: e.name,
|
|
179
|
-
relationship:
|
|
181
|
+
relationship: K(e.relationshipKey)
|
|
180
182
|
})];
|
|
181
|
-
return typeof e.age == "number" && l.push(
|
|
182
|
-
},
|
|
183
|
+
return typeof e.age == "number" && l.push(P(e.age)), e.isMinor && l.push(a("dependentSelector.minorBadge")), l.join(", ");
|
|
184
|
+
}, ae = S ? /* @__PURE__ */ s("p", { id: R, className: "type-body-sm ds:text-muted-foreground", children: S }) : null, ie = m ? /* @__PURE__ */ d(
|
|
183
185
|
"p",
|
|
184
186
|
{
|
|
185
|
-
id:
|
|
187
|
+
id: I,
|
|
186
188
|
role: "alert",
|
|
187
189
|
className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-destructive",
|
|
188
190
|
children: [
|
|
189
|
-
/* @__PURE__ */ s(
|
|
191
|
+
/* @__PURE__ */ s(we, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0" }),
|
|
190
192
|
/* @__PURE__ */ s("span", { children: m })
|
|
191
193
|
]
|
|
192
194
|
}
|
|
193
|
-
) : null,
|
|
195
|
+
) : null, ne = /* @__PURE__ */ s(
|
|
194
196
|
"div",
|
|
195
197
|
{
|
|
196
198
|
"aria-hidden": "true",
|
|
@@ -198,12 +200,12 @@ const xe = {
|
|
|
198
200
|
children: Array.from({ length: 3 }).map((e, x) => /* @__PURE__ */ d(
|
|
199
201
|
"div",
|
|
200
202
|
{
|
|
201
|
-
className:
|
|
203
|
+
className: G({ size: o, tone: z, disabled: !1 }),
|
|
202
204
|
children: [
|
|
203
205
|
/* @__PURE__ */ s(
|
|
204
206
|
"span",
|
|
205
207
|
{
|
|
206
|
-
className: `ds:inline-flex ds:shrink-0 ds:rounded-[var(--radius-full)] ds:bg-muted ds:animate-pulse ${
|
|
208
|
+
className: `ds:inline-flex ds:shrink-0 ds:rounded-[var(--radius-full)] ds:bg-muted ds:animate-pulse ${Be[o]}`
|
|
207
209
|
}
|
|
208
210
|
),
|
|
209
211
|
/* @__PURE__ */ d("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)] ds:min-w-0 ds:flex-1", children: [
|
|
@@ -215,9 +217,9 @@ const xe = {
|
|
|
215
217
|
x
|
|
216
218
|
))
|
|
217
219
|
}
|
|
218
|
-
),
|
|
219
|
-
const x = `${b}-row-${e.id}`, l =
|
|
220
|
-
|
|
220
|
+
), re = (e) => {
|
|
221
|
+
const x = `${b}-row-${e.id}`, l = te(e), q = /* @__PURE__ */ d(
|
|
222
|
+
O.Item,
|
|
221
223
|
{
|
|
222
224
|
id: x,
|
|
223
225
|
value: e.id,
|
|
@@ -225,18 +227,18 @@ const xe = {
|
|
|
225
227
|
"aria-label": l,
|
|
226
228
|
title: e.dob ?? void 0,
|
|
227
229
|
"data-option-id": e.id,
|
|
228
|
-
className:
|
|
230
|
+
className: G({
|
|
229
231
|
size: o,
|
|
230
|
-
tone:
|
|
232
|
+
tone: z,
|
|
231
233
|
disabled: !!e.disabled
|
|
232
234
|
}),
|
|
233
235
|
children: [
|
|
234
236
|
/* @__PURE__ */ s(
|
|
235
|
-
|
|
237
|
+
ge,
|
|
236
238
|
{
|
|
237
239
|
src: e.avatarSrc,
|
|
238
240
|
name: e.name,
|
|
239
|
-
size:
|
|
241
|
+
size: ke[o],
|
|
240
242
|
"aria-hidden": "true"
|
|
241
243
|
}
|
|
242
244
|
),
|
|
@@ -250,7 +252,7 @@ const xe = {
|
|
|
250
252
|
/* @__PURE__ */ s(
|
|
251
253
|
"span",
|
|
252
254
|
{
|
|
253
|
-
className: `${
|
|
255
|
+
className: `${Re[o]} ds:text-foreground ds:truncate ds:min-w-0`,
|
|
254
256
|
children: e.name
|
|
255
257
|
}
|
|
256
258
|
),
|
|
@@ -258,12 +260,12 @@ const xe = {
|
|
|
258
260
|
// Neutral chip (validated AA ~6:1) — the "Minor" flag is
|
|
259
261
|
// informational, not a warning STATE. The tonal `warning`
|
|
260
262
|
// variant fails AA at the small chip font size.
|
|
261
|
-
/* @__PURE__ */ s(
|
|
263
|
+
/* @__PURE__ */ s(ve, { variant: "neutral", size: "sm", children: a("dependentSelector.minorBadge") })
|
|
262
264
|
) : null
|
|
263
265
|
] }),
|
|
264
266
|
/* @__PURE__ */ d("span", { className: "type-body-sm ds:text-muted-foreground ds:truncate ds:min-w-0", children: [
|
|
265
|
-
|
|
266
|
-
typeof e.age == "number" ? ` · ${
|
|
267
|
+
K(e.relationshipKey),
|
|
268
|
+
typeof e.age == "number" ? ` · ${P(e.age)}` : null
|
|
267
269
|
] })
|
|
268
270
|
]
|
|
269
271
|
}
|
|
@@ -272,25 +274,25 @@ const xe = {
|
|
|
272
274
|
},
|
|
273
275
|
e.id
|
|
274
276
|
);
|
|
275
|
-
return e.disabled && e.disabledReason ? /* @__PURE__ */ s(
|
|
277
|
+
return e.disabled && e.disabledReason ? /* @__PURE__ */ s(be, { label: e.disabledReason, children: /* @__PURE__ */ s(
|
|
276
278
|
"span",
|
|
277
279
|
{
|
|
278
280
|
tabIndex: 0,
|
|
279
281
|
"data-disabled-row": e.id,
|
|
280
282
|
"aria-label": l,
|
|
281
283
|
className: "ds:flex ds:min-w-0 ds:rounded-[var(--radius-md)] ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
282
|
-
children:
|
|
284
|
+
children: q
|
|
283
285
|
}
|
|
284
|
-
) }, e.id) :
|
|
285
|
-
},
|
|
286
|
+
) }, e.id) : q;
|
|
287
|
+
}, oe = U ?? /* @__PURE__ */ s("p", { className: "type-body-sm ds:text-muted-foreground", children: a("dependentSelector.empty") }), le = r ? /* @__PURE__ */ d(
|
|
286
288
|
"div",
|
|
287
289
|
{
|
|
288
|
-
ref:
|
|
290
|
+
ref: M,
|
|
289
291
|
id: p,
|
|
290
292
|
role: "radiogroup",
|
|
291
293
|
"aria-label": y ? void 0 : w,
|
|
292
294
|
"aria-labelledby": y,
|
|
293
|
-
"aria-describedby":
|
|
295
|
+
"aria-describedby": H,
|
|
294
296
|
"aria-invalid": !!m || void 0,
|
|
295
297
|
"aria-busy": "true",
|
|
296
298
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:min-w-0",
|
|
@@ -298,41 +300,44 @@ const xe = {
|
|
|
298
300
|
"data-component-id": p,
|
|
299
301
|
children: [
|
|
300
302
|
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: a("dependentSelector.loadingLabel") }),
|
|
301
|
-
|
|
303
|
+
ne
|
|
302
304
|
]
|
|
303
305
|
}
|
|
304
306
|
) : /* @__PURE__ */ s(
|
|
305
|
-
|
|
307
|
+
O.Root,
|
|
306
308
|
{
|
|
307
|
-
ref:
|
|
309
|
+
ref: M,
|
|
308
310
|
id: p,
|
|
309
|
-
dir:
|
|
311
|
+
dir: de,
|
|
310
312
|
value: i ? c ?? "" : void 0,
|
|
311
313
|
defaultValue: i ? void 0 : g ?? u,
|
|
312
|
-
onValueChange:
|
|
314
|
+
onValueChange: T,
|
|
315
|
+
onKeyDown: (e) => {
|
|
316
|
+
N == null || N(e), j.onKeyDown(e);
|
|
317
|
+
},
|
|
313
318
|
"aria-label": y ? void 0 : w,
|
|
314
319
|
"aria-labelledby": y,
|
|
315
|
-
"aria-describedby":
|
|
320
|
+
"aria-describedby": H,
|
|
316
321
|
"aria-invalid": !!m || void 0,
|
|
317
322
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:min-w-0",
|
|
318
323
|
"data-component": "dependent-selector",
|
|
319
324
|
"data-component-id": p,
|
|
320
|
-
...
|
|
321
|
-
children: t.map(
|
|
325
|
+
...X,
|
|
326
|
+
children: t.map(re)
|
|
322
327
|
}
|
|
323
|
-
),
|
|
324
|
-
return /* @__PURE__ */ d("div", { className:
|
|
325
|
-
v ? /* @__PURE__ */ s("div", { id:
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
!r && !
|
|
329
|
-
|
|
328
|
+
), ce = ze({ size: o, tone: z, className: W });
|
|
329
|
+
return /* @__PURE__ */ d("div", { className: ce, children: [
|
|
330
|
+
v ? /* @__PURE__ */ s("div", { id: B, className: "type-label ds:text-foreground", children: v }) : null,
|
|
331
|
+
ae,
|
|
332
|
+
le,
|
|
333
|
+
!r && !Z ? oe : null,
|
|
334
|
+
ie
|
|
330
335
|
] });
|
|
331
336
|
}
|
|
332
337
|
);
|
|
333
|
-
|
|
338
|
+
Ie.displayName = "DependentSelector";
|
|
334
339
|
export {
|
|
335
|
-
|
|
336
|
-
|
|
340
|
+
Ie as D,
|
|
341
|
+
Ne as d
|
|
337
342
|
};
|
|
338
|
-
//# sourceMappingURL=dependent-selector-
|
|
343
|
+
//# sourceMappingURL=dependent-selector-DgaAQc-c.js.map
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useRef as
|
|
1
|
+
import { jsx as t, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as E, useEffect as H, useMemo as v, forwardRef as i, useContext as S, createContext as A } from "react";
|
|
3
3
|
import * as s from "@radix-ui/react-dialog";
|
|
4
|
-
import { c as
|
|
5
|
-
import { useTranslation as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
9
|
-
|
|
4
|
+
import { c as z } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { useTranslation as F } from "react-i18next";
|
|
6
|
+
import { u as I } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
|
+
import { u as V } from "./registry-DvAUVLHh.js";
|
|
8
|
+
import { u as L } from "./non-modal-tab-exit-j3CPOuE3.js";
|
|
9
|
+
import { X as M } from "./x-B5YnXwCz.js";
|
|
10
|
+
const P = {
|
|
10
11
|
id: "dialog",
|
|
11
12
|
capabilities: ["open", "close", "dismiss"],
|
|
12
13
|
state: {
|
|
@@ -54,18 +55,18 @@ const w = {
|
|
|
54
55
|
description: "Sourced from the id prop on Dialog.Root."
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
|
-
},
|
|
58
|
+
}, w = [
|
|
58
59
|
"ds-dialog__backdrop",
|
|
59
60
|
"ds:backdrop-blur-sm",
|
|
60
61
|
"ds:data-[state=open]:animate-in ds:data-[state=open]:fade-in-0",
|
|
61
62
|
"ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0",
|
|
62
63
|
"ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
63
|
-
].join(" "),
|
|
64
|
+
].join(" "), K = [
|
|
64
65
|
"ds:focus-visible:outline-none",
|
|
65
66
|
"ds:data-[state=open]:animate-in ds:data-[state=open]:fade-in-0 ds:data-[state=open]:zoom-in-95",
|
|
66
67
|
"ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0 ds:data-[state=closed]:zoom-out-95",
|
|
67
68
|
"ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
68
|
-
].join(" "),
|
|
69
|
+
].join(" "), U = z(`ds-dialog ds-dialog__surface ${K}`, {
|
|
69
70
|
variants: {
|
|
70
71
|
size: {
|
|
71
72
|
sm: "ds-dialog__surface--sm",
|
|
@@ -82,68 +83,84 @@ const w = {
|
|
|
82
83
|
}
|
|
83
84
|
},
|
|
84
85
|
defaultVariants: { size: "md", scroll: "surface" }
|
|
85
|
-
}),
|
|
86
|
+
}), _ = A({ modal: !0 }), y = ({
|
|
86
87
|
children: e,
|
|
87
88
|
id: o,
|
|
88
89
|
open: a,
|
|
89
|
-
defaultOpen:
|
|
90
|
-
onOpenChange:
|
|
91
|
-
|
|
90
|
+
defaultOpen: r,
|
|
91
|
+
onOpenChange: m,
|
|
92
|
+
modal: l = !0,
|
|
93
|
+
...c
|
|
92
94
|
}) => {
|
|
93
|
-
const [g, n] =
|
|
95
|
+
const [g, n] = I({
|
|
94
96
|
value: a,
|
|
95
|
-
defaultValue:
|
|
96
|
-
onChange:
|
|
97
|
-
}), d = g ?? !1,
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
defaultValue: r ?? !1,
|
|
98
|
+
onChange: m
|
|
99
|
+
}), d = g ?? !1, p = E(d);
|
|
100
|
+
H(() => {
|
|
101
|
+
p.current = d;
|
|
100
102
|
}, [d]);
|
|
101
|
-
const
|
|
103
|
+
const u = v(
|
|
102
104
|
() => ({
|
|
103
|
-
getIsOpen: () =>
|
|
105
|
+
getIsOpen: () => p.current,
|
|
104
106
|
open: () => n(!0),
|
|
105
107
|
close: () => n(!1)
|
|
106
108
|
}),
|
|
107
109
|
[n]
|
|
108
110
|
);
|
|
109
|
-
|
|
111
|
+
V(P, u, o);
|
|
112
|
+
const f = v(() => ({ id: o, modal: l }), [o, l]);
|
|
113
|
+
return /* @__PURE__ */ t(_.Provider, { value: f, children: /* @__PURE__ */ t(
|
|
114
|
+
s.Root,
|
|
115
|
+
{
|
|
116
|
+
open: d,
|
|
117
|
+
onOpenChange: n,
|
|
118
|
+
modal: l,
|
|
119
|
+
...c,
|
|
120
|
+
children: e
|
|
121
|
+
}
|
|
122
|
+
) });
|
|
110
123
|
};
|
|
111
|
-
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
const
|
|
115
|
-
|
|
116
|
-
const
|
|
124
|
+
y.displayName = "Dialog.Root";
|
|
125
|
+
const C = i(({ children: e, ...o }, a) => /* @__PURE__ */ t(s.Trigger, { ref: a, ...o, children: e }));
|
|
126
|
+
C.displayName = "Dialog.Trigger";
|
|
127
|
+
const N = i(({ children: e, ...o }, a) => /* @__PURE__ */ t(s.Close, { ref: a, ...o, children: e }));
|
|
128
|
+
N.displayName = "Dialog.Close";
|
|
129
|
+
const h = i(
|
|
117
130
|
({
|
|
118
131
|
size: e = "md",
|
|
119
132
|
variant: o = "default",
|
|
120
133
|
scroll: a = "surface",
|
|
121
|
-
hideCloseButton:
|
|
122
|
-
className:
|
|
123
|
-
children:
|
|
134
|
+
hideCloseButton: r,
|
|
135
|
+
className: m,
|
|
136
|
+
children: l,
|
|
137
|
+
onKeyDown: c,
|
|
124
138
|
...g
|
|
125
139
|
}, n) => {
|
|
126
|
-
const { t: d } =
|
|
127
|
-
return /* @__PURE__ */
|
|
140
|
+
const { t: d } = F("ui"), { id: p, modal: u } = S(_), f = L(!u), B = o === "alert" ? { role: "alertdialog" } : {}, k = r ?? o !== "default";
|
|
141
|
+
return /* @__PURE__ */ b(s.Portal, { children: [
|
|
128
142
|
/* @__PURE__ */ t(
|
|
129
143
|
s.Overlay,
|
|
130
144
|
{
|
|
131
145
|
"data-component": "dialog-overlay",
|
|
132
|
-
className:
|
|
146
|
+
className: w
|
|
133
147
|
}
|
|
134
148
|
),
|
|
135
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ b(
|
|
136
150
|
s.Content,
|
|
137
151
|
{
|
|
138
152
|
ref: n,
|
|
139
|
-
...
|
|
153
|
+
...B,
|
|
140
154
|
"data-component": "dialog",
|
|
141
|
-
"data-component-id":
|
|
142
|
-
className:
|
|
155
|
+
"data-component-id": p,
|
|
156
|
+
className: U({ size: e, scroll: a, className: m }),
|
|
143
157
|
...g,
|
|
158
|
+
onKeyDown: (D) => {
|
|
159
|
+
c == null || c(D), f(D);
|
|
160
|
+
},
|
|
144
161
|
children: [
|
|
145
|
-
|
|
146
|
-
!
|
|
162
|
+
l,
|
|
163
|
+
!k && // The close is a plain button carrying the `ds-dialog__close`
|
|
147
164
|
// contract class — the SAME class a vanilla host renders. The CSS
|
|
148
165
|
// (src/styles.css) owns its position, sizing, glyph size, hover
|
|
149
166
|
// wash, and focus ring from tokens, so the React and non-React
|
|
@@ -154,7 +171,7 @@ const _ = i(
|
|
|
154
171
|
type: "button",
|
|
155
172
|
className: "ds-dialog__close",
|
|
156
173
|
"aria-label": d("common.close", "Close"),
|
|
157
|
-
children: /* @__PURE__ */ t(
|
|
174
|
+
children: /* @__PURE__ */ t(M, { "aria-hidden": "true" })
|
|
158
175
|
}
|
|
159
176
|
)
|
|
160
177
|
]
|
|
@@ -163,8 +180,8 @@ const _ = i(
|
|
|
163
180
|
] });
|
|
164
181
|
}
|
|
165
182
|
);
|
|
166
|
-
|
|
167
|
-
const
|
|
183
|
+
h.displayName = "Dialog.Content";
|
|
184
|
+
const R = i(
|
|
168
185
|
({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
169
186
|
"div",
|
|
170
187
|
{
|
|
@@ -174,8 +191,8 @@ const b = i(
|
|
|
174
191
|
}
|
|
175
192
|
)
|
|
176
193
|
);
|
|
177
|
-
|
|
178
|
-
const
|
|
194
|
+
R.displayName = "Dialog.Header";
|
|
195
|
+
const O = i(
|
|
179
196
|
({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
180
197
|
"div",
|
|
181
198
|
{
|
|
@@ -185,8 +202,8 @@ const C = i(
|
|
|
185
202
|
}
|
|
186
203
|
)
|
|
187
204
|
);
|
|
188
|
-
|
|
189
|
-
const
|
|
205
|
+
O.displayName = "Dialog.Body";
|
|
206
|
+
const x = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
190
207
|
s.Title,
|
|
191
208
|
{
|
|
192
209
|
ref: a,
|
|
@@ -194,8 +211,8 @@ const h = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
|
194
211
|
...o
|
|
195
212
|
}
|
|
196
213
|
));
|
|
197
|
-
|
|
198
|
-
const
|
|
214
|
+
x.displayName = "Dialog.Title";
|
|
215
|
+
const T = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
199
216
|
s.Description,
|
|
200
217
|
{
|
|
201
218
|
ref: a,
|
|
@@ -203,12 +220,12 @@ const N = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
|
|
|
203
220
|
...o
|
|
204
221
|
}
|
|
205
222
|
));
|
|
206
|
-
|
|
207
|
-
const
|
|
208
|
-
({ className: e, divider: o = !1, ...a },
|
|
223
|
+
T.displayName = "Dialog.Description";
|
|
224
|
+
const j = i(
|
|
225
|
+
({ className: e, divider: o = !1, ...a }, r) => /* @__PURE__ */ t(
|
|
209
226
|
"div",
|
|
210
227
|
{
|
|
211
|
-
ref:
|
|
228
|
+
ref: r,
|
|
212
229
|
className: [
|
|
213
230
|
"ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-sm)]",
|
|
214
231
|
"ds:mt-[var(--spacing-md)]",
|
|
@@ -219,20 +236,20 @@ const R = i(
|
|
|
219
236
|
}
|
|
220
237
|
)
|
|
221
238
|
);
|
|
222
|
-
|
|
223
|
-
const
|
|
224
|
-
Root:
|
|
225
|
-
Trigger:
|
|
226
|
-
Content:
|
|
227
|
-
Header:
|
|
228
|
-
Title:
|
|
229
|
-
Description:
|
|
230
|
-
Body:
|
|
231
|
-
Footer:
|
|
232
|
-
Close:
|
|
239
|
+
j.displayName = "Dialog.Footer";
|
|
240
|
+
const Z = Object.assign(y, {
|
|
241
|
+
Root: y,
|
|
242
|
+
Trigger: C,
|
|
243
|
+
Content: h,
|
|
244
|
+
Header: R,
|
|
245
|
+
Title: x,
|
|
246
|
+
Description: T,
|
|
247
|
+
Body: O,
|
|
248
|
+
Footer: j,
|
|
249
|
+
Close: N
|
|
233
250
|
});
|
|
234
251
|
export {
|
|
235
|
-
|
|
236
|
-
|
|
252
|
+
Z as D,
|
|
253
|
+
P as d
|
|
237
254
|
};
|
|
238
|
-
//# sourceMappingURL=dialog-
|
|
255
|
+
//# sourceMappingURL=dialog-Dn-iQ0Jp.js.map
|
|
@@ -6,7 +6,7 @@ import { B as b } from "./badge-hnBt8o7n.js";
|
|
|
6
6
|
import { C as B } from "./card-DMO2nkt4.js";
|
|
7
7
|
import { E as G } from "./empty-state-gNG3qYCX.js";
|
|
8
8
|
import { P as Y } from "./panel-header-D_mTdhUp.js";
|
|
9
|
-
import { P as J } from "./pdf-viewer-
|
|
9
|
+
import { P as J } from "./pdf-viewer-CNQxa4tv.js";
|
|
10
10
|
import { T as O, b as Q, c as X, a as Z } from "./tabs-I2wf_nC7.js";
|
|
11
11
|
import { u as ee } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { F as ie } from "./file-image-cDgE-BTy.js";
|
|
@@ -288,4 +288,4 @@ export {
|
|
|
288
288
|
ue as D,
|
|
289
289
|
de as d
|
|
290
290
|
};
|
|
291
|
-
//# sourceMappingURL=document-preview-
|
|
291
|
+
//# sourceMappingURL=document-preview-CHGGG0l_.js.map
|
|
@@ -4,9 +4,9 @@ import { c as oe } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as ie } from "react-i18next";
|
|
5
5
|
import { u as de } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { R as C } from "./radio-BBbMdbE_.js";
|
|
7
|
-
import { R as z } from "./radio-group-
|
|
7
|
+
import { R as z } from "./radio-group-DicxWJXP.js";
|
|
8
8
|
import { F as w } from "./form-field-Ani72sVY.js";
|
|
9
|
-
import { D as T } from "./date-picker-
|
|
9
|
+
import { D as T } from "./date-picker-BSZuKo13.js";
|
|
10
10
|
import { N as Y } from "./number-input-CVwI1ltI.js";
|
|
11
11
|
import { C as U } from "./card-DMO2nkt4.js";
|
|
12
12
|
import { B as W } from "./badge-hnBt8o7n.js";
|
|
@@ -568,4 +568,4 @@ Ae.displayName = "DueDateCalculator";
|
|
|
568
568
|
export {
|
|
569
569
|
Ae as D
|
|
570
570
|
};
|
|
571
|
-
//# sourceMappingURL=due-date-calculator-
|
|
571
|
+
//# sourceMappingURL=due-date-calculator-D_qFUiHp.js.map
|
|
@@ -6,7 +6,7 @@ import { A as H } from "./avatar-WZY3eGE7.js";
|
|
|
6
6
|
import { B as $ } from "./button-Bn16lcFM.js";
|
|
7
7
|
import { I as O } from "./icon-button-COX76Jdj.js";
|
|
8
8
|
import { C } from "./card-DMO2nkt4.js";
|
|
9
|
-
import { L as F } from "./link-
|
|
9
|
+
import { L as F } from "./link-gRw3NtOt.js";
|
|
10
10
|
import { P as G } from "./panel-header-D_mTdhUp.js";
|
|
11
11
|
import { T as W } from "./timestamp-DPLDWdxA.js";
|
|
12
12
|
import { u as X } from "./registry-DvAUVLHh.js";
|
|
@@ -274,4 +274,4 @@ function ae({ section: t }) {
|
|
|
274
274
|
export {
|
|
275
275
|
be as E
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=entity-summary-
|
|
277
|
+
//# sourceMappingURL=entity-summary-CWcCSThK.js.map
|