Skip to content

Extend validationState with other colors #721

Description

@bedrich-schindler

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions