fix(dees-input-text): rename validation state class from 'error' to 'invalid' for consistency
This commit is contained in:
@@ -156,7 +156,7 @@ export class DeesInputText extends DeesInputBase {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.validationContainer.error {
|
.validationContainer.invalid {
|
||||||
background: ${cssManager.bdTheme('hsl(0 84.2% 60.2% / 0.1)', 'hsl(0 72.2% 50.6% / 0.1)')};
|
background: ${cssManager.bdTheme('hsl(0 84.2% 60.2% / 0.1)', 'hsl(0 72.2% 50.6% / 0.1)')};
|
||||||
color: ${cssManager.bdTheme('hsl(0 84.2% 60.2%)', 'hsl(0 72.2% 50.6%)')};
|
color: ${cssManager.bdTheme('hsl(0 84.2% 60.2%)', 'hsl(0 72.2% 50.6%)')};
|
||||||
}
|
}
|
||||||
@@ -277,7 +277,7 @@ export class DeesInputText extends DeesInputBase {
|
|||||||
: html``}
|
: html``}
|
||||||
${this.validationText
|
${this.validationText
|
||||||
? html`
|
? html`
|
||||||
<div class="validationContainer ${this.validationState || 'error'}">
|
<div class="validationContainer ${this.validationState || 'invalid'}">
|
||||||
${this.validationText}
|
${this.validationText}
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
|
|||||||
Reference in New Issue
Block a user