feat(LOY-169): use new filter select for country select

standardised colors on error messages

fixed error validation on date field

removed duplicates in country list
This commit is contained in:
Christian Andolf
2025-04-17 13:17:06 +02:00
parent ba2198b77f
commit c773dc3dfc
9 changed files with 60 additions and 200 deletions

View File

@@ -83,7 +83,7 @@ const Input = forwardRef<HTMLInputElement, InputProps>(function Input(
) : null}
{fieldState.error && !hideError ? (
<Caption className={styles.error} fontOnly>
<MaterialIcon icon="info" color="Icon/Interactive/Accent" />
<MaterialIcon icon="info" color="Icon/Feedback/Error" />
{getErrorMessage(intl, fieldState.error.message)}
</Caption>
) : null}

View File

@@ -6,7 +6,7 @@
.error {
align-items: center;
color: var(--Scandic-Red-60);
color: var(--Text-Interactive-Error);
display: flex;
gap: var(--Spacing-x-half);
margin: var(--Spacing-x1) 0 0;