fix(BOOK-711): Added isFloating prop to decide when the booking widget should have a border radius

Approved-by: Bianca Widstam
This commit is contained in:
Erik Tiekstra
2026-01-28 12:02:42 +00:00
parent 70838060e5
commit ead34c07ee
9 changed files with 74 additions and 45 deletions

View File

@@ -2,18 +2,21 @@ import { cva } from "class-variance-authority"
import styles from "./bookingWidget.module.css"
export const bookingWidgetContainerVariants = cva(styles.wrapper, {
variants: {
type: {
default: "",
full: "",
compact: styles.compact,
export const bookingWidgetContainerVariants = cva(
styles.bookingWidgetContainer,
{
variants: {
type: {
default: "",
full: "",
compact: styles.compact,
},
},
},
defaultVariants: {
type: "full",
},
})
defaultVariants: {
type: "full",
},
}
)
export const formContainerVariants = cva(styles.formContainer, {
variants: {