@idds/react 1.4.22 → 1.4.24
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.
package/dist/index.es.js
CHANGED
|
@@ -4476,7 +4476,7 @@ function PhoneInput({
|
|
|
4476
4476
|
status === "error" && "ina-phone-input__helper-text--error",
|
|
4477
4477
|
status === "warning" && "ina-phone-input__helper-text--warning"
|
|
4478
4478
|
);
|
|
4479
|
-
const bottomText = statusMessage || helperText;
|
|
4479
|
+
const bottomText = status !== "neutral" && statusMessage ? statusMessage : statusMessage || helperText;
|
|
4480
4480
|
return /* @__PURE__ */ jsxs("div", { className: containerClasses, children: [
|
|
4481
4481
|
label && /* @__PURE__ */ jsxs("label", { htmlFor: inputId, className: "ina-phone-input__label", children: [
|
|
4482
4482
|
label,
|