@brighthr/component-input
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -45,12 +45,2 @@ // src/index.tsx | ||
), /* @__PURE__ */ React.createElement("div", { className: "relative" }, /* @__PURE__ */ React.createElement("div", { className: "absolute z-0 -translate-y-1/2 left-2 top-1/2" }, LeftIcon && /* @__PURE__ */ React.createElement(LeftIcon, { className: "w-5 fill-neutral-500" })), /* @__PURE__ */ React.createElement( | ||
OverlayWrapper, | ||
{ | ||
className: "absolute z-0 -translate-y-1/2 right-2 top-1/2", | ||
onClickButton, | ||
buttonAriaLabel | ||
}, | ||
children, | ||
RightIcon && /* @__PURE__ */ React.createElement(RightIcon, { className: "w-5 fill-neutral-500" }), | ||
unit && /* @__PURE__ */ React.createElement("span", { className: "text-gray-400" }, unit) | ||
), /* @__PURE__ */ React.createElement( | ||
"input", | ||
@@ -74,2 +64,12 @@ { | ||
} | ||
), /* @__PURE__ */ React.createElement( | ||
OverlayWrapper, | ||
{ | ||
className: "absolute z-0 -translate-y-1/2 right-2 top-1/2", | ||
onClickButton, | ||
buttonAriaLabel | ||
}, | ||
children, | ||
RightIcon && /* @__PURE__ */ React.createElement(RightIcon, { className: "w-5 fill-neutral-500" }), | ||
unit && /* @__PURE__ */ React.createElement("span", { className: "text-gray-400" }, unit) | ||
))); | ||
@@ -76,0 +76,0 @@ } |
{ | ||
"name": "@brighthr/component-input", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"license": "MIT", | ||
@@ -26,3 +26,3 @@ "type": "module", | ||
}, | ||
"gitHead": "4f647cbaaf5737d6b288352ce686df2f63eaab79" | ||
"gitHead": "8dc77646a32785f117a7c6b33730f19d66b195d0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20320