mirror of
https://github.com/wassname/talk.git
synced 2026-09-13 13:10:43 +08:00
[CORL-445] Change Password (#2426)
* fix: reversed `new-password` autocomplete option * feat: initial implementation * fix: localization and testing * fix: updated snapshot
This commit is contained in:
@@ -29,6 +29,12 @@
|
||||
color: var(--palette-text-primary);
|
||||
}
|
||||
|
||||
.colorSuccess {
|
||||
background-color: var(--palette-success-lightest);
|
||||
border-color: var(--palette-success-light);
|
||||
color: var(--palette-text-primary);
|
||||
}
|
||||
|
||||
.fullWidth {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
||||
@@ -22,7 +22,7 @@ export interface CallOutProps {
|
||||
/**
|
||||
* Color of the CallOut
|
||||
*/
|
||||
color?: "regular" | "primary" | "error";
|
||||
color?: "regular" | "primary" | "error" | "success";
|
||||
/*
|
||||
* If set renders a full width CallOut
|
||||
*/
|
||||
@@ -38,6 +38,7 @@ const CallOut: FunctionComponent<CallOutProps> = props => {
|
||||
[classes.colorRegular]: color === "regular",
|
||||
[classes.colorError]: color === "error",
|
||||
[classes.colorPrimary]: color === "primary",
|
||||
[classes.colorSuccess]: color === "success",
|
||||
[classes.fullWidth]: fullWidth,
|
||||
},
|
||||
className
|
||||
|
||||
Reference in New Issue
Block a user