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

@@ -3,7 +3,7 @@ import type {
SidepeekContent,
} from "@scandic-hotels/common/constants/alert"
import type { VariantProps } from "class-variance-authority"
import type { AriaRole } from "react"
import type { AriaRole, ReactNode } from "react"
import type { alertVariants } from "./variants"
@@ -27,4 +27,5 @@ export interface AlertProps extends VariantProps<typeof alertVariants> {
close?: () => void
ariaRole?: AriaRole
ariaLive?: "off" | "assertive" | "polite"
slot?: ReactNode
}