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.d.ts +1 -1
- package/dist/index.esm.js +1 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ declare const BreadcrumbEllipsis: {
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
declare const buttonVariants: (props?: ({
|
|
108
|
-
variant?: "
|
|
108
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "link" | "primary" | "ghost" | null | undefined;
|
|
109
109
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
110
110
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
111
111
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
package/dist/index.esm.js
CHANGED
|
@@ -10117,10 +10117,7 @@ const TruncatedText = ({ text }) => {
|
|
|
10117
10117
|
observer.observe(el);
|
|
10118
10118
|
return () => observer.disconnect();
|
|
10119
10119
|
}, [text]);
|
|
10120
|
-
|
|
10121
|
-
if (!isTruncated)
|
|
10122
|
-
return inner;
|
|
10123
|
-
return (jsx(TooltipProvider, { children: jsxs(Tooltip, { children: [jsx(TooltipTrigger, { asChild: true, children: inner }), jsx(TooltipContent, { children: text })] }) }));
|
|
10120
|
+
return (jsx(TooltipProvider, { children: jsxs(Tooltip, { children: [jsx(TooltipTrigger, { asChild: true, children: jsx("div", { ref: ref, className: 'text-zinc-500 truncate', children: text }) }), isTruncated && jsx(TooltipContent, { children: text })] }) }));
|
|
10124
10121
|
};
|
|
10125
10122
|
const LabelWithTitle = ({ title, value, value2, required, showCopyIcon = false, className, isLoading, hoverAction, }) => {
|
|
10126
10123
|
const handleCopy = () => {
|