@contentgrowth/llm-service 1.0.7 → 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.
@@ -842,7 +842,8 @@ var TapToTalk = ({
842
842
  disabled = false,
843
843
  tooltip = "Tap to speak",
844
844
  onFocusTarget,
845
- accentColor = "bg-emerald-600"
845
+ accentColor = "bg-emerald-600",
846
+ leftAction
846
847
  }) => {
847
848
  var _a;
848
849
  const globalConfig = useChatConfig();
@@ -1033,23 +1034,26 @@ var TapToTalk = ({
1033
1034
  logs.map((log, i) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "mb-0.5 border-b border-gray-700/50 pb-0.5 break-all", children: log }, i)),
1034
1035
  logs.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { children: "No logs yet..." })
1035
1036
  ] }),
1036
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1037
- "button",
1038
- {
1039
- ...handlers,
1040
- disabled: disabled || isTranscribing && !isListening,
1041
- className: `flex items-center justify-center gap-3 px-6 py-3 rounded-xl transition-all duration-300 w-full font-medium shadow-md touch-none select-none
1037
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center gap-2 w-full", children: [
1038
+ leftAction,
1039
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1040
+ "button",
1041
+ {
1042
+ ...handlers,
1043
+ disabled: disabled || isTranscribing && !isListening,
1044
+ 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
1042
1045
  ${bgColor} text-white
1043
1046
  ${disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}
1044
1047
  ${className}`,
1045
- title: label,
1046
- children: [
1047
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "flex items-center justify-center shrink-0", children: Icon }),
1048
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "truncate", children: label }),
1049
- errorMsg && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("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 })
1050
- ]
1051
- }
1052
- )
1048
+ title: label,
1049
+ children: [
1050
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "flex items-center justify-center shrink-0", children: Icon }),
1051
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "truncate", children: label }),
1052
+ errorMsg && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("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 })
1053
+ ]
1054
+ }
1055
+ )
1056
+ ] })
1053
1057
  ] });
1054
1058
  };
1055
1059