# Booking Elements

The package is private on GitHub Packages. Outdoor Grid grants read access. Keep your site key on the server.

## Install

```bash
# GitHub Packages access is granted by Outdoor Grid.
printf '%s\n' '@ogattermayr:registry=https://npm.pkg.github.com' '//npm.pkg.github.com/:_authToken=${NPM_TOKEN}' > .npmrc
pnpm add @ogattermayr/outdoor-grid-booking@0.4.5 --save-exact
pnpm add react@^19 @tanstack/react-query@^5.104
```

## Use a controlled element

```jsx
"use client";

import { useState } from "react";
import { PeopleStepper } from "@ogattermayr/outdoor-grid-booking/react";
import "@ogattermayr/outdoor-grid-booking/styles.css";

export default function BookPage() {
  const [people, setPeople] = useState(2);
  return (
    <PeopleStepper
      label="Riders"
      sub="How many people are coming?"
      value={people}
      min={1}
      max={20}
      onChange={setPeople}
    />
  );
}
```

## BookingProviderProps

- `shop` (string, required): The shop's slug: the basket is `og-trip:<shop>`, every query key starts with it.
- `theme` (Partial<BookingTheme>): The shop's tokens; leave out when the site's CSS sets `--og-*` on a parent.
- `words` (ShopWordList): 
- `locale` (string): en, it, de or fr.
- `currency` (string): ISO 4217, from the site read.
- `country` (string): The shop's ISO country, from the site read (`shop.country_code`): US and CA read $, month first and 2:30 PM.
- `transport` (BookingTransport): How the client calls the site's route; defaults to `routeTransport()` (`/api/outdoor-grid/<op>`).
- `client` (BookingClient): A client made by the site (a test's, a check's); wins over `transport`.
- `storage` (PicksStorage): Where the basket keeps the picks; defaults to localStorage (memory when it is refused).
- `children` (ReactNode): 

## GuestBookingFlowProps

- `router` (FlowRouter, required): 
- `door` (FlowDoor): How the guest came in (a kind of riding, a tour and its day); `start` when left out.
- `bar` ({ logo?: ReactNode; nav?: ReactNode; end?: ReactNode; }): The site's bar: its logo, its navigation and the end slot (language, the trip). Null: no bar (inside the site's own header).
- `footer` (ReactNode): Under the step's foot: the site's own footer.
- `looks` (FlowLooks): 
- `links` (FlowLinks): 
- `loadStripe` (StripeLoader): `loadStripe` from
- `termsHref` (string): The shop's rental terms, linked on who books it.
- `accountHref` (string): The guest's own page (their trips), opened from their name in the bar.
- `onBooked` ((booked: FlowBooked) => void): Booked: the reference and the view token. The flow shows Booked itself.
- `now` (FlowNow): The shop's clock now; left out, the site read's notice.
- `start` (Partial<GroupState>): (Stitch, additive.) Where the flow opens: laid over the fresh trip once, when it mounts (the
gallery, tests, a site restoring its own copy). Memory only, like the rest of the trip.
- `layout` ("stack" | "side"): (Stitch, additive.) The computer's layout or the phone's; left out, the screen's width decides (768px).
- `returnBase` (string): (Stitch, additive.) The shop site's own origin for Stripe's return (`https://shop.example`, HO1);
left out, the page's origin when it reads as one.
- `booked` (FlowBooked): (Stitch, additive.) A trip booked before this page drew (a site that kept the answer in memory,
the gallery): Booked reads its confirmation with the view token.
- `holding` ({ asked?: components["schemas"]["PublicAskedLine"][] | null; at_shop_minor: number; currency: string; days: number; deposit_minor: number; first_day: string; hold_expires_at: string | null; next: "done" | "pay_deposit" | "pay_full" | "requested"; paid_minor: number; payment_choice?: ("deposit" | "full" | "at_shop") | null; promo?: components["schemas"]["PublicPromo"] | null; reference: string; stage: "request" | "lapsed" | "waiting_payment" | "not_finished" | "needs_you" | "booked" | "not_collected" | "out" | "late" | "back" | "cancelled"; total_minor: number; view_token?: string | null; }): (Stitch, additive.) A booking already held for payment (W7-08's answer the site kept in memory,
the gallery): Pay opens on it. Never read from storage.
- `remember` (boolean): (Stitch, additive.) Keep the trip's picks (groupPicksOf: no names, measures or contacts) in this
browser for a reload; true when left out. The gallery and tests turn it off.
- `anyThatFits` (boolean): Bikes offers "Any that fits" (true when left out). False: no Any card; the group starts on the
first model with a fitting size free on every rider's days, and Next writes that bike.
- `cart` (FlowCart): (Additive, one cart.) The shop's one cart: Plan's Add to cart beside Book it now, for a trip the cart holds. Left
out (a booking-only shop, a custom front that has not opted in): Book it alone, as before.
- `kitIncluded` (boolean): The shop includes protection with every bike: a Kit step the trip skips says "included" in the
band instead of "nothing to rent". Left out: false.
- `source` ("store" | "chatgpt" | "google_ttd" | "atlas"): (Additive.) Who sent the guest: `chatgpt` when the ChatGPT app's booking link opened the flow
(`?src=chatgpt`). Sent with the booking as `source` (the shop sees where it came from); left
out or null, the booking sends none. Never sent on a quote or a saved trip.
- `handoff` (string): (Additive, job H1c.) The riding atlas's handoff token (`?handoff=`, `/core` handoffFromQuery):
sent with the booking as `atlas_handoff` when `source` is `atlas`, kept in memory and the tab's
draft once the address drops it. Never a sign in.
- `partner` (string): (Additive, DIST-NETWORK.) The Network partner who sent the guest (`?partner=`, `/core`
partnerFromQuery): sent with the booking as `partner_code`, never on a quote or a saved trip.
The page reads it from the address, which keeps it on every step. Left out: none.
- `place` (string): (Additive, unify spec B.) The pickup place the link asks for (`?place=`, `/core`
placeFromQuery): sent with the booking as `pickup_location_id` when the site lists it with
pickup hours, else dropped quietly. The page reads it from the address, which keeps it.
- `origin` (BookingOrigin): (Additive, unify spec B.) The store product a test ride was booked from (`?from=` with
`src=store`, `/core` originFromQuery): sent with the booking as `origin`. Left out: none.
- `passkeys` (boolean): (Additive.) Guest passkeys: "Sign in with a passkey" in the sign in sheet and, after a code or
password sign in, the offer to add one. Off when left out. Turn it on only on the shop's own
domain (its custom domain or `{slug}.outdoorgrid.ai`, never outdoorgrid.ai itself) with the site
route serving PASSKEY_ROUTE_OPERATIONS; it shows only where the browser can use a passkey.
- `onEvent` (GuestEventSink): (Additive.) The guest's way through the flow for the site's analytics (PostHog plan 2c): each
step viewed and completed, a Next that waits, Pay opening or failing, a refused booking and
leaving before booking. Codes, counts, buckets and money bands only, scrubbed against the
contract (`GUEST_EVENTS`): never a name, email, phone or anything the guest typed. Left out,
nothing is sent anywhere.
- `hostKind` ("hosted" | "subdomain" | "custom_domain"): (Additive.) How the page is served, for `onEvent`; left out, read from the page's address (`hostKindOf`).
- `className` (string): 

## GuestBookingProviderProps

- `shop` (string, required): The shop's slug: every query key starts with it.
- `theme` (Partial<FlowTheme>): The shop's tokens and the flow's; leave out when the site's CSS sets `--og-*` on a parent.
- `words` (ShopWordList): The shop's words over the package's (typed: every line of every step).
- `locale` (string): en, it, de or fr.
- `currency` (string): ISO 4217, from the site read.
- `country` (string): The shop's ISO country, from the site read (`shop.country_code`): US and CA read $, month first and 2:30 PM.
- `transport` (BookingTransport): How the client calls the site's route; defaults to `routeTransport()` (`/api/outdoor-grid/<op>`).
- `client` (BookingClient): A client made by the site (a test's, the gallery's in-memory shop); wins over `transport`.
- `children` (ReactNode): 

## AccountBoxProps

- `on` (boolean, required): Ticked: make an account with the email, with this password.
- `password` (string, required): 
- `onChange` ((patch: { account: boolean; password: string; }) => void, required): 
- `error` (string): The reason the password is not right yet.
- `missing` (boolean): The password is what Book waits on (`data-og-missing`).

## AccountOfferProps

- `password` (string, required): 
- `onPassword` ((password: string | null) => void, required): 
- `tried` (boolean): Book was pressed: a password not right yet says why.
- `className` (string): 

## AddOnsProps

- `items` (AddOnView[], required): 
- `onQty` ((id: string, qty: number) => void, required): 
- `className` (string): 

## AddRiderProps

- `onAdd` (() => void, required): 
- `sub` (string): 
- `disabled` (boolean): 
- `className` (string): 

## ApiTransportOptions

- `apiUrl` (string, required): The API origin, `https://api.outdoorgrid.ai` (http only for localhost or 127.0.0.1).
- `siteKey` (string, required): The shop's site key, `og_site_...`. Server only.
- `shop` (string, required): The shop's slug.
- `fetch` ({ (input: RequestInfo | URL, init?: RequestInit): Promise<Response>; (input: string | URL | Request, init?: RequestInit): Promise<Response>; }): 
- `timeoutMs` (number): Per call, in milliseconds (8000).
- `headers` ((call: BookingCall) => Record<string, string> | undefined): Extra headers for a call: the credential (CREDENTIAL_HEADER) and the signed guest address.
- `next` (NextFetchOptions): Next's data cache for reads (`loadBookingServer`); without it every call is `no-store`.

## AskedOfferProps

- `offer` ({ answer_by: string | null; currency: string; days: components["schemas"]["DaySlot"][]; difference_minor: number; offered: components["schemas"]["Words-Output"]; pay: "online" | "at_shop" | "with_booking" | "none"; reference: string; rider: string | null; size: string | null; status: "asked" | "offered" | "assigned" | "declined" | "expired" | "withdrawn"; was: components["schemas"]["Words-Output"]; } & { [key: string]: unknown; }, required): 
- `onAnswer` ((accept: boolean) => void, required): 
- `answered` ({ next: "done" | "pay_online" | "pay_at_shop"; payment: components["schemas"]["SitePaymentSession"] | null; status: "asked" | "offered" | "assigned" | "declined" | "expired" | "withdrawn"; } & { [key: string]: unknown; }): After GBF-15.
- `busy` (boolean): 
- `onPay` (() => void): (Stitch, optional.) After a yes that is paid online: open the payment for the difference.
- `timeZone` (string): (Stitch, optional.) The shop's IANA zone for the time to answer by; UTC when left out.
- `className` (string): 

## AskTheShopCardProps

- `asked` (readonly ({ answer_by: string | null; days: components["schemas"]["DaySlot"][]; key: string | null; label: components["schemas"]["Words-Output"]; line: number; riders: string[]; sizes: string[]; } & { [key: string]: unknown; })[], required): 
- `onAsk` (() => void, required): 
- `onWithdraw` ((key: string) => void): 
- `riderName` ((key: string) => string): (Stitch, optional.) A rider key to their name; "Rider 2" by the order of the line's riders when left out.
- `timeZone` (string): (Stitch, optional.) The shop's IANA zone for the time it answers by; UTC when left out.
- `busy` (boolean): (Stitch, optional.) The ask is on its way: the button takes no second press.
- `className` (string): 

## BasketBarElementProps

- `totalMinor` (number, required): 
- `text` (string): Words where the total goes when there is no price to show: "2 e-bikes" (MSoldOut).
- `className` (string): 
- `note` (string): 
- `action` (PrimaryAction, required): 
- `from` (boolean): "from": the total is a from price.

## BasketBarProps

- `totalMinor` (number, required): 
- `from` (boolean): "from": the total is a from price.
- `note` (string): 
- `action` (PrimaryAction, required): 
- `className` (string): 

## BasketSummaryElementProps

- `lines` (TripLineView[], required): 
- `totalLabel` (string): "Total"; "From" while the trip is a from price.
- `children` (ReactNode): Under the title, before the lines: the promo code once it is open.
- `className` (string): 
- `title` (string): 
- `note` (string): Under the total: "Pay at the shop".
- `totalMinor` (number, required): 
- `titleAside` (ReactNode): Right of the title: the promo code link.

## BasketSummaryProps

- `lines` (SummaryLine[], required): 
- `totalMinor` (number, required): 
- `note` (string): Under the total: "Pay at the shop".
- `title` (string): 
- `titleAside` (ReactNode): Right of the title: the promo code link.
- `className` (string): 

## BikeBuildProps

