@akropolys/kiku 1.7.1 → 1.7.2

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.mjs CHANGED
@@ -1335,7 +1335,7 @@ function SourceImg({ src, alt, onImageClick }) {
1335
1335
  }
1336
1336
  );
1337
1337
  }
1338
- function SourcesCarousel({ sources, defaultCurrency, onSelectSource, onImageClick, referencedIds = [] }) {
1338
+ function SourcesCarousel({ sources, defaultCurrency, onSelectSource, onImageClick, referencedIds = [], compact = false }) {
1339
1339
  const client = useAkropolysContext3();
1340
1340
  const isProperty = client?.vertical === "property";
1341
1341
  const railRef = useRef5(null);
@@ -1363,7 +1363,7 @@ function SourcesCarousel({ sources, defaultCurrency, onSelectSource, onImageClic
1363
1363
  };
1364
1364
  const display = sources.filter((s) => s.id && referencedIds.includes(s.id));
1365
1365
  if (display.length === 0) return null;
1366
- return /* @__PURE__ */ jsxs6("div", { className: "hsk-cb-sources-wrap", children: [
1366
+ return /* @__PURE__ */ jsxs6("div", { className: cn("hsk-cb-sources-wrap", compact && "hsk-cb-sources-wrap--compact"), children: [
1367
1367
  /* @__PURE__ */ jsx7("div", { className: "hsk-cb-sources", ref: railRef, children: display.map((src, si) => {
1368
1368
  const isReferenced = !!(src.id && referencedIds.includes(src.id));
1369
1369
  return /* @__PURE__ */ jsxs6(
@@ -2044,7 +2044,8 @@ function ChatModal({
2044
2044
  defaultCurrency,
2045
2045
  onSelectSource: handleSourceClick,
2046
2046
  onImageClick: setLightboxSrc,
2047
- referencedIds: msgReferencedIds
2047
+ referencedIds: msgReferencedIds,
2048
+ compact: !!msg.visualization
2048
2049
  }
2049
2050
  );
2050
2051
  })(),
@@ -2085,6 +2086,7 @@ function ChatModal({
2085
2086
  loading && !streaming && /* @__PURE__ */ jsxs6("div", { className: "hsk-cb-typing-row", style: { display: "flex", alignItems: "center", gap: "10px" }, children: [
2086
2087
  /* @__PURE__ */ jsxs6("div", { className: "hsk-cb-thinking-icon", children: [
2087
2088
  /* @__PURE__ */ jsx7("svg", { className: "hsk-brand-mark", viewBox: "0 0 100 100", "aria-hidden": "true", children: /* @__PURE__ */ jsx7("path", { d: "M39.4 10.4 Q44 0 48.6 10.4 L86.1 95.8 Q88 100 83.4 100 L4.6 100 Q0 100 1.9 95.8 Z M24 100 L24 65 Q24 60 27.4 56.3 Q44 38 60.6 56.3 Q64 60 64 65 L64 100 Z", transform: "translate(22.7 19) scale(0.62)", fillRule: "evenodd" }) }),
2089
+ /* @__PURE__ */ jsx7("svg", { className: "hsk-brand-mark hsk-brand-mark--sheen", viewBox: "0 0 100 100", "aria-hidden": "true", children: /* @__PURE__ */ jsx7("path", { d: "M39.4 10.4 Q44 0 48.6 10.4 L86.1 95.8 Q88 100 83.4 100 L4.6 100 Q0 100 1.9 95.8 Z M24 100 L24 65 Q24 60 27.4 56.3 Q44 38 60.6 56.3 Q64 60 64 65 L64 100 Z", transform: "translate(22.7 19) scale(0.62)", fillRule: "evenodd" }) }),
2088
2090
  /* @__PURE__ */ jsx7("span", { className: "hsk-handle-orbit", children: /* @__PURE__ */ jsxs6("span", { className: "hsk-handle-ring", children: [
2089
2091
  /* @__PURE__ */ jsx7("span", { className: "hsk-handle-ball" }),
2090
2092
  /* @__PURE__ */ jsx7("span", { className: "hsk-handle-ball" }),