@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.mjs CHANGED
@@ -2036,6 +2036,19 @@ function ChatModal({
2036
2036
  ] })
2037
2037
  ] });
2038
2038
  })(),
2039
+ msg.visualizing && /* @__PURE__ */ jsxs6("div", { className: "hsk-cb-viz hsk-cb-viz--loading", children: [
2040
+ /* @__PURE__ */ jsx7("span", { className: "hsk-cb-viz-spinner" }),
2041
+ /* @__PURE__ */ jsx7("span", { children: "Visualizing\u2026" })
2042
+ ] }),
2043
+ msg.visualization && /* @__PURE__ */ jsx7("div", { className: "hsk-cb-viz", children: /* @__PURE__ */ jsx7(
2044
+ "img",
2045
+ {
2046
+ src: msg.visualization,
2047
+ alt: "Product visualized in your photo",
2048
+ className: "hsk-markdown-img",
2049
+ loading: "lazy"
2050
+ }
2051
+ ) }),
2039
2052
  isLast && lastIntent === "compare" && sources.length >= 2 && /* @__PURE__ */ jsx7(ComparisonMatrix, { sources, defaultCurrency }),
2040
2053
  (() => {
2041
2054
  const msgReferencedIds = isLast ? referencedIds : msg.referencedIds ?? [];