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.
@@ -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("div", { className: "flex items-center justify-center relative" }, /* @__PURE__ */ React.createElement("div", { className: "shrink-0 absolute left-3" }, /* @__PURE__ */ React.createElement(Icon, { icon: iconBefore })), /* @__PURE__ */ React.createElement("input", { type, className: inputStyles(), ref, ...props }), /* @__PURE__ */ React.createElement("div", { className: "shrink-0 absolute right-3" }, /* @__PURE__ */ React.createElement(Icon, { icon: iconAfter }))), renderSufix());
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?: "white" | "black" | null | undefined;
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> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lecom-ui",
3
- "version": "4.8.5",
3
+ "version": "4.8.6",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",