opus-toolkit-components 0.4.6 → 0.4.7
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.
|
@@ -820,7 +820,7 @@ const Input = /*#__PURE__*/(0,external_react_.forwardRef)((_ref, ref) => {
|
|
|
820
820
|
// Custom component to render
|
|
821
821
|
customComponentProps = {} // Props for the custom component
|
|
822
822
|
} = _ref;
|
|
823
|
-
const inputClasses = "".concat(className, " flex items-center rounded-md bg-white border ").concat(isValid ? 'border-greyLight500' : 'border-utilRed1000', "
|
|
823
|
+
const inputClasses = "".concat(className, " flex items-center rounded-md bg-white border ").concat(isValid ? 'border-greyLight500' : 'border-utilRed1000', " text-md font-normal text-gray-900");
|
|
824
824
|
const iconClasses = "h-5 w-5 ".concat(isAnimated ? 'transition-transform duration-200 group-focus-within:scale-125' : '', " text-gray-400");
|
|
825
825
|
return /*#__PURE__*/external_react_default().createElement("div", {
|
|
826
826
|
className: "flex flex-col mb-4"
|
|
@@ -836,7 +836,7 @@ const Input = /*#__PURE__*/(0,external_react_.forwardRef)((_ref, ref) => {
|
|
|
836
836
|
className: iconClasses
|
|
837
837
|
})), /*#__PURE__*/external_react_default().createElement("input", {
|
|
838
838
|
ref: ref,
|
|
839
|
-
className: "w-full ".concat(Icon ? iconPosition === 'left' ? 'pl-10' : 'pr-10' : '', " bg-transparent border-none focus:ring-0 focus:outline-none"),
|
|
839
|
+
className: "w-full ".concat(Icon ? iconPosition === 'left' ? 'pl-10' : 'pr-10' : '', " bg-transparent border-none focus:ring-0 focus:outline-none rounded-md p-3"),
|
|
840
840
|
type: type,
|
|
841
841
|
name: name,
|
|
842
842
|
placeholder: placeholder,
|
|
@@ -9384,4 +9384,4 @@ const Navbar = _ref => {
|
|
|
9384
9384
|
/******/ })()
|
|
9385
9385
|
;
|
|
9386
9386
|
});
|
|
9387
|
-
//# sourceMappingURL=main.
|
|
9387
|
+
//# sourceMappingURL=main.2dc07d8486dffc1ef3bb.js.map
|