callix-dialer-widget 1.2.6 → 1.2.7

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.
@@ -54136,7 +54136,7 @@ function AuthenticatedDialer({ username, dialValue, setDialValue, onLogout, vari
54136
54136
  }
54137
54137
  }, [goOffBreak]);
54138
54138
  useEffect(() => {
54139
- if (!isDialerFocused) {
54139
+ if (!isMiniMode && !isDialerFocused) {
54140
54140
  return;
54141
54141
  }
54142
54142
  const handleKeyDown = (event2) => {
@@ -54190,7 +54190,7 @@ function AuthenticatedDialer({ username, dialValue, setDialValue, onLogout, vari
54190
54190
  return () => {
54191
54191
  window.removeEventListener("keydown", handleKeyDown);
54192
54192
  };
54193
- }, [isDialerFocused, handleBackspace, handleClear, handleDial, handleCall, isIdle]);
54193
+ }, [isMiniMode, isDialerFocused, handleBackspace, handleClear, handleDial, handleCall, isIdle]);
54194
54194
  const handleHangup = useCallback(async () => {
54195
54195
  try {
54196
54196
  await hangup();
@@ -54410,7 +54410,7 @@ function AuthenticatedDialer({ username, dialValue, setDialValue, onLogout, vari
54410
54410
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: tw`space-y-1 rounded-xl border border-slate-200 bg-slate-50 px-3 py-2`, children: [
54411
54411
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: tw`text-[10px] font-semibold uppercase tracking-wide text-slate-500`, children: "Numero" }),
54412
54412
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: tw`flex items-center gap-2`, children: [
54413
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: tw`flex-1 truncate text-lg font-semibold text-slate-800`, children: dialDisplayText || /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: tw`text-slate-400 text-base font-normal`, children: "Digite um numero" }) }),
54413
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: tw`flex-1 truncate text-sm font-semibold text-slate-800`, children: dialDisplayText || /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: tw`text-slate-400 text-xs font-normal`, children: "Digite um numero" }) }),
54414
54414
  /* @__PURE__ */ jsxRuntimeExports.jsx(
54415
54415
  "button",
54416
54416
  {
@@ -55202,6 +55202,15 @@ function InlineDialer({ variant = "default", ...props }) {
55202
55202
  box-sizing: border-box !important;
55203
55203
  }
55204
55204
 
55205
+ /* Visor de número - fonte menor para caber todos os dígitos */
55206
+ .callix.mode.min [class*="truncate"] {
55207
+ font-size: 0.875rem !important; /* text-sm */
55208
+ line-height: 1.25rem !important;
55209
+ overflow: hidden !important;
55210
+ text-overflow: ellipsis !important;
55211
+ white-space: nowrap !important;
55212
+ }
55213
+
55205
55214
  /* Botões do modo mini */
55206
55215
  .callix.mode.min button {
55207
55216
  cursor: pointer !important;