hi-tm 0.19.7 → 0.20.0
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.
|
@@ -112,7 +112,7 @@ const InputCurrency = (0, react_1.forwardRef)(({ placeholder, value, required, c
|
|
|
112
112
|
react_1.default.createElement("div", { className: "w-full flex items-start justify-start gap-1 pb-1" },
|
|
113
113
|
react_1.default.createElement("p", { className: "text-sm text-text-color-primary font-medium" }, label),
|
|
114
114
|
react_1.default.createElement("span", { className: `text-red-primary ${required ? 'opacity-100' : 'opacity-0'} ` }, "*")),
|
|
115
|
-
react_1.default.createElement("div", { className: `input-style w-full h-full inline-flex relative items-center justify-between gap-x-1.5 text-sm font-semibold text-text-color-primary ${textError === null
|
|
115
|
+
react_1.default.createElement("div", { className: `input-style w-full h-full min-h-[40px] inline-flex relative items-center justify-between gap-x-1.5 text-sm font-semibold text-text-color-primary ${textError === null
|
|
116
116
|
? 'border-[2px] border-solid border-gray-tertiary'
|
|
117
117
|
: 'border-[2.5px] border-solid border-red-primary'}` },
|
|
118
118
|
react_1.default.createElement("input", { ref: internalRef, type: "text", id: label, disabled: disabled, value: formatWithCommas(inputValue), placeholder: placeholder, autoComplete: autoComplete ? "on" : "off", autoFocus: autoFocus, onChange: handleChange, onBlur: onBlurHandler, onFocus: onFocusHandler, onKeyUp: onKeyUpHandler, onKeyDown: handleKeyDown, className: "outline-none bg-inherit w-full h-full pr-2", required: required }),
|