@alfadocs/ui-kit 0.69.0 → 0.70.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-card-BxSFkqgY.js → agenda-card-BQ-IKAru.js} +2 -2
- package/dist/_chunks/{agenda-tray-g0kg7HwB.js → agenda-tray-CGXRk58j.js} +2 -2
- package/dist/_chunks/{ai-consent-banner-CXlsNX1c.js → ai-consent-banner-Be-h9mRI.js} +3 -3
- package/dist/_chunks/ai-tools-rail-B5NEghsp.js +511 -0
- package/dist/_chunks/{alert-_mUKLmwA.js → alert-CHYZ96tR.js} +150 -96
- package/dist/_chunks/{anamnesis-card-DRmE24OQ.js → anamnesis-card-DvYCa16e.js} +2 -2
- package/dist/_chunks/anatomy-scheme-CJB6dI6p.js +2445 -0
- package/dist/_chunks/annotation-marker-qt5R9WZX.js +120 -0
- package/dist/_chunks/{antenatal-schedule-timeline-35ebkcZT.js → antenatal-schedule-timeline-CwXrQRm1.js} +2 -2
- package/dist/_chunks/appointment-card-C06aZqA7.js +310 -0
- package/dist/_chunks/appointment-timeline-BJM0S_Fg.js +386 -0
- package/dist/_chunks/appointment-tray-DRRw5ROi.js +193 -0
- package/dist/_chunks/{audio-recorder-DYXXnGug.js → audio-recorder-Cpdk5qpQ.js} +2 -2
- package/dist/_chunks/{badge-CqGsX32l.js → badge-DCOqV9mI.js} +32 -27
- package/dist/_chunks/{bishop-score-PJI3AXzA.js → bishop-score-DnYWtZa_.js} +2 -2
- package/dist/_chunks/{bmi-calculator-BZtIJ53x.js → bmi-calculator-zjeY4E7J.js} +2 -2
- package/dist/_chunks/{booking-C3VqFReX.js → booking-DUBI0oqt.js} +4 -4
- package/dist/_chunks/{care-plan-card-CvFGXa2z.js → care-plan-card-C5sTfY9G.js} +5 -5
- package/dist/_chunks/{care-plan-entry-card-C3E_gClk.js → care-plan-entry-card-CXnxGCWA.js} +5 -5
- package/dist/_chunks/care-plan-header-BUwqDTtz.js +206 -0
- package/dist/_chunks/clinical-note-card-BUvNMNGL.js +436 -0
- package/dist/_chunks/{contact-profile-card-Dramqa9C.js → contact-profile-card-DDPwRFiP.js} +2 -2
- package/dist/_chunks/control-room-rail-Y8ryLYsP.js +229 -0
- package/dist/_chunks/{cycle-calculator-DmRGJNaT.js → cycle-calculator-CCmPwcBl.js} +2 -2
- package/dist/_chunks/{dependent-selector-CG_FOHya.js → dependent-selector-DUV4thxX.js} +2 -2
- package/dist/_chunks/{document-scanner-CTubA0-N.js → document-scanner-C_AxLooF.js} +3 -3
- package/dist/_chunks/{due-date-calculator-BTmsIQqD.js → due-date-calculator-Brdj-euS.js} +3 -3
- package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js +328 -0
- package/dist/_chunks/email-input-DJ7EXklP.js +397 -0
- package/dist/_chunks/{entity-card-COhmqHly.js → entity-card-9_62gY7l.js} +38 -20
- package/dist/_chunks/entity-summary-BxRjFh_4.js +138 -0
- package/dist/_chunks/{fetal-weight-CRz7KE2D.js → fetal-weight-DNCkyeVo.js} +2 -2
- package/dist/_chunks/field-value-NXYczdpO.js +415 -0
- package/dist/_chunks/{file-upload-5ScQd4fE.js → file-upload-DwZcAK8D.js} +2 -1
- package/dist/_chunks/{freemium-paywall-DZ2mBS3w.js → freemium-paywall-WYlNO7yT.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-BleUdhbI.js → gestational-age-calculator-CF2ISaYQ.js} +3 -3
- package/dist/_chunks/hash-CysBBS_N.js +17 -0
- package/dist/_chunks/{hcg-doubling-CnjDXX6U.js → hcg-doubling-C7bmuaU3.js} +2 -2
- package/dist/_chunks/{actions-cell-renderer-DrcaxB0w.js → link-cell-renderer-CTXqtXV-.js} +715 -592
- package/dist/_chunks/lock-CKOIn0IK.js +15 -0
- package/dist/_chunks/{marketplace-app-shell-6T9W4Knl.js → marketplace-app-shell-Skhfp6vK.js} +3 -3
- package/dist/_chunks/notes-panel-ay8_lPrA.js +158 -0
- package/dist/_chunks/{notification-card-BiESdm8q.js → notification-card-D2jiKSJJ.js} +27 -23
- package/dist/_chunks/{notification-tray-Btb9oQeZ.js → notification-tray-AEun6DN2.js} +2 -2
- package/dist/_chunks/{operator-hero-CP2Nhupm.js → operator-hero-CR0Rqh4-.js} +3 -3
- package/dist/_chunks/patient-details-Dlhqb5ig.js +675 -0
- package/dist/_chunks/{patient-search-CBC_ySF6.js → patient-search-Be6cLrHR.js} +2 -2
- package/dist/_chunks/patient-summary-card-WySCMwwA.js +437 -0
- package/dist/_chunks/patient-table-CHxf3Oqk.js +1110 -0
- package/dist/_chunks/{payment-form-DvjwYVIT.js → payment-form-CxqIXqw7.js} +2 -2
- package/dist/_chunks/{payment-request-card-DioWKBUq.js → payment-request-card-BcZJwu9z.js} +125 -136
- package/dist/_chunks/{pdf-viewer-D6BPfW2D.js → pdf-viewer-QfebdLOd.js} +192 -214
- package/dist/_chunks/{periodontal-chart-card-BuDEMbHE.js → periodontal-chart-card-hRRJY1NN.js} +2 -2
- package/dist/_chunks/{practice-results-KrTHqZua.js → practice-results-C6qDfxos.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-DORUAOHB.js → pregnancy-dating-CRVWswD-.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-DVz4rr7-.js → pregnancy-weight-gain-BUNpTsH-.js} +2 -2
- package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js +558 -0
- package/dist/_chunks/{rich-text-editor-BsV7zUdg.js → rich-text-editor-DlCqPixb.js} +410 -394
- package/dist/_chunks/{sign-document-B4DeRhTe.js → sign-document-By6hMOra.js} +2 -2
- package/dist/_chunks/{stepper-accordion-Dki6r9ZE.js → stepper-accordion-DC-H-8v4.js} +38 -48
- package/dist/_chunks/tab-bar-Bv9nGNdO.js +262 -0
- package/dist/_chunks/tooth-scheme-BhQoPNBD.js +2131 -0
- package/dist/_chunks/{transaction-chip-DK84XCBU.js → transaction-chip-CscoQbxF.js} +88 -61
- package/dist/_chunks/use-clamp-overflow-DQE2kwZ9.js +20 -0
- package/dist/_chunks/use-overflow-collapse-BIOzKbni.js +32 -0
- package/dist/_chunks/use-persistent-state-nZwZAnE9.js +24 -0
- package/dist/_chunks/{warning-stack-BsgaEbL8.js → warning-stack--sTrrBDA.js} +86 -101
- package/dist/_chunks/{workflow-map-Bdam9pGp.js → workflow-map-Dy8mLCqF.js} +3 -3
- package/dist/_chunks/zoom-out-CgVtf2Wx.js +29 -0
- package/dist/agent/index.js +5 -4
- package/dist/agent/types.d.ts +19 -2
- package/dist/agent-catalog.json +1253 -86
- package/dist/agent-i18n/en.json +108 -6
- package/dist/components/_shared/entity-card/entity-card.d.ts +6 -0
- package/dist/components/_shared/entity-card/index.d.ts +1 -1
- package/dist/components/_shared/field-value.d.ts +21 -0
- package/dist/components/_shared/field-visibility-cog.d.ts +20 -0
- package/dist/components/_shared/field-visibility.d.ts +36 -0
- package/dist/components/_shared/patient-fields.d.ts +119 -0
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +75 -0
- package/dist/components/ai-tools-rail/index.js +1 -1
- package/dist/components/alert/alert.d.ts +5 -0
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +15 -0
- package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +20 -0
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +121 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +6 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +69 -0
- package/dist/components/anatomy-scheme/index.d.ts +6 -0
- package/dist/components/anatomy-scheme/index.js +17 -0
- package/dist/components/annotation-marker/annotation-marker.d.ts +33 -0
- package/dist/components/annotation-marker/index.d.ts +3 -0
- package/dist/components/annotation-marker/index.js +7 -0
- package/dist/components/appointment-card/appointment-card.d.ts +25 -1
- package/dist/components/appointment-card/index.js +6 -5
- package/dist/components/appointment-timeline/appointment-timeline.agent.d.ts +4 -0
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +66 -0
- package/dist/components/appointment-timeline/index.d.ts +4 -0
- package/dist/components/appointment-timeline/index.js +6 -0
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/badge/badge.d.ts +6 -2
- package/dist/components/badge/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/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/care-plan-header.agent.d.ts +4 -0
- package/dist/components/care-plan-header/care-plan-header.d.ts +100 -0
- package/dist/components/care-plan-header/index.d.ts +4 -0
- package/dist/components/care-plan-header/index.js +6 -0
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +21 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/control-room-context.d.ts +53 -0
- package/dist/components/control-room-rail/control-room-rail.d.ts +35 -0
- package/dist/components/control-room-rail/index.d.ts +5 -0
- package/dist/components/control-room-rail/index.js +9 -0
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +18 -0
- package/dist/components/data-table/index.d.ts +1 -1
- package/dist/components/data-table/index.js +32 -31
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/entity-summary/entity-summary.d.ts +43 -0
- package/dist/components/entity-summary/index.d.ts +3 -0
- package/dist/components/entity-summary/index.js +5 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/file-upload/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/index.d.ts +9 -0
- package/dist/components/notes-panel/index.d.ts +3 -0
- package/dist/components/notes-panel/index.js +5 -0
- package/dist/components/notes-panel/notes-panel.d.ts +64 -0
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/patient-details/index.d.ts +5 -0
- package/dist/components/patient-details/index.js +6 -0
- package/dist/components/patient-details/patient-details.agent.d.ts +4 -0
- package/dist/components/patient-details/patient-details.d.ts +96 -0
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +40 -1
- package/dist/components/patient-table/columns.d.ts +69 -40
- package/dist/components/patient-table/index.d.ts +2 -6
- package/dist/components/patient-table/index.js +8 -9
- package/dist/components/patient-table/patient-table.d.ts +38 -4
- package/dist/components/patient-table/types.d.ts +52 -2
- package/dist/components/patient-table/use-responsive-columns.d.ts +8 -6
- 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/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/radiograph-panel/index.d.ts +4 -0
- package/dist/components/radiograph-panel/index.js +7 -0
- package/dist/components/radiograph-panel/radiograph-panel.agent.d.ts +13 -0
- package/dist/components/radiograph-panel/radiograph-panel.d.ts +36 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts +18 -1
- package/dist/components/tooth-scheme/index.d.ts +2 -2
- package/dist/components/tooth-scheme/index.js +30 -23
- package/dist/components/tooth-scheme/tooth-data.d.ts +112 -1
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -2
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +75 -11
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +2 -2
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/warning-stack/warning-stack.d.ts +10 -7
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +24 -22
- package/dist/hooks/use-clamp-overflow.d.ts +19 -0
- package/dist/hooks/use-overflow-collapse.d.ts +46 -0
- package/dist/hooks/use-persistent-state.d.ts +7 -1
- package/dist/hooks/use-scroll-overflow.d.ts +36 -0
- package/dist/i18n/locales/ar.d.ts +308 -24
- package/dist/i18n/locales/ar.js +322 -27
- package/dist/i18n/locales/de.d.ts +308 -24
- package/dist/i18n/locales/de.js +322 -27
- package/dist/i18n/locales/el.d.ts +308 -24
- package/dist/i18n/locales/el.js +322 -27
- package/dist/i18n/locales/en.d.ts +309 -32
- package/dist/i18n/locales/en.js +323 -35
- package/dist/i18n/locales/es.d.ts +308 -24
- package/dist/i18n/locales/es.js +322 -27
- package/dist/i18n/locales/fr.d.ts +308 -24
- package/dist/i18n/locales/fr.js +322 -27
- package/dist/i18n/locales/hi.d.ts +308 -24
- package/dist/i18n/locales/hi.js +322 -27
- package/dist/i18n/locales/it.d.ts +308 -24
- package/dist/i18n/locales/it.js +322 -27
- package/dist/i18n/locales/ja.d.ts +308 -24
- package/dist/i18n/locales/ja.js +322 -27
- package/dist/i18n/locales/nl.d.ts +308 -24
- package/dist/i18n/locales/nl.js +322 -27
- package/dist/i18n/locales/pl.d.ts +308 -24
- package/dist/i18n/locales/pl.js +322 -27
- package/dist/i18n/locales/pt.d.ts +308 -24
- package/dist/i18n/locales/pt.js +322 -27
- package/dist/i18n/locales/ro.d.ts +308 -24
- package/dist/i18n/locales/ro.js +322 -27
- package/dist/i18n/locales/ru.d.ts +308 -24
- package/dist/i18n/locales/ru.js +322 -27
- package/dist/i18n/locales/sq.d.ts +308 -24
- package/dist/i18n/locales/sq.js +322 -27
- package/dist/i18n/locales/sv.d.ts +308 -24
- package/dist/i18n/locales/sv.js +322 -27
- package/dist/i18n/locales/tr.d.ts +308 -24
- package/dist/i18n/locales/tr.js +322 -27
- package/dist/i18n/locales/zh.d.ts +308 -24
- package/dist/i18n/locales/zh.js +322 -27
- package/dist/index.js +672 -623
- package/dist/locales/ar.json +311 -27
- package/dist/locales/de.json +311 -27
- package/dist/locales/el.json +311 -27
- package/dist/locales/en.json +311 -27
- package/dist/locales/es.json +311 -27
- package/dist/locales/fr.json +311 -27
- package/dist/locales/hi.json +311 -27
- package/dist/locales/it.json +311 -27
- package/dist/locales/ja.json +311 -27
- package/dist/locales/nl.json +311 -27
- package/dist/locales/pl.json +311 -27
- package/dist/locales/pt.json +311 -27
- package/dist/locales/ro.json +311 -27
- package/dist/locales/ru.json +311 -27
- package/dist/locales/sq.json +311 -27
- package/dist/locales/sv.json +311 -27
- package/dist/locales/tr.json +311 -27
- package/dist/locales/zh.json +311 -27
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +37 -1
- package/dist/_chunks/ai-tools-rail-BA_sqy1A.js +0 -373
- package/dist/_chunks/appointment-tray-CZtvtaH-.js +0 -431
- package/dist/_chunks/clinical-note-card-DqQYf_D4.js +0 -333
- package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js +0 -448
- package/dist/_chunks/email-input-B_Y55f5G.js +0 -396
- package/dist/_chunks/patient-summary-card-B836_fDB.js +0 -435
- package/dist/_chunks/patient-table-CDuosVru.js +0 -889
- package/dist/_chunks/tab-bar-B1ovILzh.js +0 -105
- package/dist/_chunks/tooth-scheme-yBr53cvv.js +0 -1330
- package/dist/_chunks/use-persistent-state-i23OWy6G.js +0 -24
- package/dist/components/patient-table/cell-renderers/contact-cell.d.ts +0 -45
- package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts +0 -26
|
@@ -39,7 +39,11 @@ const z = d(
|
|
|
39
39
|
// trust-signal chips in hero contexts where a tonal `info` / `neutral`
|
|
40
40
|
// would blend into the brand backdrop.
|
|
41
41
|
brand: "ds:bg-[var(--primary)] ds:text-[var(--primary-foreground)] ds:border ds:border-[color:color-mix(in_srgb,var(--foreground)_15%,transparent)]",
|
|
42
|
-
accent: "ds:bg-[var(--accent)] ds:text-[var(--accent-foreground)] ds:border ds:border-[color:color-mix(in_srgb,var(--foreground)_15%,transparent)]"
|
|
42
|
+
accent: "ds:bg-[var(--accent)] ds:text-[var(--accent-foreground)] ds:border ds:border-[color:color-mix(in_srgb,var(--foreground)_15%,transparent)]",
|
|
43
|
+
// Tonal accent (magenta ≈ pink) — the `info` recipe applied to accent.
|
|
44
|
+
// The kit has no paired tinted-accent foreground, so the label/edge tone
|
|
45
|
+
// is mixed toward `--foreground` to clear AA on the wash (all 4 themes).
|
|
46
|
+
accentSoft: "ds:bg-[color:color-mix(in_srgb,var(--accent)_15%,transparent)] ds:text-[color:color-mix(in_srgb,var(--accent)_40%,var(--foreground))] ds:border ds:border-[color:color-mix(in_srgb,var(--accent)_40%,var(--foreground))]"
|
|
43
47
|
},
|
|
44
48
|
size: {
|
|
45
49
|
sm: "ds:h-4 ds:ps-1 ds:pe-1 ds:[--type-eyebrow-size:var(--font-size-2xs)]",
|
|
@@ -57,7 +61,7 @@ const z = d(
|
|
|
57
61
|
shape: "pill"
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
|
-
),
|
|
64
|
+
), _ = d(
|
|
61
65
|
"ds:text-[length:var(--font-size-dot)] ds:leading-none ds:shrink-0",
|
|
62
66
|
{
|
|
63
67
|
variants: {
|
|
@@ -70,12 +74,13 @@ const z = d(
|
|
|
70
74
|
// Solid-fill variants: dot draws in the paired foreground tone so
|
|
71
75
|
// it stays visible against the saturated primary/accent fill.
|
|
72
76
|
brand: "ds:text-[var(--primary-foreground)]",
|
|
73
|
-
accent: "ds:text-[var(--accent-foreground)]"
|
|
77
|
+
accent: "ds:text-[var(--accent-foreground)]",
|
|
78
|
+
accentSoft: "ds:text-[var(--accent)]"
|
|
74
79
|
}
|
|
75
80
|
},
|
|
76
81
|
defaultVariants: { variant: "neutral" }
|
|
77
82
|
}
|
|
78
|
-
),
|
|
83
|
+
), N = d("ds:shrink-0 ds:[&>svg]:block", {
|
|
79
84
|
variants: {
|
|
80
85
|
size: {
|
|
81
86
|
// Icons shrink with the compact Badge scale: sm badge is 16 px tall, so
|
|
@@ -86,43 +91,43 @@ const z = d(
|
|
|
86
91
|
}
|
|
87
92
|
},
|
|
88
93
|
defaultVariants: { size: "md" }
|
|
89
|
-
}),
|
|
94
|
+
}), V = w(
|
|
90
95
|
({
|
|
91
|
-
variant:
|
|
92
|
-
size:
|
|
96
|
+
variant: a = "neutral",
|
|
97
|
+
size: n = "md",
|
|
93
98
|
shape: g = "pill",
|
|
94
|
-
leading:
|
|
95
|
-
withDot:
|
|
96
|
-
truncate:
|
|
97
|
-
className:
|
|
99
|
+
leading: t,
|
|
100
|
+
withDot: f = !1,
|
|
101
|
+
truncate: i = !1,
|
|
102
|
+
className: u,
|
|
98
103
|
children: r,
|
|
99
|
-
"aria-label":
|
|
104
|
+
"aria-label": e,
|
|
100
105
|
...v
|
|
101
|
-
},
|
|
102
|
-
const { t:
|
|
106
|
+
}, b) => {
|
|
107
|
+
const { t: p } = h(), o = !r && !!e, m = typeof r == "number", c = /* @__PURE__ */ l(
|
|
103
108
|
"span",
|
|
104
109
|
{
|
|
105
|
-
ref:
|
|
106
|
-
className: z({ variant:
|
|
110
|
+
ref: b,
|
|
111
|
+
className: z({ variant: a, size: n, shape: g, className: u }),
|
|
107
112
|
"data-component": "badge",
|
|
108
|
-
role:
|
|
109
|
-
"aria-label":
|
|
113
|
+
role: o ? "img" : void 0,
|
|
114
|
+
"aria-label": o ? e : void 0,
|
|
110
115
|
...v,
|
|
111
116
|
children: [
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
!
|
|
117
|
+
f && /* @__PURE__ */ s("span", { "aria-hidden": "true", className: _({ variant: a }), children: "●" }),
|
|
118
|
+
t && /* @__PURE__ */ s("span", { "aria-hidden": "true", className: N({ size: n }), children: t }),
|
|
119
|
+
!o && (m ? /* @__PURE__ */ l(x, { children: [
|
|
115
120
|
/* @__PURE__ */ s("span", { "aria-hidden": "true", children: r }),
|
|
116
|
-
/* @__PURE__ */ s("span", { className: "ds:sr-only", children:
|
|
117
|
-
] }) :
|
|
121
|
+
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: e ?? p("badge.notifications", { count: r }) })
|
|
122
|
+
] }) : i ? /* @__PURE__ */ s("span", { className: "ds:max-w-[var(--badge-truncate-max-width)] ds:overflow-hidden ds:text-ellipsis ds:whitespace-nowrap", children: r }) : r)
|
|
118
123
|
]
|
|
119
124
|
}
|
|
120
125
|
);
|
|
121
|
-
return
|
|
126
|
+
return i && typeof r == "string" ? /* @__PURE__ */ s(y, { label: r, children: c }) : c;
|
|
122
127
|
}
|
|
123
128
|
);
|
|
124
|
-
|
|
129
|
+
V.displayName = "Badge";
|
|
125
130
|
export {
|
|
126
|
-
|
|
131
|
+
V as B
|
|
127
132
|
};
|
|
128
|
-
//# sourceMappingURL=badge-
|
|
133
|
+
//# sourceMappingURL=badge-DCOqV9mI.js.map
|
|
@@ -6,7 +6,7 @@ import { u as L } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { F } from "./form-field-BOm9hK35.js";
|
|
7
7
|
import { S as H } from "./select-DMLG44F5.js";
|
|
8
8
|
import { C as O } from "./card-DPmk26CL.js";
|
|
9
|
-
import { B as M } from "./badge-
|
|
9
|
+
import { B as M } from "./badge-DCOqV9mI.js";
|
|
10
10
|
import { I as j } from "./insert-result-njqBthzT.js";
|
|
11
11
|
const D = [
|
|
12
12
|
"dilation",
|
|
@@ -301,4 +301,4 @@ export {
|
|
|
301
301
|
V as d,
|
|
302
302
|
G as e
|
|
303
303
|
};
|
|
304
|
-
//# sourceMappingURL=bishop-score-
|
|
304
|
+
//# sourceMappingURL=bishop-score-DnYWtZa_.js.map
|
|
@@ -8,7 +8,7 @@ import { R as ue } from "./radio-group-BPt7pKZW.js";
|
|
|
8
8
|
import { F as G } from "./form-field-BOm9hK35.js";
|
|
9
9
|
import { N as L } from "./number-input-DxphVG_A.js";
|
|
10
10
|
import { C as j } from "./card-DPmk26CL.js";
|
|
11
|
-
import { B as me } from "./badge-
|
|
11
|
+
import { B as me } from "./badge-DCOqV9mI.js";
|
|
12
12
|
import { B as de, I as ge, b as pe } from "./insert-result-njqBthzT.js";
|
|
13
13
|
import { c as q, b as he, e as be, l as D, f as V, k as z } from "./bmi-BxD-tFzU.js";
|
|
14
14
|
const ye = {
|
|
@@ -431,4 +431,4 @@ we.displayName = "BmiCalculator";
|
|
|
431
431
|
export {
|
|
432
432
|
we as B
|
|
433
433
|
};
|
|
434
|
-
//# sourceMappingURL=bmi-calculator-
|
|
434
|
+
//# sourceMappingURL=bmi-calculator-zjeY4E7J.js.map
|
|
@@ -3,12 +3,12 @@ import { forwardRef as ot, useId as rt, useState as K, useCallback as j, useRef
|
|
|
3
3
|
import { c as Pe } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as O, Trans as Pt } from "react-i18next";
|
|
5
5
|
import { u as Ot } from "./registry-DvAUVLHh.js";
|
|
6
|
-
import { A as z } from "./alert-
|
|
6
|
+
import { A as z } from "./alert-CHYZ96tR.js";
|
|
7
7
|
import { B as ie } from "./button-DD_0Xdmr.js";
|
|
8
8
|
import { C as Ke } from "./checkbox-BuZ1u__2.js";
|
|
9
9
|
import { C as Bt } from "./checkbox-group-PqNmQ-cE.js";
|
|
10
10
|
import { D as Et } from "./date-picker-Dl9RKxaV.js";
|
|
11
|
-
import { E as Rt } from "./email-input-
|
|
11
|
+
import { E as Rt } from "./email-input-DJ7EXklP.js";
|
|
12
12
|
import { F as Z } from "./form-field-BOm9hK35.js";
|
|
13
13
|
import { P as Vt } from "./phone-input-DjU-XmO_.js";
|
|
14
14
|
import { T as Lt } from "./text-area-Bt3p7Pt0.js";
|
|
@@ -20,7 +20,7 @@ import { C as Ge } from "./combobox-Clum7gJ1.js";
|
|
|
20
20
|
import { M as Ue } from "./multi-select-BdHHDrRN.js";
|
|
21
21
|
import { S as _e } from "./skeleton-CZbwyJAA.js";
|
|
22
22
|
import { E as dt } from "./empty-state-BLy7tigq.js";
|
|
23
|
-
import { S as $t } from "./stepper-accordion-
|
|
23
|
+
import { S as $t } from "./stepper-accordion-DC-H-8v4.js";
|
|
24
24
|
import { S as zt } from "./stepper-progress-Bv0njx4g.js";
|
|
25
25
|
import { p as F, S as Kt } from "./slot-grid-FsqumOaS.js";
|
|
26
26
|
import { s as le, i as st } from "./isSameDay-DUEiAT0G.js";
|
|
@@ -2708,4 +2708,4 @@ export {
|
|
|
2708
2708
|
X as O,
|
|
2709
2709
|
Ms as b
|
|
2710
2710
|
};
|
|
2711
|
-
//# sourceMappingURL=booking-
|
|
2711
|
+
//# sourceMappingURL=booking-DUBI0oqt.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as H, useId as P } from "react";
|
|
3
3
|
import { useTranslation as M } from "react-i18next";
|
|
4
|
-
import { B as N } from "./badge-
|
|
4
|
+
import { B as N } from "./badge-DCOqV9mI.js";
|
|
5
5
|
import { L as F } from "./link-DrD_cRUg.js";
|
|
6
6
|
import { P as A } from "./progress-DA413-zn.js";
|
|
7
7
|
import { T as C } from "./timestamp-BV2lC-wV.js";
|
|
8
|
-
import { T as L } from "./transaction-chip-
|
|
8
|
+
import { T as L } from "./transaction-chip-CscoQbxF.js";
|
|
9
9
|
import { A as O, b as G, c as Y, a as $ } from "./accordion-DnIa7OHX.js";
|
|
10
|
-
import { C as q } from "./care-plan-entry-card-
|
|
10
|
+
import { C as q } from "./care-plan-entry-card-CXnxGCWA.js";
|
|
11
11
|
import { u as J } from "./registry-DvAUVLHh.js";
|
|
12
|
-
import { C as Q, e as W } from "./entity-card-
|
|
12
|
+
import { C as Q, e as W } from "./entity-card-9_62gY7l.js";
|
|
13
13
|
import { i as X } from "./is-safe-url-DkETxeHz.js";
|
|
14
14
|
const Z = {
|
|
15
15
|
id: "care-plan-card",
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
de as C,
|
|
254
254
|
Z as c
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=care-plan-card-
|
|
256
|
+
//# sourceMappingURL=care-plan-card-C5sTfY9G.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as _, useId as v } from "react";
|
|
3
3
|
import { useTranslation as R } from "react-i18next";
|
|
4
|
-
import { B as c } from "./badge-
|
|
4
|
+
import { B as c } from "./badge-DCOqV9mI.js";
|
|
5
5
|
import { P as O } from "./progress-DA413-zn.js";
|
|
6
6
|
import { T as q } from "./tag-BQXwuJq1.js";
|
|
7
7
|
import { T as b } from "./timestamp-BV2lC-wV.js";
|
|
8
|
-
import { T as G } from "./transaction-chip-
|
|
9
|
-
import { T as J } from "./tooth-scheme-
|
|
8
|
+
import { T as G } from "./transaction-chip-CscoQbxF.js";
|
|
9
|
+
import { T as J } from "./tooth-scheme-BhQoPNBD.js";
|
|
10
10
|
import { C as Q, b as X, a as Z } from "./collapsible-BrnRiCC6.js";
|
|
11
11
|
import { u as ee } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { C as ae } from "./chevron-down-BX_NP2Yh.js";
|
|
13
|
-
import { e as te } from "./entity-card-
|
|
13
|
+
import { e as te } from "./entity-card-9_62gY7l.js";
|
|
14
14
|
const re = {
|
|
15
15
|
id: "care-plan-entry-card",
|
|
16
16
|
// `expand` is host-delegated: the per-phase breakdown is an in-component
|
|
@@ -319,4 +319,4 @@ export {
|
|
|
319
319
|
le as C,
|
|
320
320
|
re as c
|
|
321
321
|
};
|
|
322
|
-
//# sourceMappingURL=care-plan-entry-card-
|
|
322
|
+
//# sourceMappingURL=care-plan-entry-card-CXnxGCWA.js.map
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { jsxs as r, jsx as e, Fragment as V } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as j, useId as z } from "react";
|
|
3
|
+
import { useTranslation as F } from "react-i18next";
|
|
4
|
+
import { B as w } from "./badge-DCOqV9mI.js";
|
|
5
|
+
import { a as M } from "./key-value-pair-BrgbMfbF.js";
|
|
6
|
+
import { L as U } from "./link-DrD_cRUg.js";
|
|
7
|
+
import { S as G } from "./separator-CYU_bGFn.js";
|
|
8
|
+
import { T as u } from "./timestamp-BV2lC-wV.js";
|
|
9
|
+
import { u as O } from "./registry-DvAUVLHh.js";
|
|
10
|
+
import { C as $, e as q } from "./entity-card-9_62gY7l.js";
|
|
11
|
+
import { i as J } from "./is-safe-url-DkETxeHz.js";
|
|
12
|
+
const Q = {
|
|
13
|
+
id: "care-plan-header",
|
|
14
|
+
capabilities: [],
|
|
15
|
+
state: {
|
|
16
|
+
state: {
|
|
17
|
+
type: "'estimate' | 'accepted' | 'discarded' | 'closed'",
|
|
18
|
+
descriptionKey: "ui.agent.carePlanHeader.state.state",
|
|
19
|
+
description: "The plan lifecycle state. Enum value only — never the localised label or any PHI.",
|
|
20
|
+
read: (i) => i.getState()
|
|
21
|
+
},
|
|
22
|
+
alertCount: {
|
|
23
|
+
type: "number",
|
|
24
|
+
descriptionKey: "ui.agent.carePlanHeader.state.alertCount",
|
|
25
|
+
description: "How many attention alerts (e.g. missing signature) are showing. Count only — never the alert labels.",
|
|
26
|
+
read: (i) => i.getAlertCount()
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
actions: {},
|
|
30
|
+
domHooks: {
|
|
31
|
+
root: {
|
|
32
|
+
attr: "data-component",
|
|
33
|
+
value: "care-plan-header",
|
|
34
|
+
description: "Marks the CarePlanHeader root region."
|
|
35
|
+
},
|
|
36
|
+
instanceId: {
|
|
37
|
+
attr: "data-component-id",
|
|
38
|
+
sourceProp: "id",
|
|
39
|
+
description: "Sourced from the id prop. Addresses a specific plan header."
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}, W = {
|
|
43
|
+
estimate: "Estimate",
|
|
44
|
+
accepted: "Accepted",
|
|
45
|
+
discarded: "Discarded",
|
|
46
|
+
closed: "Closed"
|
|
47
|
+
}, X = {
|
|
48
|
+
warning: "warning",
|
|
49
|
+
error: "error",
|
|
50
|
+
info: "info"
|
|
51
|
+
}, Y = j(
|
|
52
|
+
function({
|
|
53
|
+
id: c,
|
|
54
|
+
number: P,
|
|
55
|
+
numberLabel: A,
|
|
56
|
+
name: o,
|
|
57
|
+
state: d,
|
|
58
|
+
url: t,
|
|
59
|
+
alerts: n,
|
|
60
|
+
meta: p,
|
|
61
|
+
dates: a,
|
|
62
|
+
actions: m,
|
|
63
|
+
headingTag: I = "h3",
|
|
64
|
+
surface: H = "elevated",
|
|
65
|
+
density: L = "comfortable",
|
|
66
|
+
locale: T,
|
|
67
|
+
onActivate: g,
|
|
68
|
+
"aria-label": h,
|
|
69
|
+
className: E,
|
|
70
|
+
...S
|
|
71
|
+
}, K) {
|
|
72
|
+
const { t: l, i18n: _ } = F(), x = z(), f = T ?? _.language ?? "en";
|
|
73
|
+
O(
|
|
74
|
+
Q,
|
|
75
|
+
{
|
|
76
|
+
getState: () => d,
|
|
77
|
+
getAlertCount: () => (n == null ? void 0 : n.length) ?? 0
|
|
78
|
+
},
|
|
79
|
+
c
|
|
80
|
+
);
|
|
81
|
+
const v = A ?? l("carePlanCard.number", {
|
|
82
|
+
number: P,
|
|
83
|
+
defaultValue: "Care plan {{number}}"
|
|
84
|
+
}), k = l(`carePlanCard.state.${d}`, {
|
|
85
|
+
defaultValue: W[d]
|
|
86
|
+
}), y = o != null && o !== "", B = !!t && J(t), D = !!n && n.length > 0, b = !!p && p.length > 0, N = !!a && (!!a.acceptedIso || !!a.closedIso || !!a.discardedIso), C = /* @__PURE__ */ e(
|
|
87
|
+
I,
|
|
88
|
+
{
|
|
89
|
+
id: x,
|
|
90
|
+
className: "type-title-card ds:m-0 ds:text-[color:var(--foreground)]",
|
|
91
|
+
children: y ? o : v
|
|
92
|
+
}
|
|
93
|
+
), R = N ? /* @__PURE__ */ r("div", { className: "type-body-sm ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-md)] ds:gap-y-[var(--spacing-2xs)] ds:text-[color:var(--muted-foreground)]", children: [
|
|
94
|
+
a != null && a.acceptedIso ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
95
|
+
/* @__PURE__ */ e("span", { children: l("carePlanCard.date.accepted", "Accepted on") }),
|
|
96
|
+
/* @__PURE__ */ e(
|
|
97
|
+
u,
|
|
98
|
+
{
|
|
99
|
+
value: a.acceptedIso,
|
|
100
|
+
format: "absolute",
|
|
101
|
+
locale: f
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
] }) : null,
|
|
105
|
+
a != null && a.closedIso ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
106
|
+
/* @__PURE__ */ e("span", { children: l("carePlanCard.date.closed", "Closed on") }),
|
|
107
|
+
/* @__PURE__ */ e(
|
|
108
|
+
u,
|
|
109
|
+
{
|
|
110
|
+
value: a.closedIso,
|
|
111
|
+
format: "absolute",
|
|
112
|
+
locale: f
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
] }) : null,
|
|
116
|
+
a != null && a.discardedIso ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
117
|
+
/* @__PURE__ */ e("span", { children: l("carePlanCard.date.discarded", "Discarded on") }),
|
|
118
|
+
/* @__PURE__ */ e(
|
|
119
|
+
u,
|
|
120
|
+
{
|
|
121
|
+
value: a.discardedIso,
|
|
122
|
+
format: "absolute",
|
|
123
|
+
locale: f
|
|
124
|
+
}
|
|
125
|
+
)
|
|
126
|
+
] }) : null
|
|
127
|
+
] }) : null;
|
|
128
|
+
return /* @__PURE__ */ e(
|
|
129
|
+
"section",
|
|
130
|
+
{
|
|
131
|
+
ref: K,
|
|
132
|
+
"aria-label": h,
|
|
133
|
+
"aria-labelledby": h ? void 0 : x,
|
|
134
|
+
"data-component": "care-plan-header",
|
|
135
|
+
"data-component-id": c,
|
|
136
|
+
"data-state": d,
|
|
137
|
+
id: c,
|
|
138
|
+
className: q({ surface: H, density: L, className: E }),
|
|
139
|
+
...S,
|
|
140
|
+
children: /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
141
|
+
/* @__PURE__ */ r("div", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-sm)]", children: [
|
|
142
|
+
/* @__PURE__ */ r("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
143
|
+
y ? /* @__PURE__ */ e("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)] ds:tabular-nums", children: v }) : null,
|
|
144
|
+
B ? /* @__PURE__ */ e(
|
|
145
|
+
U,
|
|
146
|
+
{
|
|
147
|
+
href: t,
|
|
148
|
+
weight: "strong",
|
|
149
|
+
onClick: (s) => {
|
|
150
|
+
s.defaultPrevented || s.metaKey || s.ctrlKey || s.shiftKey || g == null || g();
|
|
151
|
+
},
|
|
152
|
+
children: C
|
|
153
|
+
}
|
|
154
|
+
) : C
|
|
155
|
+
] }),
|
|
156
|
+
/* @__PURE__ */ e(
|
|
157
|
+
w,
|
|
158
|
+
{
|
|
159
|
+
variant: $[d],
|
|
160
|
+
size: "sm",
|
|
161
|
+
withDot: !0,
|
|
162
|
+
className: "ds:shrink-0",
|
|
163
|
+
children: k
|
|
164
|
+
}
|
|
165
|
+
)
|
|
166
|
+
] }),
|
|
167
|
+
D ? /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: n.map((s) => /* @__PURE__ */ e(
|
|
168
|
+
w,
|
|
169
|
+
{
|
|
170
|
+
variant: X[s.tone ?? "warning"],
|
|
171
|
+
size: "sm",
|
|
172
|
+
leading: s.icon,
|
|
173
|
+
children: s.label
|
|
174
|
+
},
|
|
175
|
+
s.id
|
|
176
|
+
)) }) : null,
|
|
177
|
+
b || N || m ? /* @__PURE__ */ r(V, { children: [
|
|
178
|
+
/* @__PURE__ */ e(G, { orientation: "horizontal" }),
|
|
179
|
+
/* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-md)]", children: [
|
|
180
|
+
/* @__PURE__ */ r("div", { className: "ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
181
|
+
b ? /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-wrap ds:gap-x-[var(--spacing-lg)] ds:gap-y-[var(--spacing-xs)]", children: p.map((s) => /* @__PURE__ */ e(
|
|
182
|
+
M,
|
|
183
|
+
{
|
|
184
|
+
label: s.label,
|
|
185
|
+
value: s.value,
|
|
186
|
+
icon: s.icon ?? void 0,
|
|
187
|
+
"data-field-id": s.id
|
|
188
|
+
},
|
|
189
|
+
s.id
|
|
190
|
+
)) }) : null,
|
|
191
|
+
R
|
|
192
|
+
] }),
|
|
193
|
+
m ? /* @__PURE__ */ e("div", { className: "ds:flex ds:shrink-0 ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: m }) : null
|
|
194
|
+
] })
|
|
195
|
+
] }) : null
|
|
196
|
+
] })
|
|
197
|
+
}
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
);
|
|
201
|
+
Y.displayName = "CarePlanHeader";
|
|
202
|
+
export {
|
|
203
|
+
Y as C,
|
|
204
|
+
Q as c
|
|
205
|
+
};
|
|
206
|
+
//# sourceMappingURL=care-plan-header-BUwqDTtz.js.map
|