dhre-ui-kit 0.0.181 → 0.0.182

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/lib/index.js CHANGED
@@ -3294,7 +3294,8 @@ const CommonTextInput = (props) => {
3294
3294
  keyboardType,
3295
3295
  theme: {
3296
3296
  colors: {
3297
- primary: labelColor ? labelColor : DHRE_COLORS_TEXT.DH_BLACK
3297
+ error: errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : DHRE_COLORS_TEXT.DH_BLACK,
3298
+ primary: labelColor ? errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : labelColor : DHRE_COLORS_TEXT.DH_BLACK
3298
3299
  }
3299
3300
  },
3300
3301
  style: [
@@ -3354,7 +3355,7 @@ const styles$8 = reactNative.StyleSheet.create({
3354
3355
  justifyContent: "center"
3355
3356
  },
3356
3357
  multilineInput: {
3357
- minHeight: verticalScale(100),
3358
+ height: verticalScale(100),
3358
3359
  // Increased height for multiline
3359
3360
  paddingVertical: verticalScale(8)
3360
3361
  },