hi-tm 0.20.2 → 0.20.4
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.
|
@@ -136,6 +136,7 @@ const DropDown = ({ label, data, valueHandler, placeholder, required, textError,
|
|
|
136
136
|
${isOpen && textError === null && !disable && selectedItem
|
|
137
137
|
? 'rotate-180'
|
|
138
138
|
: 'rotate-0'}
|
|
139
|
+
${disable ? "pointer-events-none" : ""}
|
|
139
140
|
absolute left-1 top-1/2 transform -translate-y-1/2
|
|
140
141
|
transition-transform duration-300 flex-shrink-0
|
|
141
142
|
`, onClick: (e) => {
|
|
@@ -98,7 +98,7 @@ const InputCurrency = (0, react_1.forwardRef)(({ placeholder, value, required, c
|
|
|
98
98
|
react_1.default.createElement("div", { className: "w-full flex items-start justify-start gap-1 pb-1" },
|
|
99
99
|
react_1.default.createElement("p", { className: "text-sm text-text-color-primary font-medium" }, label),
|
|
100
100
|
react_1.default.createElement("span", { className: `text-red-primary ${required ? 'opacity-100' : 'opacity-0'}` }, "*")),
|
|
101
|
-
react_1.default.createElement("div", { className: `input-style w-full
|
|
101
|
+
react_1.default.createElement("div", { className: `input-style w-full h-[40px] inline-flex relative items-center justify-between gap-x-1.5 text-sm font-semibold text-text-color-primary ${!textError || textError.trim() === ''
|
|
102
102
|
? 'border-[2px] border-solid border-gray-tertiary'
|
|
103
103
|
: 'border-[2.5px] border-solid border-red-primary'}` },
|
|
104
104
|
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 }),
|