fix: when floating booking widget is sticky let it have white background all the way out. SW-2427 * fix: when floating booking widget is sticky let it have white background all the way out. Resolves SW-2427 * pr: move styling variants to it's own file Approved-by: Christian Andolf
30 lines
546 B
TypeScript
30 lines
546 B
TypeScript
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,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
type: "full",
|
|
},
|
|
})
|
|
|
|
export const formContainerVariants = cva(styles.formContainer, {
|
|
variants: {
|
|
type: {
|
|
default: "",
|
|
full: "",
|
|
compact: styles.compactFormContainer,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
type: "full",
|
|
},
|
|
})
|