@akropolys/kiku 1.5.9 → 1.5.13
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/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -71,7 +71,7 @@ function SearchBar({
|
|
|
71
71
|
}
|
|
72
72
|
ignoreNextQueryChange.current = true;
|
|
73
73
|
setOpen(false);
|
|
74
|
-
setQuery(r.product.name);
|
|
74
|
+
setQuery(r.product.name ?? "");
|
|
75
75
|
onSelect?.(r);
|
|
76
76
|
};
|
|
77
77
|
const handleCommitSearch = () => {
|
|
@@ -1947,7 +1947,13 @@ function ChatModal({
|
|
|
1947
1947
|
const { thinking, content, isComplete } = parseThinking(displayContent);
|
|
1948
1948
|
return /* @__PURE__ */ jsxs6(Fragment3, { children: [
|
|
1949
1949
|
thinking && /* @__PURE__ */ jsx7(ThinkingBlock, { text: thinking, isComplete }),
|
|
1950
|
-
content && /* @__PURE__ */
|
|
1950
|
+
content && /* @__PURE__ */ jsxs6("div", { className: "hsk-cb-ai-text", children: [
|
|
1951
|
+
renderMarkdown(content),
|
|
1952
|
+
isLast && streaming && /* @__PURE__ */ jsxs6(Fragment3, { children: [
|
|
1953
|
+
/* @__PURE__ */ jsx7("style", { children: `@keyframes hsk-blink { 0%,100%{opacity:.18} 50%{opacity:.9} }` }),
|
|
1954
|
+
/* @__PURE__ */ jsx7("span", { style: { display: "inline-block", width: "0.5em", height: "1.05em", marginLeft: "2px", verticalAlign: "text-bottom", background: "currentColor", borderRadius: "1px", animation: "hsk-blink 1.1s ease-in-out infinite" } })
|
|
1955
|
+
] })
|
|
1956
|
+
] })
|
|
1951
1957
|
] });
|
|
1952
1958
|
})(),
|
|
1953
1959
|
isLast && lastIntent === "compare" && sources.length >= 2 && !replayMessages && /* @__PURE__ */ jsx7(ComparisonMatrix, { sources, defaultCurrency }),
|
|
@@ -2015,7 +2021,7 @@ function ChatModal({
|
|
|
2015
2021
|
50% { opacity: 1; }
|
|
2016
2022
|
}
|
|
2017
2023
|
` }),
|
|
2018
|
-
/* @__PURE__ */ jsx7("div", { style: { fontSize: "0.85rem", color: "#6b7280", fontStyle: "italic", animation: "hsk-pulse 1.5s infinite ease-in-out" }, children:
|
|
2024
|
+
/* @__PURE__ */ jsx7("div", { style: { fontSize: "0.85rem", color: "#6b7280", fontStyle: "italic", animation: "hsk-pulse 1.5s infinite ease-in-out" }, children: "Thinking\u2026" }),
|
|
2019
2025
|
/* @__PURE__ */ jsxs6("div", { className: "hsk-cb-typing", style: { margin: 0, alignSelf: "flex-start" }, children: [
|
|
2020
2026
|
/* @__PURE__ */ jsx7("div", { className: "hsk-cb-dot" }),
|
|
2021
2027
|
/* @__PURE__ */ jsx7("div", { className: "hsk-cb-dot" }),
|