eai-frontend-components 2.0.81 → 2.0.82

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.js CHANGED
@@ -10157,10 +10157,7 @@ const TruncatedText = ({ text }) => {
10157
10157
  observer.observe(el);
10158
10158
  return () => observer.disconnect();
10159
10159
  }, [text]);
10160
- const inner = (jsxRuntime.jsx("div", { ref: ref, className: 'text-zinc-500 truncate', children: text }));
10161
- if (!isTruncated)
10162
- return inner;
10163
- return (jsxRuntime.jsx(TooltipProvider, { children: jsxRuntime.jsxs(Tooltip, { children: [jsxRuntime.jsx(TooltipTrigger, { asChild: true, children: inner }), jsxRuntime.jsx(TooltipContent, { children: text })] }) }));
10160
+ return (jsxRuntime.jsx(TooltipProvider, { children: jsxRuntime.jsxs(Tooltip, { children: [jsxRuntime.jsx(TooltipTrigger, { asChild: true, children: jsxRuntime.jsx("div", { ref: ref, className: 'text-zinc-500 truncate', children: text }) }), isTruncated && jsxRuntime.jsx(TooltipContent, { children: text })] }) }));
10164
10161
  };
10165
10162
  const LabelWithTitle = ({ title, value, value2, required, showCopyIcon = false, className, isLoading, hoverAction, }) => {
10166
10163
  const handleCopy = () => {