@akropolys/kiku 1.6.10 → 1.7.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/index.js CHANGED
@@ -2068,6 +2068,19 @@ function ChatModal({
2068
2068
  ] })
2069
2069
  ] });
2070
2070
  })(),
2071
+ msg.visualizing && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "hsk-cb-viz hsk-cb-viz--loading", children: [
2072
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "hsk-cb-viz-spinner" }),
2073
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: "Visualizing\u2026" })
2074
+ ] }),
2075
+ msg.visualization && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "hsk-cb-viz", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2076
+ "img",
2077
+ {
2078
+ src: msg.visualization,
2079
+ alt: "Product visualized in your photo",
2080
+ className: "hsk-markdown-img",
2081
+ loading: "lazy"
2082
+ }
2083
+ ) }),
2071
2084
  isLast && lastIntent === "compare" && sources.length >= 2 && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ComparisonMatrix, { sources, defaultCurrency }),
2072
2085
  (() => {
2073
2086
  const msgReferencedIds = isLast ? referencedIds : msg.referencedIds ?? [];