@alfadocs/ui-kit 0.97.2 → 0.98.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/{document-preview-DXl9migE.js → document-preview-DXsCEj4U.js} +2 -2
- package/dist/_chunks/{muscle-scheme-CFBE2dme.js → muscle-scheme-kgCX5qfO.js} +2 -2
- package/dist/_chunks/{notes-panel-BLjlYBt-.js → notes-panel-BKwd-bOV.js} +2 -2
- package/dist/_chunks/{patient-summary-card-vn1H4xWj.js → patient-summary-card-C-iVDo53.js} +4 -2
- package/dist/_chunks/{rich-text-editor-RRkBN_WB.js → rich-text-editor-DHpV2q6d.js} +4 -4
- package/dist/_chunks/{sign-document-DI561d1C.js → sign-document-cH9CboWB.js} +2 -2
- package/dist/_chunks/{signature-capture-DN52VNKL.js → signature-capture-D6ut9_IR.js} +2 -2
- package/dist/_chunks/{tabs-CVTukWRD.js → tabs-CBb2AidH.js} +17 -17
- package/dist/_chunks/{warning-stack-CAHQ0xxS.js → warning-stack-DKeAfj5M.js} +3 -3
- package/dist/agent-catalog.json +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/host-compat.css +572 -0
- package/dist/index.js +9 -9
- package/dist/tokens.css +1 -1
- package/package.json +10 -3
|
@@ -7,7 +7,7 @@ import { C as B } from "./card-DPmk26CL.js";
|
|
|
7
7
|
import { E as G } from "./empty-state-CrLsi0XI.js";
|
|
8
8
|
import { P as Y } from "./panel-header-D313n_9-.js";
|
|
9
9
|
import { P as J } from "./pdf-viewer-CcOuR2wj.js";
|
|
10
|
-
import { T as O, b as Q, c as X, a as Z } from "./tabs-
|
|
10
|
+
import { T as O, b as Q, c as X, a as Z } from "./tabs-CBb2AidH.js";
|
|
11
11
|
import { u as ee } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { F as ie, a as te } from "./file-Cwe9VC1A.js";
|
|
13
13
|
import { F as se } from "./file-text-5yv6r2ls.js";
|
|
@@ -287,4 +287,4 @@ export {
|
|
|
287
287
|
ue as D,
|
|
288
288
|
de as d
|
|
289
289
|
};
|
|
290
|
-
//# sourceMappingURL=document-preview-
|
|
290
|
+
//# sourceMappingURL=document-preview-DXsCEj4U.js.map
|
|
@@ -5,7 +5,7 @@ import { c as x1 } from "./index-D2ZczOXr.js";
|
|
|
5
5
|
import { useTranslation as Q1 } from "react-i18next";
|
|
6
6
|
import { u as K1 } from "./registry-DvAUVLHh.js";
|
|
7
7
|
import { m as k1, A as v1 } from "./annotation-marker-qt5R9WZX.js";
|
|
8
|
-
import { T as _ } from "./tabs-
|
|
8
|
+
import { T as _ } from "./tabs-CBb2AidH.js";
|
|
9
9
|
const x = {
|
|
10
10
|
type: "string",
|
|
11
11
|
description: "Per-muscle region id within the active view, e.g. 'quadriceps-r', 'biceps-l', 'pectoralis-r', 'trapezius-l'."
|
|
@@ -1703,4 +1703,4 @@ export {
|
|
|
1703
1703
|
I1 as r,
|
|
1704
1704
|
L1 as v
|
|
1705
1705
|
};
|
|
1706
|
-
//# sourceMappingURL=muscle-scheme-
|
|
1706
|
+
//# sourceMappingURL=muscle-scheme-kgCX5qfO.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as ne, useRef as o, useState as V, useId as ie, useCallback
|
|
|
3
3
|
import { useTranslation as oe } from "react-i18next";
|
|
4
4
|
import { u as le } from "./registry-DvAUVLHh.js";
|
|
5
5
|
import { C as ce } from "./clinical-note-card-C7F_24IC.js";
|
|
6
|
-
import { R as de } from "./rich-text-editor-
|
|
6
|
+
import { R as de } from "./rich-text-editor-DHpV2q6d.js";
|
|
7
7
|
import { T as pe } from "./text-area-Bt3p7Pt0.js";
|
|
8
8
|
import { B as ue } from "./button-CPGiR_bH.js";
|
|
9
9
|
import { C as me } from "./checkbox-BuZ1u__2.js";
|
|
@@ -321,4 +321,4 @@ const _e = ne(
|
|
|
321
321
|
export {
|
|
322
322
|
_e as N
|
|
323
323
|
};
|
|
324
|
-
//# sourceMappingURL=notes-panel-
|
|
324
|
+
//# sourceMappingURL=notes-panel-BKwd-bOV.js.map
|
|
@@ -406,11 +406,13 @@ const aa = {
|
|
|
406
406
|
// children already `col-span-3`; doubling the parent to six tracks
|
|
407
407
|
// (`repeat(2, …)`) lets grid auto-flow place two fields per row while
|
|
408
408
|
// each column keeps its own subgrid label/value alignment.
|
|
409
|
+
// 672px, not the `@2xl` rem alias: container-query `rem` follows the
|
|
410
|
+
// host root font-size, so a non-16px root moves the threshold.
|
|
409
411
|
/* @__PURE__ */ e("div", { className: "ds:@container/pfields", children: /* @__PURE__ */ e(
|
|
410
412
|
Fe,
|
|
411
413
|
{
|
|
412
414
|
rowGap: "sm",
|
|
413
|
-
className: "ds:@
|
|
415
|
+
className: "ds:@[672px]/pfields:grid-cols-[repeat(2,auto_auto_minmax(0,1fr))]",
|
|
414
416
|
children: W.map((a) => /* @__PURE__ */ e(
|
|
415
417
|
Le,
|
|
416
418
|
{
|
|
@@ -449,4 +451,4 @@ export {
|
|
|
449
451
|
sa as P,
|
|
450
452
|
Xe as p
|
|
451
453
|
};
|
|
452
|
-
//# sourceMappingURL=patient-summary-card-
|
|
454
|
+
//# sourceMappingURL=patient-summary-card-C-iVDo53.js.map
|
|
@@ -922,7 +922,7 @@ function xn({
|
|
|
922
922
|
m.label[1]
|
|
923
923
|
)}`,
|
|
924
924
|
onMouseDown: g,
|
|
925
|
-
children: /* @__PURE__ */ e("span", { className: "ds:hidden ds:@
|
|
925
|
+
children: /* @__PURE__ */ e("span", { className: "ds:hidden ds:@[448px]/toolbar:inline", children: c(m.label[0], m.label[1]) })
|
|
926
926
|
}
|
|
927
927
|
) }),
|
|
928
928
|
/* @__PURE__ */ e(Ae.Content, { align: "start", children: Fe.map((d) => /* @__PURE__ */ e(
|
|
@@ -1812,8 +1812,8 @@ function Bn({
|
|
|
1812
1812
|
A && x.length > 0 ? /* @__PURE__ */ e(f, {}) : null,
|
|
1813
1813
|
x,
|
|
1814
1814
|
K ? /* @__PURE__ */ v(ke, { children: [
|
|
1815
|
-
/* @__PURE__ */ e("div", { className: "ds:hidden ds:@
|
|
1816
|
-
/* @__PURE__ */ v("div", { className: "ds:contents ds:@
|
|
1815
|
+
/* @__PURE__ */ e("div", { className: "ds:hidden ds:@[384px]/toolbar:contents", children: U(S) }),
|
|
1816
|
+
/* @__PURE__ */ v("div", { className: "ds:contents ds:@[384px]/toolbar:hidden", children: [
|
|
1817
1817
|
S ? /* @__PURE__ */ e(f, {}) : null,
|
|
1818
1818
|
/* @__PURE__ */ v(q, { children: [
|
|
1819
1819
|
/* @__PURE__ */ e(q.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
|
|
@@ -2618,4 +2618,4 @@ export {
|
|
|
2618
2618
|
hn as r,
|
|
2619
2619
|
Qn as w
|
|
2620
2620
|
};
|
|
2621
|
-
//# sourceMappingURL=rich-text-editor-
|
|
2621
|
+
//# sourceMappingURL=rich-text-editor-DHpV2q6d.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as ce, useId as le, useMemo as M, useRef as R, useState as x
|
|
|
3
3
|
import { c as i } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as me } from "react-i18next";
|
|
5
5
|
import { P as ge } from "./pdf-viewer-CcOuR2wj.js";
|
|
6
|
-
import { S as pe } from "./signature-capture-
|
|
6
|
+
import { S as pe } from "./signature-capture-D6ut9_IR.js";
|
|
7
7
|
import { u as fe } from "./registry-DvAUVLHh.js";
|
|
8
8
|
import { C as Z } from "./circle-check-BN6rz4NV.js";
|
|
9
9
|
const ve = {
|
|
@@ -367,4 +367,4 @@ export {
|
|
|
367
367
|
je as S,
|
|
368
368
|
ve as s
|
|
369
369
|
};
|
|
370
|
-
//# sourceMappingURL=sign-document-
|
|
370
|
+
//# sourceMappingURL=sign-document-cH9CboWB.js.map
|
|
@@ -132,7 +132,7 @@ const De = {
|
|
|
132
132
|
"ds:@container/sigactions",
|
|
133
133
|
"ds:flex ds:items-stretch ds:flex-wrap ds:gap-[var(--spacing-sm)]"
|
|
134
134
|
].join(" ")
|
|
135
|
-
), G = z("ds:hidden ds:@[
|
|
135
|
+
), G = z("ds:hidden ds:@[480px]/sigactions:inline"), de = z(
|
|
136
136
|
[
|
|
137
137
|
"ds:inline-flex ds:flex-1 ds:items-center ds:justify-center",
|
|
138
138
|
"ds:[min-block-size:var(--min-target-size)]",
|
|
@@ -567,4 +567,4 @@ export {
|
|
|
567
567
|
Ze as S,
|
|
568
568
|
De as s
|
|
569
569
|
};
|
|
570
|
-
//# sourceMappingURL=signature-capture-
|
|
570
|
+
//# sourceMappingURL=signature-capture-D6ut9_IR.js.map
|
|
@@ -134,18 +134,18 @@ const re = {
|
|
|
134
134
|
className: i,
|
|
135
135
|
children: u,
|
|
136
136
|
value: t,
|
|
137
|
-
defaultValue:
|
|
137
|
+
defaultValue: m,
|
|
138
138
|
onValueChange: l,
|
|
139
139
|
id: f,
|
|
140
140
|
...b
|
|
141
141
|
}, w) => {
|
|
142
|
-
const g = O(null), v = Z(w, g), y = se(g),
|
|
143
|
-
|
|
144
|
-
), r =
|
|
142
|
+
const g = O(null), v = Z(w, g), y = se(g), p = t !== void 0, [h, z] = B(
|
|
143
|
+
m ?? ""
|
|
144
|
+
), r = p ? t ?? "" : h, e = U(
|
|
145
145
|
(T) => {
|
|
146
|
-
|
|
146
|
+
p || z(T), l == null || l(T);
|
|
147
147
|
},
|
|
148
|
-
[
|
|
148
|
+
[p, l]
|
|
149
149
|
), x = _(
|
|
150
150
|
() => ({ variant: o, size: s, orientation: d, overflow: n, value: r, setValue: e }),
|
|
151
151
|
[o, s, d, n, r, e]
|
|
@@ -185,7 +185,7 @@ const re = {
|
|
|
185
185
|
L.displayName = "Tabs";
|
|
186
186
|
const $ = V(
|
|
187
187
|
({ className: o, children: s, "aria-label": d, ...n }, i) => {
|
|
188
|
-
const { variant: u, size: t, orientation:
|
|
188
|
+
const { variant: u, size: t, orientation: m, overflow: l, value: f, setValue: b } = P(A), { t: w } = Y(), g = O(null), [v, y] = B([]), p = m === "horizontal", h = l === "dropdown" && p;
|
|
189
189
|
H(() => {
|
|
190
190
|
if (!h) {
|
|
191
191
|
y([]);
|
|
@@ -217,8 +217,8 @@ const $ = V(
|
|
|
217
217
|
const x = e.props.value, c = e.props.children, R = typeof c == "string" ? c : typeof c == "number" ? String(c) : x;
|
|
218
218
|
return { value: x, label: R };
|
|
219
219
|
}), [s, l]);
|
|
220
|
-
return l === "select" &&
|
|
221
|
-
/* @__PURE__ */ a("div", { className: "ds:block ds:@
|
|
220
|
+
return l === "select" && p ? /* @__PURE__ */ C("div", { className: "ds:@container/tabs ds:relative ds:w-full", children: [
|
|
221
|
+
/* @__PURE__ */ a("div", { className: "ds:block ds:@[448px]/tabs:hidden", children: /* @__PURE__ */ a(
|
|
222
222
|
D,
|
|
223
223
|
{
|
|
224
224
|
options: r,
|
|
@@ -230,12 +230,12 @@ const $ = V(
|
|
|
230
230
|
"aria-label": d ?? w("tabs.selectLabel")
|
|
231
231
|
}
|
|
232
232
|
) }),
|
|
233
|
-
/* @__PURE__ */ a("div", { className: "ds:hidden ds:@
|
|
233
|
+
/* @__PURE__ */ a("div", { className: "ds:hidden ds:@[448px]/tabs:flex ds:relative ds:items-center", children: /* @__PURE__ */ a(
|
|
234
234
|
j.List,
|
|
235
235
|
{
|
|
236
236
|
ref: z,
|
|
237
237
|
"aria-label": d,
|
|
238
|
-
className: q({ variant: u, orientation:
|
|
238
|
+
className: q({ variant: u, orientation: m, className: o }),
|
|
239
239
|
...n,
|
|
240
240
|
children: s
|
|
241
241
|
}
|
|
@@ -246,7 +246,7 @@ const $ = V(
|
|
|
246
246
|
{
|
|
247
247
|
ref: z,
|
|
248
248
|
"aria-label": d,
|
|
249
|
-
className: q({ variant: u, orientation:
|
|
249
|
+
className: q({ variant: u, orientation: m, className: o }),
|
|
250
250
|
...n,
|
|
251
251
|
children: s
|
|
252
252
|
}
|
|
@@ -324,13 +324,13 @@ const F = V(
|
|
|
324
324
|
badge: i,
|
|
325
325
|
dismissible: u = !1,
|
|
326
326
|
onDismiss: t,
|
|
327
|
-
className:
|
|
327
|
+
className: m,
|
|
328
328
|
children: l,
|
|
329
329
|
value: f,
|
|
330
330
|
onKeyDown: b,
|
|
331
331
|
...w
|
|
332
332
|
}, g) => {
|
|
333
|
-
const v = P(A), y = o ?? v.variant,
|
|
333
|
+
const v = P(A), y = o ?? v.variant, p = s ?? v.size, h = d ?? v.orientation, z = (r) => {
|
|
334
334
|
u && (r.key === "Delete" || r.key === "Backspace") && (r.preventDefault(), t == null || t()), b == null || b(r);
|
|
335
335
|
};
|
|
336
336
|
return /* @__PURE__ */ C(
|
|
@@ -342,9 +342,9 @@ const F = V(
|
|
|
342
342
|
"data-tab-id": f,
|
|
343
343
|
className: X({
|
|
344
344
|
variant: y,
|
|
345
|
-
size:
|
|
345
|
+
size: p,
|
|
346
346
|
orientation: h,
|
|
347
|
-
className:
|
|
347
|
+
className: m
|
|
348
348
|
}),
|
|
349
349
|
onKeyDown: z,
|
|
350
350
|
...w,
|
|
@@ -405,4 +405,4 @@ export {
|
|
|
405
405
|
F as c,
|
|
406
406
|
re as t
|
|
407
407
|
};
|
|
408
|
-
//# sourceMappingURL=tabs-
|
|
408
|
+
//# sourceMappingURL=tabs-CBb2AidH.js.map
|
|
@@ -33,8 +33,8 @@ const pn = dn(
|
|
|
33
33
|
}
|
|
34
34
|
), wn = [
|
|
35
35
|
"ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)]",
|
|
36
|
-
"ds:@
|
|
37
|
-
"ds:@
|
|
36
|
+
"ds:@[768px]/warning-stack:grid-cols-2",
|
|
37
|
+
"ds:@[768px]/warning-stack:[&>li:nth-child(odd):last-child]:col-span-full"
|
|
38
38
|
].join(" "), vn = [
|
|
39
39
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] ds:self-start"
|
|
40
40
|
].join(" "), Sn = 250;
|
|
@@ -265,4 +265,4 @@ Nn.displayName = "WarningStack";
|
|
|
265
265
|
export {
|
|
266
266
|
Nn as W
|
|
267
267
|
};
|
|
268
|
-
//# sourceMappingURL=warning-stack-
|
|
268
|
+
//# sourceMappingURL=warning-stack-DKeAfj5M.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as a, F as r, a as t, M as g, b as i, e as m, f as o, g as E, c as F, m as c, r as I, v as M } from "../../_chunks/muscle-scheme-
|
|
1
|
+
import { D as a, F as r, a as t, M as g, b as i, e as m, f as o, g as E, c as F, m as c, r as I, v as M } from "../../_chunks/muscle-scheme-kgCX5qfO.js";
|
|
2
2
|
export {
|
|
3
3
|
a as DEFAULT_MUSCLE_VIEW,
|
|
4
4
|
r as FINDING_MARKER,
|
|
@@ -5,7 +5,7 @@ import { c as T1 } from "../../_chunks/index-D2ZczOXr.js";
|
|
|
5
5
|
import { useTranslation as N1 } from "react-i18next";
|
|
6
6
|
import { u as E1 } from "../../_chunks/registry-DvAUVLHh.js";
|
|
7
7
|
import { m as R1, A as _1 } from "../../_chunks/annotation-marker-qt5R9WZX.js";
|
|
8
|
-
import { T as A } from "../../_chunks/tabs-
|
|
8
|
+
import { T as A } from "../../_chunks/tabs-CBb2AidH.js";
|
|
9
9
|
import { a as V1, Z as C1 } from "../../_chunks/zoom-out-Dnif4kJx.js";
|
|
10
10
|
import { M as F1 } from "../../_chunks/maximize-2-BYd2Kti7.js";
|
|
11
11
|
const I = {
|