lecom-ui 4.8.5 → 4.8.6
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/components/Input/Input.js +12 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -72,7 +72,18 @@ const Input = React.forwardRef(
|
|
|
72
72
|
}
|
|
73
73
|
return sufix;
|
|
74
74
|
};
|
|
75
|
-
return /* @__PURE__ */ React.createElement("div", { className: cn("flex justify-center", containerClassName) }, renderPrefix(), /* @__PURE__ */ React.createElement(
|
|
75
|
+
return /* @__PURE__ */ React.createElement("div", { className: cn("flex justify-center", containerClassName) }, renderPrefix(), /* @__PURE__ */ React.createElement(
|
|
76
|
+
"div",
|
|
77
|
+
{
|
|
78
|
+
className: cn(
|
|
79
|
+
"flex items-center justify-center relative",
|
|
80
|
+
containerClassName
|
|
81
|
+
)
|
|
82
|
+
},
|
|
83
|
+
/* @__PURE__ */ React.createElement("div", { className: "shrink-0 absolute left-3" }, /* @__PURE__ */ React.createElement(Icon, { icon: iconBefore })),
|
|
84
|
+
/* @__PURE__ */ React.createElement("input", { type, className: inputStyles(), ref, ...props }),
|
|
85
|
+
/* @__PURE__ */ React.createElement("div", { className: "shrink-0 absolute right-3" }, /* @__PURE__ */ React.createElement(Icon, { icon: iconAfter }))
|
|
86
|
+
), renderSufix());
|
|
76
87
|
}
|
|
77
88
|
);
|
|
78
89
|
Input.displayName = "Input";
|
package/dist/index.d.ts
CHANGED
|
@@ -735,7 +735,7 @@ declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive
|
|
|
735
735
|
declare const TooltipArrow: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
736
736
|
declare const TooltipPortal: React$1.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
737
737
|
declare const tooltipContentVariants: (props?: ({
|
|
738
|
-
color?: "
|
|
738
|
+
color?: "black" | "white" | null | undefined;
|
|
739
739
|
arrow?: boolean | null | undefined;
|
|
740
740
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
741
741
|
interface TooltipContentProps extends React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>, VariantProps<typeof tooltipContentVariants> {
|