Merged in feat/BOOK-747-alert-extra-cost (pull request #3455)

feat(BOOK-747): show extra cost alert if reward night or voucher

* feat(BOOK-747): show extra cost alert if reward night or voucher

* feat(BOOK-747): use enum

* feat(BOOK-747): refactor

* feat(BOOK-747): add underline to trigger text


Approved-by: Anton Gunnarsson
This commit is contained in:
Bianca Widstam
2026-01-20 11:51:24 +00:00
parent 5af64ef896
commit 2dd08bb5d0
13 changed files with 224 additions and 184 deletions

View File

@@ -26,6 +26,7 @@ export function Alert({
sidepeekContent,
ariaLive,
ariaRole,
slot,
}: AlertProps) {
const classNames = alertVariants({
className,
@@ -93,6 +94,7 @@ export function Alert({
sidePeekContent={sidepeekContent}
/>
) : null}
{slot}
</div>
{close ? (
<Button onPress={close} variant="Text" className={styles.closeButton}>