@alfadocs/ui-kit 1.36.1 → 1.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{agenda-tray-DYGCTIWB.js → agenda-tray-CG6jUjKc.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-GYHa7VGp.js → anamnesis-summary-card-CclBbiXg.js} +2 -2
- package/dist/_chunks/appointment-peek-5S4O1VQP.js +115 -0
- package/dist/_chunks/appointment-peek.agent-C539tNFM.js +17 -0
- package/dist/_chunks/{appointment-timeline-ByfovxqR.js → appointment-timeline-D-rNwKpS.js} +2 -2
- package/dist/_chunks/{appointment-tray-D6UyJHej.js → appointment-tray-CK2CULg_.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-B0Z8Dwn8.js → balance-badge-cell-DHs5p0bA.js} +2 -2
- package/dist/_chunks/{booking-Dp-9qR6F.js → booking-x3J7sS2G.js} +3 -3
- package/dist/_chunks/building-2-D33bLCWL.js +24 -0
- package/dist/_chunks/calendar-workspace-Cc1LRVWY.js +9900 -0
- package/dist/_chunks/{control-room-rail-Ds45_g4f.js → control-room-rail-DQoHdE1U.js} +2 -2
- package/dist/_chunks/{data-table-BYGK-gUJ.js → data-table-Dy1lyumT.js} +2 -2
- package/dist/_chunks/editable-description-7ptNpJEg.js +142 -0
- package/dist/_chunks/editable-description.agent-Bm_LBV2j.js +21 -0
- package/dist/_chunks/{file-manager-DvkFgj7d.js → file-manager-UlcYQv8n.js} +3 -3
- package/dist/_chunks/{message-tray-BcLyaO-G.js → message-tray-CXjVsKqp.js} +2 -2
- package/dist/_chunks/{money.agent-Dw55UxUA.js → money-BY-HmKhZ.js} +33 -47
- package/dist/_chunks/money.agent-BjJ6gOkx.js +17 -0
- package/dist/_chunks/{note-timeline-CXfSV3yX.js → note-timeline-D2oPuQP6.js} +134 -73
- package/dist/_chunks/notes-panel-CkbfDDzj.js +614 -0
- package/dist/_chunks/{notification-tray-CJ8jOe-U.js → notification-tray-_NoChRKi.js} +2 -2
- package/dist/_chunks/panel-subview-BNXN8OEL.js +160 -0
- package/dist/_chunks/panel-subview.agent-BIBvE-IW.js +17 -0
- package/dist/_chunks/{patient-details-f7SSXkTJ.js → patient-details-2cIaL-Zb.js} +2 -2
- package/dist/_chunks/{patient-field-row-BQZoP4m2.js → patient-field-row-IHb2VFc2.js} +193 -172
- package/dist/_chunks/{patient-summary-card-Bz7KdUin.js → patient-summary-card-B131Q7Bp.js} +3 -3
- package/dist/_chunks/{practice-results-DOcORTkP.js → practice-results-CBNRJNnY.js} +2 -2
- package/dist/_chunks/{product-hub-panel-C0TO69P7.js → product-hub-panel-C3bMjscm.js} +2 -2
- package/dist/_chunks/{reviews-panel-BaHZb_ai.js → reviews-panel-Cy969x7q.js} +2 -2
- package/dist/_chunks/{section-card.agent-W18CHEgX.js → section-card-XR2bW1Ie.js} +20 -34
- package/dist/_chunks/section-card.agent-Bz1BhM_j.js +17 -0
- package/dist/_chunks/{signature-request-Dej2g86d.js → signature-request-b-86AGlT.js} +2 -2
- package/dist/_chunks/{skeleton-CZbwyJAA.js → skeleton-B1KTdJ4N.js} +46 -33
- package/dist/_chunks/{slot-grid-8Ko6thzz.js → slot-grid-Bk3GZL1p.js} +2 -2
- package/dist/_chunks/smartphone-DaPcFw-X.js +32 -0
- package/dist/_chunks/{task-card-BalrLkSz.js → task-card-qTKD1fIT.js} +39 -57
- package/dist/_chunks/{task-tray-wl9eti6J.js → task-tray-5co9Jr2L.js} +3 -3
- package/dist/_chunks/{tasks-panel-BDNB7hsZ.js → tasks-panel-BpH-x7U3.js} +3 -3
- package/dist/_chunks/{tool-rail-Bq5eiFMG.js → tool-rail-BP8sjxCw.js} +310 -231
- package/dist/_chunks/treatment-receipt-dUm99mdn.js +160 -0
- package/dist/_chunks/treatment-receipt.agent-bpFm2RPH.js +21 -0
- package/dist/_chunks/use-presence-transition-cDwWUXV-.js +58 -0
- package/dist/_chunks/{workflow-map-D-LEni11.js → workflow-map-CXdsxvUj.js} +140 -156
- package/dist/agent-catalog.json +65 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/appointment-peek/appointment-peek.agent.d.ts +3 -0
- package/dist/components/appointment-peek/appointment-peek.d.ts +45 -0
- package/dist/components/appointment-peek/index.d.ts +4 -0
- package/dist/components/appointment-peek/index.js +7 -0
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/editable-description/editable-description.agent.d.ts +3 -0
- package/dist/components/editable-description/editable-description.d.ts +26 -0
- package/dist/components/editable-description/index.d.ts +4 -0
- package/dist/components/editable-description/index.js +7 -0
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/money/index.js +2 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/note-timeline/note-timeline.d.ts +8 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +16 -0
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/panel-subview/index.d.ts +4 -0
- package/dist/components/panel-subview/index.js +7 -0
- package/dist/components/panel-subview/panel-subview.agent.d.ts +3 -0
- package/dist/components/panel-subview/panel-subview.d.ts +32 -0
- 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/practice-results/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/section-card/index.js +4 -3
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.js +3 -2
- package/dist/components/skeleton/skeleton.d.ts +12 -0
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/treatment-receipt/index.d.ts +4 -0
- package/dist/components/treatment-receipt/index.js +7 -0
- package/dist/components/treatment-receipt/treatment-receipt.agent.d.ts +3 -0
- package/dist/components/treatment-receipt/treatment-receipt.d.ts +38 -0
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +9 -7
- package/dist/hooks/use-presence-transition.d.ts +40 -0
- package/dist/host-compat.css +7 -1
- package/dist/i18n/locales/ar.d.ts +29 -5
- package/dist/i18n/locales/ar.js +29 -5
- package/dist/i18n/locales/de.d.ts +29 -5
- package/dist/i18n/locales/de.js +29 -5
- package/dist/i18n/locales/el.d.ts +29 -5
- package/dist/i18n/locales/el.js +29 -5
- package/dist/i18n/locales/en.d.ts +29 -5
- package/dist/i18n/locales/en.js +29 -5
- package/dist/i18n/locales/es.d.ts +29 -5
- package/dist/i18n/locales/es.js +29 -5
- package/dist/i18n/locales/fr.d.ts +29 -5
- package/dist/i18n/locales/fr.js +29 -5
- package/dist/i18n/locales/hi.d.ts +29 -5
- package/dist/i18n/locales/hi.js +29 -5
- package/dist/i18n/locales/it.d.ts +29 -5
- package/dist/i18n/locales/it.js +29 -5
- package/dist/i18n/locales/ja.d.ts +29 -5
- package/dist/i18n/locales/ja.js +29 -5
- package/dist/i18n/locales/nl.d.ts +29 -5
- package/dist/i18n/locales/nl.js +29 -5
- package/dist/i18n/locales/pl.d.ts +29 -5
- package/dist/i18n/locales/pl.js +29 -5
- package/dist/i18n/locales/pt.d.ts +29 -5
- package/dist/i18n/locales/pt.js +29 -5
- package/dist/i18n/locales/ro.d.ts +29 -5
- package/dist/i18n/locales/ro.js +29 -5
- package/dist/i18n/locales/ru.d.ts +29 -5
- package/dist/i18n/locales/ru.js +29 -5
- package/dist/i18n/locales/sq.d.ts +29 -5
- package/dist/i18n/locales/sq.js +29 -5
- package/dist/i18n/locales/sv.d.ts +29 -5
- package/dist/i18n/locales/sv.js +29 -5
- package/dist/i18n/locales/tr.d.ts +29 -5
- package/dist/i18n/locales/tr.js +29 -5
- package/dist/i18n/locales/zh.d.ts +29 -5
- package/dist/i18n/locales/zh.js +29 -5
- package/dist/index.js +959 -940
- package/dist/locales/ar.json +29 -5
- package/dist/locales/de.json +29 -5
- package/dist/locales/el.json +29 -5
- package/dist/locales/en.json +29 -5
- package/dist/locales/es.json +29 -5
- package/dist/locales/fr.json +29 -5
- package/dist/locales/hi.json +29 -5
- package/dist/locales/it.json +29 -5
- package/dist/locales/ja.json +29 -5
- package/dist/locales/nl.json +29 -5
- package/dist/locales/pl.json +29 -5
- package/dist/locales/pt.json +29 -5
- package/dist/locales/ro.json +29 -5
- package/dist/locales/ru.json +29 -5
- package/dist/locales/sq.json +29 -5
- package/dist/locales/sv.json +29 -5
- package/dist/locales/tr.json +29 -5
- package/dist/locales/zh.json +29 -5
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +16 -7
- package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +23 -23
- package/dist/patterns/calendar/calendar-editor-hydration.d.ts +0 -2
- package/dist/patterns/calendar/calendar-info-hover.d.ts +18 -0
- package/dist/patterns/calendar/calendar.journey.d.ts +10 -0
- package/dist/patterns/calendar/calendar.sheets.d.ts +2 -2
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +17 -1
- package/dist/_chunks/calendar-workspace-BYwQK7fz.js +0 -9478
- package/dist/_chunks/hourglass-BEAzW1wE.js +0 -26
- package/dist/_chunks/notes-panel-Co8D3uDd.js +0 -469
- package/dist/_chunks/smartphone-C0rFF2if.js +0 -15
|
@@ -8,13 +8,13 @@ import { I as Ue } from "./icon-button-8xqRnkdG.js";
|
|
|
8
8
|
import { C as le } from "./card-DPmk26CL.js";
|
|
9
9
|
import { K as Be, a as Re } from "./key-value-pair-DczGb4yz.js";
|
|
10
10
|
import { L as V } from "./link-CPb_pZPr.js";
|
|
11
|
-
import { S as k } from "./skeleton-
|
|
11
|
+
import { S as k } from "./skeleton-B1KTdJ4N.js";
|
|
12
12
|
import { T as oe } from "./tag-Ci3xJPcH.js";
|
|
13
13
|
import { T as Ke } from "./transaction-chip-Dth1nThY.js";
|
|
14
14
|
import { T as je } from "./tooltip-Cp-PLePW.js";
|
|
15
15
|
import { H as G } from "./hover-card-Bcku1GQu.js";
|
|
16
16
|
import { i as de } from "./is-safe-url-DkETxeHz.js";
|
|
17
|
-
import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-
|
|
17
|
+
import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-IHb2VFc2.js";
|
|
18
18
|
import { u as Oe } from "./registry-DvAUVLHh.js";
|
|
19
19
|
import { M as ea } from "./mail-BqXVF2zH.js";
|
|
20
20
|
import { P as aa } from "./phone-FceYcIFQ.js";
|
|
@@ -530,4 +530,4 @@ export {
|
|
|
530
530
|
Ca as P,
|
|
531
531
|
ma as p
|
|
532
532
|
};
|
|
533
|
-
//# sourceMappingURL=patient-summary-card-
|
|
533
|
+
//# sourceMappingURL=patient-summary-card-B131Q7Bp.js.map
|
|
@@ -10,7 +10,7 @@ import { E as st } from "./empty-state-X0sVPfVo.js";
|
|
|
10
10
|
import { M as it } from "./map-view-CCAlC9IL.js";
|
|
11
11
|
import { R as Ne } from "./rating-BYbUowdK.js";
|
|
12
12
|
import { S as I } from "./sheet-hm04DGFd.js";
|
|
13
|
-
import { S as rt } from "./skeleton-
|
|
13
|
+
import { S as rt } from "./skeleton-B1KTdJ4N.js";
|
|
14
14
|
import { S as ot } from "./spinner-hbwuKwMf.js";
|
|
15
15
|
import { B as O } from "./badge-BudgzTe_.js";
|
|
16
16
|
import { u as ct } from "./use-media-query-CcAx5SMM.js";
|
|
@@ -1737,4 +1737,4 @@ export {
|
|
|
1737
1737
|
Dt as P,
|
|
1738
1738
|
bt as p
|
|
1739
1739
|
};
|
|
1740
|
-
//# sourceMappingURL=practice-results-
|
|
1740
|
+
//# sourceMappingURL=practice-results-CBNRJNnY.js.map
|
|
@@ -11,7 +11,7 @@ import * as j from "@radix-ui/react-popover";
|
|
|
11
11
|
import { u as te } from "./use-controllable-state-BiY4xTzM.js";
|
|
12
12
|
import { I as Q } from "./icon-button-8xqRnkdG.js";
|
|
13
13
|
import { S as re } from "./scroll-area-BZOvUhwQ.js";
|
|
14
|
-
import { S as R } from "./skeleton-
|
|
14
|
+
import { S as R } from "./skeleton-B1KTdJ4N.js";
|
|
15
15
|
import { T as de } from "./timestamp-BV2lC-wV.js";
|
|
16
16
|
import { s as ne } from "./safe-image-src-DstKgCo7.js";
|
|
17
17
|
import { c as oe } from "./createLucideIcon-DhHxpK9K.js";
|
|
@@ -675,4 +675,4 @@ export {
|
|
|
675
675
|
le as b,
|
|
676
676
|
ye as p
|
|
677
677
|
};
|
|
678
|
-
//# sourceMappingURL=product-hub-panel-
|
|
678
|
+
//# sourceMappingURL=product-hub-panel-C3bMjscm.js.map
|
|
@@ -8,7 +8,7 @@ import { C as A } from "./card-DPmk26CL.js";
|
|
|
8
8
|
import { C as Y, b as Z, a as ee } from "./collapsible-CTjxzGuF.js";
|
|
9
9
|
import { D as l } from "./description-list-C1RXMDZ_.js";
|
|
10
10
|
import { E as te } from "./empty-state-X0sVPfVo.js";
|
|
11
|
-
import { S as T } from "./skeleton-
|
|
11
|
+
import { S as T } from "./skeleton-B1KTdJ4N.js";
|
|
12
12
|
import { B as se } from "./button-nJaPh_HC.js";
|
|
13
13
|
import { P as re } from "./panel-header-D_mTdhUp.js";
|
|
14
14
|
import { S as ae } from "./star-Bf9L2Uot.js";
|
|
@@ -556,4 +556,4 @@ export {
|
|
|
556
556
|
me as R,
|
|
557
557
|
ie as r
|
|
558
558
|
};
|
|
559
|
-
//# sourceMappingURL=reviews-panel-
|
|
559
|
+
//# sourceMappingURL=reviews-panel-Cy969x7q.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as s, jsxs as
|
|
1
|
+
import { jsx as s, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f } from "react";
|
|
3
3
|
import { c as u } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { C as
|
|
4
|
+
import { C as e } from "./card-DPmk26CL.js";
|
|
5
5
|
const v = u("ds:flex ds:flex-col", {
|
|
6
6
|
variants: {
|
|
7
7
|
gap: {
|
|
@@ -14,30 +14,30 @@ const v = u("ds:flex ds:flex-col", {
|
|
|
14
14
|
}), x = f(
|
|
15
15
|
({
|
|
16
16
|
title: a,
|
|
17
|
-
headingId:
|
|
18
|
-
headingLevel:
|
|
19
|
-
headerAction:
|
|
20
|
-
variant:
|
|
21
|
-
gap:
|
|
17
|
+
headingId: n,
|
|
18
|
+
headingLevel: l = 3,
|
|
19
|
+
headerAction: d,
|
|
20
|
+
variant: m = "elevated",
|
|
21
|
+
gap: o,
|
|
22
22
|
className: c,
|
|
23
|
-
children:
|
|
24
|
-
...
|
|
23
|
+
children: i,
|
|
24
|
+
...t
|
|
25
25
|
}, p) => {
|
|
26
|
-
const g = `h${
|
|
26
|
+
const g = `h${l}`;
|
|
27
27
|
return /* @__PURE__ */ s(
|
|
28
|
-
|
|
28
|
+
e,
|
|
29
29
|
{
|
|
30
30
|
ref: p,
|
|
31
|
-
variant:
|
|
31
|
+
variant: m,
|
|
32
32
|
"data-component": "section-card",
|
|
33
33
|
className: c,
|
|
34
|
-
...
|
|
35
|
-
children: /* @__PURE__ */
|
|
36
|
-
a != null ||
|
|
34
|
+
...t,
|
|
35
|
+
children: /* @__PURE__ */ r(e.Body, { className: v({ gap: o }), children: [
|
|
36
|
+
a != null || d != null ? /* @__PURE__ */ r("div", { className: "ds:flex ds:min-w-0 ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
37
37
|
a != null ? /* @__PURE__ */ s(
|
|
38
38
|
g,
|
|
39
39
|
{
|
|
40
|
-
id:
|
|
40
|
+
id: n,
|
|
41
41
|
className: "ds:m-0 ds:min-w-0 type-label ds:text-[color:var(--muted-foreground)]",
|
|
42
42
|
children: a
|
|
43
43
|
}
|
|
@@ -45,30 +45,16 @@ const v = u("ds:flex ds:flex-col", {
|
|
|
45
45
|
// Keeps the action on the inline end when there is no heading.
|
|
46
46
|
/* @__PURE__ */ s("span", {})
|
|
47
47
|
),
|
|
48
|
-
|
|
48
|
+
d
|
|
49
49
|
] }) : null,
|
|
50
|
-
|
|
50
|
+
i
|
|
51
51
|
] })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
55
55
|
);
|
|
56
56
|
x.displayName = "SectionCard";
|
|
57
|
-
const w = {
|
|
58
|
-
id: "section-card",
|
|
59
|
-
capabilities: [],
|
|
60
|
-
state: {},
|
|
61
|
-
actions: {},
|
|
62
|
-
domHooks: {
|
|
63
|
-
root: {
|
|
64
|
-
attr: "data-component",
|
|
65
|
-
value: "section-card",
|
|
66
|
-
description: "Marks the element as a kit SectionCard."
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
57
|
export {
|
|
71
|
-
x as S
|
|
72
|
-
w as s
|
|
58
|
+
x as S
|
|
73
59
|
};
|
|
74
|
-
//# sourceMappingURL=section-card
|
|
60
|
+
//# sourceMappingURL=section-card-XR2bW1Ie.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const t = {
|
|
2
|
+
id: "section-card",
|
|
3
|
+
capabilities: [],
|
|
4
|
+
state: {},
|
|
5
|
+
actions: {},
|
|
6
|
+
domHooks: {
|
|
7
|
+
root: {
|
|
8
|
+
attr: "data-component",
|
|
9
|
+
value: "section-card",
|
|
10
|
+
description: "Marks the element as a kit SectionCard."
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
t as s
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=section-card.agent-Bz1BhM_j.js.map
|
|
@@ -16,7 +16,7 @@ import { a as kt } from "./whatsapp-button-Ai4YAVkl.js";
|
|
|
16
16
|
import { c as vn } from "./createLucideIcon-DhHxpK9K.js";
|
|
17
17
|
import { M as Ot } from "./mail-BqXVF2zH.js";
|
|
18
18
|
import { M as xa } from "./message-square-Bye4ATvx.js";
|
|
19
|
-
import { S as Pe } from "./skeleton-
|
|
19
|
+
import { S as Pe } from "./skeleton-B1KTdJ4N.js";
|
|
20
20
|
import { D as tn } from "./dropdown-menu-DU-Hrf33.js";
|
|
21
21
|
import { S as Ra } from "./signature-status-chip-D4NsrdeI.js";
|
|
22
22
|
import { C as Na } from "./chevron-down-DWE7GSq9.js";
|
|
@@ -2229,4 +2229,4 @@ ai.displayName = "SignatureRequestModal";
|
|
|
2229
2229
|
export {
|
|
2230
2230
|
ai as S
|
|
2231
2231
|
};
|
|
2232
|
-
//# sourceMappingURL=signature-request-
|
|
2232
|
+
//# sourceMappingURL=signature-request-b-86AGlT.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as z } from "react";
|
|
3
|
+
import { c as x } from "./index-D2ZczOXr.js";
|
|
4
|
+
const S = x(
|
|
5
5
|
[
|
|
6
6
|
"ds:bg-[var(--muted)]",
|
|
7
7
|
"ds:motion-reduce:animate-none",
|
|
@@ -44,60 +44,73 @@ const z = f(
|
|
|
44
44
|
size: "md"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
),
|
|
47
|
+
), g = "ds:animate-[skeleton-pulse_calc(var(--animation-duration)*8)_ease-in-out_infinite]", v = [
|
|
48
|
+
"",
|
|
49
|
+
"ds:[animation-delay:calc(var(--animation-duration)*0.6)]",
|
|
50
|
+
"ds:[animation-delay:calc(var(--animation-duration)*1.2)]",
|
|
51
|
+
"ds:[animation-delay:calc(var(--animation-duration)*1.8)]",
|
|
52
|
+
"ds:[animation-delay:calc(var(--animation-duration)*2.4)]",
|
|
53
|
+
"ds:[animation-delay:calc(var(--animation-duration)*3)]"
|
|
54
|
+
], f = (a) => a === void 0 ? "" : v[Math.abs(Math.trunc(a)) % v.length] ?? "", N = "ds:animate-[content-enter_var(--animation-duration)_var(--ease-out)] ds:motion-reduce:animate-none", y = z(
|
|
48
55
|
({
|
|
49
|
-
variant:
|
|
50
|
-
size:
|
|
56
|
+
variant: a = "text",
|
|
57
|
+
size: h = "md",
|
|
51
58
|
lines: s,
|
|
52
|
-
width:
|
|
59
|
+
width: n,
|
|
53
60
|
height: e,
|
|
54
|
-
animate:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
61
|
+
animate: d = !0,
|
|
62
|
+
stagger: i,
|
|
63
|
+
className: r,
|
|
64
|
+
...l
|
|
65
|
+
}, c) => {
|
|
66
|
+
const u = n !== void 0 || e !== void 0 ? {
|
|
67
|
+
...n !== void 0 && { width: n },
|
|
60
68
|
...e !== void 0 && { height: e }
|
|
61
|
-
} : void 0,
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
} : void 0, m = [
|
|
70
|
+
S({ variant: a, size: h }),
|
|
71
|
+
d && g
|
|
64
72
|
].filter(Boolean).join(" ");
|
|
65
|
-
return s !== void 0 && s > 1 ? /* @__PURE__ */
|
|
73
|
+
return s !== void 0 && s > 1 ? /* @__PURE__ */ t(
|
|
66
74
|
"div",
|
|
67
75
|
{
|
|
68
|
-
ref:
|
|
76
|
+
ref: c,
|
|
69
77
|
"aria-hidden": "true",
|
|
70
78
|
"data-component": "skeleton",
|
|
71
79
|
className: [
|
|
72
80
|
"ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
73
|
-
|
|
81
|
+
r
|
|
74
82
|
].filter(Boolean).join(" "),
|
|
75
|
-
style:
|
|
76
|
-
...
|
|
77
|
-
children: Array.from({ length: s }, (
|
|
83
|
+
style: u,
|
|
84
|
+
...l,
|
|
85
|
+
children: Array.from({ length: s }, (_, o) => /* @__PURE__ */ t(
|
|
78
86
|
"div",
|
|
79
87
|
{
|
|
80
88
|
"aria-hidden": "true",
|
|
81
|
-
className: [
|
|
89
|
+
className: [
|
|
90
|
+
m,
|
|
91
|
+
d && i !== void 0 && f(i + o),
|
|
92
|
+
o === s - 1 && "ds:w-3/5"
|
|
93
|
+
].filter(Boolean).join(" ")
|
|
82
94
|
},
|
|
83
|
-
`skeleton-line-${
|
|
95
|
+
`skeleton-line-${o}`
|
|
84
96
|
))
|
|
85
97
|
}
|
|
86
|
-
) : /* @__PURE__ */
|
|
98
|
+
) : /* @__PURE__ */ t(
|
|
87
99
|
"div",
|
|
88
100
|
{
|
|
89
|
-
ref:
|
|
101
|
+
ref: c,
|
|
90
102
|
"aria-hidden": "true",
|
|
91
103
|
"data-component": "skeleton",
|
|
92
|
-
className: [i,
|
|
93
|
-
style:
|
|
94
|
-
...
|
|
104
|
+
className: [m, d && f(i), r].filter(Boolean).join(" "),
|
|
105
|
+
style: u,
|
|
106
|
+
...l
|
|
95
107
|
}
|
|
96
108
|
);
|
|
97
109
|
}
|
|
98
110
|
);
|
|
99
|
-
|
|
111
|
+
y.displayName = "Skeleton";
|
|
100
112
|
export {
|
|
101
|
-
|
|
113
|
+
N as C,
|
|
114
|
+
y as S
|
|
102
115
|
};
|
|
103
|
-
//# sourceMappingURL=skeleton-
|
|
116
|
+
//# sourceMappingURL=skeleton-B1KTdJ4N.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as we } from "react-i18next";
|
|
|
5
5
|
import { B as F } from "./button-nJaPh_HC.js";
|
|
6
6
|
import { I as q } from "./icon-button-8xqRnkdG.js";
|
|
7
7
|
import { E as xe } from "./empty-state-X0sVPfVo.js";
|
|
8
|
-
import { S as W } from "./skeleton-
|
|
8
|
+
import { S as W } from "./skeleton-B1KTdJ4N.js";
|
|
9
9
|
import { u as Se } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { b as ke, f as De } from "./format-4HNwNGrN.js";
|
|
11
11
|
import { p as Ie } from "./parseISO-fOGpHKXm.js";
|
|
@@ -637,4 +637,4 @@ export {
|
|
|
637
637
|
Qe as i,
|
|
638
638
|
Ge as s
|
|
639
639
|
};
|
|
640
|
-
//# sourceMappingURL=slot-grid-
|
|
640
|
+
//# sourceMappingURL=slot-grid-Bk3GZL1p.js.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { c as a } from "./createLucideIcon-DhHxpK9K.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v1.22.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const e = [
|
|
9
|
+
["path", { d: "M10.1 2.182a10 10 0 0 1 3.8 0", key: "5ilxe3" }],
|
|
10
|
+
["path", { d: "M13.9 21.818a10 10 0 0 1-3.8 0", key: "11zvb9" }],
|
|
11
|
+
["path", { d: "M17.609 3.721a10 10 0 0 1 2.69 2.7", key: "1iw5b2" }],
|
|
12
|
+
["path", { d: "M2.182 13.9a10 10 0 0 1 0-3.8", key: "c0bmvh" }],
|
|
13
|
+
["path", { d: "M20.279 17.609a10 10 0 0 1-2.7 2.69", key: "1ruxm7" }],
|
|
14
|
+
["path", { d: "M21.818 10.1a10 10 0 0 1 0 3.8", key: "qkgqxc" }],
|
|
15
|
+
["path", { d: "M3.721 6.391a10 10 0 0 1 2.7-2.69", key: "1mcia2" }],
|
|
16
|
+
["path", { d: "M6.391 20.279a10 10 0 0 1-2.69-2.7", key: "1fvljs" }]
|
|
17
|
+
], c = a("circle-dashed", e);
|
|
18
|
+
/**
|
|
19
|
+
* @license lucide-react v1.22.0 - ISC
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the ISC license.
|
|
22
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/
|
|
24
|
+
const t = [
|
|
25
|
+
["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
|
|
26
|
+
["path", { d: "M12 18h.01", key: "mhygvu" }]
|
|
27
|
+
], d = a("smartphone", t);
|
|
28
|
+
export {
|
|
29
|
+
c as C,
|
|
30
|
+
d as S
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=smartphone-DaPcFw-X.js.map
|
|
@@ -1,47 +1,29 @@
|
|
|
1
1
|
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
2
|
+
import { forwardRef as C } from "react";
|
|
3
|
+
import { c as L } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as w } from "react-i18next";
|
|
5
5
|
import { V as f } from "./visually-hidden-BHxEUGyT.js";
|
|
6
|
-
import { c as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { c as T } from "./createLucideIcon-DhHxpK9K.js";
|
|
7
|
+
import { B as z } from "./building-2-D33bLCWL.js";
|
|
8
|
+
import { U as h } from "./user-B12p7bVF.js";
|
|
9
|
+
import { C as S } from "./chevron-right-I9AeSxH2.js";
|
|
9
10
|
import { S as V } from "./square-check-big-dj0o8yA3.js";
|
|
10
|
-
import { C as
|
|
11
|
-
import { S } from "./square-DASBRZ0U.js";
|
|
11
|
+
import { C as j } from "./circle-alert-rGDZ73Wh.js";
|
|
12
|
+
import { S as I } from "./square-DASBRZ0U.js";
|
|
12
13
|
/**
|
|
13
14
|
* @license lucide-react v1.22.0 - ISC
|
|
14
15
|
*
|
|
15
16
|
* This source code is licensed under the ISC license.
|
|
16
17
|
* See the LICENSE file in the root directory of this source tree.
|
|
17
18
|
*/
|
|
18
|
-
const
|
|
19
|
+
const $ = [
|
|
19
20
|
["path", { d: "M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16", key: "jecpp" }],
|
|
20
21
|
["rect", { width: "20", height: "14", x: "2", y: "6", rx: "2", key: "i6l2r4" }]
|
|
21
|
-
],
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/
|
|
28
|
-
const j = [
|
|
29
|
-
["path", { d: "M10 12h4", key: "a56b0p" }],
|
|
30
|
-
["path", { d: "M10 8h4", key: "1sr2af" }],
|
|
31
|
-
["path", { d: "M14 21v-3a2 2 0 0 0-4 0v3", key: "1rgiei" }],
|
|
32
|
-
[
|
|
33
|
-
"path",
|
|
34
|
-
{
|
|
35
|
-
d: "M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",
|
|
36
|
-
key: "secmi2"
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
["path", { d: "M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16", key: "16ra0t" }]
|
|
40
|
-
], I = m("building-2", j), K = {
|
|
41
|
-
patient: g,
|
|
42
|
-
company: I,
|
|
43
|
-
operator: $
|
|
44
|
-
}, U = w(
|
|
22
|
+
], B = T("briefcase", $), K = {
|
|
23
|
+
patient: h,
|
|
24
|
+
company: z,
|
|
25
|
+
operator: B
|
|
26
|
+
}, U = L(
|
|
45
27
|
[
|
|
46
28
|
"ds:relative ds:flex ds:items-start ds:gap-[var(--spacing-sm)]",
|
|
47
29
|
// Same corner as the elevated Card the note and appointment rows use.
|
|
@@ -69,7 +51,7 @@ const j = [
|
|
|
69
51
|
interactive: !1
|
|
70
52
|
}
|
|
71
53
|
}
|
|
72
|
-
),
|
|
54
|
+
), m = [
|
|
73
55
|
"ds:focus-visible:outline-none",
|
|
74
56
|
"ds:after:content-[''] ds:after:absolute ds:after:inset-0 ds:after:rounded-[var(--radius-lg)]",
|
|
75
57
|
"ds:after:pointer-events-auto",
|
|
@@ -79,66 +61,66 @@ const j = [
|
|
|
79
61
|
"ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
|
|
80
62
|
"ds:forced-colors:focus-visible:after:outline-[CanvasText]"
|
|
81
63
|
].join(" ");
|
|
82
|
-
function
|
|
64
|
+
function _(s) {
|
|
83
65
|
return /^(https?:\/\/(?!\/)|\/(?!\/)|#)/.test(s);
|
|
84
66
|
}
|
|
85
67
|
function R({
|
|
86
68
|
status: s,
|
|
87
|
-
priority:
|
|
69
|
+
priority: n
|
|
88
70
|
}) {
|
|
89
|
-
const a =
|
|
90
|
-
return s === "done" ? /* @__PURE__ */ e(V, { "aria-hidden": "true", className: `ds:size-4 ${a}` }) :
|
|
71
|
+
const a = n === "high" ? "ds:text-[color:var(--destructive)]" : "ds:text-[color:var(--muted-foreground)]";
|
|
72
|
+
return s === "done" ? /* @__PURE__ */ e(V, { "aria-hidden": "true", className: `ds:size-4 ${a}` }) : n === "high" ? /* @__PURE__ */ e(j, { "aria-hidden": "true", className: `ds:size-4 ${a}` }) : /* @__PURE__ */ e(I, { "aria-hidden": "true", className: `ds:size-4 ${a}` });
|
|
91
73
|
}
|
|
92
|
-
const q =
|
|
93
|
-
({ item: s, size:
|
|
94
|
-
const { t: r } =
|
|
74
|
+
const q = C(
|
|
75
|
+
({ item: s, size: n = "sm", onActivate: a, actions: c, leading: g, className: v, ...b }, k) => {
|
|
76
|
+
const { t: r } = w(), t = !!a, x = !!s.url && _(s.url), p = r("taskCard.itemLabel", {
|
|
95
77
|
title: s.title,
|
|
96
78
|
due: s.dueLabel ?? "",
|
|
97
79
|
defaultValue: '{{title}}{{due, prepend, " · "}}'
|
|
98
|
-
}),
|
|
80
|
+
}), y = {
|
|
99
81
|
patient: r("taskCard.link.patient"),
|
|
100
82
|
company: r("taskCard.link.company"),
|
|
101
83
|
operator: r("taskCard.link.operator")
|
|
102
|
-
}, u = s.linkType ? K[s.linkType] : null,
|
|
84
|
+
}, u = s.linkType ? K[s.linkType] : null, N = !!s.linkType && !!s.linkedLabel || !!s.assigneeLabel, l = /* @__PURE__ */ e("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm ds:text-[color:var(--foreground)]", children: s.title });
|
|
103
85
|
let o;
|
|
104
|
-
return
|
|
86
|
+
return t && x ? o = /* @__PURE__ */ e(
|
|
105
87
|
"a",
|
|
106
88
|
{
|
|
107
89
|
href: s.url,
|
|
108
90
|
"aria-label": p,
|
|
109
|
-
className:
|
|
91
|
+
className: m + " ds:contents",
|
|
110
92
|
onClick: (i) => {
|
|
111
93
|
i.defaultPrevented || i.metaKey || i.ctrlKey || i.shiftKey || a == null || a(s);
|
|
112
94
|
},
|
|
113
95
|
children: l
|
|
114
96
|
}
|
|
115
|
-
) :
|
|
97
|
+
) : t ? o = /* @__PURE__ */ e(
|
|
116
98
|
"button",
|
|
117
99
|
{
|
|
118
100
|
type: "button",
|
|
119
101
|
"aria-label": p,
|
|
120
|
-
className:
|
|
102
|
+
className: m + " ds:contents ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
|
|
121
103
|
onClick: () => a == null ? void 0 : a(s),
|
|
122
104
|
children: l
|
|
123
105
|
}
|
|
124
106
|
) : o = l, /* @__PURE__ */ d(
|
|
125
107
|
"div",
|
|
126
108
|
{
|
|
127
|
-
ref:
|
|
109
|
+
ref: k,
|
|
128
110
|
role: "listitem",
|
|
129
111
|
"data-component": "task-card",
|
|
130
112
|
"data-component-id": s.id,
|
|
131
113
|
"data-status": s.status ?? "open",
|
|
132
114
|
"data-priority": s.priority ?? "normal",
|
|
133
|
-
className: U({ size:
|
|
115
|
+
className: U({ size: n, interactive: t, className: v }),
|
|
134
116
|
...b,
|
|
135
117
|
children: [
|
|
136
|
-
/* @__PURE__ */ e("span", { className: "ds:relative ds:z-[1] ds:mt-[var(--spacing-2xs)] ds:shrink-0", children:
|
|
118
|
+
/* @__PURE__ */ e("span", { className: "ds:relative ds:z-[1] ds:mt-[var(--spacing-2xs)] ds:shrink-0", children: g ?? /* @__PURE__ */ e(R, { status: s.status, priority: s.priority }) }),
|
|
137
119
|
/* @__PURE__ */ d("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
138
120
|
o,
|
|
139
121
|
s.description ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-[color:var(--muted-foreground)] ds:truncate", children: s.description }) : null,
|
|
140
122
|
s.note ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-[color:var(--muted-foreground)] ds:line-clamp-2", children: s.note }) : null,
|
|
141
|
-
|
|
123
|
+
N ? (
|
|
142
124
|
// `type-meta` (not `type-eyebrow`): these chips carry proper-noun
|
|
143
125
|
// values (patient / company / operator name, assignee) that must
|
|
144
126
|
// not be uppercased. Icons are decorative; the type word is exposed
|
|
@@ -153,11 +135,11 @@ const q = L(
|
|
|
153
135
|
className: "ds:size-3 ds:shrink-0"
|
|
154
136
|
}
|
|
155
137
|
),
|
|
156
|
-
/* @__PURE__ */ e(f, { children: `${
|
|
138
|
+
/* @__PURE__ */ e(f, { children: `${y[s.linkType]}: ` }),
|
|
157
139
|
/* @__PURE__ */ e("span", { className: "ds:truncate", children: s.linkedLabel })
|
|
158
140
|
] }) : null,
|
|
159
141
|
s.assigneeLabel ? /* @__PURE__ */ d("span", { className: "ds:inline-flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
160
|
-
/* @__PURE__ */ e(
|
|
142
|
+
/* @__PURE__ */ e(h, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
161
143
|
/* @__PURE__ */ e(f, { children: `${r("taskCard.assignee")}: ` }),
|
|
162
144
|
/* @__PURE__ */ e("span", { className: "ds:truncate", children: s.assigneeLabel })
|
|
163
145
|
] }) : null
|
|
@@ -170,8 +152,8 @@ const q = L(
|
|
|
170
152
|
// Above the stretched-link overlay so the buttons stay clickable.
|
|
171
153
|
/* @__PURE__ */ e("span", { className: "ds:relative ds:z-[1] ds:flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:shrink-0", children: c })
|
|
172
154
|
) : null,
|
|
173
|
-
|
|
174
|
-
|
|
155
|
+
t ? /* @__PURE__ */ e(
|
|
156
|
+
S,
|
|
175
157
|
{
|
|
176
158
|
"aria-hidden": "true",
|
|
177
159
|
className: "ds:mt-[var(--spacing-2xs)] ds:size-4 ds:shrink-0 ds:text-[color:var(--muted-foreground)] ds:opacity-0 ds:transition-opacity ds:motion-reduce:transition-none ds:group-hover:opacity-100 ds:group-focus-within:opacity-100 ds:rtl:rotate-180"
|
|
@@ -185,6 +167,6 @@ const q = L(
|
|
|
185
167
|
q.displayName = "TaskCard";
|
|
186
168
|
export {
|
|
187
169
|
q as T,
|
|
188
|
-
|
|
170
|
+
_ as i
|
|
189
171
|
};
|
|
190
|
-
//# sourceMappingURL=task-card-
|
|
172
|
+
//# sourceMappingURL=task-card-qTKD1fIT.js.map
|
|
@@ -3,9 +3,9 @@ import { forwardRef as B, useRef as N, useMemo as E, useImperativeHandle as P }
|
|
|
3
3
|
import { c as H } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as M } from "react-i18next";
|
|
5
5
|
import { I as A } from "./icon-button-8xqRnkdG.js";
|
|
6
|
-
import { S as V } from "./skeleton-
|
|
6
|
+
import { S as V } from "./skeleton-B1KTdJ4N.js";
|
|
7
7
|
import { E as F } from "./empty-state-X0sVPfVo.js";
|
|
8
|
-
import { T as G } from "./task-card-
|
|
8
|
+
import { T as G } from "./task-card-qTKD1fIT.js";
|
|
9
9
|
import { u as J } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { S as L } from "./square-check-big-dj0o8yA3.js";
|
|
11
11
|
import { P as Q } from "./plus-DzMQ_c6b.js";
|
|
@@ -236,4 +236,4 @@ export {
|
|
|
236
236
|
X as T,
|
|
237
237
|
U as t
|
|
238
238
|
};
|
|
239
|
-
//# sourceMappingURL=task-tray-
|
|
239
|
+
//# sourceMappingURL=task-tray-5co9Jr2L.js.map
|
|
@@ -9,9 +9,9 @@ import { B as xe } from "./button-group-QmN1VdUW.js";
|
|
|
9
9
|
import { P as Rt } from "./panel-header-D_mTdhUp.js";
|
|
10
10
|
import { S as Ne } from "./select-CLSUnKjF.js";
|
|
11
11
|
import { S as Tt } from "./switch-OILsBLWo.js";
|
|
12
|
-
import { S as St } from "./skeleton-
|
|
12
|
+
import { S as St } from "./skeleton-B1KTdJ4N.js";
|
|
13
13
|
import { E as re } from "./empty-state-X0sVPfVo.js";
|
|
14
|
-
import { T as zt } from "./task-card-
|
|
14
|
+
import { T as zt } from "./task-card-qTKD1fIT.js";
|
|
15
15
|
import { u as Et } from "./use-check-animation--I3cS00X.js";
|
|
16
16
|
import { a as It, u as _e, R as Re } from "./use-list-reflow-Cw43nxw5.js";
|
|
17
17
|
import { u as jt } from "./use-theme-CAuo6EYT.js";
|
|
@@ -841,4 +841,4 @@ export {
|
|
|
841
841
|
ns as T,
|
|
842
842
|
Gt as t
|
|
843
843
|
};
|
|
844
|
-
//# sourceMappingURL=tasks-panel-
|
|
844
|
+
//# sourceMappingURL=tasks-panel-BpH-x7U3.js.map
|