@contentgrowth/llm-service 1.0.6 → 1.0.8
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.cjs +15 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -4
- package/dist/index.d.ts +14 -4
- package/dist/index.js +15 -3
- package/dist/index.js.map +1 -1
- package/dist/ui/react/components/index.cjs +19 -15
- package/dist/ui/react/components/index.cjs.map +1 -1
- package/dist/ui/react/components/index.d.cts +1 -0
- package/dist/ui/react/components/index.d.ts +1 -0
- package/dist/ui/react/components/index.js +19 -15
- package/dist/ui/react/components/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -801,7 +801,8 @@ var TapToTalk = ({
|
|
|
801
801
|
disabled = false,
|
|
802
802
|
tooltip = "Tap to speak",
|
|
803
803
|
onFocusTarget,
|
|
804
|
-
accentColor = "bg-emerald-600"
|
|
804
|
+
accentColor = "bg-emerald-600",
|
|
805
|
+
leftAction
|
|
805
806
|
}) => {
|
|
806
807
|
var _a;
|
|
807
808
|
const globalConfig = useChatConfig();
|
|
@@ -992,23 +993,26 @@ var TapToTalk = ({
|
|
|
992
993
|
logs.map((log, i) => /* @__PURE__ */ jsx7("div", { className: "mb-0.5 border-b border-gray-700/50 pb-0.5 break-all", children: log }, i)),
|
|
993
994
|
logs.length === 0 && /* @__PURE__ */ jsx7("div", { children: "No logs yet..." })
|
|
994
995
|
] }),
|
|
995
|
-
/* @__PURE__ */ jsxs5(
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
996
|
+
/* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-2 w-full", children: [
|
|
997
|
+
leftAction,
|
|
998
|
+
/* @__PURE__ */ jsxs5(
|
|
999
|
+
"button",
|
|
1000
|
+
{
|
|
1001
|
+
...handlers,
|
|
1002
|
+
disabled: disabled || isTranscribing && !isListening,
|
|
1003
|
+
className: `flex items-center justify-center gap-3 px-6 py-3 rounded-xl transition-all duration-300 flex-1 font-medium shadow-md touch-none select-none
|
|
1001
1004
|
${bgColor} text-white
|
|
1002
1005
|
${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}
|
|
1003
1006
|
${className}`,
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1007
|
+
title: label,
|
|
1008
|
+
children: [
|
|
1009
|
+
/* @__PURE__ */ jsx7("div", { className: "flex items-center justify-center shrink-0", children: Icon }),
|
|
1010
|
+
/* @__PURE__ */ jsx7("span", { className: "truncate", children: label }),
|
|
1011
|
+
errorMsg && /* @__PURE__ */ jsx7("span", { className: "text-[10px] bg-white/20 px-1.5 py-0.5 rounded text-red-100 animate-in fade-in slide-in-from-right-1", children: errorMsg })
|
|
1012
|
+
]
|
|
1013
|
+
}
|
|
1014
|
+
)
|
|
1015
|
+
] })
|
|
1012
1016
|
] });
|
|
1013
1017
|
};
|
|
1014
1018
|
|