Currently, validationState prop across components only allows valid (success), invalid (danger) and warning. In dependent projects we found out we need to extend this to be able to select whatever color we want. We need only one color from the current pallete, but it makes sense to support all feedback colors.
I would suggest to change validationState just color. color would match the rest of library as all other use just color. What more, validationState does not make much sense as it changes color of help text as well.
What do you think @adamkudrna? (@mbohal)
Currently,
validationStateprop across components only allowsvalid(success),invalid(danger) andwarning. In dependent projects we found out we need to extend this to be able to select whatever color we want. We need only one color from the current pallete, but it makes sense to support all feedback colors.I would suggest to change
validationStatejustcolor.colorwould match the rest of library as all other use justcolor. What more,validationStatedoes not make much sense as it changes color of help text as well.What do you think @adamkudrna? (@mbohal)