udi-yac 0.1.5 → 0.1.6
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/udi-yac.js +2 -2
- package/package.json +1 -1
package/dist/udi-yac.js
CHANGED
|
@@ -25986,7 +25986,7 @@ function zE() {
|
|
|
25986
25986
|
function BE({ apiBaseUrl: e, onExampleClick: t, isLoading: n }) {
|
|
25987
25987
|
let r = sn((e) => e.messages.length), { examplePrompts: i } = PE(e);
|
|
25988
25988
|
return r > 0 || i.length === 0 ? null : /* @__PURE__ */ g("div", {
|
|
25989
|
-
className: "px-3 py-2",
|
|
25989
|
+
className: "flex min-h-0 flex-col px-3 py-2",
|
|
25990
25990
|
children: [/* @__PURE__ */ g("div", {
|
|
25991
25991
|
className: "mb-2 flex items-center gap-1.5 text-xs text-muted-foreground",
|
|
25992
25992
|
children: [/* @__PURE__ */ h(mr, { className: "h-3 w-3" }), /* @__PURE__ */ h("span", {
|
|
@@ -25994,7 +25994,7 @@ function BE({ apiBaseUrl: e, onExampleClick: t, isLoading: n }) {
|
|
|
25994
25994
|
children: "Try an example"
|
|
25995
25995
|
})]
|
|
25996
25996
|
}), /* @__PURE__ */ h("div", {
|
|
25997
|
-
className: "flex flex-col gap-1",
|
|
25997
|
+
className: "flex min-h-0 flex-col gap-1 overflow-y-auto",
|
|
25998
25998
|
children: i.map((e, r) => /* @__PURE__ */ h("button", {
|
|
25999
25999
|
className: "rounded px-3 py-2 text-left text-sm text-foreground hover:bg-muted disabled:opacity-50",
|
|
26000
26000
|
onClick: () => t(e),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "udi-yac",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "React implementation of the Universal Discovery Interface (UDI) chat — natural-language querying and visualization of biomedical datasets. Publishable as a library (`UDIChat` component) or as a standalone SPA.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"udi",
|