@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,11 +1,11 @@
|
|
|
1
|
-
import { jsx as a, jsxs as i, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
1
|
+
import { jsx as a, jsxs as i, Fragment as f } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as h, useState as y, useCallback as K } from "react";
|
|
3
|
+
import { c as v } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as T } from "react-i18next";
|
|
5
5
|
import { I as j } from "./icon-button-COX76Jdj.js";
|
|
6
6
|
import { C as _ } from "./check-DrFSN__t.js";
|
|
7
7
|
import { C as A } from "./copy-vRpqqHtY.js";
|
|
8
|
-
const B =
|
|
8
|
+
const B = v(
|
|
9
9
|
"type-body ds:text-foreground ds:min-w-0 ds:[unicode-bidi:isolate]",
|
|
10
10
|
{
|
|
11
11
|
variants: {
|
|
@@ -47,7 +47,7 @@ const B = h(
|
|
|
47
47
|
mono: !1
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
), L =
|
|
50
|
+
), L = v("ds:flex", {
|
|
51
51
|
variants: {
|
|
52
52
|
layout: {
|
|
53
53
|
horizontal: "ds:flex-row ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
@@ -66,25 +66,25 @@ const B = h(
|
|
|
66
66
|
layout: "horizontal",
|
|
67
67
|
hasIcon: !1
|
|
68
68
|
}
|
|
69
|
-
}), S =
|
|
69
|
+
}), S = h(
|
|
70
70
|
({
|
|
71
71
|
label: t,
|
|
72
72
|
labelNode: l,
|
|
73
73
|
value: e,
|
|
74
74
|
layout: s = "horizontal",
|
|
75
75
|
alignValue: n = "start",
|
|
76
|
-
mono:
|
|
76
|
+
mono: g = !1,
|
|
77
77
|
copyable: k = !1,
|
|
78
78
|
copyText: x,
|
|
79
79
|
icon: d,
|
|
80
80
|
className: V,
|
|
81
81
|
...C
|
|
82
82
|
}, z) => {
|
|
83
|
-
const { t: o } = T("ui"), [N,
|
|
83
|
+
const { t: o } = T("ui"), [N, u] = y(!1), [b, r] = y(""), c = x ?? (typeof e == "string" ? e : void 0), w = K(async () => {
|
|
84
84
|
if (c)
|
|
85
85
|
try {
|
|
86
|
-
await navigator.clipboard.writeText(c),
|
|
87
|
-
|
|
86
|
+
await navigator.clipboard.writeText(c), u(!0), r(o("keyValuePair.copied")), setTimeout(() => {
|
|
87
|
+
u(!1), r("");
|
|
88
88
|
}, 2e3);
|
|
89
89
|
} catch {
|
|
90
90
|
r(o("keyValuePair.notAvailable")), setTimeout(() => r(""), 3e3);
|
|
@@ -92,8 +92,8 @@ const B = h(
|
|
|
92
92
|
}, [c, o]), P = B({
|
|
93
93
|
layout: s,
|
|
94
94
|
alignValue: n,
|
|
95
|
-
mono:
|
|
96
|
-
}),
|
|
95
|
+
mono: g
|
|
96
|
+
}), m = d != null, I = "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-0 ds:flex-1", p = /* @__PURE__ */ i(f, { children: [
|
|
97
97
|
/* @__PURE__ */ i("span", { className: "type-label ds:text-muted-foreground ds:shrink-0", children: [
|
|
98
98
|
l ?? t,
|
|
99
99
|
/* @__PURE__ */ a("span", { className: "ds:sr-only", children: ": " })
|
|
@@ -122,11 +122,12 @@ const B = h(
|
|
|
122
122
|
"div",
|
|
123
123
|
{
|
|
124
124
|
ref: z,
|
|
125
|
-
className: L({ layout: s, hasIcon:
|
|
125
|
+
className: L({ layout: s, hasIcon: m, className: V }),
|
|
126
126
|
"data-component": "key-value-pair",
|
|
127
|
+
"data-has-icon": m ? "" : void 0,
|
|
127
128
|
...C,
|
|
128
129
|
children: [
|
|
129
|
-
|
|
130
|
+
m ? /* @__PURE__ */ i(f, { children: [
|
|
130
131
|
/* @__PURE__ */ a(
|
|
131
132
|
"span",
|
|
132
133
|
{
|
|
@@ -135,8 +136,8 @@ const B = h(
|
|
|
135
136
|
children: d
|
|
136
137
|
}
|
|
137
138
|
),
|
|
138
|
-
s === "horizontal" ?
|
|
139
|
-
] }) :
|
|
139
|
+
s === "horizontal" ? p : /* @__PURE__ */ a("div", { className: I, children: p })
|
|
140
|
+
] }) : p,
|
|
140
141
|
/* @__PURE__ */ a("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: b })
|
|
141
142
|
]
|
|
142
143
|
}
|
|
@@ -148,14 +149,19 @@ const F = {
|
|
|
148
149
|
sm: "ds:gap-y-[var(--spacing-sm)]",
|
|
149
150
|
md: "ds:gap-y-[var(--spacing-md)]",
|
|
150
151
|
lg: "ds:gap-y-[var(--spacing-lg)]"
|
|
151
|
-
}, G =
|
|
152
|
+
}, G = h(
|
|
152
153
|
({ children: t, className: l, rowGap: e = "md", ...s }, n) => /* @__PURE__ */ a(
|
|
153
154
|
"div",
|
|
154
155
|
{
|
|
155
156
|
ref: n,
|
|
156
157
|
"data-component": "key-value-list",
|
|
157
158
|
className: [
|
|
158
|
-
|
|
159
|
+
// The label track reads a custom property, and an icon list only
|
|
160
|
+
// sets that property: it never re-declares the template, so a
|
|
161
|
+
// host's own column layout (PatientSummaryCard's two fields per
|
|
162
|
+
// row from 672px) still wins exactly as before.
|
|
163
|
+
"ds:grid ds:grid-cols-[auto_var(--kvl-label-track,auto)_minmax(0,1fr)]",
|
|
164
|
+
"ds:has-[>[data-has-icon]]:[--kvl-label-track:fit-content(40%)]",
|
|
159
165
|
"ds:gap-x-[var(--spacing-md)]",
|
|
160
166
|
F[e],
|
|
161
167
|
// Each direct `data-component="key-value-pair"` child becomes
|
|
@@ -186,4 +192,4 @@ export {
|
|
|
186
192
|
G as K,
|
|
187
193
|
S as a
|
|
188
194
|
};
|
|
189
|
-
//# sourceMappingURL=key-value-pair-
|
|
195
|
+
//# sourceMappingURL=key-value-pair-BNNITp6S.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createElement as e } from "react";
|
|
2
|
-
import { P as i } from "./pregnancy-dating-
|
|
3
|
-
import { P as o } from "./pregnancy-weight-gain-
|
|
4
|
-
import { G as r } from "./gestational-age-calculator-
|
|
5
|
-
import { C as c } from "./cycle-calculator-
|
|
2
|
+
import { P as i } from "./pregnancy-dating-BFzv9g1N.js";
|
|
3
|
+
import { P as o } from "./pregnancy-weight-gain-CUUrBTBo.js";
|
|
4
|
+
import { G as r } from "./gestational-age-calculator-CZi43xKG.js";
|
|
5
|
+
import { C as c } from "./cycle-calculator-Cww9DzIa.js";
|
|
6
6
|
import { F as s } from "./fetal-weight-BWaqqjea.js";
|
|
7
7
|
import { c as a } from "./createLucideIcon-DhHxpK9K.js";
|
|
8
8
|
import { B as n } from "./baby-Dku-Xvg9.js";
|
|
@@ -91,4 +91,4 @@ const k = [
|
|
|
91
91
|
export {
|
|
92
92
|
I as k
|
|
93
93
|
};
|
|
94
|
-
//# sourceMappingURL=kit-extensions-
|
|
94
|
+
//# sourceMappingURL=kit-extensions-DYVxWcqv.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as u, jsxs as R } from "react/jsx-runtime";
|
|
2
2
|
import { useState as x, useEffect as w, useCallback as W, useMemo as E, useRef as ee } from "react";
|
|
3
3
|
import { useGridFilter as V } from "ag-grid-react";
|
|
4
|
-
import { D as te } from "./date-range-picker-
|
|
4
|
+
import { D as te } from "./date-range-picker-CFk-5O3R.js";
|
|
5
5
|
import { useTranslation as M } from "react-i18next";
|
|
6
6
|
import { C as le } from "./checkbox--ndmyokr.js";
|
|
7
7
|
import { B as j } from "./button-Bn16lcFM.js";
|
|
@@ -864,4 +864,4 @@ export {
|
|
|
864
864
|
Ke as g,
|
|
865
865
|
k as h
|
|
866
866
|
};
|
|
867
|
-
//# sourceMappingURL=link-cell-renderer-
|
|
867
|
+
//# sourceMappingURL=link-cell-renderer-CxW_oLa5.js.map
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { jsxs as S, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as T } from "react";
|
|
3
|
+
import { c as i } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as V } from "react-i18next";
|
|
5
|
+
import { E as _ } from "./external-link-CY6zAXXU.js";
|
|
6
|
+
const E = i(
|
|
7
|
+
[
|
|
8
|
+
// Always inline text, icons included, so a long label wraps like any
|
|
9
|
+
// other text and the trailing glyph follows its last word.
|
|
10
|
+
"ds:inline",
|
|
11
|
+
"ds:underline-offset-4",
|
|
12
|
+
"ds:rounded-[var(--radius-xs)]",
|
|
13
|
+
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
14
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
15
|
+
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
16
|
+
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
17
|
+
"ds:aria-disabled:cursor-not-allowed ds:aria-disabled:opacity-50 ds:aria-disabled:no-underline"
|
|
18
|
+
].join(" "),
|
|
19
|
+
{
|
|
20
|
+
variants: {
|
|
21
|
+
intent: {
|
|
22
|
+
// `--primary` is 4.23:1 as text on the dark page, so the link
|
|
23
|
+
// re-points it (and its hover step) at `--primary-readable`, which
|
|
24
|
+
// differs only in the dark theme. The colour classes stay as they
|
|
25
|
+
// were: a host still on an older token sheet keeps today's look,
|
|
26
|
+
// and a consumer `className` wins or loses exactly as before.
|
|
27
|
+
default: "ds:[--primary:var(--primary-readable)] ds:[--primary-hover:var(--primary-readable-hover)] ds:text-primary ds:underline ds:hover:text-primary-hover ds:active:opacity-80",
|
|
28
|
+
subtle: "ds:text-muted-foreground ds:no-underline ds:hover:text-foreground ds:hover:underline ds:active:opacity-80",
|
|
29
|
+
inverted: "ds:text-primary-foreground ds:underline ds:hover:opacity-90 ds:active:opacity-80"
|
|
30
|
+
},
|
|
31
|
+
weight: {
|
|
32
|
+
normal: "ds:font-normal",
|
|
33
|
+
strong: "ds:font-semibold"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
defaultVariants: {
|
|
37
|
+
intent: "default",
|
|
38
|
+
weight: "normal"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
), u = i("ds:whitespace-nowrap", {
|
|
42
|
+
variants: {
|
|
43
|
+
edge: {
|
|
44
|
+
start: String.raw`ds:after:content-['\2060']`,
|
|
45
|
+
end: String.raw`ds:before:content-['\2060']`
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}), m = i(
|
|
49
|
+
[
|
|
50
|
+
"ds:inline-flex ds:items-center",
|
|
51
|
+
String.raw`ds:before:content-['\2060']`,
|
|
52
|
+
"ds:[&_svg]:size-[1em] ds:[&_svg]:shrink-0"
|
|
53
|
+
].join(" "),
|
|
54
|
+
{
|
|
55
|
+
variants: {
|
|
56
|
+
edge: {
|
|
57
|
+
start: "ds:me-[var(--spacing-xs)]",
|
|
58
|
+
end: "ds:ms-[var(--spacing-xs)]"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
), z = T(
|
|
63
|
+
({
|
|
64
|
+
href: v,
|
|
65
|
+
external: s = !1,
|
|
66
|
+
externalIcon: p = !0,
|
|
67
|
+
disabled: n = !1,
|
|
68
|
+
startIcon: t,
|
|
69
|
+
endIcon: o,
|
|
70
|
+
hasIcon: B,
|
|
71
|
+
intent: d,
|
|
72
|
+
weight: h,
|
|
73
|
+
className: g,
|
|
74
|
+
children: b,
|
|
75
|
+
target: y,
|
|
76
|
+
rel: l,
|
|
77
|
+
onClick: a,
|
|
78
|
+
...w
|
|
79
|
+
}, x) => {
|
|
80
|
+
const { t: N } = V("ui"), k = s ? "_blank" : y, j = s ? [l, "noopener", "noreferrer"].filter(Boolean).join(" ") : l, c = N("link.opensInNewTab", "Opens in a new tab"), L = (f) => {
|
|
81
|
+
if (n) {
|
|
82
|
+
f.preventDefault();
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
a == null || a(f);
|
|
86
|
+
}, r = s && p;
|
|
87
|
+
return /* @__PURE__ */ S(
|
|
88
|
+
"a",
|
|
89
|
+
{
|
|
90
|
+
ref: x,
|
|
91
|
+
href: n ? void 0 : v,
|
|
92
|
+
role: n ? "link" : void 0,
|
|
93
|
+
"aria-disabled": n || void 0,
|
|
94
|
+
target: k,
|
|
95
|
+
rel: j || void 0,
|
|
96
|
+
onClick: L,
|
|
97
|
+
"data-component": "link",
|
|
98
|
+
"data-intent": d ?? "default",
|
|
99
|
+
className: E({ intent: d, weight: h, className: g }),
|
|
100
|
+
...w,
|
|
101
|
+
children: [
|
|
102
|
+
t ? /* @__PURE__ */ e(
|
|
103
|
+
"span",
|
|
104
|
+
{
|
|
105
|
+
"aria-hidden": "true",
|
|
106
|
+
className: u({ edge: "start" }),
|
|
107
|
+
children: /* @__PURE__ */ e("span", { className: m({ edge: "start" }), children: t })
|
|
108
|
+
}
|
|
109
|
+
) : null,
|
|
110
|
+
b,
|
|
111
|
+
r || !s && o ? /* @__PURE__ */ e(
|
|
112
|
+
"span",
|
|
113
|
+
{
|
|
114
|
+
"aria-hidden": "true",
|
|
115
|
+
className: u({ edge: "end" }),
|
|
116
|
+
children: /* @__PURE__ */ e("span", { className: m({ edge: "end" }), children: r ? /* @__PURE__ */ e(_, { className: "ds:size-[1em]" }) : o })
|
|
117
|
+
}
|
|
118
|
+
) : null,
|
|
119
|
+
r ? (
|
|
120
|
+
// Labelled, empty and out of flow: name algorithms add the label
|
|
121
|
+
// after a space, and textContent stays the caller's text.
|
|
122
|
+
/* @__PURE__ */ e("span", { "aria-label": c, className: "ds:sr-only" })
|
|
123
|
+
) : s ? (
|
|
124
|
+
// External wiring without the glyph — keep the SR-only
|
|
125
|
+
// "opens in new tab" announcement so the affordance reads.
|
|
126
|
+
/* @__PURE__ */ e("span", { className: "ds:sr-only", children: c })
|
|
127
|
+
) : null
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
);
|
|
133
|
+
z.displayName = "Link";
|
|
134
|
+
export {
|
|
135
|
+
z as L
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=link-gRw3NtOt.js.map
|
|
@@ -4,7 +4,7 @@ import { c as q } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as T } from "react-i18next";
|
|
5
5
|
import { _ as y, R as ne } from "./index-4xgbg-sn.js";
|
|
6
6
|
import { I as ie } from "./icon-button-COX76Jdj.js";
|
|
7
|
-
import { P as b } from "./popover-
|
|
7
|
+
import { P as b } from "./popover-BG75rYjN.js";
|
|
8
8
|
import { F as re, f as le, s as J, _ as ce, a as de, b as ue, c as ge, d as me, e as _e, g as fe, h as ve, i as pe, j as he, k as ye, l as be, m as Ne, n as Le, o as xe, p as Ce, q as Se, r as ke, t as we, u as Ee, v as Re, w as Pe, x as Ie, y as Te, z as Ae, A as De, B as je, C as Fe, D as Oe, E as Ue, G as Ge, H as ze, I as He, J as Me, K as Be, L as qe } from "./flag-view-udarpAot.js";
|
|
9
9
|
import { b as Je } from "./menu-row-BAr8bx1I.js";
|
|
10
10
|
import { c as Ke, a as Ve, d as We } from "./input-surface-iBmxVBfr.js";
|
|
@@ -823,4 +823,4 @@ export {
|
|
|
823
823
|
x as c,
|
|
824
824
|
es as u
|
|
825
825
|
};
|
|
826
|
-
//# sourceMappingURL=locale-picker-
|
|
826
|
+
//# sourceMappingURL=locale-picker-BGfrZyTw.js.map
|