@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
package/dist/index.mjs
CHANGED
|
@@ -1746,7 +1746,7 @@ import { useState as useState3, useEffect as useEffect3 } from "react";
|
|
|
1746
1746
|
import {
|
|
1747
1747
|
AudioLinesIcon,
|
|
1748
1748
|
PlayCircleIcon,
|
|
1749
|
-
|
|
1749
|
+
LoaderCircleIcon
|
|
1750
1750
|
} from "lucide-react";
|
|
1751
1751
|
import { jsx as jsx36, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1752
1752
|
function Whisper({
|
|
@@ -1799,10 +1799,10 @@ function Whisper({
|
|
|
1799
1799
|
return /* @__PURE__ */ jsxs13("div", { className: cn(className), children: [
|
|
1800
1800
|
isMessageStreaming && /* @__PURE__ */ jsx36("div", { className: "p-2 w-[24px] h-[24px]" }),
|
|
1801
1801
|
!isMessageStreaming && /* @__PURE__ */ jsxs13("div", { onClick: () => handleTextToSpeech(content), children: [
|
|
1802
|
-
isPlaying && /* @__PURE__ */ jsx36("button", { className: "p-2 items-center justify-center", children: /* @__PURE__ */ jsx36(AudioLinesIcon, { size: 20 }) }),
|
|
1802
|
+
isPlaying && /* @__PURE__ */ jsx36("button", { className: "p-2 items-center justify-center", children: /* @__PURE__ */ jsx36(AudioLinesIcon, { size: 20, className: "animate-[wave_0.7s_infinite_ease-in-out]" }) }),
|
|
1803
1803
|
isLoading && /* @__PURE__ */ jsxs13("button", { className: "p-2 items-center justify-center", children: [
|
|
1804
1804
|
" ",
|
|
1805
|
-
/* @__PURE__ */ jsx36(
|
|
1805
|
+
/* @__PURE__ */ jsx36(LoaderCircleIcon, { size: 20, className: "animate-[spin_1s_linear_infinite]" })
|
|
1806
1806
|
] }),
|
|
1807
1807
|
!isLoading && !isPlaying && /* @__PURE__ */ jsx36(
|
|
1808
1808
|
"button",
|