feat: SW-963 Implemented error states and handling booking code and multiroom

This commit is contained in:
Hrishikesh Vaipurkar
2025-02-24 17:06:20 +01:00
parent 202d84218c
commit 2cd1b6c72c
16 changed files with 374 additions and 158 deletions
@@ -36,7 +36,10 @@ export default function Checkbox({
{({ isSelected }) => (
<>
<span className={styles.checkboxContainer}>
<span className={styles.checkbox} tabIndex={0}>
<span
className={styles.checkbox}
tabIndex={registerOptions?.disabled ? undefined : 0}
>
{isSelected && <CheckIcon color="white" />}
</span>
{children}
@@ -11,3 +11,7 @@
gap: var(--Spacing-x-half);
margin: var(--Spacing-x1) 0 0;
}
.error svg {
min-width: 20px;
}