- `fit` (BikeFit, required): 
- `note` (boolean): The note under the parts (the catalog's word); left out on a phone.
- `className` (string): 

## BikeDecisionProps

- `title` (string, required): 
- `ways` ({ way: BikeWay; kick: string; title: string; line: string; }[], required): 
- `onWay` ((way: BikeWay) => void, required): 
- `onBack` (() => void, required): "Pick another time": the time comes off.
- `missing` (boolean): Next waits on a way out: marked missing, Next brings the guest here.
- `className` (string): 

## BikeGeometryProps

- `fit` (({ build: components["schemas"]["ModelBuildPart"][]; geometry: components["schemas"]["GeometryRow"][]; ranges: components["schemas"]["FitRange"][]; } & { [key: string]: unknown; }) | BikeFit, required): 
- `marked` (Readonly<Record<string, readonly string[]>>): A size label to the riders who get it ("L": ["Marco", "Tom"]): those columns are marked.
- `className` (string): 

## BikeRailProps

- `bikes` (readonly { key: string; type: string; name: string; price: string | null; riders: readonly string[]; any?: boolean; thumb?: string | null; chip?: string | null; }[], required): 
- `value` (string, required): null: any that fits.
- `onSelect` ((key: string | null) => void, required): 
- `layout` ("cards" | "chips"): Cards with a picture (computer, the default) or chips you swipe (phone).
- `className` (string): 

## BikeShowcaseProps

- `name` (string, required): 
- `kicker` (string, required): 
- `blurb` (string, required): 
- `fit` (({ build: components["schemas"]["ModelBuildPart"][]; geometry: components["schemas"]["GeometryRow"][]; ranges: components["schemas"]["FitRange"][]; } & { [key: string]: unknown; }) | BikeFit, required): 
- `stage` (ReactNode): 
- `still` (string): The still while the site's 3D bike loads, or when it has none.
- `word` (string): The big word behind the bike ("AMPD"); the name when left out.
- `spinning` (boolean): 
- `onSpin` ((spinning: boolean) => void): 
- `className` (string): 

## BikesStepProps

- `products` (readonly { asks?: components["schemas"]["GuestAsk"][]; blurb?: components["schemas"]["Words-Output"] | null; charts?: components["schemas"]["PublicSizeChart"][]; closed_days: string[]; facts?: components["schemas"]["GearFact"][]; fit?: components["schemas"]["ProductFit"] | null; gear?: ("ski" | "bike" | "other") | null; id: string; image?: components["schemas"]["PublicImage"] | null; line?: components["schemas"]["Words-Output"] | null; model?: components["schemas"]["Words-Output"] | null; name: components["schemas"]["Words-Output"]; notice?: components["schemas"]["PublicSiteNotice"] | null; options: components["schemas"]["PublicAvailabilityOption"][]; parts?: components["schemas"]["PublicProductPart"][]; pick_size: boolean; }[], required): The models to rent on the trip's days (W7-06 `products`, with `fit` when the shop wrote it).
- `layout` ("stack" | "side"): The computer's stage beside the panel, or the phone's stack.
- `looks` (Readonly<Record<string, Partial<Omit<BikeModelView, "id" | "options" | "fit" | "any">>>>): Per product id (or `any`): what the site adds. The day price is the site read's, never made here.
- `dayPrices` (Readonly<Record<string, number>>): QA 27 Oct (G4): each product's day price from the trip's first day (W7-21 `prices`, product id to
minor units), so a price shows per model before Plan; Any that fits says "from" the lowest. A
site's own `looks` price still wins.
- `totalMinor` (number): The quote's total so far; null while it is coming.
- `standIn` (Omit<StandInProps, "className">): A kind running short (6b B, bikeStandInOf on the quote's refusal): the decision card.
- `next` (string): Next's label; "Next: protection" when left out.
- `problem` (string): Why Next waits, in the guest's words; left out, the step says the group's own reason once Next was pressed.
- `busy` (boolean): 
- `loading` (boolean): The availability read is on its way.
- `anyThatFits` (boolean): The rail's "Any that fits" (default on). Off: no Any card; a rider on no model yet is shown on the first model
that fits the whole group (firstFittingBike) and Next writes that model for them before their sizes.
- `state` (GroupState, required): 
- `send` ((event: GroupEvent) => void, required): 
- `shop` (FlowShop, required): 
- `nameOf` ((id: string) => string): A product, kind or tour id to its name in the guest's language (the site read).
- `className` (string): 

## BikeStageProps

- `word` (string, required): The big word behind the bike ("AMPD", "Any").
- `still` (string): 
- `alt` (string): 
- `children` (ReactNode): The shop's 3D bike.
- `spinning` (boolean): Whether the shop's bike turns; with onSpin, a Pause / Turn button.
- `onSpin` ((spinning: boolean) => void): 
- `height` (string | number): CSS height; the stage fills its width.
- `className` (string): 

## BikesViewProps

- `layout` ("stack" | "side"): The computer's stage beside the panel, or the phone's stack.
- `models` (BikeModelView[], required): 
- `riders` (BikeRiderView[], required): 
- `assign` (Record<string, string>, required): 
- `value` (string, required): The model in view.
- `onPick` ((modelId: string) => void, required): 
- `onMove` ((riderKey: string, modelId: string) => void, required): Tap a name: move that rider to the model in view (a rider on it: back to `back`).
- `back` (string): The model the group just came from: a tap on a name on the model in view puts that rider back on it.
- `chosen` (Record<string, string>): Sizes tapped by hand, by rider key.
- `onSize` ((riderKey: string, optionId: string) => void, required): 
- `tab` (BikesTab): The open tab; left out, the step picks one (sizes for any, else the build).
- `onTab` ((tab: BikesTab) => void): 
- `buildOpen` (boolean): The phone's build fold and sizes sheet.
- `onBuildOpen` ((open: boolean) => void): 
- `sheetOpen` (boolean): 
- `onSheetOpen` ((open: boolean) => void): 
- `spinning` (boolean): 
- `onSpin` ((spinning: boolean) => void): 
- `totalMinor` (number, required): The quote's total for the trip so far; null while it is coming.
- `standIn` (Omit<StandInProps, "className">): A kind running short (6b B): the decision card, and Next waits for a pick.
- `next` (string): Next's label; "Next: protection" when left out.
- `onNext` (() => void, required): 
- `problem` (string): Why Next waits, in the guest's words, shown beside it ("Pick a size for Marco.").
- `missing` (readonly string[]): The riders Next waits on for a size: their size chips say so.
- `busy` (boolean): 
- `loading` (boolean): The models are still loading.
- `units` (BikeUnits): Heights in cm (the default) or ft and in (the group's `units`).
- `className` (string): 

## BookedProps

- `view` ({ currency: string; days: number; first_day: string; lines: components["schemas"]["ViewLine"][]; locale: "en" | "it" | "de" | "fr"; money: components["schemas"]["BookingMoney"]; payments?: components["schemas"]["ViewPayment"][] | null; pickup?: components["schemas"]["ViewPickup"] | null; pickup_at: string; reference: string; return_by_at: string; riders: components["schemas"]["ViewRider"][]; shop: components["schemas"]["ViewShop"]; stage: "request" | "lapsed" | "waiting_payment" | "not_finished" | "needs_you" | "booked" | "not_collected" | "out" | "late" | "back" | "cancelled"; trip_url?: string | null; }, required): W7-11: the booking as booked.
- `timeZone` (string, required): The shop's IANA zone: tour starts and the pick up time are read there.
- `leadName` (string): The booker's first name for the heading; left out: "See you Tuesday".
- `paid` (BookedPaid): Paid online now (Pay E); null or left out: paid at the shop.
- `asked` (readonly { answer_by: string | null; days: components["schemas"]["DaySlot"][]; difference_minor?: number | null; key: string | null; label: components["schemas"]["Words-Output"]; line: number; riders: string[]; sizes: string[]; status: "asked" | "offered" | "assigned" | "declined" | "expired" | "withdrawn"; }[]): W7-08 `asked`: lines asked of the shop (Running short D).
- `share` (ReactNode): The site's "send the trip to your group" card (ShareTrip), under the ticket.
- `calendarHref` (string): An .ics address for "Add to calendar"; left out: no button.
- `tripHref` (string): The guest trip page; left out: the booking's own `trip_url`.
- `layout` ("stack" | "side"): stack: the phone; side: the computer, the ticket and the share card on the right.
- `className` (string): 

## BookedTripProps

- `view` ({ currency: string; days: number; first_day: string; lines: components["schemas"]["ViewLine"][]; locale: "en" | "it" | "de" | "fr"; money: components["schemas"]["BookingMoney"]; payments?: components["schemas"]["ViewPayment"][] | null; pickup?: components["schemas"]["ViewPickup"] | null; pickup_at: string; reference: string; return_by_at: string; riders: components["schemas"]["ViewRider"][]; shop: components["schemas"]["ViewShop"]; stage: "request" | "lapsed" | "waiting_payment" | "not_finished" | "needs_you" | "booked" | "not_collected" | "out" | "late" | "back" | "cancelled"; trip_url?: string | null; }, required): W7-11: the booking as booked (BC1 fields optional).
- `timeZone` (string, required): The shop's IANA zone: days, times and the calendar file are read there.
- `layout` ("stack" | "side"): side: the computer, a main column and a side column; stack: the phone's order.
- `site` ({ booking: components["schemas"]["PublicSiteBooking"]; booking_locales?: ("en" | "it" | "de" | "fr")[]; brand: components["schemas"]["SiteBrand"]; default_locale?: string | null; languages: string[]; mode: "live" | "sample" | "try"; photos: { [key: string]: string; }; places: components["schemas"]["PublicSitePlace"][]; reviews_score: components["schemas"]["PublicSiteReviewScore"] | null; season: components["schemas"]["PublicSiteSeason"]; sections: { [key: string]: unknown; }[]; shop: components["schemas"]["PublicSiteShop"]; version: number; }): The site read: its hero photo, the place's address, town and hours.
- `hero` (BookedTripPhoto): The shop's hero photo (FlowLooks.booked.hero); left out, the site's, else the brand's band.
- `bikePhotos` (Readonly<Record<string, BookedTripPhoto>>): The shop's photo of each bike by its product id (FlowLooks.booked.bikes), shown instead of the
read's `product.image`; left out, the read's, else the gear glyph.
- `place` (BookedTripPhoto): 
- `share` (ReactNode): The site's "send the trip to your group" card (ShareTrip).
- `shareKeys` (readonly string[]): The riders the share card lists: "Send the form" brings the guest to their email field.
- `paidMinor` (number): A newer paid amount (GBF-31 right after Stripe said paid).
- `tripHref` (string): The guest trip page; left out, the booking's own `trip_url`.
- `onFile` ((file: BookedTripFile) => void): Takes the calendar file and the receipt instead of the browser's download (a test, a native shell).
- `className` (string): 

## BookingFlowProps

- `router` (BookingRouter, required): 
- `needs` (TripNeeds, required): What the trip asks for: which steps it has.
- `screens` (Partial<Record<"kind" | "pay" | "when" | "who" | "sizes" | "extras" | "days", ReactNode>>, required): The site's screen for each step (its Elements wired to the machine).
- `problem` (string): Why the step is not ready (a rider with no height, no dates): Next stays put and says it.
- `summary` (FlowSummary): The trip's lines and total; leave out for the server's quote of the trip.
- `onBooked` ((answer: BookingAnswered<BookingAnswer<"book">>) => void): Booked: the answer (its reference, its view token for `/booking#t=`).
- `title` (string): The step's title, when the site says it its own way.
- `subtitle` (string): The line under the title (the boards' italic one); null: none. Kind, Who and Pay have one by default.
- `phone` (string): The shop's phone, offered when something cannot be booked online.
- `className` (string): 
- `source` ("store" | "chatgpt" | "google_ttd" | "atlas"): (Additive.) Who sent the guest (`chatgpt`); sent with the booking as `source` only when set.
- `partner` (string): (Additive, DIST-NETWORK.) The Network partner's code (`?partner=`, partnerFromQuery); sent as `partner_code` only when set.
- `onEvent` (GuestEventSink): (Additive.) The guest's way through the flow for the site's analytics (PostHog plan 2c): each
step viewed and completed, a Next that waits, a refused booking and leaving before booking.
Codes, counts and buckets only, scrubbed against `GUEST_EVENTS`: never a name, email, phone or
the problem's words. Left out, nothing is sent anywhere.
- `hostKind` ("hosted" | "subdomain" | "custom_domain"): (Additive.) How the page is served, for `onEvent`; left out, read from the page's address.

## BookingLookProps

- `theme` (Partial<BookingTheme>): The shop's tokens. Leave out when the site's own CSS sets `--og-*` on a parent.
- `words` (ShopWordList): The shop's trade words and its own lines, per language.
- `locale` (string): en, it, de or fr; anything else reads English.
- `currency` (string): ISO 4217, from the site read (`currency`).
- `country` (string): The shop's ISO 3166 country, from the site read (`shop.country_code`); null or left out reads as before.
- `children` (ReactNode): 

## BookingRouteOptions

- `apiUrl` (string, required): The API origin, `https://api.outdoorgrid.ai`.
- `siteKey` (string, required): The shop's site key, from a server only variable that no browser bundle ever reads.
- `shop` (string, required): The shop's slug.
- `operations` (readonly ("link" | "site" | "availability" | "quote" | "book" | "current" | "checkout" | "view" | "session" | "me" | "people" | "again" | "sign-out" | "prices" | "kind-availability" | "saved-trip-save" | "saved-trip" | "saved-trip-delete" | "held" | "asked-offer" | "asked-offer-answer" | "withdraw" | "share" | "rider-trip" | "code" | "code-check" | "password" | "payment-session" | "payment" | "pay-at-shop" | "damage-cover" | "departure-bikes" | "passkey-sign-in-options" | "passkey-sign-in" | "passkeys" | "passkey-options" | "passkey-add" | "passkey-rename" | "passkey-remove" | "trip" | "trip-options" | "trip-cancel" | "trip-pay" | "trip-rider" | "trip-waivers" | "trip-waiver-sign" | "trip-share" | "trip-asked-answer" | "trip-asked-withdraw" | "trip-payment-session")[]): The operations served (DEFAULT_ROUTE_OPERATIONS). List `checkout`, `trip-pay`, `payment-session`,
`payment`, `pay-at-shop` or `asked-offer-answer` to take payments.
- `clientIp` ((request: Request) => string | null, required): The guest's address from the host's trusted source (`clientIpFrom.vercel` on Vercel only, where
Vercel overwrites the header). Required, so no site shares one rate limit bucket for all its
guests by forgetting it; `null` says on purpose that the host has no trusted source.
- `origins` (readonly string[]): Other origins the site's pages are served from, when the request URL is not the public one.
- `basePath` (string): Where the route lives (`/api/outdoor-grid`); both cookies' Path.
- `fetch` ({ (input: RequestInfo | URL, init?: RequestInit): Promise<Response>; (input: string | URL | Request, init?: RequestInit): Promise<Response>; }): 
- `timeoutMs` (number): 
- `now` (() => number): The clock in milliseconds (Date.now), for the address signature and the session cookie.

## BookingServerOptions

- `apiUrl` (string, required): 
- `siteKey` (string, required): 
- `shop` (string, required): 
- `revalidate` (number): Seconds the site read is reused (60).
- `fetch` ({ (input: RequestInfo | URL, init?: RequestInit): Promise<Response>; (input: string | URL | Request, init?: RequestInit): Promise<Response>; }): 

## BookingTripButtonProps

- `className` (string): 
- `onClick` (() => void): 
- `open` (boolean): The trip sheet or popover is open: the button shows it (DBasket).
- `labelled` (boolean): "Your trip" beside the bag (a computer's header).
- `href` (string): 

## ButtonProps

- `variant` (ButtonVariant): 
- `size` ("sm" | "md" | "lg"): 
- `wide` (boolean): 
- `icon` ("bus" | "users" | "map-pin" | "store" | "clock" | "star" | "arrow-right" | "arrow-left" | "menu" | "globe" | "check" | "calendar" | "mountain" | "bike" | "wrench" | "shield-check" | "x" | "chevron-down" | "chevron-right" | "camera" | "phone" | "mail" | "rotate-3d" | "hand" | "info" | "external-link" | "sun" | "battery-charging" | "ruler" | "zap" | "hard-hat" | "route" | "timer" | "gauge" | "navigation" | "coffee" | "message-circle" | "key-round" | "lock" | "shopping-bag" | "move-horizontal" | "circle-check" | "ticket" | "credit-card"): The icon after the label (arrow-right by default on a primary; null for none).
- `busy` (boolean): Waiting for the server: the button stays, says so and takes no second press.
- `href` (string): A link instead of a button (the site's own address; see safeHref: an unsafe one draws a button).
- `children` (ReactNode, required): 
- `disabled` (boolean): 
- `form` (string): 
- `formAction` (string | ((formData: FormData) => void | Promise<void>)): 
- `formEncType` (string): 
- `formMethod` (string): 
- `formNoValidate` (boolean): 
- `formTarget` (string): 
- `name` (string): 
- `type` ("submit" | "reset" | "button"): 
- `value` (string | number | readonly string[]): 
- `defaultChecked` (boolean): 
- `defaultValue` (string | number | readonly string[]): 
- `suppressContentEditableWarning` (boolean): 
- `suppressHydrationWarning` (boolean): 
- `accessKey` (string): 
- `autoCapitalize` ("none" | "off" | "on" | "sentences" | "words" | "characters" | (string & {})): 
- `autoFocus` (boolean): 
- `className` (string): 
- `contentEditable` (Booleanish | "inherit" | "plaintext-only"): 
- `contextMenu` (string): 
- `dir` (string): 
- `draggable` (Booleanish): 
- `enterKeyHint` ("enter" | "done" | "go" | "next" | "previous" | "search" | "send"): 
- `hidden` (boolean): 
- `id` (string): 
- `lang` (string): 
- `nonce` (string): 
- `slot` (string): 
- `spellCheck` (Booleanish): 
- `style` (CSSProperties): 
- `tabIndex` (number): 
- `title` (string): 
- `translate` ("yes" | "no"): 
- `radioGroup` (string): 
- `role` (AriaRole): 
- `about` (string): 
- `content` (string): 
- `datatype` (string): 
- `inlist` (any): 
- `prefix` (string): 
- `property` (string): 
- `rel` (string): 
- `resource` (string): 
- `rev` (string): 
- `typeof` (string): 
- `vocab` (string): 
- `autoCorrect` (string): 
- `autoSave` (string): 
- `color` (string): 
- `itemProp` (string): 
- `itemScope` (boolean): 
- `itemType` (string): 
- `itemID` (string): 
- `itemRef` (string): 
- `results` (number): 
- `security` (string): 
- `unselectable` ("off" | "on"): 
- `popover` ("" | "auto" | "manual" | "hint"): 
- `popoverTargetAction` ("toggle" | "show" | "hide"): 
- `popoverTarget` (string): 
- `inert` (boolean): 
- `inputMode` ("text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal"): Hints at the type of data that might be entered by the user while editing the element or its contents
- `is` (string): Specify that a standard HTML element should behave like a defined custom built-in element
- `exportparts` (string): 
- `part` (string): 
- `aria-activedescendant` (string): Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
- `aria-atomic` (Booleanish): Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
- `aria-autocomplete` ("none" | "list" | "inline" | "both"): Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
presented if they are made.
- `aria-braillelabel` (string): Defines a string value that labels the current element, which is intended to be converted into Braille.
- `aria-brailleroledescription` (string): Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
- `aria-busy` (Booleanish): 
- `aria-checked` (boolean | "true" | "false" | "mixed"): Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
- `aria-colcount` (number): Defines the total number of columns in a table, grid, or treegrid.
- `aria-colindex` (number): Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
- `aria-colindextext` (string): Defines a human readable text alternative of aria-colindex.
- `aria-colspan` (number): Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
- `aria-controls` (string): Identifies the element (or elements) whose contents or presence are controlled by the current element.
- `aria-current` (boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"): Indicates the element that represents the current item within a container or set of related elements.
- `aria-describedby` (string): Identifies the element (or elements) that describes the object.
- `aria-description` (string): Defines a string value that describes or annotates the current element.
- `aria-details` (string): Identifies the element that provides a detailed, extended description for the object.
- `aria-disabled` (Booleanish): Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
- `aria-dropeffect` ("none" | "link" | "copy" | "execute" | "move" | "popup"): Indicates what functions can be performed when a dragged object is released on the drop target.
- `aria-errormessage` (string): Identifies the element that provides an error message for the object.
- `aria-expanded` (Booleanish): Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
- `aria-flowto` (string): Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
allows assistive technology to override the general default of reading in document source order.
- `aria-grabbed` (Booleanish): Indicates an element's "grabbed" state in a drag-and-drop operation.
- `aria-haspopup` (boolean | "menu" | "true" | "false" | "dialog" | "grid" | "listbox" | "tree"): Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
- `aria-hidden` (Booleanish): Indicates whether the element is exposed to an accessibility API.
- `aria-invalid` (boolean | "true" | "false" | "grammar" | "spelling"): Indicates the entered value does not conform to the format expected by the application.
- `aria-keyshortcuts` (string): Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
- `aria-label` (string): Defines a string value that labels the current element.
- `aria-labelledby` (string): Identifies the element (or elements) that labels the current element.
- `aria-level` (number): Defines the hierarchical level of an element within a structure.
- `aria-live` ("off" | "assertive" | "polite"): Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
- `aria-modal` (Booleanish): Indicates whether an element is modal when displayed.
- `aria-multiline` (Booleanish): Indicates whether a text box accepts multiple lines of input or only a single line.
- `aria-multiselectable` (Booleanish): Indicates that the user may select more than one item from the current selectable descendants.
- `aria-orientation` ("horizontal" | "vertical"): Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
- `aria-owns` (string): Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
- `aria-placeholder` (string): Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
A hint could be a sample value or a brief description of the expected format.
- `aria-posinset` (number): Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- `aria-pressed` (boolean | "true" | "false" | "mixed"): Indicates the current "pressed" state of toggle buttons.
- `aria-readonly` (Booleanish): Indicates that the element is not editable, but is otherwise operable.
- `aria-relevant` ("text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"): Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
- `aria-required` (Booleanish): Indicates that user input is required on the element before a form may be submitted.
- `aria-roledescription` (string): Defines a human-readable, author-localized description for the role of an element.
- `aria-rowcount` (number): Defines the total number of rows in a table, grid, or treegrid.
- `aria-rowindex` (number): Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
- `aria-rowindextext` (string): Defines a human readable text alternative of aria-rowindex.
- `aria-rowspan` (number): Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
- `aria-selected` (Booleanish): Indicates the current "selected" state of various widgets.
- `aria-setsize` (number): Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
- `aria-sort` ("none" | "ascending" | "descending" | "other"): Indicates if items in a table or grid are sorted in ascending or descending order.
- `aria-valuemax` (number): Defines the maximum allowed value for a range widget.
- `aria-valuemin` (number): Defines the minimum allowed value for a range widget.
- `aria-valuenow` (number): Defines the current value for a range widget.
- `aria-valuetext` (string): Defines the human readable text alternative of aria-valuenow for a range widget.
- `dangerouslySetInnerHTML` ({ __html: string | TrustedHTML; }): 
- `onCopy` (ClipboardEventHandler<HTMLButtonElement>): 
- `onCopyCapture` (ClipboardEventHandler<HTMLButtonElement>): 
- `onCut` (ClipboardEventHandler<HTMLButtonElement>): 
- `onCutCapture` (ClipboardEventHandler<HTMLButtonElement>): 
- `onPaste` (ClipboardEventHandler<HTMLButtonElement>): 
- `onPasteCapture` (ClipboardEventHandler<HTMLButtonElement>): 
- `onCompositionEnd` (CompositionEventHandler<HTMLButtonElement>): 
- `onCompositionEndCapture` (CompositionEventHandler<HTMLButtonElement>): 
- `onCompositionStart` (CompositionEventHandler<HTMLButtonElement>): 
- `onCompositionStartCapture` (CompositionEventHandler<HTMLButtonElement>): 
- `onCompositionUpdate` (CompositionEventHandler<HTMLButtonElement>): 
- `onCompositionUpdateCapture` (CompositionEventHandler<HTMLButtonElement>): 
- `onFocus` (FocusEventHandler<HTMLButtonElement>): 
- `onFocusCapture` (FocusEventHandler<HTMLButtonElement>): 
- `onBlur` (FocusEventHandler<HTMLButtonElement>): 
- `onBlurCapture` (FocusEventHandler<HTMLButtonElement>): 
- `onChange` (ChangeEventHandler<HTMLButtonElement, Element>): 
- `onChangeCapture` (ChangeEventHandler<HTMLButtonElement, Element>): 
- `onBeforeInput` (InputEventHandler<HTMLButtonElement>): 
- `onBeforeInputCapture` (InputEventHandler<HTMLButtonElement>): 
- `onInput` (InputEventHandler<HTMLButtonElement>): 
- `onInputCapture` (InputEventHandler<HTMLButtonElement>): 
- `onReset` (ReactEventHandler<HTMLButtonElement>): 
- `onResetCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onSubmit` (SubmitEventHandler<HTMLButtonElement>): 
- `onSubmitCapture` (SubmitEventHandler<HTMLButtonElement>): 
- `onInvalid` (ReactEventHandler<HTMLButtonElement>): 
- `onInvalidCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onLoad` (ReactEventHandler<HTMLButtonElement>): 
- `onLoadCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onError` (ReactEventHandler<HTMLButtonElement>): 
- `onErrorCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onKeyDown` (KeyboardEventHandler<HTMLButtonElement>): 
- `onKeyDownCapture` (KeyboardEventHandler<HTMLButtonElement>): 
- `onKeyPress` (KeyboardEventHandler<HTMLButtonElement>): 
- `onKeyPressCapture` (KeyboardEventHandler<HTMLButtonElement>): 
- `onKeyUp` (KeyboardEventHandler<HTMLButtonElement>): 
- `onKeyUpCapture` (KeyboardEventHandler<HTMLButtonElement>): 
- `onAbort` (ReactEventHandler<HTMLButtonElement>): 
- `onAbortCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onCanPlay` (ReactEventHandler<HTMLButtonElement>): 
- `onCanPlayCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onCanPlayThrough` (ReactEventHandler<HTMLButtonElement>): 
- `onCanPlayThroughCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onDurationChange` (ReactEventHandler<HTMLButtonElement>): 
- `onDurationChangeCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onEmptied` (ReactEventHandler<HTMLButtonElement>): 
- `onEmptiedCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onEncrypted` (ReactEventHandler<HTMLButtonElement>): 
- `onEncryptedCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onEnded` (ReactEventHandler<HTMLButtonElement>): 
- `onEndedCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onLoadedData` (ReactEventHandler<HTMLButtonElement>): 
- `onLoadedDataCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onLoadedMetadata` (ReactEventHandler<HTMLButtonElement>): 
- `onLoadedMetadataCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onLoadStart` (ReactEventHandler<HTMLButtonElement>): 
- `onLoadStartCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onPause` (ReactEventHandler<HTMLButtonElement>): 
- `onPauseCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onPlay` (ReactEventHandler<HTMLButtonElement>): 
- `onPlayCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onPlaying` (ReactEventHandler<HTMLButtonElement>): 
- `onPlayingCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onProgress` (ReactEventHandler<HTMLButtonElement>): 
- `onProgressCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onRateChange` (ReactEventHandler<HTMLButtonElement>): 
- `onRateChangeCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onSeeked` (ReactEventHandler<HTMLButtonElement>): 
- `onSeekedCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onSeeking` (ReactEventHandler<HTMLButtonElement>): 
- `onSeekingCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onStalled` (ReactEventHandler<HTMLButtonElement>): 
- `onStalledCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onSuspend` (ReactEventHandler<HTMLButtonElement>): 
- `onSuspendCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onTimeUpdate` (ReactEventHandler<HTMLButtonElement>): 
- `onTimeUpdateCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onVolumeChange` (ReactEventHandler<HTMLButtonElement>): 
- `onVolumeChangeCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onWaiting` (ReactEventHandler<HTMLButtonElement>): 
- `onWaitingCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onAuxClick` (MouseEventHandler<HTMLButtonElement>): 
- `onAuxClickCapture` (MouseEventHandler<HTMLButtonElement>): 
- `onClick` (MouseEventHandler<HTMLButtonElement>): 
- `onClickCapture` (MouseEventHandler<HTMLButtonElement>): 
- `onContextMenu` (MouseEventHandler<HTMLButtonElement>): 
- `onContextMenuCapture` (MouseEventHandler<HTMLButtonElement>): 
- `onDoubleClick` (MouseEventHandler<HTMLButtonElement>): 
- `onDoubleClickCapture` (MouseEventHandler<HTMLButtonElement>): 
- `onDrag` (DragEventHandler<HTMLButtonElement>): 
- `onDragCapture` (DragEventHandler<HTMLButtonElement>): 
- `onDragEnd` (DragEventHandler<HTMLButtonElement>): 
- `onDragEndCapture` (DragEventHandler<HTMLButtonElement>): 
- `onDragEnter` (DragEventHandler<HTMLButtonElement>): 
- `onDragEnterCapture` (DragEventHandler<HTMLButtonElement>): 
- `onDragExit` (DragEventHandler<HTMLButtonElement>): 
- `onDragExitCapture` (DragEventHandler<HTMLButtonElement>): 
- `onDragLeave` (DragEventHandler<HTMLButtonElement>): 
- `onDragLeaveCapture` (DragEventHandler<HTMLButtonElement>): 
- `onDragOver` (DragEventHandler<HTMLButtonElement>): 
- `onDragOverCapture` (DragEventHandler<HTMLButtonElement>): 
- `onDragStart` (DragEventHandler<HTMLButtonElement>): 
- `onDragStartCapture` (DragEventHandler<HTMLButtonElement>): 
- `onDrop` (DragEventHandler<HTMLButtonElement>): 
- `onDropCapture` (DragEventHandler<HTMLButtonElement>): 
- `onMouseDown` (MouseEventHandler<HTMLButtonElement>): 
- `onMouseDownCapture` (MouseEventHandler<HTMLButtonElement>): 
- `onMouseEnter` (MouseEventHandler<HTMLButtonElement>): 
- `onMouseLeave` (MouseEventHandler<HTMLButtonElement>): 
- `onMouseMove` (MouseEventHandler<HTMLButtonElement>): 
- `onMouseMoveCapture` (MouseEventHandler<HTMLButtonElement>): 
- `onMouseOut` (MouseEventHandler<HTMLButtonElement>): 
- `onMouseOutCapture` (MouseEventHandler<HTMLButtonElement>): 
- `onMouseOver` (MouseEventHandler<HTMLButtonElement>): 
- `onMouseOverCapture` (MouseEventHandler<HTMLButtonElement>): 
- `onMouseUp` (MouseEventHandler<HTMLButtonElement>): 
- `onMouseUpCapture` (MouseEventHandler<HTMLButtonElement>): 
- `onSelect` (ReactEventHandler<HTMLButtonElement>): 
- `onSelectCapture` (ReactEventHandler<HTMLButtonElement>): 
- `onTouchCancel` (TouchEventHandler<HTMLButtonElement>): 
- `onTouchCancelCapture` (TouchEventHandler<HTMLButtonElement>): 
- `onTouchEnd` (TouchEventHandler<HTMLButtonElement>): 
- `onTouchEndCapture` (TouchEventHandler<HTMLButtonElement>): 
- `onTouchMove` (TouchEventHandler<HTMLButtonElement>): 
- `onTouchMoveCapture` (TouchEventHandler<HTMLButtonElement>): 
- `onTouchStart` (TouchEventHandler<HTMLButtonElement>): 
- `onTouchStartCapture` (TouchEventHandler<HTMLButtonElement>): 
- `onPointerDown` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerDownCapture` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerMove` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerMoveCapture` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerUp` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerUpCapture` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerCancel` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerCancelCapture` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerEnter` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerLeave` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerOver` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerOverCapture` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerOut` (PointerEventHandler<HTMLButtonElement>): 
- `onPointerOutCapture` (PointerEventHandler<HTMLButtonElement>): 
- `onGotPointerCapture` (PointerEventHandler<HTMLButtonElement>): 
- `onGotPointerCaptureCapture` (PointerEventHandler<HTMLButtonElement>): 
- `onLostPointerCapture` (PointerEventHandler<HTMLButtonElement>): 
- `onLostPointerCaptureCapture` (PointerEventHandler<HTMLButtonElement>): 
- `onScroll` (UIEventHandler<HTMLButtonElement>): 
- `onScrollCapture` (UIEventHandler<HTMLButtonElement>): 
- `onScrollEnd` (UIEventHandler<HTMLButtonElement>): 
- `onScrollEndCapture` (UIEventHandler<HTMLButtonElement>): 
- `onWheel` (WheelEventHandler<HTMLButtonElement>): 
- `onWheelCapture` (WheelEventHandler<HTMLButtonElement>): 
- `onAnimationStart` (AnimationEventHandler<HTMLButtonElement>): 
- `onAnimationStartCapture` (AnimationEventHandler<HTMLButtonElement>): 
- `onAnimationEnd` (AnimationEventHandler<HTMLButtonElement>): 
- `onAnimationEndCapture` (AnimationEventHandler<HTMLButtonElement>): 
- `onAnimationIteration` (AnimationEventHandler<HTMLButtonElement>): 
- `onAnimationIterationCapture` (AnimationEventHandler<HTMLButtonElement>): 
- `onToggle` (ToggleEventHandler<HTMLButtonElement>): 
- `onBeforeToggle` (ToggleEventHandler<HTMLButtonElement>): 
- `onTransitionCancel` (TransitionEventHandler<HTMLButtonElement>): 
- `onTransitionCancelCapture` (TransitionEventHandler<HTMLButtonElement>): 
- `onTransitionEnd` (TransitionEventHandler<HTMLButtonElement>): 
- `onTransitionEndCapture` (TransitionEventHandler<HTMLButtonElement>): 
- `onTransitionRun` (TransitionEventHandler<HTMLButtonElement>): 
- `onTransitionRunCapture` (TransitionEventHandler<HTMLButtonElement>): 
- `onTransitionStart` (TransitionEventHandler<HTMLButtonElement>): 
- `onTransitionStartCapture` (TransitionEventHandler<HTMLButtonElement>): 

## CalendarKeyOwnProps

- `soon` (boolean): Also explain the too soon mark (a clock).
- `closed` (boolean): Also explain the closed mark.
- `unit` (string, required): "e-bikes free".
- `className` (string): 

## CalendarKeyProps

- `unit` (string, required): "e-bikes free".
- `className` (string): 

## ChangeSheetProps

- `state` (GroupState, required): 
- `riders` (readonly string[], required): 
- `dates` (readonly string[], required): 
- `difference` (number, required): The difference the API quoted for the change (minor units); null while it loads.
- `onApply` ((events: readonly GroupEvent[]) => void, required): 
- `onClose` (() => void, required): 
- `look` (PlanLook): 
- `onDraft` ((events: readonly GroupEvent[]) => void): The change as it is being made, as the group's events (for the caller to quote).
- `refusal` ({ can_ask?: boolean | null; can_save?: boolean | null; error: "lines_unavailable"; lines: components["schemas"]["PublicUnavailableLine"][]; ok: false; }): The API refused the change: a clash, its ways out.
- `onWay` ((way: PlanWay, change?: readonly GroupEvent[]) => void): A way out picked and applied (a neighbour size, a stand in); keep only closes. `change` is the
change it was asked for, as the group's events: send both (`planWayEventsOf`).
- `halfDays` (readonly string[]): The days the shop rents half days on.
- `onOtherItem` ((riders: readonly string[]) => void): "Other bike": back to the bikes for these riders.
- `className` (string): 

## ChipProps

- `children` (ReactNode, required): 
- `tone` ("notice" | "on"): on: the chosen chip; notice: a warning in the brand's notice tile.
- `dot` ("" | "few" | "none"): 
- `className` (string): 
- `style` (CSSProperties): 

## ChoiceCardProps

- `title` (string, required): 
- `line` (string): One line under the title.
- `meta` (ReactNode): Small words at the foot, left: "Half or full days", "Next: tomorrow 9:00".
- `price` (ReactNode): Right of the meta: a price the API gave, already in words ("from €70 a day").
- `image` ({ src: string; alt: string; }): The shop's own photo (cover, its `alt` read out). Given, it wins over `media`; only with neither
does the card draw its ground with `icon`.
- `media` (ReactNode): The site's own media instead of the photo (the GearStage with its 3D viewer).
- `icon` ("bus" | "users" | "map-pin" | "store" | "clock" | "star" | "arrow-right" | "arrow-left" | "menu" | "globe" | "check" | "calendar" | "mountain" | "bike" | "wrench" | "shield-check" | "x" | "chevron-down" | "chevron-right" | "camera" | "phone" | "mail" | "rotate-3d" | "hand" | "info" | "external-link" | "sun" | "battery-charging" | "ruler" | "zap" | "hard-hat" | "route" | "timer" | "gauge" | "navigation" | "coffee" | "message-circle" | "key-round" | "lock" | "shopping-bag" | "move-horizontal" | "circle-check" | "ticket" | "credit-card"): 
- `selected` (boolean): 
- `unavailable` (string): Not on the guest's days: the reason, shown instead of the line ("Next free: Sat 24"). Not tappable.
- `problem` (string): Needs a fix: the problem in one line ("2 seats, you are 5"), shown instead of the line.
- `fixLabel` (string): The fix's way out, a small pill under the problem ("See the ways out"); calls `onFix`.
- `onFix` (() => void): 
- `onToggle` (() => void): Toggles the pick. Absent: the card only shows.
- `multi` (boolean): Several may be picked (aria-pressed) or one (role radio inside a radiogroup). Default true.
- `className` (string): 

## ConfirmationElementProps

- `shopName` (string): Fills "Now relax and enjoy the ride with {shop}!"; leave out for no line.
- `heading` (string): "You're booked" by default.
- `next` (NextView[]): What happens next. Left out: the email and "before your day"; null: none.
- `layout` ("stack" | "side"): stack: the phone; side: the computer, the ticket on the right.
- `aside` (ReactNode): Under the ticket on a computer: the shop on the site's map.
- `reference` (string, required): 
- `title` (string, required): 
- `sub` (string): 
- `rows` ({ icon: IconName; label: string; value: string; }[], required): 
- `actions` (ReactNode): Under the ticket: add to calendar, the map, My booking.
- `className` (string): 

## ConfirmationProps

- `reference` (string, required): 
- `title` (string, required): 
- `sub` (string): 
- `rows` ({ icon: IconName; label: string; value: string; }[], required): 
- `actions` (ReactNode): Under the ticket: add to calendar, the map, My booking.
- `className` (string): 

## ConsentTickProps

- `on` (boolean, required): 
- `onChange` ((on: boolean) => void, required): 
- `shopName` (string, required): 
- `className` (string): 

## DamageCoverOfferProps

- `offers` (readonly CoverOfferRead[], required): The covers the trip can take (core coverOffersOf with the trip's rentals).
- `on` (boolean, required): Ticked.
- `onChange` ((on: boolean) => void, required): 
- `trip` ({ minor: number; quoted: boolean; }): The cover for this trip: `quoted` is the quote's own price (its `damage_cover` extras, in Plan's
total while ticked), else the offer's own sum, price a day x days x items (never in a total).
Null: not said.
- `className` (string): 

## DateRangeCalendarOwnProps

- `unit` (string): After a day's count for a screen reader: "e-bikes free". The calendar's own "free" when left out.
- `month` (string, required): The first day of the first month shown.
- `months` (1 | 2): 
- `first` (string, required): 
- `last` (string, required): 
- `today` (string, required): The shop's today (never the browser's).
- `free` (Record<string, FreeCount>, required): 
- `blocked` (Record<string, DayBlock>): Days the guest may not pick and why (before `notice.first_day`, closed days).
- `onPick` ((day: string) => void, required): 
- `onMonth` ((month: string) => void): 
- `minMonth` (string): Before this month the back arrow is off (the shop's today's month).
- `maxMonth` (string): 
- `className` (string): 

## DateRangeCalendarProps

- `month` (string, required): The first day of the first month shown.
- `months` (1 | 2): 
- `first` (string, required): 
- `last` (string, required): 
- `today` (string, required): The shop's today (never the browser's).
- `free` (Record<string, FreeCount>, required): 
- `blocked` (Record<string, DayBlock>): Days the guest may not pick and why (before `notice.first_day`, closed days).
- `onPick` ((day: string) => void, required): 
- `onMonth` ((month: string) => void): 
- `minMonth` (string): Before this month the back arrow is off (the shop's today's month).
- `maxMonth` (string): 
- `className` (string): 

## DayHalvesProps

- `value` (WhenValue, required): 
- `ctx` (WhenContext, required): 
- `day` (string, required): 
- `onToggle` ((day: string, half: Half | null) => void, required): A half switched, or the whole day (null) on a day the shop does not split. Without `onPart`, a
split day's pick calls it once per half that switches (on first, then off): Morning to
Afternoon is two calls, so a page that passes only this must apply each on top of the last
(a functional update). Pass `onPart` instead.
- `onPart` ((day: string, part: DayPick) => void): Full day, or a half day's morning or afternoon, picked on a day the shop splits (setDayLength, setDayHalf).
- `look` (HalvesLook): 
- `className` (string): 

## DayStripOwnProps

- `exact` (boolean): Show the exact count the API gives (seats). Off: plenty above 4 reads "5+" (gear). On by default.
- `days` (DayView[], required): 
- `value` (string, required): 
- `onChange` ((day: string) => void, required): 
- `unit` (string): After the number: "seats".
- `className` (string): 

## DayStripProps

- `days` (DayView[], required): 
- `value` (string, required): 
- `onChange` ((day: string) => void, required): 
- `unit` (string): After the number: "seats".
- `className` (string): 

## DecisionCardProps

- `title` (string, required): 
- `sub` (string): 
- `options` (readonly DecisionOption[], required): 
- `picked` (string): The way out picked, if any.
- `onPick` ((key: string) => void, required): 
- `className` (string): 

## DeparturePickerOwnProps

- `exact` (boolean): Show the exact seats the API gives. On by default (README: "tour seats exact").
- `departures` (DepartureView[], required): 
- `value` (string, required): 
- `onChange` ((id: string) => void, required): 
- `unit` (string): 
- `className` (string): 

## DeparturePickerProps

- `departures` (DepartureView[], required): 
- `value` (string, required): 
- `onChange` ((id: string) => void, required): 
- `unit` (string): 
- `className` (string): 

## EmbeddedCheckoutOptions

- `fetchClientSecret` (() => Promise<string>, required): Resolves with the Checkout Session's client secret. The only place the secret goes.
- `onComplete` (() => void): Stripe says the payment is done (only with `redirect_on_completion: if_required`; else Stripe goes to the return address).

## ExtrasListProps

- `extras` (readonly { productId: string; name: string; line: string; price: string | null; added: boolean; }[], required): 
- `onToggle` ((productId: string) => void, required): 
- `className` (string): 

## FieldProps

- `label` (string, required): 
- `value` (string, required): 
- `onChange` ((value: string) => void, required): 
- `placeholder` (string): 
- `type` ("number" | "text" | "tel" | "email"): 
- `inputMode` ("text" | "tel" | "email" | "numeric" | "decimal"): 
- `autoComplete` (string): 
- `autoCapitalize` ("none" | "off" | "sentences" | "words"): Off for an email: a phone's keyboard does not start it with a capital or correct it.
- `spellCheck` (boolean): 
- `error` (string): The reason it is not right yet, shown under it once the guest tried.
- `unit` (string): A unit after the value: "cm".
- `name` (string): 
- `missing` (boolean): The first field a waiting Next brings the guest to (`data-og-missing`).
- `className` (string): 

## FinderProps

- `open` (boolean, required): 
- `onClose` (() => void, required): 
- `questions` ({ id: string; text: string; answers: { id: string; text: string; }[]; }[], required): 
- `answers` (string[], required): The answer picked for each question, by index.
- `onAnswer` ((question: number, answer: string) => void, required): 
- `result` ({ kind: RideKindView; why?: string | null; }, required): The kind both answers pick, with one line why; null until both are answered (or no rule).
- `onTake` ((kindId: string) => void, required): 
- `className` (string): 

## FlowFrameProps

- `bar` (ReactNode): The shop's bar (ShopBar with the site's logo and navigation).
- `stepper` (ReactNode, required): The stepper band (StepperBand).
- `children` (ReactNode, required): 
- `footer` (ReactNode): The step's foot (StepFoot): its summary, Back and the one primary.
- `aside` (ReactNode): The trip beside the content (desktop) or in the bottom sheet (phone).
- `tripLabel` (string): The trip's name on the phone's pill and the sheet; "Your trip" when left out.
- `tripNote` (string): A short line on the phone's pill after its name (the quote's total in words).
- `bleed` (boolean): (0.2.1, additive.) From 1024px the step runs edge to edge under the band, with no trip beside
it (Bikes: the stage beside its panel, which carries the total, as on the canvas). What sits
above the step keeps the page's margins; the phone is unchanged.
- `className` (string): 

## FlowRouteOptions

- `shop` (string, required): The shop's slug.
- `api` (FlowApi, required): 
- `capabilitySecret` (string, required): The server only secret the booking capability is derived from (createBookingRoute: the site key).
- `capabilityContext` (string): Sets one host's capabilities apart from another's under the same secret (CAPABILITY_CONTEXT).
- `operations` (readonly ("link" | "site" | "availability" | "quote" | "book" | "current" | "checkout" | "view" | "session" | "me" | "people" | "again" | "sign-out" | "prices" | "kind-availability" | "saved-trip-save" | "saved-trip" | "saved-trip-delete" | "held" | "asked-offer" | "asked-offer-answer" | "withdraw" | "share" | "rider-trip" | "code" | "code-check" | "password" | "payment-session" | "payment" | "pay-at-shop" | "damage-cover" | "departure-bikes" | "passkey-sign-in-options" | "passkey-sign-in" | "passkeys" | "passkey-options" | "passkey-add" | "passkey-rename" | "passkey-remove" | "trip" | "trip-options" | "trip-cancel" | "trip-pay" | "trip-rider" | "trip-waivers" | "trip-waiver-sign" | "trip-share" | "trip-asked-answer" | "trip-asked-withdraw" | "trip-payment-session")[]): The operations served (DEFAULT_ROUTE_OPERATIONS); list the payment ones to take payments.
- `origins` (readonly string[]): Other origins the site's pages are served from, when the request URL is not the public one.
- `allowOrigin` ((origin: string, request: Request) => boolean): Replaces the Origin check (the request URL's origin or one of `origins`), e.g. a same site rule.
- `basePath` (string): Where the route lives (`/api/outdoor-grid`); both cookies' Path.
- `cookies` ({ booking?: string; session?: string; }): The cookies' names (BOOKING_COOKIE, GUEST_SESSION_COOKIE).
- `now` (() => number): The clock in milliseconds (Date.now), for the session cookie's Max-Age.

## FlowRouterOptions

- `pathname` (string, required): `usePathname()`: the path now, without query or fragment.
- `push` ((href: string) => void, required): `useRouter().push`.
- `base` (string, required): The flow's base (`/book`).
- `paths` (Partial<Record<FlowPage, string>>): Other addresses for some pages; the rest keep FLOW_PATHS.
- `locales` (readonly string[]): Language prefixes kept in front (`/it/book/who`). Default en, it, de, fr.

## FlowStepProps

- `state` (GroupState, required): 
- `send` ((event: GroupEvent) => void, required): 
- `shop` (FlowShop, required): 
- `nameOf` ((id: string) => string): A product, kind or tour id to its name in the guest's language (the site read).
- `className` (string): 

## FreeProps

- `free` (FreeCount, required): The API's free words for a day, a kind or a departure.
- `unit` (string): What follows the number: "free", "seats", "e-bikes free". Empty for the number alone.
- `className` (string): 

## GearStageOwnProps

- `as` ("div" | "span"): The element drawn: a span when the stage sits inside a button (a closed kind's row).
- `style` (CSSProperties): 
- `still` (string, required): The still frame's address (the kind's `poster_url`). Null: the ground alone.
- `alt` (string): 
- `height` (number, required): Pixels; the stage fills its width.
- `stillWidth` (number): The still's drawn width in pixels (it overflows the stage, as on the boards).
- `spinning` (boolean): Shows "Spinning, drag to turn" while the site's model turns.
- `round` ("none" | "all" | "top"): Which corners are round: the top ones inside a card, all alone, none in a row.
- `children` (ReactNode): 
- `className` (string): 

## GearStageProps

- `still` (string, required): The still frame's address (the kind's `poster_url`). Null: the ground alone.
- `alt` (string): 
- `height` (number, required): Pixels; the stage fills its width.
- `stillWidth` (number): The still's drawn width in pixels (it overflows the stage, as on the boards).
- `spinning` (boolean): Shows "Spinning, drag to turn" while the site's model turns.
- `round` ("none" | "all" | "top"): Which corners are round: the top ones inside a card, all alone, none in a row.
- `children` (ReactNode): 
- `className` (string): 

## GuidePickProps

- `on` (boolean, required): 
- `onPick` (() => void, required): 
- `className` (string): 

## IconProps

- `name` ("bus" | "users" | "map-pin" | "store" | "clock" | "star" | "arrow-right" | "arrow-left" | "menu" | "globe" | "check" | "calendar" | "mountain" | "bike" | "wrench" | "shield-check" | "x" | "chevron-down" | "chevron-right" | "camera" | "phone" | "mail" | "rotate-3d" | "hand" | "info" | "external-link" | "sun" | "battery-charging" | "ruler" | "zap" | "hard-hat" | "route" | "timer" | "gauge" | "navigation" | "coffee" | "message-circle" | "key-round" | "lock" | "shopping-bag" | "move-horizontal" | "circle-check" | "ticket" | "credit-card", required): 
- `size` (number): 
- `stroke` (number): 
- `className` (string): 

## ItemPickerProps

- `items` (ItemView[], required): 
- `value` (string, required): 
- `onChange` ((id: string) => void, required): 
- `layout` ("list" | "table"): 
- `className` (string): 

## KindCardProps

- `kind` (RideKindView, required): 
- `on` (boolean, required): 
- `onPick` ((id: string) => void, required): 
- `look` (KindCardLook): 
- `stageHeight` (number): The stage's height in pixels: 178 open, 330 side by default.
- `stillWidth` (number): The still's drawn width in pixels: 262 open, 500 side by default.
- `className` (string): 

## KitBibProps

- `rider` (KitRider, required): 
- `riders` (readonly KitRider[], required): 
- `className` (string): 

## KitBoardProps

- `items` (readonly ({ fit_at_shop: boolean; for_kinds: string[]; for_tours: boolean; id: string; must: boolean; name: components["schemas"]["Words-Output"]; price_minor: number | null; product_id: string | null; recommended: boolean; rentable: boolean; sized_by: "height" | "head" | "none"; sizes: components["schemas"]["SiteKitSize"][]; } & { [key: string]: unknown; })[], required): W7-06 `kit`; null while the read is on its way.
- `extras` (readonly KitExtraView[]): The shop's extras with their words and price words (`kitExtraView` from W7-06 `extras`); none: no extras card.
- `riders` (readonly KitRider[], required): The group, in Who's order, with their fit, kinds, tour and days.
- `value` (KitPlan, required): 
- `onChange` ((value: KitPlan) => void, required): 
- `units` (Units): The guest's units (Who's switch): sizes and the head size are shown and typed in them.
- `kindNames` (Readonly<Record<string, string>>): The names of the kinds of ride (`booking.kinds`), for "For Backcountry".
- `kitTotal` (number): The kit's total from the quote (W7-07), minor units; null while it prices; leave out to hide it.
- `fullKitTotal` (number): Full kit for everyone's total from the quote, when the site asked it.
- `price` (string): The quote's price for the foot's summary, in words; null: none yet.
- `next` (PrimaryAction): The foot's Next (the site names the next step). Waits while a must is not settled.
- `onBack` (() => void): The foot's Back (computer).
- `defaultOpen` (KitOpen): The editor open at first (a gallery frame, a shared link).
- `children` (ReactNode): Drawn above the riders (the site's own line).
- `missing` (boolean): Next was pressed with a must left out: the must's circle (computer) and the rider's row (phone)
are marked missing (`data-og-missing`), so Next brings the guest there.
- `className` (string): 

## KitCellSheetProps

- `item` ({ fit_at_shop: boolean; for_kinds: string[]; for_tours: boolean; id: string; must: boolean; name: components["schemas"]["Words-Output"]; price_minor: number | null; product_id: string | null; recommended: boolean; rentable: boolean; sized_by: "height" | "head" | "none"; sizes: components["schemas"]["SiteKitSize"][]; } & { [key: string]: unknown; }, required): 
- `rider` (KitRider, required): 
- `riders` (readonly KitRider[], required): 
- `value` (KitPlan, required): 
- `onChange` ((value: KitPlan) => void, required): 
- `units` (Units): 
- `open` (boolean, required): 
- `onClose` (() => void, required): 
- `className` (string): 

## KitCircleProps

- `view` (KitCellView, required): 
- `label` (string, required): 
- `text` (string, required): 
- `onTap` (() => void): 
- `small` (boolean): 
- `pressed` (boolean): Draw as picked or not (the rider sheet's three circles).
- `className` (string): 

## KitCostProps

- `items` (readonly ({ fit_at_shop: boolean; for_kinds: string[]; for_tours: boolean; id: string; must: boolean; name: components["schemas"]["Words-Output"]; price_minor: number | null; product_id: string | null; recommended: boolean; rentable: boolean; sized_by: "height" | "head" | "none"; sizes: components["schemas"]["SiteKitSize"][]; } & { [key: string]: unknown; })[], required): 
- `days` (number, required): The trip's days the kit covers.
- `total` (number): The kit's total from the quote, minor units; null while it prices; undefined: not shown.
- `allFull` (boolean, required): 
- `fullTotal` (number): Full kit for everyone's price from the quote, when the site asked it; else the button has none.
- `onAll` (() => void, required): 
- `className` (string): 

## KitDecisionProps

- `title` (string, required): 
- `ways` ({ way: KitWayOut; kick: string; title: string; line: string; }[], required): 
- `onWay` ((way: KitWayOut) => void, required): 
- `onBack` (() => void, required): Closes the sheet on a phone; the foot still says what is missing.
- `className` (string): 

## KitExtrasProps

- `extras` (readonly KitExtraView[], required): 
- `riders` (readonly KitRider[], required): 
- `value` (KitPlan, required): 
- `onToggle` ((extra: KitExtraView) => void, required): 
- `head` ("none" | "title" | "label"): The heading as a big title (the phone's Extras) or a small label (the computer's side card);
`none` under a page title that already says Extras (W3 P4: no kit items).
- `className` (string): 

## KitGridProps

- `items` (readonly { id: string; name: string; note: string; must: boolean; rentable: boolean; }[], required): 
- `riders` (readonly { key: string; label: string; }[], required): 
- `kit` (Readonly<Record<string, Readonly<Record<string, KitChoice>>>>, required): 
- `onCell` ((rider: string, itemId: string) => void, required): 
- `sizes` (Readonly<Record<string, string>>): A size option's label ("M"), for a rented cell.
- `className` (string): 

## KitMenuPickerProps

- `rider` (string, required): 
- `value` (KitMenu, required): 
- `onPick` ((menu: KitMenu) => void, required): 
- `items` (readonly ({ fit_at_shop: boolean; for_kinds: string[]; for_tours: boolean; id: string; must: boolean; name: components["schemas"]["Words-Output"]; price_minor: number | null; product_id: string | null; recommended: boolean; rentable: boolean; sized_by: "height" | "head" | "none"; sizes: components["schemas"]["SiteKitSize"][]; } & { [key: string]: unknown; })[]): The shop's kit items: "Helmet only" says the must's name, and is left out with no must.
- `className` (string): 

## KitMenuPickProps

- `value` (KitMenu, required): 
- `items` (readonly ({ fit_at_shop: boolean; for_kinds: string[]; for_tours: boolean; id: string; must: boolean; name: components["schemas"]["Words-Output"]; price_minor: number | null; product_id: string | null; recommended: boolean; rentable: boolean; sized_by: "height" | "head" | "none"; sizes: components["schemas"]["SiteKitSize"][]; } & { [key: string]: unknown; })[], required): 
- `onPick` ((menu: KitMenu) => void, required): 
- `as` ("list" | "chips"): chips: the phone sheet's two by two; list: the computer's drop down.
- `className` (string): 

## KitRiderSheetProps

- `rider` (KitRider, required): 
- `riders` (readonly KitRider[], required): 
- `items` (readonly ({ fit_at_shop: boolean; for_kinds: string[]; for_tours: boolean; id: string; must: boolean; name: components["schemas"]["Words-Output"]; price_minor: number | null; product_id: string | null; recommended: boolean; rentable: boolean; sized_by: "height" | "head" | "none"; sizes: components["schemas"]["SiteKitSize"][]; } & { [key: string]: unknown; })[], required): 
- `value` (KitPlan, required): 
- `onChange` ((value: KitPlan) => void, required): 
- `onCell` ((item: SiteKitItem) => void, required): Opens a rented item's size (or head size).
- `open` (boolean, required): 
- `onClose` (() => void, required): 
- `className` (string): 

## KitSizeSheetProps

- `item` ({ fit_at_shop: boolean; for_kinds: string[]; for_tours: boolean; id: string; must: boolean; name: components["schemas"]["Words-Output"]; price_minor: number | null; product_id: string | null; recommended: boolean; rentable: boolean; sized_by: "height" | "head" | "none"; sizes: components["schemas"]["SiteKitSize"][]; } & { [key: string]: unknown; }, required): 
- `rider` (string, required): 
- `units` (Units, required): 
- `optionId` (string, required): 
- `fitAtShop` (boolean, required): 
- `onPick` ((optionId: string | null, fitAtShop: boolean) => void, required): 
- `onHead` ((cm: number | null) => void): 
- `onClose` (() => void, required): 
- `headCm` (number): The rider's head size now, in cm (an item sized by head).
- `className` (string): 

## KitStepProps

- `items` (readonly ({ fit_at_shop: boolean; for_kinds: string[]; for_tours: boolean; id: string; must: boolean; name: components["schemas"]["Words-Output"]; price_minor: number | null; product_id: string | null; recommended: boolean; rentable: boolean; sized_by: "height" | "head" | "none"; sizes: components["schemas"]["SiteKitSize"][]; } & { [key: string]: unknown; })[], required): The shop's kit items (W7-06 `kit`).
- `extras` (readonly KitExtraView[], required): The shop's extras on the trip's days, with their price words from the API (`kitExtraView`).
- `kindOf` ((productId: string) => string | null | undefined): A rented model's kind of ride (`booking.kinds`), for items only some kinds need.
- `kitTotal` (number): The kit's total from the quote (W7-07), minor units; null while it prices; leave out to hide it.
- `defaultOpen` (KitOpen): The editor open at first (a gallery frame, a shared link).
- `missing` (boolean): Next was pressed with a must left out: the board marks it missing, Next brings the guest there.
- `state` (GroupState, required): 
- `send` ((event: GroupEvent) => void, required): 
- `shop` (FlowShop, required): 
- `nameOf` ((id: string) => string): A product, kind or tour id to its name in the guest's language (the site read).
- `className` (string): 

## LevelPickProps

- `value` (string, required): 
- `onChange` ((level: string) => void, required): 
- `look` ("words" | "bars"): 
- `className` (string): 

## LevelsProps

- `value` (string, required): 
- `onChange` ((level: string) => void, required): 
- `className` (string): 

## ModelRailProps

- `models` (BikeModelView[], required): 
- `value` (string, required): The model in view.
- `riders` (BikeRiderView[], required): 
- `assign` (Record<string, string>, required): Rider key to the model they ride (null or missing: none; own bike riders are never here).
- `onPick` ((modelId: string) => void, required): 
- `layout` ("cards" | "chips"): Cards with a picture (computer) or chips you swipe (phone).
- `className` (string): 

## MountCheckoutOptions

- `loadStripe` (StripeLoader, required): 
- `openSession` ((signal: AbortSignal) => Promise<CheckoutSession>, required): GBF-30, with the site's one Idempotency-Key for this session. Aborted when the form goes.
- `onSession` ((session: CheckoutSessionShown) => void): The session opened (without its secret): the amount, the hold, the way.
- `onComplete` (() => void): Stripe says it is done: the site then reads GBF-31.
- `onState` ((state: Exclude<CheckoutMountState, "loading">) => void, required): ready once Stripe's form is in the element, failed when any part of the open fails or is late.
- `timeoutMs` (number): How long the open may take before it counts as failed; CHECKOUT_OPEN_MS when left out, Infinity for no limit.

## MyTripElementProps

- `title` (string): "Before your day" by default; null for no heading.
- `todos` (TodoView[], required): 
- `className` (string): 

## MyTripProps

- `todos` (TodoView[], required): 
- `className` (string): 

## NextFetchOptions

- `revalidate` (number | false): 
- `tags` (string[]): 

## NotSureProps

- `onClick` (() => void, required): 
- `large` (boolean): The computer's size (DBikeKind).
- `className` (string): 

## PartProps

- `className` (string): 

## PathRouterOptions

- `pathname` (string, required): The page's path now (`usePathname()`), without query or fragment.
- `push` ((href: string) => void, required): Goes to a path (`useRouter().push`).
- `paths` (Partial<Record<"kind" | "pay" | "when" | "who" | "sizes" | "extras" | "days", string>>, required): Each step's path, under `base`: `{ kind: "/book/bike", when: "/book/bike/dates", who: "/book/who" }`.
Two steps on one path read as the earlier one. A step with no path goes nowhere.
- `base` (string): A path in front of every path: `/book` with `{ who: "/who" }` is `/book/who`.
- `locales` (readonly string[]): The language prefixes the site uses (`/it/book/who`); a prefix in front is kept. Default en, it, de, fr.

## PayAsideProps

- `way` (PaymentWay, required): The way chosen: its amount is Today and on the button; at the shop says the shop's pay line.
- `lines` (TripLineView[], required): 
- `amounts` (PayAmounts, required): 
- `onPay` (() => void, required): 
- `busy` (boolean): 
- `disabled` (boolean): 
- `title` (string): "Your trip".
- `className` (string): 

## PayAtShopElementProps

- `lines` (TripLineView[], required): 
- `layout` ("stack" | "side"): stack: the phone (MPay); side: the computer's form, the trip in the TripAside beside it (DPay).
- `className` (string): 
- `totalMinor` (number, required): 
- `lead` (BookingLead, required): 
- `onLead` ((patch: Partial<BookingLead>) => void, required): 
- `errors` (Partial<Record<keyof BookingLead, string>>): 
- `consent` (boolean, required): 
- `onConsent` ((on: boolean) => void, required): 
- `shopName` (string, required): 
- `termsHref` (string): 
- `promo` (PromoCodeProps): 
- `payNote` (string): "Nothing to pay now. Pay at the shop when you pick up: cash or card."

## PayAtShopProps

- `lead` (BookingLead, required): 
- `onLead` ((patch: Partial<BookingLead>) => void, required): 
- `errors` (Partial<Record<keyof BookingLead, string>>): 
- `consent` (boolean, required): 
- `onConsent` ((on: boolean) => void, required): 
- `shopName` (string, required): 
- `termsHref` (string): 
- `lines` (SummaryLine[], required): 
- `totalMinor` (number, required): 
- `promo` (PromoCodeProps): 
- `payNote` (string): "Nothing to pay now. Pay at the shop when you pick up: cash or card."
- `className` (string): 

## PayCheckoutProps

- `shopName` (string, required): 
- `way` ("full" | "deposit", required): The way being paid now.
- `lines` (PayLineView[], required): 
- `totalMinor` (number, required): 
- `nowMinor` (number, required): Paid today (the session's amount).
- `restMinor` (number): Left for pick up, as the site has it from the quote; 0 or null: nothing left.
- `depositMinor` (number): The quote's deposit, for the phone's Deposit tile.
- `pickupDay` (string, required): The first pick up day, YYYY-MM-DD.
- `cancelText` (string): The shop's own cancel words.
- `onBack` (() => void): Back to the plan.
- `state` ({ can_pay_at_shop: boolean; currency: string; declined_reason: ("card_declined" | "authentication_failed" | "expired_card" | "other") | null; due_now_minor: number; hold_expires_at: string | null; paid_minor: number; reference: string; status: "held" | "paid" | "expired" | "declined"; view_token: string | null; } & { [key: string]: unknown; }): GBF-31 after a try: declined draws the "Your trip is kept" card.
- `timeZone` (string, required): The shop's zone, for the hold's time.
- `today` (string): The shop's today (YYYY-MM-DD): a hold ending on another day says the day.
- `onPayAtShop` (() => void): Switch to paying at the shop (GBF-32); shown after a decline when the state allows it.
- `payAtShopBusy` (boolean): 
- `ways` (readonly PaymentWay[]): The phone's toggle: the shop's ways. A new way is a new session (remount the slot with a key).
- `onWay` ((way: PaymentWay) => void): 
- `checkout` (ReactNode, required): Stripe's form: a StripeCheckout.
- `layout` ("stack" | "side"): side: the computer, the trip beside Stripe (B to D); stack: the phone (8A).
- `className` (string): 

## PayChoiceProps

- `ways` (readonly PaymentWay[], required): The shop's ways, in order (paymentWays).
- `value` (PaymentWay, required): 
- `onChange` ((way: PaymentWay) => void, required): 
- `amounts` (PayAmounts, required): 
- `depositPercent` (number): The shop's deposit %: "30% today". Left out: "Part today".
- `cancelText` (string): The shop's own cancel words, under the options (side only).
- `layout` ("stack" | "side"): side: the computer's radio cards with the heading (Pay A); stack: the phone's tiles (8A).
- `className` (string): 

## PaymentReturnProps

- `view` (CheckoutView, required): checkoutView(state, tries): useCheckoutState's `view`.
- `state` ({ can_pay_at_shop: boolean; currency: string; declined_reason: ("card_declined" | "authentication_failed" | "expired_card" | "other") | null; due_now_minor: number; hold_expires_at: string | null; paid_minor: number; reference: string; status: "held" | "paid" | "expired" | "declined"; view_token: string | null; } & { [key: string]: unknown; }): GBF-31's answer; null while the first read is on its way.
- `timeZone` (string, required): The shop's zone, for the hold's time.
- `today` (string): The shop's today (YYYY-MM-DD): a hold ending on another day says the day.
- `onAgain` (() => void): Waiting: read GBF-31 again (useCheckoutState's `again`).
- `onPlan` (() => void): Expired: back to the plan to check it again.
- `onRetry` (() => void): Declined: back to Pay for a new try.
- `onPayAtShop` (() => void): Declined, when the state allows it: pay at the shop instead (GBF-32).
- `busy` (boolean): 
- `className` (string): 

## PeopleStepperProps

- `label` (string, required): 
- `sub` (string): 
- `value` (number, required): 
- `min` (number): 
- `max` (number): 
- `onChange` ((n: number) => void, required): 
- `className` (string): 

## PhoneFieldProps

- `label` (string, required): 
- `value` (string, required): What the field keeps: "+39 340 326 0080", or a number with no country as it was given.
- `onChange` ((value: string) => void, required): 
- `country` (string): The shop's ISO country (the site read's `shop.country_code`); left out: the look's.
- `error` (string): 
- `missing` (boolean): The first field a waiting action brings the guest to (`data-og-missing`).
- `name` (string): 
- `className` (string): 

## PlanBoardProps

- `plan` (Plan, required): 
- `panel` (PlanPanel, required): 
- `onTap` (PlanTap): A tap on a bar, an empty cell or a phone line: the caller opens the change (`changeFor`).
- `bad` (PlanTarget): A cell ringed in the bad colour: the clash on the sheet, a line taken while booking.
- `checked` ("checking" | "ok"): The check of bikes, sizes and seats for the plan: on its way, done; null: not shown.
- `receipt` (Omit<PlanCostsProps, "className" | "action">, required): What it costs, from the API's quote.
- `sheet` (Omit<PlanSheetProps, "className" | "plan" | "target" | "change" | "focusRef">): The change sheet's own props, when the panel is a change.
- `who` (Omit<WhoBooksFormProps, "className" | "action" | "due" | "why">): Who books it, when the panel is who.
- `due` (PlanDue): What is paid when the action is pressed; left out: the quote's total.
- `action` (PrimaryAction): The one action: Book it (opens who books it), then Book it or Next: pay.
- `second` (PrimaryAction): (Additive, one cart.) What it costs only: a second way under the action, outlined (Book it now under Add to
cart), and why the action did not go through. Left out: the one action, as before.
- `alert` (string): 
- `toast` (string): The bar's words: what just happened; left out while changing: "Editing Lena and Tom on Thursday".
- `onUndo` (() => void): Undo the last change, while it shows.
- `footNote` (string): The bar's right side on a computer: "Pay at the shop".
- `why` (string): Why the action waits (who books it), beside it on both widths and said out loud.
- `icons` (Partial<Record<PlanKind, "bus" | "users" | "map-pin" | "store" | "clock" | "star" | "arrow-right" | "arrow-left" | "menu" | "globe" | "check" | "calendar" | "mountain" | "bike" | "wrench" | "shield-check" | "x" | "chevron-down" | "chevron-right" | "camera" | "phone" | "mail" | "rotate-3d" | "hand" | "info" | "external-link" | "sun" | "battery-charging" | "ruler" | "zap" | "hard-hat" | "route" | "timer" | "gauge" | "navigation" | "coffee" | "message-circle" | "key-round" | "lock" | "shopping-bag" | "move-horizontal" | "circle-check" | "ticket" | "credit-card">>): The shop's own icons for its things (a ski shop's skis).
- `answer` (ShopAnswer): When the shop answers an asked line (core shopAnswerOf on W7-05 `booking.flow`); left out:
"the shop answers".
- `cover` (Omit<DamageCoverOfferProps, "className">): Damage cover for the trip (board GuestKitCover), one line under the plan on every width;
left out or with no offers: nothing shows.
- `sharedWith` (string): (Additive, job H1c.) The shop's name when the riding atlas sent the guest: under the plan on
every width, what goes to the shop with this booking and what never does. Left out: nothing.
- `className` (string): 

## PlanCostsProps

- `lines` (SummaryLine[], required): The quote's lines ("4 bikes, 12 bike days"), from the API.
- `totalMinor` (number, required): 
- `pricing` (boolean): The quote is on its way: the amounts wait.
- `note` (string): Under the total: "Nothing to pay now. Pay at the shop when you pick up."
- `waiting` (string): Said instead of the total when there is none to wait for (a trip refused as it stands).
- `action` (PrimaryAction): 
- `second` (PrimaryAction): (Additive, one cart.) A second way under the action, outlined (a shop with the store: Book it now under Add to
cart). Left out: the one action.
- `alert` (string): (Additive, one cart.) Why the action did not go through, over it and said out loud. Left out: nothing.
- `className` (string): 

## PlanDayListProps

- `state` (GroupState, required): 
- `onDay` ((date: string, riders?: readonly string[]) => void, required): 
- `look` (PlanLook): 
- `icons` (Partial<Record<PlanKind, "bus" | "users" | "map-pin" | "store" | "clock" | "star" | "arrow-right" | "arrow-left" | "menu" | "globe" | "check" | "calendar" | "mountain" | "bike" | "wrench" | "shield-check" | "x" | "chevron-down" | "chevron-right" | "camera" | "phone" | "mail" | "rotate-3d" | "hand" | "info" | "external-link" | "sun" | "battery-charging" | "ruler" | "zap" | "hard-hat" | "route" | "timer" | "gauge" | "navigation" | "coffee" | "message-circle" | "key-round" | "lock" | "shopping-bag" | "move-horizontal" | "circle-check" | "ticket" | "credit-card">>): 
- `answer` (ShopAnswer): When the shop answers an asked line (core shopAnswerOf on W7-05 `booking.flow`); left out:
"the shop answers".
- `className` (string): 

## PlanDaysProps

- `plan` (Plan, required): 
- `marked` (PlanChange): The change on the sheet: the lines of its riders on its days are marked.
- `only` (readonly string[]): Only these days (the sheet's day on a phone, 7B); left out: every day.
- `onTap` (PlanTap): 
- `icons` (Partial<Record<PlanKind, "bus" | "users" | "map-pin" | "store" | "clock" | "star" | "arrow-right" | "arrow-left" | "menu" | "globe" | "check" | "calendar" | "mountain" | "bike" | "wrench" | "shield-check" | "x" | "chevron-down" | "chevron-right" | "camera" | "phone" | "mail" | "rotate-3d" | "hand" | "info" | "external-link" | "sun" | "battery-charging" | "ruler" | "zap" | "hard-hat" | "route" | "timer" | "gauge" | "navigation" | "coffee" | "message-circle" | "key-round" | "lock" | "shopping-bag" | "move-horizontal" | "circle-check" | "ticket" | "credit-card">>): 
- `answer` (ShopAnswer): When the shop answers an asked line (core shopAnswerOf); left out: "the shop answers".
- `className` (string): 

## PlanDecisionProps

- `clash` (PlanClash, required): 
- `className` (string): 

## PlanGridProps

- `plan` (Plan, required): 
- `marked` (PlanChange): The change on the sheet: its riders' cells on its days are marked.
- `bad` (PlanTarget): A cell that clashes (a size gone): ringed in the theme's bad colour.
- `onTap` (PlanTap): Tapping a bar or an empty cell. Left out: the plan is read only.
- `icons` (Partial<Record<PlanKind, "bus" | "users" | "map-pin" | "store" | "clock" | "star" | "arrow-right" | "arrow-left" | "menu" | "globe" | "check" | "calendar" | "mountain" | "bike" | "wrench" | "shield-check" | "x" | "chevron-down" | "chevron-right" | "camera" | "phone" | "mail" | "rotate-3d" | "hand" | "info" | "external-link" | "sun" | "battery-charging" | "ruler" | "zap" | "hard-hat" | "route" | "timer" | "gauge" | "navigation" | "coffee" | "message-circle" | "key-round" | "lock" | "shopping-bag" | "move-horizontal" | "circle-check" | "ticket" | "credit-card">>): 
- `answer` (ShopAnswer): When the shop answers an asked line (core shopAnswerOf); left out: "the shop answers".
- `className` (string): 

## PlanLegendProps

- `plan` (Plan, required): 
- `icons` (Partial<Record<PlanKind, "bus" | "users" | "map-pin" | "store" | "clock" | "star" | "arrow-right" | "arrow-left" | "menu" | "globe" | "check" | "calendar" | "mountain" | "bike" | "wrench" | "shield-check" | "x" | "chevron-down" | "chevron-right" | "camera" | "phone" | "mail" | "rotate-3d" | "hand" | "info" | "external-link" | "sun" | "battery-charging" | "ruler" | "zap" | "hard-hat" | "route" | "timer" | "gauge" | "navigation" | "coffee" | "message-circle" | "key-round" | "lock" | "shopping-bag" | "move-horizontal" | "circle-check" | "ticket" | "credit-card">>): 
- `className` (string): 

## PlanReceiptProps

- `quote` ({ add_ons?: components["schemas"]["SiteQuoteAddOn"][]; asked?: components["schemas"]["SiteQuoteAsked"][] | null; at_shop_minor: number; currency: string; days: number; deposit_minor: number; extras?: components["schemas"]["SiteQuoteExtra"][]; first_day: string; lines: components["schemas"]["SiteQuoteLine"][]; next: "done" | "pay_deposit" | "pay_full" | "requested"; ok: true; payment_choice: ("deposit" | "full" | "at_shop") | null; promo?: components["schemas"]["PublicPromo"] | null; riders?: components["schemas"]["SiteQuoteRider"][] | null; services?: components["schemas"]["SiteQuoteService"][]; shared?: components["schemas"]["SiteQuoteShared"] | null; total_minor: number; }, required): 
- `riderName` ((key: string) => string, required): A rider key to their name.
- `action` (PrimaryAction): The one action under the total (Book it).
- `className` (string): 

## PlanSheetProps

- `plan` (Plan, required): 
- `target` (PlanTarget, required): What was tapped: its rider comes first among Who.
- `change` (PlanChange, required): 
- `onChange` ((change: PlanChange) => void, required): 
- `onClose` (() => void, required): 
- `onApply` (() => void, required): Apply (or the picked way of a clash). Done by the caller, then the sheet closes.
- `halfDays` (readonly string[]): The days the shop offers half days on (W7-06 `periods`); left out: every day.
- `item` (string): The bike line, when the change holds a bike: "Shuttle LT, M and L".
- `onOtherItem` (() => void): "Other bike": back to the bikes for these riders. Left out: no link.
- `price` (PlanPrice): 
- `clash` (PlanClash): 
- `busy` (boolean): Apply is being done (a quote, a re-check).
- `id` (string): The sheet's id, for the bar that opened it (aria-controls).
- `focusRef` ((node: HTMLDivElement | null) => void): The sheet's node as it comes and goes (PlanBoard moves the focus in and back with it). Left
out, the sheet does it itself (ChangeSheet).
- `className` (string): 

## PlanStepProps

- `quote` ({ add_ons?: components["schemas"]["SiteQuoteAddOn"][]; asked?: components["schemas"]["SiteQuoteAsked"][] | null; at_shop_minor: number; currency: string; days: number; deposit_minor: number; extras?: components["schemas"]["SiteQuoteExtra"][]; first_day: string; lines: components["schemas"]["SiteQuoteLine"][]; next: "done" | "pay_deposit" | "pay_full" | "requested"; ok: true; payment_choice: ("deposit" | "full" | "at_shop") | null; promo?: components["schemas"]["PublicPromo"] | null; riders?: components["schemas"]["SiteQuoteRider"][] | null; services?: components["schemas"]["SiteQuoteService"][]; shared?: components["schemas"]["SiteQuoteShared"] | null; total_minor: number; }, required): The quote of the trip as it stands (W7-07); null while it loads. Prices only from here.
- `onBook` (() => void, required): 
- `busy` (boolean): 
- `bookWait` (string): (Additive, W3 review.) Why Book it waits: the price on screen is not yet the price of what it would
send (a newer basket is pricing). Book it is disabled and says this beside it. Left out: it does not wait.
- `look` (PlanLook): The catalog's words for the bars (names, sizes, times); `nameOf` is the step's own.
- `icons` (Partial<Record<PlanKind, "bus" | "users" | "map-pin" | "store" | "clock" | "star" | "arrow-right" | "arrow-left" | "menu" | "globe" | "check" | "calendar" | "mountain" | "bike" | "wrench" | "shield-check" | "x" | "chevron-down" | "chevron-right" | "camera" | "phone" | "mail" | "rotate-3d" | "hand" | "info" | "external-link" | "sun" | "battery-charging" | "ruler" | "zap" | "hard-hat" | "route" | "timer" | "gauge" | "navigation" | "coffee" | "message-circle" | "key-round" | "lock" | "shopping-bag" | "move-horizontal" | "circle-check" | "ticket" | "credit-card">>): 
- `halfDays` (readonly string[]): The days the shop rents half days on (W7-06 `periods`); left out: every day.
- `draft` ({ difference: number | null; refusal?: PlanRefusal | null; }): The change on the sheet as quoted by the caller: the difference from the quote now, or a refusal.
- `onDraft` ((events: readonly GroupEvent[] | null) => void): The change on the sheet as the group's events, to quote; null when the sheet closes.
- `taken` ({ can_ask?: boolean | null; can_save?: boolean | null; error: "lines_unavailable"; lines: components["schemas"]["PublicUnavailableLine"][]; ok: false; }): The booking was refused a line (taken while booking): the decision card on who books it.
- `noPrice` (string): R5-flow: why there is no price (the quote failed, the shop refused the trip, nothing to book):
said where the price goes and beside Book it, which waits. Null while it prices.
- `onWay` ((way: PlanWay, change?: readonly GroupEvent[]) => void): A way out picked: a neighbour size or a stand in, or ask the shop. Keep only closes. On the
change sheet `change` is the change the way was asked for, as the group's events: send them
with the way's, worked out on the trip they make (`planWayEventsOf`).
- `onOtherItem` ((riders: readonly string[]) => void): "Other bike": back to the bikes for these riders.
- `termsHref` (string): 
- `rentalTerms` (Omit<TermsSheetProps, "open" | "onClose">): (Additive, QA night 24 Oct S-17.) The shop's rental terms: "rental terms" opens them in a sheet
(TermsSheet) instead of following `termsHref`. Left out: the link as before.
- `accounts` (boolean): The shop takes accounts at booking (W7-05 `booking.flow.accounts`).
- `country` (string): The shop's ISO country (the site read's `shop.country_code`): the phone's country to start.
- `answer` (ShopAnswer): When the shop answers an asked line (core shopAnswerOf on W7-05 `booking.flow`); left out:
"the shop answers".
- `cover` (Omit<DamageCoverOfferProps, "className">): Damage cover (API return check section 5, board GuestKitCover): the trip's covers, ticked or
not, and the cover's price for the trip; the tick goes out as the caller's (GuestBookingFlow
sends the group's `cover` event). While ticked, the quote's own price for it (`trip.quoted`) is
one "Damage cover" line on the receipt and in the total: the cover is added to the booking once
it is made, so the quote's total leaves it out. Left out or no offers: nothing shows.
- `openWho` (boolean): (Additive, G10.) The trip was brought back after a reload with who books it typed: Plan opens
on who books it, as the guest left it. Read when the step mounts.
- `sharedWith` (string): (Additive, job H1c.) The shop's name when the riding atlas sent the guest (`source` atlas): Plan,
the step before Pay, lists what goes to the shop with this booking. Left out: nothing shows.
- `account` (WhoBooksAccount): (Additive, W2 walk.) The signed-in guest's card: its name (when the booking rider has none),
email and phone fill who books it's empty fields as it opens. Left out: only the rider's name.
- `cart` ({ onAdd: () => void; busy?: boolean; failed?: string | null; }): (Additive, one cart.) A shop with the store and a trip its cart can hold: what it costs offers Add to cart (the
one primary action, `onAdd`) with Book it now under it (who books it, as before). `busy` while it goes in;
`failed` says why it did not. Left out: Book it alone, as before.
- `state` (GroupState, required): 
- `send` ((event: GroupEvent) => void, required): 
- `shop` (FlowShop, required): 
- `nameOf` ((id: string) => string): A product, kind or tour id to its name in the guest's language (the site read).
- `className` (string): 

## PlanTimelineProps

- `state` (GroupState, required): 
- `selected` ({ rider: string; date: string; }): 
- `bad` ({ rider: string; date: string; }): A cell with a problem (a clash).
- `onCell` ((rider: string, date: string) => void, required): 
- `look` (PlanLook): The catalog's words for the bars (names, sizes, times); left out: the ids.
- `icons` (Partial<Record<PlanKind, "bus" | "users" | "map-pin" | "store" | "clock" | "star" | "arrow-right" | "arrow-left" | "menu" | "globe" | "check" | "calendar" | "mountain" | "bike" | "wrench" | "shield-check" | "x" | "chevron-down" | "chevron-right" | "camera" | "phone" | "mail" | "rotate-3d" | "hand" | "info" | "external-link" | "sun" | "battery-charging" | "ruler" | "zap" | "hard-hat" | "route" | "timer" | "gauge" | "navigation" | "coffee" | "message-circle" | "key-round" | "lock" | "shopping-bag" | "move-horizontal" | "circle-check" | "ticket" | "credit-card">>): 
- `answer` (ShopAnswer): When the shop answers an asked line (core shopAnswerOf on W7-05 `booking.flow`); left out:
"the shop answers".
- `className` (string): 

## PromoCodeProps

- `promo` (PromoState, required): 
- `onOpen` (() => void, required): 
- `onCode` ((code: string) => void, required): 
- `onApply` (() => void, required): 
- `onRemove` (() => void, required): 
- `className` (string): 

## RideKindPickerProps

- `kinds` (RideKindView[], required): 
- `value` (string, required): 
- `onChange` ((id: string) => void, required): 
- `layout` ("stack" | "side"): 
- `onNotSure` (() => void): Opens the Finder; leave out when the shop has no finder. Draws the "Not sure?" tile.
- `className` (string): 

## RidePhotosProps

- `photos` (readonly TourPhoto[], required): 
- `defaultAt` (number): The photo shown first on a phone (0 based).
- `className` (string): 

## RiderBibProps

- `n` (number, required): 1 based.
- `rider` (WhoRider, required): 
- `units` (Units, required): 
- `place` (string): 
- `askOwn` (boolean): (W3 P4, additive.) Ask "Brings own {item}": only when the trip rents. Default true.
- `onRider` ((patch: Partial<WhoRider>) => void, required): 
- `className` (string): 

## RiderCardOwnProps

- `name` (string): The rider's name, when the shop asks it here ("Later is fine"). The field shows with `onName`.
- `onName` ((name: string) => void): 
- `onWeight` ((kg: number | null) => void): The rider's weight in kilograms, for the bike's setup. The field shows with `onWeight`.
- `n` (number, required): 
- `rider` (RiderView, required): 
- `you` (boolean): 
- `open` (boolean): 
- `size` (string): The size picked, shown on the closed row.
- `onHeight` ((cm: number | null) => void, required): 
- `onLevel` ((level: string) => void, required): 
- `onOpen` (() => void): 
- `extra` (ReactNode): 
- `problem` (string): The reason it is not ready, once the guest pressed Next.
- `className` (string): 

## RiderCardProps

- `n` (number, required): 
- `rider` (RiderView, required): 
- `you` (boolean): 
- `open` (boolean): 
- `size` (string): The size picked, shown on the closed row.
- `onHeight` ((cm: number | null) => void, required): 
- `onLevel` ((level: string) => void, required): 
- `onOpen` (() => void): 
- `extra` (ReactNode): 
- `problem` (string): The reason it is not ready, once the guest pressed Next.
- `className` (string): 

## RiderChipsProps

- `riders` (readonly RiderChipView[], required): 
- `onToggle` ((key: string) => void, required): 
- `note` (string): Under the chips (`5 of 6 seats`, `Lena and Tom ride on their own`).
- `label` (string): (Stitch, optional.) The group's name for a screen reader; "Who it is for" when left out.
- `className` (string): 

## RiderRowProps

- `n` (number, required): 
- `rider` (WhoRider, required): 
- `units` (Units, required): 
- `onOpen` (() => void, required): 
- `className` (string): 

## RiderSheetProps

- `open` (boolean, required): 
- `onClose` (() => void, required): 
- `n` (number, required): 
- `rider` (WhoRider, required): 
- `units` (Units, required): 
- `onUnits` ((units: Units) => void, required): 
- `place` (string): 
- `askOwn` (boolean): (W3 P4, additive.) Ask "Brings own {item}": only when the trip rents. Default true.
- `onRider` ((patch: Partial<WhoRider>) => void, required): 
- `onNext` (() => void): Next rider; absent on the last, where the button says Done and closes.
- `className` (string): 

## RiderSizePicksProps

- `model` (BikeModelView, required): 
- `riders` (BikeRiderView[], required): The riders on this model.
- `picks` (Record<string, BikeSizePick>, required): Each rider's size on it (picksOn).
- `onSize` ((riderKey: string, optionId: string) => void, required): 
- `missing` (readonly string[]): The riders Next waits on for a size: their row says so and takes the focus.
- `units` (BikeUnits): Heights in cm (the default) or ft and in.
- `className` (string): 

## RiderSizeRowProps

- `rider` (BikeRiderView, required): 
- `model` (BikeModelView, required): 
- `pick` (BikeSizePick, required): 
- `onSize` ((optionId: string) => void, required): 
- `compact` (boolean): A phone's sheet row: the name and the size chips only.
- `units` (BikeUnits): Heights in cm (the default) or ft and in.
- `className` (string): 

## RiderTripPageProps

- `trip` ({ bring: components["schemas"]["Words-Output"][]; days: components["schemas"]["RiderTripDay"][]; expires_at: string; level: string | null; own_bike: { [key: string]: string | null; } | null; pickup: components["schemas"]["RiderTripPlace"] | null; reference: string; rider: string | null; shop: components["schemas"]["RiderTripShop"]; } & { [key: string]: unknown; }, required): 
- `timeZone` (string): (Stitch, optional.) The shop's IANA zone for the tours' times and the link's last day; UTC when left out.
- `className` (string): 

## RideSheetProps

- `tour` ({ content?: components["schemas"]["TourContent"] | null; departures: components["schemas"]["SiteDeparture"][]; id: string; kind: "group_tour" | "private_tour" | "shuttle" | "transfer" | "lesson"; name: components["schemas"]["Words-Output"]; new_groups?: components["schemas"]["SiteNewGroup"][] | null; schedule?: components["schemas"]["Words-Output"] | null; slug: string; text?: components["schemas"]["Words-Output"] | null; }, required): 
- `onClose` (() => void, required): 
- `take` ({ label: string; onTake: () => void; }): Takes the time the button names for the group, then closes.
- `photos` (readonly TourPhoto[]): The site's own photos of the tour; they win over the catalog's.
- `defaultPhoto` (number): The photo shown first on a phone (0 based; a gallery frame).
- `className` (string): 

## RunningShortProps

- `days` (readonly string[], required): The short days, YYYY-MM-DD in the shop's zone, in order: said once, as a detail.
- `free` (number, required): How many of the trip's bikes the shop has (0 or more).
- `of` (number, required): How many bikes the trip needs: every rider who rents.
- `noneElse` (boolean): "No other size or bike is free then either.": neighbour sizes and stand-ins are gone too.
- `onAsk` (() => void): Book the free bikes now, the rest on the waitlist. Null when the shop takes no asks.
- `onRequest` (() => void): Send the request to the shop: the trip goes as a request, nothing paid now. Null: not offered.
- `onSave` (() => void): Save the trip, finish later (opens SaveTripSheet). Null when the shop keeps no saved trips.
- `picked` (ShortWay): The way the guest picked; the pick colours follow it.
- `busy` (boolean): Waiting for the server: the ways take no press.
- `answer` (ShopAnswer): When the shop answers (core shopAnswerOf on W7-05 `booking.flow`); null: a neutral line.
- `className` (string): 

## SavedRidersProps

- `riders` (readonly SavedRiderView[], required): 
- `picked` (readonly string[], required): 
- `onToggle` ((id: string) => void, required): 
- `units` (Units, required): 
- `since` (string): "July": when they last booked. Absent: "from last time".
- `onAddNew` (() => void): Shows "Add a new rider".
- `className` (string): 

## SaveTripSheetProps

- `open` (boolean, required): 
- `onClose` (() => void, required): 
- `email` (string, required): The address, held by the host (a lead's email it already has fills it).
- `onEmail` ((email: string) => void, required): 
- `onSave` ((email: string) => Promise<SavedTripSavedAnswer>, required): GBF-10 with the host's Idempotency-Key: the trip, the people, the step and this address.
- `timeZone` (string, required): The shop's zone (IANA), for the link's last day.
- `start` (SaveTripState): Where the sheet starts (the gallery draws each state); the form by default.
- `className` (string): 

## SeatDecisionProps

- `title` (string, required): 
- `ways` ({ way: WayOut; kick: string; title: string; line: string; }[], required): 
- `onWay` ((way: WayOut) => void, required): 
- `onBack` (() => void, required): 
- `missing` (boolean): Next waits on a way out: marked missing, Next brings the guest here.
- `className` (string): 

## ShareTripProps

- `riders` (readonly ShareRiderView[], required): The riders to send to, in Who's order; the site leaves the booker out.
- `locale` ("en" | "it" | "de" | "fr", required): The language of the riders' emails.
- `onShare` ((body: TripShareBody) => Promise<TripSharedAnswer>, required): The site calls GBF-60 with this body and its own Idempotency-Key, once per call.
- `copy` ((text: string) => Promise<void>): Copies text; left out: the browser's clipboard.
- `timeZone` (string, required): The shop's IANA zone for the links' end day.
- `initial` (Partial<ShareState>): Where the card starts (the gallery draws each state; a site leaves it out).
- `send` ("primary" | "outline"): (Additive.) The send button's style: the primary by default; `outline` on a page whose one
primary is elsewhere (the confirmed page's Open my trip).
- `rents` (boolean): (W3 P4, additive.) The trip rents something: the line names the gear and its size. False (a
guided walk): "their own days and where to be". Default true.
- `className` (string): 

## SheetProps

- `open` (boolean, required): 
- `onClose` (() => void, required): 
- `title` (string, required): The sheet's name for screen readers and its title row.
- `as` ("auto" | "sheet" | "pop"): pop: the desktop header popover; sheet: the phone's bottom sheet. Both are drawn by CSS per width when "auto".
- `children` (ReactNode, required): 
- `className` (string): 

## ShopBarProps

- `logo` (ReactNode): The shop's mark, usually a link home.
- `children` (ReactNode): The site's own navigation; hidden below 768px (the site's menu takes over).
- `end` (ReactNode): After the sign in pill: the language, the trip button.
- `account` (ShopBarAccount): The guest: signed out shows "Sign in" (with `onSignIn`), signed in shows their name. Null: no pill.
- `className` (string): 

## ShortDayCardProps

- `short` (ShortDay, required): 
- `canAsk` (boolean, required): The shop takes asked lines (W7-05 `booking.flow.can_ask`).
- `onSave` (() => void): Save the trip and finish later, when the shop keeps saved trips (`can_save`) and the page can.
- `change` (ShortChange, required): End the day before, start the day after, or skip the day; null when the trip is that one day.
- `onAsk` ((day: string) => void, required): 
- `onChange` ((change: ShortChange) => void, required): 
- `look` ("sheet" | "card"): card: the computer's panel; sheet: the phone's options, each with its small label.
- `title` (boolean): The sheet's title is the sheet's own; the card says it.
- `className` (string): 

## SignInPromptProps

- `onSignIn` (() => void, required): 
- `onDismiss` (() => void): Shows "No thanks" (computer).
- `className` (string): 

## SignInSheetProps

- `open` (boolean, required): 
- `onClose` (() => void, required): 
- `sendCode` ((email: string) => Promise<unknown>, required): GBF-20: email a code. Resolves when sent (always, for any email).
- `checkCode` ((email: string, code: string) => Promise<unknown>, required): GBF-21: check the 6 digits. Resolves when signed in.
- `signIn` ((email: string, password: string) => Promise<unknown>, required): GBF-22: email and password. Resolves when signed in.
- `onSignedIn` (() => void, required): Signed in: after checkCode or signIn resolved (and the passkey offer, when there is one, was
answered or closed), or after passkeySignIn resolved.
- `passkeySignIn` (() => Promise<unknown>): GP-01 and GP-02 with the browser's window: shows "Sign in with a passkey" (a neutral button
beside the code and the password; the code stays the primary). Pass it only when the site turns
passkeys on and the browser can. Resolves when signed in.
- `addPasskey` (() => Promise<unknown>): GP-04 and GP-05 with the browser's window: after a code or password sign in the sheet offers
"Add a passkey" or "Not now". Pass it only when passkeys are on, the browser can and the guest
has not said Not now on this device lately.
- `onPasskeyLater` (() => void): "Not now" on the offer (or closing it): the site remembers it for this device.
- `onPasskeyAbort` (() => void): Stops the browser's passkey window when the sheet closes.
- `initial` (Partial<SignInState>): Where the sheet starts (the gallery draws each state; a site may prefill the email).
- `className` (string): 

## SizeAwayProps

- `rider` (BikeRiderView, required): 
- `model` (BikeModelView, required): 
- `pick` (BikeSizePick, required): 
- `units` (BikeUnits): Heights in cm (the default) or ft and in.
- `className` (string): 

## SizeChartProps

- `sizes` (readonly { label: string; best: [number, number]; fits: [number, number]; }[], required): 
- `riders` (readonly { key: string; label: string; height: number; size?: string | null; }[], required): `label`: what the mark says ("Marco 178"). `size`: the size label the rider gets, when known.
- `units` ("metric" | "imperial"): The scale's words in cm (the default) or ft and in; the bands stay in cm.
- `className` (string): 

## SizeFromHeightProps

- `n` (number, required): 
- `model` (string, required): "E-bike".
- `height` (number, required): 
- `sizes` ({ id: string; label: string; free?: FreeCount | null; }[], required): 
- `fits` (string, required): The size the chart gives for the height (dashed when not picked).
- `value` (string, required): 
- `onChange` ((id: string) => void, required): 
- `className` (string): 

## StandInProps

- `model` (string, required): The model running short.
- `left` (number, required): How many are left on the short day, and how many of you want it.
- `wanted` (number, required): 
- `shortDays` (string[], required): The short days (YYYY-MM-DD) and the days that are fine.
- `fineDays` (string[], required): 
- `offers` (StandInOffer[], required): 
- `value` (string, required): 
- `onPick` ((offerId: string) => void, required): 
- `answer` (ShopAnswer): When the shop answers an ask (W7-05 `booking.flow`, read with shopAnswerOf): "The shop answers
within 12 hours". Null or left out: a neutral line.
- `className` (string): 

## StatusElementProps

- `icon` ("bus" | "users" | "map-pin" | "store" | "clock" | "star" | "arrow-right" | "arrow-left" | "menu" | "globe" | "check" | "calendar" | "mountain" | "bike" | "wrench" | "shield-check" | "x" | "chevron-down" | "chevron-right" | "camera" | "phone" | "mail" | "rotate-3d" | "hand" | "info" | "external-link" | "sun" | "battery-charging" | "ruler" | "zap" | "hard-hat" | "route" | "timer" | "gauge" | "navigation" | "coffee" | "message-circle" | "key-round" | "lock" | "shopping-bag" | "move-horizontal" | "circle-check" | "ticket" | "credit-card"): The tile's icon; each kind has its own by default ("bike" reads well for a sold out bike).
- `lines` (number): Loading: how many still bars stand where the content goes (0 for the line alone).
- `kind` (StatusKind, required): 
- `title` (string): 
- `text` (string): 
- `phone` (string): The shop's phone, as a tel: link (error, closed, too soon).
- `actions` (ReactNode): 
- `className` (string): 

## StatusProps

- `kind` (StatusKind, required): 
- `title` (string): 
- `text` (string): 
- `phone` (string): The shop's phone, as a tel: link (error, closed, too soon).
- `actions` (ReactNode): 
- `className` (string): 

## StepFootProps

- `summary` (ReactNode): "Rent a bike and a guided tour", "5 riders, 4 bikes, Sara brings their own". Computer only.
- `note` (ReactNode): A short line over the button on a phone: "Missing sizes? We fit them at the shop."
- `why` (ReactNode): Why Next waits, in the guest's words, beside Next on every width and said out loud: "Pick at
least one to go on." Shown in place of the note.
- `next` (PrimaryAction, required): 
- `onBack` (() => void): Shows Back (computer).
- `className` (string): 

## StepperBandProps

- `steps` (readonly BandStep[], required): 
- `onStep` ((id: string) => void): Go back to a done step. Without it the band only shows.
- `onAdd` ((id: string) => void): Add a skipped step that carries `add` to the trip (and open it). Without it `add` shows as words only.
- `count` (boolean): (W3 P7, additive.) Number the steps ("2 of 6 · Who"). False: the step's name only, for while
the steps are not known yet (What, before the trip is picked), so no number later changes.
Default true.
- `className` (string): 

## StepperProps

- `value` (number, required): 
- `min` (number): 
- `max` (number): 
- `onChange` ((value: number) => void, required): 
- `label` (string, required): What the buttons say to a screen reader: "Riders".
- `small` (boolean): 

## StepperWordsOptions

- `locale` ("en" | "it" | "de" | "fr" | "pt-BR", required): 
- `nameOf` ((id: string) => string, required): An activity, product or tour id to its short name (`Bike`, `Tour`, `Shuttle AMPD`, `Classic`).
- `riderName` ((key: string) => string | null): A rider key to their name, or null when unnamed.
- `words` (SummaryWords): The band's words with a shop's own (bandWordsOf over the resolved words); the locale's when left out.
- `intl` (string): The tag the shop reads with (`words.intl`): en-US and en-CA put the month first.

## StepRouterProps

- `page` (FlowPage, required): 
- `steps` (readonly ("pay" | "bikes" | "when" | "who" | "what" | "tour" | "kit" | "plan")[], required): 
- `render` (Partial<Record<FlowPage, () => ReactNode>>, required): 
- `fallback` (ReactNode): Drawn when the address is none of the flow's or a page has no render.

## StepsProps

- `current` (number, required): 1-based.
- `total` (number, required): 
- `label` (string, required): 
- `next` (string): 
- `className` (string): 

## StripeCheckoutProps

- `loadStripe` (StripeLoader, required): `loadStripe` from
- `openSession` ((signal: AbortSignal) => Promise<CheckoutSession>, required): GBF-30 with the site's Idempotency-Key. A new way is a new session: remount with a new `key`.
Called once per mounted form: wrap it in `keepSessions` so a form drawn again reuses the session.
- `onSession` ((session: CheckoutSessionShown) => void): 
- `onComplete` (() => void): 
- `timeoutMs` (number): How long the form may take to open before Try again shows; CHECKOUT_OPEN_MS when left out, Infinity for no limit.
- `onFailed` (() => void): (Additive.) The form did not open (late or refused): Try again shows. Once per run.
- `className` (string): 

## TermsSheetProps

- `open` (boolean, required): 
- `onClose` (() => void, required): 
- `cancellation` (string, required): The shop's cancelling terms in the guest's language; null: the shop put none online.
- `pay` (TermsPay, required): 
- `phone` (string): The shop's phone, to ask about terms it did not put online.

## ToggleProps

- `label` (string, required): 
- `on` (boolean, required): 
- `onChange` ((on: boolean) => void, required): 
- `look` ("switch" | "chip"): 
- `className` (string): 

## TourAskProps

- `value` ({ kind: "tour_request"; group: "new_group" | "private"; tourId: string; day: string; period: TourPeriod; riders: string[]; note?: string | null; }, required): 
- `tours` (readonly { content?: components["schemas"]["TourContent"] | null; departures: components["schemas"]["SiteDeparture"][]; id: string; kind: "group_tour" | "private_tour" | "shuttle" | "transfer" | "lesson"; name: components["schemas"]["Words-Output"]; new_groups?: components["schemas"]["SiteNewGroup"][] | null; schedule?: components["schemas"]["Words-Output"] | null; slug: string; text?: components["schemas"]["Words-Output"] | null; }[], required): 
- `riders` (readonly TourRider[], required): 
- `onChange` ((value: Request) => void, required): 
- `onSend` (() => void, required): 
- `onBack` (() => void): Leaves the request for the tours of the day.
- `missing` (boolean): Next waits on the request being sent: marked missing, Next brings the guest here.
- `className` (string): 

## TourCardProps

- `row` (TourRow, required): 
- `going` (number, required): 
- `onSlot` ((slot: TourSlot) => void, required): 
- `onSee` (() => void): 
- `photos` (readonly TourPhoto[]): The site's own photos of this tour; they win over the catalog's. None at all: no photo block.
- `asked` (boolean): The tour the guest's link asked for: it shows as theirs, and only a time picks it.
- `className` (string): 

## TourDayEmptyProps

- `day` (string, required): 
- `state` ("none" | "full", required): full: departures, all full; none: no tour that day.
- `other` (string, required): Another trip day with seats ("See Thu 22").
- `onOther` ((day: string) => void, required): 
- `asked` (number, required): Riders already asking a new group that day; null: the shop opens no new groups.
- `onNewGroup` (() => void): 
- `onPrivate` (() => void): 
- `className` (string): 

## TourDayRailProps

- `days` (readonly TourDay[], required): 
- `value` (string, required): 
- `onChange` ((day: string) => void, required): 
- `picked` (readonly string[]): The days with a tour picked: they say so in place of the count.
- `className` (string): 

## TourFootProps

- `summary` (string, required): 
- `next` (PrimaryAction): 
- `onSkip` (() => void, required): 
- `why` (string): Why Next waits, beside it on every width and said out loud.
- `className` (string): 

## TourJoinProps

- `joining` (boolean, required): Yes is picked: the tours show. No (false) is the trip as it is, picked by default.
- `onChange` ((joining: boolean) => void, required): 
- `standalone` (boolean): The step's own title (h1) when the question is the whole page; else a heading inside a card.
- `className` (string): 

## TourStepProps

- `tours` (readonly { content?: components["schemas"]["TourContent"] | null; departures: components["schemas"]["SiteDeparture"][]; id: string; kind: "group_tour" | "private_tour" | "shuttle" | "transfer" | "lesson"; name: components["schemas"]["Words-Output"]; new_groups?: components["schemas"]["SiteNewGroup"][] | null; schedule?: components["schemas"]["Words-Output"] | null; slug: string; text?: components["schemas"]["Words-Output"] | null; }[], required): W7-06 `tours` for the trip's days; null while the read is on its way.
- `days` (readonly string[], required): The trip's days, YYYY-MM-DD in the shop's zone.
- `riders` (readonly TourRider[], required): The group, in Who's order.
- `value` (TourChoice, required): The tour on the day shown (a tour a day when `elsewhere` is given), else the trip's one tour.
- `onChange` ((value: TourChoice | null, day: string) => void, required): The new choice, and the day whose tour it replaces (the old choice's day, else the day shown).
- `elsewhere` (readonly TourChoice[]): The group's tours on the trip's other days, a tour a day: the rail marks their days, the foot
names them all, and Next goes on with them while the day shown has none. Left out: one tour.
- `flow` (TourFlow, required): What the shop's settings allow (tourFlowOf on W7-05 `booking.flow`).
- `zone` (string, required): The shop's time zone (W7-05 `booking.notice.timezone`).
- `day` (string): The day shown; leave out and the step keeps its own.
- `onDay` ((day: string) => void): 
- `periods` (Readonly<Record<string, TourPeriod>>): The group's part of each day (from When), for a guide pick or a request. Full by default.
- `next` (PrimaryAction): The foot's Next (the site names the next step). Always pressable: while the choice does not fit
it says why and brings the guest to what is missing; with nothing picked it is still pressed
(the flow's `next` keeps the reason), so the flow knows the guest tried.
- `tried` (boolean): Next was pressed while the step waited (the flow's `tried`): the reason shows from the start.
- `onSkip` (() => void, required): "No tour this time": the guest goes on without a tour. Always offered, so nobody is stuck on the step.
- `defaultRide` (string): The tour whose See the ride is open at first (a gallery frame, a shared link).
- `defaultAsk` (boolean): The request form is open at first while the choice is a request.
- `children` (ReactNode): Drawn above the tours (the site's own line).
- `photos` (Readonly<Record<string, readonly TourPhoto[]>>): The site's own photos per tour product id; they win over the catalog's (`tours[].content.photos`)
on the card and in See the ride. A tour with neither has no photo block at all.
- `defaultPhoto` (number): The photo See the ride shows first on a phone (0 based; a gallery frame).
- `asked` ({ tourId: string; day: string; }): The tour the guest's link asked for and its day (a day-only tour link, the ChatGPT app's): on
that day it shows alone, as theirs, and the step asks only for its time. Null: every tour.
- `onOthers` (() => void): "See the other tours": the guest leaves the asked tour for the whole list.
- `included` (string): QA 27 Oct (G7): what the tour's price covers, under the title ("each rider's place on the guided
tour", whether a bike is in it). Null or left out: nothing is said.
- `bikes` (TourBikes): XP-HOLD: the picked departure's free bikes per size; null or left out: the tour holds none, or not read yet.
- `bikesRefused` ({ size: string | null; }): XP-HOLD: the booking was refused because a size ran out meanwhile (409 `bikes_short`); the card
shows with what happened. `size` the size it names, null when it named none.
- `onBikesSeen` (() => void): The guest picked a way out of the refusal (or another time): the site forgets it.
- `className` (string): 

## TripAgendaProps

- `view` ({ currency: string; days: number; first_day: string; lines: components["schemas"]["ViewLine"][]; locale: "en" | "it" | "de" | "fr"; money: components["schemas"]["BookingMoney"]; payments?: components["schemas"]["ViewPayment"][] | null; pickup?: components["schemas"]["ViewPickup"] | null; pickup_at: string; reference: string; return_by_at: string; riders: components["schemas"]["ViewRider"][]; shop: components["schemas"]["ViewShop"]; stage: "request" | "lapsed" | "waiting_payment" | "not_finished" | "needs_you" | "booked" | "not_collected" | "out" | "late" | "back" | "cancelled"; trip_url?: string | null; }, required): W7-11: the booking as booked.
- `timeZone` (string, required): The shop's IANA zone: a tour's start and its day are read there.
- `className` (string): 

## TripAsideElementProps

- `lines` (TripLineView[], required): 
- `children` (ReactNode): 
- `className` (string): 
- `title` (string): 
- `note` (string): 
- `totalMinor` (number, required): 
- `totalLabel` (string): 
- `action` (PrimaryAction): 

## TripAsideProps

- `title` (string): 
- `lines` (SummaryLine[], required): 
- `totalMinor` (number, required): 
- `totalLabel` (string): 
- `note` (string): 
- `action` (PrimaryAction): 
- `children` (ReactNode): 
- `className` (string): 

## TripButtonElementProps

- `open` (boolean): The trip sheet or popover is open: the button shows it (DBasket).
- `count` (number, required): 
- `labelled` (boolean): "Your trip" beside the bag (a computer's header).
- `onClick` (() => void): 
- `href` (string): 
- `className` (string): 

## TripButtonProps

- `count` (number, required): 
- `labelled` (boolean): "Your trip" beside the bag (a computer's header).
- `onClick` (() => void): 
- `href` (string): 
- `className` (string): 

## TripDamageProps

- `damage` (TripDamageReport, required): The trip read's damage block (core tripDamageOf); null draws nothing.
- `zone` (string): The shop's time zone, for when it was checked, happened and signed.
- `email` (string): The shop's email, for "Question about this? Email us".
- `className` (string): 

## TripGoneProps

- `onStart` (() => void, required): "Start again": the booking's first step.
- `className` (string): 

## TripSheetElementProps

- `lines` (TripLineView[], required): 
- `totalLabel` (string): "So far" by default: the trip is not booked yet.
- `onEmpty` (() => void): "Empty the trip": the computer's second link (DBasket).
- `notice` (ReactNode): Picks were kept from before and checked again: a line that went full is flagged here.
- `className` (string): 
- `note` (string): 
- `open` (boolean, required): 
- `totalMinor` (number, required): 
- `action` (PrimaryAction, required): 
- `onClose` (() => void, required): 
- `as` ("auto" | "sheet" | "pop"): 
- `sub` (string): "Sun 18 to Tue 20 Oct, 2 riders".
- `onKeepLooking` (() => void): "Keep looking": closes.

## TripSheetProps

- `open` (boolean, required): 
- `onClose` (() => void, required): 
- `as` ("auto" | "sheet" | "pop"): 
- `lines` (SummaryLine[], required): 
- `totalMinor` (number, required): 
- `note` (string): 
- `sub` (string): "Sun 18 to Tue 20 Oct, 2 riders".
- `action` (PrimaryAction, required): 
- `onKeepLooking` (() => void): "Keep looking": closes.
- `notice` (ReactNode): Picks were kept from before and checked again: a line that went full is flagged here.
- `className` (string): 

## TripWaitingProps

- `timeZone` (string, required): The shop's zone (IANA), for the hold's time and the saved day.
- `today` (string): Today in the shop's zone (YYYY-MM-DD). When the hold ends on another day, the day is said too.
- `onPlan` (() => void, required): "See the plan".
- `onPay` (() => void): Held: "Pay {amount}".
- `onGoOn` (() => void): Saved: "Go on where you left off".
- `busy` (boolean): Waiting for the server: the primary says so.
- `layout` ("stack" | "side"): side: the computer, the trip card beside the words (Pay F); stack: the phone, under them.
- `kind` ("held" | "saved", required): 
- `name` (string): The first rider's first name, for "Welcome back, Marco" (GBF-11 and GBF-13 carry no lead name:
the booker rides first). Cleaned before it is shown; null, empty or only spaces: "Welcome back".
- `holdUntil` (string): Held: the hold's end (an instant).
- `savedUntil` (string): Saved: the link's end (an instant).
- `stillFree` (boolean): Saved: false when some of it is no longer free; null when not checked.
- `firstDay` (string, required): The trip's first and last day, YYYY-MM-DD; null when the trip has no days yet.
- `lastDay` (string, required): 
- `riders` (number, required): How many ride.
- `nowMinor` (number): Held: what is paid now (the API's deposit, or the whole trip), minor units.
- `className` (string): 

## UnitsSwitchProps

- `value` (Units, required): 
- `onChange` ((units: Units) => void, required): 
- `look` ("pair" | "chip"): 
- `className` (string): 

## WhatStepProps

- `activities` (readonly ActivityView[], required): 
- `picked` (readonly string[], required): 
- `onToggle` ((id: string) => void, required): 
- `missing` (boolean): Next waits for a pick: the cards are marked missing (`data-og-missing`), Next brings the guest there.
- `className` (string): 

## WhenCalendarProps

- `value` (WhenValue, required): 
- `ctx` (WhenContext, required): 
- `month` (string, required): The first month shown.
- `onMonth` ((month: string) => void, required): 
- `onPick` ((day: string) => void, required): 
- `onMove` ((day: string) => void): Move the trip to start on this day (the "Start on" button under a day that cannot be picked).
- `maxMonth` (string): After this month the forward arrow is off (the shop's last bookable day).
- `className` (string): 

## WhenDaysProps

- `value` (WhenValue, required): 
- `ctx` (WhenContext, required): 
- `onToggle` ((day: string, half: Half | null) => void, required): A half switched, or the whole day (null) on a day the shop does not split.
- `onPart` ((day: string, part: DayPick) => void): Full day, or a half day's morning or afternoon (DayHalves `onPart`).
- `notes` (Record<string, string>): A few words beside a day: "tour day".
- `children` (ReactNode): The panel's right column below the days (the short day's card).
- `missing` (boolean): Next waits for a day someone rides: the days are marked missing, Next brings the guest here.
- `className` (string): 

## WhenKeyProps

- `riders` (number, required): How many in the group rent.
- `className` (string): 

## WhenStepProps

- `value` (WhenValue, required): 
- `onChange` ((value: WhenValue) => void, required): 
- `ctx` (WhenContext, required): 
- `notes` (Record<string, string>): A few words beside a day: "tour day".
- `canAsk` (boolean): The shop takes asked lines (W7-05 `booking.flow.can_ask`).
- `onSave` (() => void): Save the trip and finish later (`booking.flow.can_save`); left out, the way is not offered.
- `onAsk` ((day: string) => void): After a short day's "ask the shop": the flow writes the asked line from `value.ask`.
- `title` (string): The title; the shop's "When are you riding?" when left out.
- `maxMonth` (string): The last month the arrows reach (the shop's booking lead).
- `openDays` (boolean): Open the phone's days sheet on the first draw (the gallery's 3C).
- `missing` ("days" | "tour" | "riding"): What Next waits on, once pressed: `days`, no trip yet (the calendar is marked missing);
`riding`, nobody rides a day (the days are); `tour`, a picked tour has no departure on the
trip's days (the note under the calendar is). Next brings the guest to the part marked.
- `onDropTour` (() => void): (QA v0.23.3.) The trip picked a tour with no departure on its days: "Go on without the tour"
(a trip that also rents) or "Pick something else" (`tourOnly`) takes it out of the trip. Left
out, the note offers only the days the tour runs.
- `tourOnly` (boolean): QA 27 Oct (G7): the trip has a tour and rents nothing. The words ask for the tour's day (not a
first and a last day) and no rental hours show: the tour's own times come on the Tour step.
- `picked` (string): (Additive, unify spec B.) What the guest already picked on the shop's store page, said under
the title ("Your bike: Ampd, size L."); left out, nothing.
- `className` (string): 

## WhoBooksFormProps

- `value` (WhoBooksValue, required): 
- `onChange` ((patch: Partial<WhoBooksValue>) => void, required): 
- `tried` (boolean): Book was pressed while something was not right: the reasons show under the fields.
- `accounts` (boolean): The shop takes accounts at booking (W7-05 `booking.flow.accounts`); false: no account box.
- `country` (string): The shop's ISO country: the phone's country until the guest's browser or the guest says another.
- `termsHref` (string): The shop's rental terms page.
- `onTermsOpen` (() => void): (Additive, QA night 24 Oct S-17.) Opens the shop's rental terms in a sheet: the "rental terms"
words become a link button that calls it (it wins over `termsHref`).
- `taken` (PlanClash): A line was taken while booking: the decision card above the total.
- `due` (PlanDue): What is paid when the action is pressed; left out: no amount (the step's bar says it).
- `action` (PrimaryAction): 
- `why` (string): Why the action waits, beside it and said out loud (`whoBooksWhy`); null: nothing waits.
- `booker` ({ riders: readonly { key: string; label: string; }[]; value: string | null; onPick: (rider: string | null) => void; }): Who books it, as a choice under the title: one of the riders or someone else (left out: none).
- `className` (string): 

## WhoBooksProps

- `lead` (FlowLead, required): 
- `riders` (readonly GroupRider[], required): 
- `booker` (string, required): 
- `onLead` ((patch: Partial<FlowLead>) => void, required): 
- `onBooker` ((rider: string | null) => void, required): 
- `onRiderName` ((rider: string, name: string) => void): (Additive, W2 review.) The name of the rider who books it, as typed here: one name for the
booker and their rider, so a correction reaches the booking and Who never asks for it again.
- `password` (string): The account's password (null: none); left out: no account box.
- `onPassword` ((password: string | null) => void): 
- `terms` (boolean): The rental terms, ticked by the guest.
- `onTerms` ((on: boolean) => void): 
- `tried` (boolean): 
- `termsHref` (string): 
- `country` (string): The shop's ISO country: the phone's country to start.
- `taken` (PlanClash): 
- `due` (PlanDue): 
- `action` (PrimaryAction): 
- `className` (string): 

## WhoGoesProps

- `riders` (readonly TourRider[], required): 
- `value` (readonly string[], required): 
- `onToggle` ((key: string) => void, required): 
- `left` (number, required): Seats left on the picked time; null for a request or a guide pick.
- `missing` (boolean): Next waits on who goes: marked missing, Next brings the guest here.
- `className` (string): 

## WhoRidesProps

- `model` (BikeModelView, required): 
- `models` (BikeModelView[], required): 
- `riders` (BikeRiderView[], required): 
- `assign` (Record<string, string>, required): 
- `sizes` (Record<string, string>): The size each rider of this model gets, by rider key ("L"); shown on the phone's chips.
- `back` (string): The model the group just came from (a card tapped while everyone rode one bike): a tap on a rider already on
this model puts them back on it, so the group splits. Left out: a rider on this model stays put.
- `onMove` ((riderKey: string, modelId: string) => void, required): Move a rider: onto the model in view, or back onto `back`.
- `layout` ("stack" | "bar"): 
- `className` (string): 

## WhoStepProps

- `riders` (readonly WhoRider[], required): 
- `onCount` ((n: number) => void, required): The counter: the flow adds or drops riders from the end.
- `onRider` ((index: number, patch: Partial<WhoRider>) => void, required): One rider changed.
- `units` (Units, required): 
- `onUnits` ((units: Units) => void, required): 
- `place` (string): The shop's place for "First time in Finale"; null: the question is not asked.
- `askOwn` (boolean): (W3 P4, additive.) Ask "Brings own {item}": only when the trip rents. Default true.
- `min` (number): Default 1 and 20.
- `max` (number): 
- `top` (ReactNode): Over the riders: the SignInPrompt, or the SavedRiders once signed in.
- `className` (string): 

## YourDaysProps

- `days` (DayTimesView[], required): 
- `onPick` ((day: string, time: string) => void, required): 
- `className` (string): 
