@alquimia-ai/ui 1.5.2 → 1.6.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/components/organisms/index.js +2 -2
- package/dist/components/organisms/index.js.map +1 -1
- package/dist/components/organisms/index.mjs +3 -3
- package/dist/components/organisms/index.mjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/styles/call-out.css +5 -0
- package/package.json +1 -1
|
@@ -116,10 +116,10 @@ function Whisper({
|
|
|
116
116
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: cn(className), children: [
|
|
117
117
|
isMessageStreaming && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "p-2 w-[24px] h-[24px]" }),
|
|
118
118
|
!isMessageStreaming && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { onClick: () => handleTextToSpeech(content), children: [
|
|
119
|
-
isPlaying && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { className: "p-2 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.AudioLinesIcon, { size: 20 }) }),
|
|
119
|
+
isPlaying && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { className: "p-2 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.AudioLinesIcon, { size: 20, className: "animate-[wave_0.7s_infinite_ease-in-out]" }) }),
|
|
120
120
|
isLoading && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { className: "p-2 items-center justify-center", children: [
|
|
121
121
|
" ",
|
|
122
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.
|
|
122
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.LoaderCircleIcon, { size: 20, className: "animate-[spin_1s_linear_infinite]" })
|
|
123
123
|
] }),
|
|
124
124
|
!isLoading && !isPlaying && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
125
125
|
"button",
|