mimir-ui-kit 0.0.15 → 0.0.17
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.
@@ -75,7 +75,7 @@ const Input = memo(
|
|
75
75
|
const labelClassNames = classNames(
|
76
76
|
cls.label,
|
77
77
|
{
|
78
|
-
[cls["active-label"]]: isFocused
|
78
|
+
[cls["active-label"]]: isFocused || value
|
79
79
|
},
|
80
80
|
className,
|
81
81
|
cls[size]
|
@@ -95,8 +95,7 @@ const Input = memo(
|
|
95
95
|
className: inputClassNames,
|
96
96
|
onFocus: handleFocus,
|
97
97
|
onBlur: handleBlur,
|
98
|
-
readOnly: readonly
|
99
|
-
value
|
98
|
+
readOnly: readonly
|
100
99
|
}
|
101
100
|
)
|
102
101
|
] });
|