Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rename ValueState values (#8864)
The base ValueState enum values have been changed from ValueState.Warning, ValueState.Error and ValueState.Success to ValueState.Critical, ValueState.Negative and ValueState.Positive, causing changes in multiple components supporting valueState property (+ properties of similar type as Dialog.state, StandardListItem.highlight and MessageStrip.design). BREAKING CHANGE: If you previously used ValueState.Warning, ValueState.Error or ValueState.Success, start using ValueState.Critical, ValueState.Negative and ValueState.Positive respectively. All components with valueState property are also affected. For example: ```html <ui5-input value-state="Success"></ui5-input> <ui5-input value-state="Warning"></ui5-input> <ui5-input value-state="Error"></ui5-input> ``` ```html <ui5-input value-state="Positive"></ui5-input> <ui5-input value-state="Critical"></ui5-input> <ui5-input value-state="Negative"></ui5-input> ``` Related to: #8461
- Loading branch information