feat(SW-350): Update design for booking widget
This commit is contained in:
@@ -13,5 +13,5 @@ export default async function BookingWidgetPage() {
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
return <BookingWidget />
|
return <BookingWidget type="full" />
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import "@/app/globals.css"
|
|||||||
import "@scandic-hotels/design-system/style.css"
|
import "@scandic-hotels/design-system/style.css"
|
||||||
|
|
||||||
import Script from "next/script"
|
import Script from "next/script"
|
||||||
|
import React from "react"
|
||||||
|
|
||||||
import { env } from "@/env/server"
|
import { env } from "@/env/server"
|
||||||
import TrpcProvider from "@/lib/trpc/Provider"
|
import TrpcProvider from "@/lib/trpc/Provider"
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ export default async function RootLayout({
|
|||||||
<SkipToMainContent />
|
<SkipToMainContent />
|
||||||
<ServerIntlProvider intl={{ defaultLocale, locale, messages }}>
|
<ServerIntlProvider intl={{ defaultLocale, locale, messages }}>
|
||||||
{header}
|
{header}
|
||||||
<BookingWidget />
|
<BookingWidget type="full" />
|
||||||
{children}
|
{children}
|
||||||
<Footer />
|
<Footer />
|
||||||
<TokenRefresher />
|
<TokenRefresher />
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ import type { Location } from "@/types/trpc/routers/hotel/locations"
|
|||||||
|
|
||||||
export default function BookingWidgetClient({
|
export default function BookingWidgetClient({
|
||||||
locations,
|
locations,
|
||||||
|
type,
|
||||||
}: BookingWidgetClientProps) {
|
}: BookingWidgetClientProps) {
|
||||||
const [isOpen, setIsOpen] = useState(false)
|
const [isOpen, setIsOpen] = useState(false)
|
||||||
|
|
||||||
@@ -99,8 +100,9 @@ export default function BookingWidgetClient({
|
|||||||
>
|
>
|
||||||
<CloseLarge />
|
<CloseLarge />
|
||||||
</button>
|
</button>
|
||||||
<Form locations={locations} />
|
<Form locations={locations} type={type} />
|
||||||
</section>
|
</section>
|
||||||
|
<div className={styles.backdrop} onClick={closeMobileSearch} />
|
||||||
<MobileToggleButton openMobileSearch={openMobileSearch} />
|
<MobileToggleButton openMobileSearch={openMobileSearch} />
|
||||||
</FormProvider>
|
</FormProvider>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -6,6 +6,10 @@
|
|||||||
display: grid;
|
display: grid;
|
||||||
gap: var(--Spacing-x-one-and-half);
|
gap: var(--Spacing-x-one-and-half);
|
||||||
padding: var(--Spacing-x2);
|
padding: var(--Spacing-x2);
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
|
background-color: var(--Base-Surface-Primary-light-Normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
.complete {
|
.complete {
|
||||||
@@ -13,7 +17,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.partial {
|
.partial {
|
||||||
grid-template-columns: min(1fr, 150px) min-content min(1fr, 150px) 1fr;
|
grid-template-columns: minmax(auto, 150px) min-content minmax(auto, 150px) auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
@@ -27,7 +31,7 @@
|
|||||||
width: 36px;
|
width: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 767px) {
|
||||||
.complete,
|
.complete,
|
||||||
.partial {
|
.partial {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@@ -1,16 +1,17 @@
|
|||||||
@media screen and (max-width: 1366px) {
|
@media screen and (max-width: 766px) {
|
||||||
.container {
|
.container {
|
||||||
background-color: var(--UI-Input-Controls-Surface-Normal);
|
background-color: var(--UI-Input-Controls-Surface-Normal);
|
||||||
bottom: -100%;
|
bottom: -100%;
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: var(--Spacing-x3);
|
gap: var(--Spacing-x3);
|
||||||
grid-template-rows: 36px 1fr;
|
grid-template-rows: 36px 1fr;
|
||||||
height: 100dvh;
|
height: calc(100dvh - 20px);
|
||||||
padding: var(--Spacing-x3) var(--Spacing-x2) var(--Spacing-x7);
|
padding: var(--Spacing-x3) var(--Spacing-x2) var(--Spacing-x7);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
transition: bottom 300ms ease;
|
transition: bottom 300ms ease;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
|
border-radius: var(--Corner-radius-Large) var(--Corner-radius-Large) 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container[data-open="true"] {
|
.container[data-open="true"] {
|
||||||
@@ -23,13 +24,26 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
justify-self: flex-end;
|
justify-self: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container[data-open="true"] + .backdrop {
|
||||||
|
background-color: rgba(0, 0, 0, 0.4);
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 1367px) {
|
@media screen and (min-width: 767px) {
|
||||||
.container {
|
.container {
|
||||||
border-bottom: 1px solid var(--Base-Border-Subtle);
|
|
||||||
border-top: 1px solid var(--Base-Border-Subtle);
|
|
||||||
display: block;
|
display: block;
|
||||||
|
box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.05);
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
|
background-color: var(--Base-Surface-Primary-light-Normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
.close {
|
.close {
|
||||||
|
|||||||
@@ -2,16 +2,22 @@ import { getLocations } from "@/lib/trpc/memoizedRequests"
|
|||||||
|
|
||||||
import BookingWidgetClient from "./Client"
|
import BookingWidgetClient from "./Client"
|
||||||
|
|
||||||
|
import type { BookingWidgetType } from "@/types/components/bookingWidget"
|
||||||
|
|
||||||
export function preload() {
|
export function preload() {
|
||||||
void getLocations()
|
void getLocations()
|
||||||
}
|
}
|
||||||
|
|
||||||
export default async function BookingWidget() {
|
export default async function BookingWidget({
|
||||||
|
type,
|
||||||
|
}: {
|
||||||
|
type: BookingWidgetType
|
||||||
|
}) {
|
||||||
const locations = await getLocations()
|
const locations = await getLocations()
|
||||||
|
|
||||||
if (!locations || "error" in locations) {
|
if (!locations || "error" in locations) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
return <BookingWidgetClient locations={locations.data} />
|
return <BookingWidgetClient locations={locations.data} type={type} />
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
"use client"
|
"use client"
|
||||||
|
import React from "react"
|
||||||
import { DayPicker } from "react-day-picker"
|
import { DayPicker } from "react-day-picker"
|
||||||
import { useIntl } from "react-intl"
|
import { useIntl } from "react-intl"
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.container[data-isopen="true"] .hideWrapper {
|
.container[data-isopen="true"] .hideWrapper {
|
||||||
top: 0;
|
border-radius: var(--Corner-radius-Large) var(--Corner-radius-Large) 0 0;
|
||||||
|
top: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -46,3 +46,8 @@
|
|||||||
.input::-webkit-search-cancel-button {
|
.input::-webkit-search-cancel-button {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input:disabled,
|
||||||
|
.input:disabled::placeholder {
|
||||||
|
color: var(--Base-Text-Disabled);
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
.options {
|
.options {
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -7,9 +6,30 @@
|
|||||||
|
|
||||||
.option {
|
.option {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
gap: var(--Spacing-x-one-and-half);
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1366px) {
|
.infoIcon {
|
||||||
|
stroke: var(--Base-Text-Disabled);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vouchers,
|
||||||
|
.options {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vouchersHeader {
|
||||||
|
display: flex;
|
||||||
|
gap: var(--Spacing-x-one-and-half);
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkbox {
|
||||||
|
width: var(--Spacing-x3);
|
||||||
|
height: var(--Spacing-x3);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 766px) {
|
||||||
.input {
|
.input {
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: var(--Spacing-x2);
|
gap: var(--Spacing-x2);
|
||||||
@@ -39,7 +59,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 1367px) {
|
@media screen and (min-width: 767px) {
|
||||||
.input {
|
.input {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: var(--Spacing-x2);
|
gap: var(--Spacing-x2);
|
||||||
@@ -49,7 +69,6 @@
|
|||||||
.vouchers,
|
.vouchers,
|
||||||
.when,
|
.when,
|
||||||
.where {
|
.where {
|
||||||
border-right: 1px solid var(--Base-Surface-Subtle-Normal);
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -59,14 +78,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rooms,
|
.rooms,
|
||||||
|
.vouchers,
|
||||||
.when {
|
.when {
|
||||||
max-width: 240px;
|
max-width: 240px;
|
||||||
padding: var(--Spacing-x1) var(--Spacing-x-one-and-half);
|
padding: var(--Spacing-x1) var(--Spacing-x-one-and-half);
|
||||||
|
border-radius: var(--Corner-radius-Small);
|
||||||
|
}
|
||||||
|
.when:hover,
|
||||||
|
.rooms:hover,
|
||||||
|
.rooms:has(.input:active, .input:focus, .input:focus-within) {
|
||||||
|
background-color: var(--Base-Surface-Primary-light-Hover-alt);
|
||||||
}
|
}
|
||||||
|
|
||||||
.vouchers {
|
.vouchers {
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
padding: var(--Spacing-x1) 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.where {
|
.where {
|
||||||
@@ -75,6 +100,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.options {
|
.options {
|
||||||
max-width: 158px;
|
max-width: 190px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 1367px) {
|
||||||
|
.vouchers {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.options {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.vouchers:hover,
|
||||||
|
.option:hover {
|
||||||
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,11 +5,14 @@ import { useIntl } from "react-intl"
|
|||||||
import { dt } from "@/lib/dt"
|
import { dt } from "@/lib/dt"
|
||||||
|
|
||||||
import DatePicker from "@/components/DatePicker"
|
import DatePicker from "@/components/DatePicker"
|
||||||
|
import { InfoCircleIcon } from "@/components/Icons"
|
||||||
|
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||||
import Caption from "@/components/TempDesignSystem/Text/Caption"
|
import Caption from "@/components/TempDesignSystem/Text/Caption"
|
||||||
|
|
||||||
import Search from "./Search"
|
import Search from "./Search"
|
||||||
|
|
||||||
import styles from "./formContent.module.css"
|
import styles from "./formContent.module.css"
|
||||||
|
import tempStyles from "./Search/search.module.css" // TODO: Remove this when Rooms and Voucher is implemented
|
||||||
|
|
||||||
import type { BookingWidgetFormContentProps } from "@/types/components/form/bookingwidget"
|
import type { BookingWidgetFormContentProps } from "@/types/components/form/bookingwidget"
|
||||||
|
|
||||||
@@ -21,6 +24,7 @@ export default function FormContent({
|
|||||||
|
|
||||||
const rooms = intl.formatMessage({ id: "Guests & Rooms" })
|
const rooms = intl.formatMessage({ id: "Guests & Rooms" })
|
||||||
const vouchers = intl.formatMessage({ id: "Code / Voucher" })
|
const vouchers = intl.formatMessage({ id: "Code / Voucher" })
|
||||||
|
const addVouchers = intl.formatMessage({ id: "Add code" })
|
||||||
const bonus = intl.formatMessage({ id: "Use bonus cheque" })
|
const bonus = intl.formatMessage({ id: "Use bonus cheque" })
|
||||||
const reward = intl.formatMessage({ id: "Book reward night" })
|
const reward = intl.formatMessage({ id: "Book reward night" })
|
||||||
|
|
||||||
@@ -44,22 +48,36 @@ export default function FormContent({
|
|||||||
<Caption color="red" textTransform="bold">
|
<Caption color="red" textTransform="bold">
|
||||||
{rooms}
|
{rooms}
|
||||||
</Caption>
|
</Caption>
|
||||||
<input type="text" placeholder={rooms} />
|
<Body asChild>
|
||||||
|
<input type="text" placeholder={rooms} className={tempStyles.input} />
|
||||||
|
</Body>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.vouchers}>
|
<div className={styles.vouchers}>
|
||||||
<Caption color="uiTextMediumContrast" textTransform="bold">
|
<div className={styles.vouchersHeader}>
|
||||||
{vouchers}
|
<Caption color="disabled" textTransform="bold">
|
||||||
</Caption>
|
{vouchers}
|
||||||
<input type="text" placeholder={vouchers} />
|
</Caption>
|
||||||
|
<InfoCircleIcon color="white" className={styles.infoIcon} />
|
||||||
|
</div>
|
||||||
|
<Body asChild>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
placeholder={addVouchers}
|
||||||
|
className={tempStyles.input}
|
||||||
|
disabled
|
||||||
|
/>
|
||||||
|
</Body>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.options}>
|
<div className={styles.options}>
|
||||||
<label className={styles.option}>
|
<label className={styles.option}>
|
||||||
<input type="checkbox" />
|
<input type="checkbox" disabled className={styles.checkbox} />
|
||||||
<Caption color="textMediumContrast">{bonus}</Caption>
|
<Caption color="disabled">{bonus}</Caption>
|
||||||
|
<InfoCircleIcon color="white" className={styles.infoIcon} />
|
||||||
</label>
|
</label>
|
||||||
<label className={styles.option}>
|
<label className={styles.option}>
|
||||||
<input type="checkbox" />
|
<input type="checkbox" disabled className={styles.checkbox} />
|
||||||
<Caption color="textMediumContrast">{reward}</Caption>
|
<Caption color="disabled">{reward}</Caption>
|
||||||
|
<InfoCircleIcon color="white" className={styles.infoIcon} />
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1366px) {
|
@media screen and (max-width: 766px) {
|
||||||
.form {
|
.form {
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
}
|
}
|
||||||
@@ -24,13 +24,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 1367px) {
|
@media screen and (min-width: 767px) {
|
||||||
.section {
|
.section {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
padding: var(--Spacing-x1) var(--Spacing-x5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 118px;
|
width: 118px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.default {
|
||||||
|
border-radius: var(--Corner-radius-Medium);
|
||||||
|
padding: var(--Spacing-x-one-and-half) var(--Spacing-x2)
|
||||||
|
var(--Spacing-x-one-and-half) var(--Spacing-x1);
|
||||||
|
}
|
||||||
|
.full {
|
||||||
|
padding: var(--Spacing-x1) var(--Spacing-x5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import Button from "@/components/TempDesignSystem/Button"
|
|||||||
import Caption from "@/components/TempDesignSystem/Text/Caption"
|
import Caption from "@/components/TempDesignSystem/Text/Caption"
|
||||||
|
|
||||||
import FormContent from "./FormContent"
|
import FormContent from "./FormContent"
|
||||||
|
import { bookingWidgetVariants } from "./variants"
|
||||||
|
|
||||||
import styles from "./form.module.css"
|
import styles from "./form.module.css"
|
||||||
|
|
||||||
@@ -15,10 +16,14 @@ import type { BookingWidgetFormProps } from "@/types/components/form/bookingwidg
|
|||||||
|
|
||||||
const formId = "booking-widget"
|
const formId = "booking-widget"
|
||||||
|
|
||||||
export default function Form({ locations }: BookingWidgetFormProps) {
|
export default function Form({ locations, type }: BookingWidgetFormProps) {
|
||||||
const intl = useIntl()
|
const intl = useIntl()
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|
||||||
|
const classNames = bookingWidgetVariants({
|
||||||
|
type,
|
||||||
|
})
|
||||||
|
|
||||||
const { formState, handleSubmit, register } =
|
const { formState, handleSubmit, register } =
|
||||||
useFormContext<BookingWidgetSchema>()
|
useFormContext<BookingWidgetSchema>()
|
||||||
|
|
||||||
@@ -31,7 +36,7 @@ export default function Form({ locations }: BookingWidgetFormProps) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className={styles.section}>
|
<section className={classNames}>
|
||||||
<form
|
<form
|
||||||
onSubmit={handleSubmit(onSubmit)}
|
onSubmit={handleSubmit(onSubmit)}
|
||||||
className={styles.form}
|
className={styles.form}
|
||||||
@@ -45,7 +50,6 @@ export default function Form({ locations }: BookingWidgetFormProps) {
|
|||||||
disabled={!formState.isValid}
|
disabled={!formState.isValid}
|
||||||
form={formId}
|
form={formId}
|
||||||
intent="primary"
|
intent="primary"
|
||||||
size="small"
|
|
||||||
theme="base"
|
theme="base"
|
||||||
type="submit"
|
type="submit"
|
||||||
>
|
>
|
||||||
|
|||||||
15
components/Forms/BookingWidget/variants.ts
Normal file
15
components/Forms/BookingWidget/variants.ts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
import { cva } from "class-variance-authority"
|
||||||
|
|
||||||
|
import styles from "./form.module.css"
|
||||||
|
|
||||||
|
export const bookingWidgetVariants = cva(styles.section, {
|
||||||
|
variants: {
|
||||||
|
type: {
|
||||||
|
default: styles.default,
|
||||||
|
full: styles.full,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
defaultVariants: {
|
||||||
|
type: "default",
|
||||||
|
},
|
||||||
|
})
|
||||||
@@ -67,6 +67,10 @@ p.caption {
|
|||||||
color: var(--UI-Text-Medium-contrast);
|
color: var(--UI-Text-Medium-contrast);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.disabled {
|
||||||
|
color: var(--Base-Text-Disabled);
|
||||||
|
}
|
||||||
|
|
||||||
.center {
|
.center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ const config = {
|
|||||||
white: styles.white,
|
white: styles.white,
|
||||||
uiTextActive: styles.uiTextActive,
|
uiTextActive: styles.uiTextActive,
|
||||||
uiTextMediumContrast: styles.uiTextMediumContrast,
|
uiTextMediumContrast: styles.uiTextMediumContrast,
|
||||||
|
disabled: styles.disabled,
|
||||||
},
|
},
|
||||||
textTransform: {
|
textTransform: {
|
||||||
bold: styles.bold,
|
bold: styles.bold,
|
||||||
|
|||||||
@@ -6,8 +6,11 @@ import type { Locations } from "@/types/trpc/routers/hotel/locations"
|
|||||||
|
|
||||||
export type BookingWidgetSchema = z.output<typeof bookingWidgetSchema>
|
export type BookingWidgetSchema = z.output<typeof bookingWidgetSchema>
|
||||||
|
|
||||||
|
export type BookingWidgetType = "default" | "full"
|
||||||
|
|
||||||
export interface BookingWidgetClientProps {
|
export interface BookingWidgetClientProps {
|
||||||
locations: Locations
|
locations: Locations
|
||||||
|
type: BookingWidgetType
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BookingWidgetToggleButtonProps {
|
export interface BookingWidgetToggleButtonProps {
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import type { Location, Locations } from "@/types/trpc/routers/hotel/locations"
|
|||||||
|
|
||||||
export interface BookingWidgetFormProps {
|
export interface BookingWidgetFormProps {
|
||||||
locations: Locations
|
locations: Locations
|
||||||
|
type: "default" | "full"
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BookingWidgetFormContentProps {
|
export interface BookingWidgetFormContentProps {
|
||||||
|
|||||||
Reference in New Issue
Block a user