@scopetickets/checkout 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -416,7 +416,7 @@ export declare type BookingGateway = {
416
416
  * on its own page with a cart key. Both are the same component with the same props, which is
417
417
  * why the occasion arrives as data rather than being read out of a flow that may not exist.
418
418
  */
419
- export declare function BookingIsland({ appKey, source, cartKey, occasion, attribution, buyerAvatar, buyerAvatarAssets, seed, walletBadge, initialPresentation, mode, align, }: BookingIslandProps): react_jsx_runtime.JSX.Element;
419
+ export declare function BookingIsland({ appKey, source, cartKey, occasion, attribution, buyerAvatar, buyerAvatarAssets, seed, walletBadge, initialPresentation, mode, align, placement, }: BookingIslandProps): react_jsx_runtime.JSX.Element;
420
420
 
421
421
  export declare type BookingIslandProps = {
422
422
  /** WHICH IMPLEMENTATION IS ASKING — the Bearer token, as everywhere else here. */
@@ -474,6 +474,7 @@ export declare type BookingIslandProps = {
474
474
  readonly initialPresentation?: 'pill' | 'card';
475
475
  readonly mode?: IslandMode;
476
476
  readonly align?: IslandAlignment;
477
+ readonly placement?: IslandPlacement;
477
478
  };
478
479
 
479
480
  /**
@@ -881,7 +882,7 @@ export declare function cartViewProps(input: ReactNode, hold: EscrowHold, onBack
881
882
  };
882
883
 
883
884
  /** The island, as the design draws it: a pill that becomes a card. */
884
- export declare function CheckoutIsland({ expanded, contentKey, onToggle, avatar, title, subtitle, pillCopy, input, bay, bayVisible, bayRows, variant, sealed, closable, actionLabel, actions, footer, bayActions, dismiss, dismissIcon, dismissLabel, headerLead, headerTrail, mode, align, journeyFullscreen, }: CheckoutIslandProps): react_jsx_runtime.JSX.Element;
885
+ export declare function CheckoutIsland({ expanded, contentKey, onToggle, avatar, title, subtitle, pillCopy, input, bay, bayVisible, bayRows, variant, sealed, closable, actionLabel, actions, footer, bayActions, dismiss, dismissIcon, dismissLabel, headerLead, headerTrail, mode, align, placement, journeyFullscreen, }: CheckoutIslandProps): react_jsx_runtime.JSX.Element;
885
886
 
886
887
  export declare type CheckoutIslandProps = {
887
888
  /** Collapsed is the pill; expanded is the card. */
@@ -989,10 +990,13 @@ export declare type CheckoutIslandProps = {
989
990
  /** Which appearance to render. Defaults to following the viewer's OS. */
990
991
  readonly mode?: IslandMode;
991
992
  /**
992
- * Which edge the island is pinned to, and therefore which way it grows — or `center`,
993
- * pinned to neither, which grows both ways at once. Defaults to `bottom`.
993
+ * Where the island sits. The vertical half is which way it grows — away from its edge,
994
+ * or both ways at once from the middle — and the horizontal half is which side of a
995
+ * reservation wider than the card it docks to. Defaults to `bottom`.
994
996
  */
995
997
  readonly align?: IslandAlignment;
998
+ /** Where the reservation is held — see `IslandPlacement`. Defaults to `page`. */
999
+ readonly placement?: IslandPlacement;
996
1000
  /**
997
1001
  * THE PROVIDER'S FULLSCREEN JOURNEY IS OVER EVERYTHING, and stamping the root lets
998
1002
  * the CSS both lift the journey over the host page and lift the centred island's
@@ -1159,16 +1163,44 @@ export declare type CheckoutProps = {
1159
1163
  */
1160
1164
  readonly opensOn?: 'flow' | 'cart';
1161
1165
  readonly initialPresentation?: 'pill' | 'card';
1166
+ /**
1167
+ * WHAT THE OPENING PILL SAYS, where the host's page has its own word for it — "Book Santo
1168
+ * Panto" on a page selling one show. Absent, or blank, is `OPENING_LABEL`.
1169
+ *
1170
+ * THE ONE PIECE OF COPY A HOST MAY SUPPLY, and only this one: it names what is on sale,
1171
+ * which the page knows and the widget does not. Every later pill names the step behind
1172
+ * it, and those stay the widget's own.
1173
+ */
1174
+ readonly openingLabel?: string;
1162
1175
  readonly mode?: IslandMode;
1163
1176
  /**
1164
- * Which edge of its reservation the island is pinned to, or `center` for neither.
1177
+ * Where in its reservation the island sits — a corner, the middle of an edge, or the
1178
+ * middle. Defaults to `bottom`.
1165
1179
  *
1166
- * THE RESERVATION IS THE SAME EITHER WAY: the host's page has the island's COLLAPSED
1167
- * footprint held open for it, and an opened card grows out of that — upward from
1168
- * `bottom`, downward from `top`, and both ways at once from `center`, which therefore
1169
- * needs room above AND below. See `island.css`'s alignment blocks.
1180
+ * THE RESERVATION IS THE SAME EVERY WAY: the host's page has the island's COLLAPSED
1181
+ * footprint held open for it, and an opened card grows out of that — upward from any
1182
+ * `bottom` alignment, downward from any `top` one, and both ways at once from `left`,
1183
+ * `center` and `right`, which therefore need room above AND below.
1184
+ *
1185
+ * LEFT AND RIGHT ONLY SHOW IN A RESERVATION WIDER THAN THE CARD, whose measure is capped
1186
+ * at `$100`. In a narrower one the island fills it, and every horizontal choice draws
1187
+ * the same. See `island.css`'s alignment blocks.
1170
1188
  */
1171
1189
  readonly align?: IslandAlignment;
1190
+ /**
1191
+ * WHERE THE RESERVATION ITSELF IS HELD. Defaults to `page`.
1192
+ *
1193
+ * `page` holds it in the host's flow, wherever the widget was mounted, and `align` places
1194
+ * the island inside that box. `screen` pins the box to the viewport, so `align` names a
1195
+ * corner of the SCREEN — a floating widget, with no fixed-position wrapper of the host's
1196
+ * own to keep in step with it.
1197
+ *
1198
+ * A TRANSFORMED ANCESTOR STILL WINS: a `transform`, `filter` or `contain` anywhere above
1199
+ * the widget makes that ancestor the containing block of anything fixed, and a pinned
1200
+ * island then sits in it instead of on the screen. Mount a pinned widget at the end of
1201
+ * `<body>`, out of reach of the page's own wrappers.
1202
+ */
1203
+ readonly placement?: IslandPlacement;
1172
1204
  };
1173
1205
 
1174
1206
  export declare type CheckoutSchedule = {
@@ -1623,10 +1655,12 @@ export declare type IslandAction = {
1623
1655
  export declare type IslandActionRole = 'action' | 'primary' | 'secondary';
1624
1656
 
1625
1657
  /**
1626
- * Which edge of its reservation the island is pinned to, or `center` for one pinned to
1627
- * neither.
1658
+ * Where in its reservation the island sits: a corner, the middle of an edge, or the middle.
1659
+ *
1660
+ * TWO AXES SPELLED AS ONE WORD, the way a host thinks of a position. Nothing downstream
1661
+ * reads the word — see `alignmentAxes`, which is the only thing that does.
1628
1662
  */
1629
- export declare type IslandAlignment = 'top' | 'bottom' | 'center';
1663
+ export declare type IslandAlignment = 'top-left' | 'top' | 'top-right' | 'left' | 'center' | 'right' | 'bottom-left' | 'bottom' | 'bottom-right';
1630
1664
 
1631
1665
  export declare function IslandCard({ avatar, title, subtitle, variant, sealed, input, actions, footer, }: IslandCardProps): react_jsx_runtime.JSX.Element;
1632
1666
 
@@ -1772,7 +1806,7 @@ export declare type IslandHeaderProps = {
1772
1806
  * The persistent surface, the two content planes inside it, and the carry layer above
1773
1807
  * them.
1774
1808
  */
1775
- export declare function IslandHost({ presentation, contentKey, continuity, label, mode, align, journeyFullscreen, chrome, bay, bayLabel, bayVisible, bayRows, bayActions, sealed, children, }: IslandHostProps): react_jsx_runtime.JSX.Element;
1809
+ export declare function IslandHost({ presentation, contentKey, continuity, label, mode, align, placement, journeyFullscreen, chrome, bay, bayLabel, bayVisible, bayRows, bayActions, sealed, children, }: IslandHostProps): react_jsx_runtime.JSX.Element;
1776
1810
 
1777
1811
  export declare type IslandHostProps = {
1778
1812
  /** What shape the island should be. Drives the frame, not the content. */
@@ -1808,10 +1842,12 @@ export declare type IslandHostProps = {
1808
1842
  /** Which appearance to render. Defaults to following the viewer's OS. */
1809
1843
  mode?: IslandMode;
1810
1844
  /**
1811
- * Which edge of its reservation the island is pinned to. Defaults to `bottom`, which is
1812
- * where the design docks it.
1845
+ * Where in its reservation the island sits — see `IslandAlignment`. Defaults to `bottom`,
1846
+ * which is where the design docks it.
1813
1847
  */
1814
1848
  align?: IslandAlignment;
1849
+ /** Where the reservation is held — see `IslandPlacement`. Defaults to `page`. */
1850
+ placement?: IslandPlacement;
1815
1851
  /**
1816
1852
  * THE PROVIDER'S JOURNEY, TAKING THE SCREEN — stamped on the root so the CSS can lift
1817
1853
  * the fullscreen overlay over the host page and the centred island's transform out of
@@ -1878,6 +1914,17 @@ export declare type IslandPillProps = {
1878
1914
  readonly onAction: () => void;
1879
1915
  };
1880
1916
 
1917
+ /**
1918
+ * Where the reservation itself is held: in the host page's flow, or pinned to the screen.
1919
+ *
1920
+ * `page` is the default and every host before this: the anchor is `position: relative`
1921
+ * wherever the host mounted it, so `align` places the island inside a box the page lays
1922
+ * out. `screen` pins that box to the viewport, so the same `align` names a corner of the
1923
+ * SCREEN — which a host wanting a floating widget could otherwise only get by wrapping it
1924
+ * in fixed-position CSS of its own and keeping that in step with `align` by hand.
1925
+ */
1926
+ export declare type IslandPlacement = 'page' | 'screen';
1927
+
1881
1928
  /** The island's shape, as pure data. */
1882
1929
  declare type IslandPresentation = 'compact' | 'card' | 'full';
1883
1930
 
@@ -1896,11 +1943,26 @@ export declare type IslandSurfaceProps = {
1896
1943
  /** Inset from the container's edge in px, from `frameFor`. */
1897
1944
  edge: number;
1898
1945
  /**
1899
- * Which edge of the anchor the frame is pinned to, or its middle. Stamped as
1900
- * `data-align`, because it moves the frame, the planes AND the carry layer's origin —
1901
- * three rules that must never disagree, so they hang off one attribute.
1946
+ * Where in the anchor the frame sits, stamped as ONE ATTRIBUTE PER AXIS —
1947
+ * `data-align-block` and `data-align-inline` — because the stylesheet's rules are per
1948
+ * axis. The block half moves the frame, the planes and the pop's origin together, and
1949
+ * those must never disagree; the inline half only picks the side the frame docks to.
1950
+ * See `alignmentAxes`.
1902
1951
  */
1903
1952
  align: IslandAlignment;
1953
+ /**
1954
+ * Where the ANCHOR is held — see `IslandPlacement`. Stamped on the anchor as
1955
+ * `data-placement` only when it is `screen`, with the block half of `align` beside it:
1956
+ * the rules that pin the reservation to an edge of the viewport are per block axis,
1957
+ * exactly as the frame's are.
1958
+ */
1959
+ placement: IslandPlacement;
1960
+ /**
1961
+ * How far a pinned reservation stands off the screen's edge, in px — the COLLAPSED
1962
+ * frame's `edge`, for the reason `footprint` is the collapsed height: the reservation is
1963
+ * the island at rest, whatever it is showing now.
1964
+ */
1965
+ footprintEdge: number;
1904
1966
  /**
1905
1967
  * THE PROVIDER'S FULLSCREEN JOURNEY, stamped as `data-journey`. Two rules hang off
1906
1968
  * it, and they hang off the ROOT because both are about what the root's own
@@ -2068,6 +2130,10 @@ export declare type NoticeId =
2068
2130
  | 'ORDER_SOLD_OUT'
2069
2131
  /** The order could not be opened at all: no cart, and nothing to check out. */
2070
2132
  | 'ORDER_NOT_OPENED'
2133
+ /** The event's questionnaire could not be read. */
2134
+ | 'QUESTIONS_NOT_LOADED'
2135
+ /** The platform refused the answers. Only raised before a charge. */
2136
+ | 'ANSWERS_NOT_SAVED'
2071
2137
  /**
2072
2138
  * The verification code could not be SENT. Distinct from a code that was refused, which
2073
2139
  * is the buyer mistyping and is answered by the boxes themselves — validation, not a
@@ -2219,21 +2285,15 @@ export declare type OrderIntent = {
2219
2285
  readonly timeslot?: string;
2220
2286
  readonly buyer?: IntentBuyer;
2221
2287
  /**
2222
- * WHETHER THE EVENT ASKS ITS OWN QUESTIONS, and the one field where absent does NOT
2223
- * mean "you ask".
2224
- *
2225
- * Every other field here is optional because the widget can collect it: there is a
2226
- * party stepper, a calendar, a name field. There is no such control for these. The
2227
- * questions are the EVENT's, they vary in number and height, and they come from an
2228
- * endpoint that takes an id the widget has no cart to read — see `DETAILS`'s blurb.
2229
- * So "absent" cannot mean "ask them", because there is nothing to ask with; it means
2230
- * the event asks nothing, which is the common case and the safe one.
2231
- *
2232
- * Saying `true` puts the More Information card in the flow as a GATE — it says
2233
- * questions are waiting, and does not draw them.
2288
+ * Whether the event asks questions. Absent, the platform decides from the ticket, event and
2289
+ * series questions; `true` keeps the details step in place before they are known.
2234
2290
  */
2235
2291
  readonly asksQuestions?: boolean;
2236
- /** Questionnaire answers already collected, by question id. */
2292
+ /**
2293
+ * Answers the host already has, keyed by question id. They skip the details step only when
2294
+ * they answer every question, and are sent to every cart item before payment. Invalid
2295
+ * entries are ignored.
2296
+ */
2237
2297
  readonly answers?: Readonly<Record<string, string>>;
2238
2298
  /** A method the host has already had chosen. */
2239
2299
  readonly paymentMethodKey?: string;
@@ -3035,7 +3095,7 @@ export declare type SwitchProps = {
3035
3095
  export declare type SwitchSize = 'wide' | 'thin';
3036
3096
 
3037
3097
  /** Figma's `InputTextShort`, ported from. */
3038
- export declare function TextField({ label, value, onChange, flag, flagTitle, trailing, icon, note, type, inputMode, prose, autoComplete, autoCapitalize, passwordRules, enterKeyHint, onSubmit, monospace, placeholder, maxLength, autoFocus, id, name, }: TextFieldProps): react_jsx_runtime.JSX.Element;
3098
+ export declare function TextField({ label, value, onChange, flag, flagTitle, trailing, icon, note, type, inputMode, prose, autoComplete, autoCapitalize, passwordRules, enterKeyHint, onSubmit, monospace, placeholder, maxLength, autoFocus, readOnly, id, name, }: TextFieldProps): react_jsx_runtime.JSX.Element;
3039
3099
 
3040
3100
  export declare type TextFieldProps = {
3041
3101
  /** The field's name, and its only label — there is no placeholder. */
@@ -3123,6 +3183,7 @@ export declare type TextFieldProps = {
3123
3183
  * not told by a notice two presses later. Omitted where the wire sets no limit.
3124
3184
  */
3125
3185
  readonly maxLength?: number;
3186
+ readonly readOnly?: boolean;
3126
3187
  /** Given so a preceding field's return key can move focus here. */
3127
3188
  readonly id?: string;
3128
3189
  readonly name?: string;
@@ -3161,6 +3222,11 @@ declare interface Ticket {
3161
3222
  UrgencyTags: string[];
3162
3223
  /** Nullable for the same reason as the run's — see `EventInfoResponse`. */
3163
3224
  UserTypes: UserType[] | null;
3225
+ /**
3226
+ * The events this product sells for. Only `TicketInformation` sends it, which is how a
3227
+ * response spanning a whole series is split back into days.
3228
+ */
3229
+ EventKeys?: string[] | null;
3164
3230
  }
3165
3231
 
3166
3232
  /**
package/dist/index.d.ts CHANGED
@@ -416,7 +416,7 @@ export declare type BookingGateway = {
416
416
  * on its own page with a cart key. Both are the same component with the same props, which is
417
417
  * why the occasion arrives as data rather than being read out of a flow that may not exist.
418
418
  */
419
- export declare function BookingIsland({ appKey, source, cartKey, occasion, attribution, buyerAvatar, buyerAvatarAssets, seed, walletBadge, initialPresentation, mode, align, }: BookingIslandProps): react_jsx_runtime.JSX.Element;
419
+ export declare function BookingIsland({ appKey, source, cartKey, occasion, attribution, buyerAvatar, buyerAvatarAssets, seed, walletBadge, initialPresentation, mode, align, placement, }: BookingIslandProps): react_jsx_runtime.JSX.Element;
420
420
 
421
421
  export declare type BookingIslandProps = {
422
422
  /** WHICH IMPLEMENTATION IS ASKING — the Bearer token, as everywhere else here. */
@@ -474,6 +474,7 @@ export declare type BookingIslandProps = {
474
474
  readonly initialPresentation?: 'pill' | 'card';
475
475
  readonly mode?: IslandMode;
476
476
  readonly align?: IslandAlignment;
477
+ readonly placement?: IslandPlacement;
477
478
  };
478
479
 
479
480
  /**
@@ -881,7 +882,7 @@ export declare function cartViewProps(input: ReactNode, hold: EscrowHold, onBack
881
882
  };
882
883
 
883
884
  /** The island, as the design draws it: a pill that becomes a card. */
884
- export declare function CheckoutIsland({ expanded, contentKey, onToggle, avatar, title, subtitle, pillCopy, input, bay, bayVisible, bayRows, variant, sealed, closable, actionLabel, actions, footer, bayActions, dismiss, dismissIcon, dismissLabel, headerLead, headerTrail, mode, align, journeyFullscreen, }: CheckoutIslandProps): react_jsx_runtime.JSX.Element;
885
+ export declare function CheckoutIsland({ expanded, contentKey, onToggle, avatar, title, subtitle, pillCopy, input, bay, bayVisible, bayRows, variant, sealed, closable, actionLabel, actions, footer, bayActions, dismiss, dismissIcon, dismissLabel, headerLead, headerTrail, mode, align, placement, journeyFullscreen, }: CheckoutIslandProps): react_jsx_runtime.JSX.Element;
885
886
 
886
887
  export declare type CheckoutIslandProps = {
887
888
  /** Collapsed is the pill; expanded is the card. */
@@ -989,10 +990,13 @@ export declare type CheckoutIslandProps = {
989
990
  /** Which appearance to render. Defaults to following the viewer's OS. */
990
991
  readonly mode?: IslandMode;
991
992
  /**
992
- * Which edge the island is pinned to, and therefore which way it grows — or `center`,
993
- * pinned to neither, which grows both ways at once. Defaults to `bottom`.
993
+ * Where the island sits. The vertical half is which way it grows — away from its edge,
994
+ * or both ways at once from the middle — and the horizontal half is which side of a
995
+ * reservation wider than the card it docks to. Defaults to `bottom`.
994
996
  */
995
997
  readonly align?: IslandAlignment;
998
+ /** Where the reservation is held — see `IslandPlacement`. Defaults to `page`. */
999
+ readonly placement?: IslandPlacement;
996
1000
  /**
997
1001
  * THE PROVIDER'S FULLSCREEN JOURNEY IS OVER EVERYTHING, and stamping the root lets
998
1002
  * the CSS both lift the journey over the host page and lift the centred island's
@@ -1159,16 +1163,44 @@ export declare type CheckoutProps = {
1159
1163
  */
1160
1164
  readonly opensOn?: 'flow' | 'cart';
1161
1165
  readonly initialPresentation?: 'pill' | 'card';
1166
+ /**
1167
+ * WHAT THE OPENING PILL SAYS, where the host's page has its own word for it — "Book Santo
1168
+ * Panto" on a page selling one show. Absent, or blank, is `OPENING_LABEL`.
1169
+ *
1170
+ * THE ONE PIECE OF COPY A HOST MAY SUPPLY, and only this one: it names what is on sale,
1171
+ * which the page knows and the widget does not. Every later pill names the step behind
1172
+ * it, and those stay the widget's own.
1173
+ */
1174
+ readonly openingLabel?: string;
1162
1175
  readonly mode?: IslandMode;
1163
1176
  /**
1164
- * Which edge of its reservation the island is pinned to, or `center` for neither.
1177
+ * Where in its reservation the island sits — a corner, the middle of an edge, or the
1178
+ * middle. Defaults to `bottom`.
1165
1179
  *
1166
- * THE RESERVATION IS THE SAME EITHER WAY: the host's page has the island's COLLAPSED
1167
- * footprint held open for it, and an opened card grows out of that — upward from
1168
- * `bottom`, downward from `top`, and both ways at once from `center`, which therefore
1169
- * needs room above AND below. See `island.css`'s alignment blocks.
1180
+ * THE RESERVATION IS THE SAME EVERY WAY: the host's page has the island's COLLAPSED
1181
+ * footprint held open for it, and an opened card grows out of that — upward from any
1182
+ * `bottom` alignment, downward from any `top` one, and both ways at once from `left`,
1183
+ * `center` and `right`, which therefore need room above AND below.
1184
+ *
1185
+ * LEFT AND RIGHT ONLY SHOW IN A RESERVATION WIDER THAN THE CARD, whose measure is capped
1186
+ * at `$100`. In a narrower one the island fills it, and every horizontal choice draws
1187
+ * the same. See `island.css`'s alignment blocks.
1170
1188
  */
1171
1189
  readonly align?: IslandAlignment;
1190
+ /**
1191
+ * WHERE THE RESERVATION ITSELF IS HELD. Defaults to `page`.
1192
+ *
1193
+ * `page` holds it in the host's flow, wherever the widget was mounted, and `align` places
1194
+ * the island inside that box. `screen` pins the box to the viewport, so `align` names a
1195
+ * corner of the SCREEN — a floating widget, with no fixed-position wrapper of the host's
1196
+ * own to keep in step with it.
1197
+ *
1198
+ * A TRANSFORMED ANCESTOR STILL WINS: a `transform`, `filter` or `contain` anywhere above
1199
+ * the widget makes that ancestor the containing block of anything fixed, and a pinned
1200
+ * island then sits in it instead of on the screen. Mount a pinned widget at the end of
1201
+ * `<body>`, out of reach of the page's own wrappers.
1202
+ */
1203
+ readonly placement?: IslandPlacement;
1172
1204
  };
1173
1205
 
1174
1206
  export declare type CheckoutSchedule = {
@@ -1623,10 +1655,12 @@ export declare type IslandAction = {
1623
1655
  export declare type IslandActionRole = 'action' | 'primary' | 'secondary';
1624
1656
 
1625
1657
  /**
1626
- * Which edge of its reservation the island is pinned to, or `center` for one pinned to
1627
- * neither.
1658
+ * Where in its reservation the island sits: a corner, the middle of an edge, or the middle.
1659
+ *
1660
+ * TWO AXES SPELLED AS ONE WORD, the way a host thinks of a position. Nothing downstream
1661
+ * reads the word — see `alignmentAxes`, which is the only thing that does.
1628
1662
  */
1629
- export declare type IslandAlignment = 'top' | 'bottom' | 'center';
1663
+ export declare type IslandAlignment = 'top-left' | 'top' | 'top-right' | 'left' | 'center' | 'right' | 'bottom-left' | 'bottom' | 'bottom-right';
1630
1664
 
1631
1665
  export declare function IslandCard({ avatar, title, subtitle, variant, sealed, input, actions, footer, }: IslandCardProps): react_jsx_runtime.JSX.Element;
1632
1666
 
@@ -1772,7 +1806,7 @@ export declare type IslandHeaderProps = {
1772
1806
  * The persistent surface, the two content planes inside it, and the carry layer above
1773
1807
  * them.
1774
1808
  */
1775
- export declare function IslandHost({ presentation, contentKey, continuity, label, mode, align, journeyFullscreen, chrome, bay, bayLabel, bayVisible, bayRows, bayActions, sealed, children, }: IslandHostProps): react_jsx_runtime.JSX.Element;
1809
+ export declare function IslandHost({ presentation, contentKey, continuity, label, mode, align, placement, journeyFullscreen, chrome, bay, bayLabel, bayVisible, bayRows, bayActions, sealed, children, }: IslandHostProps): react_jsx_runtime.JSX.Element;
1776
1810
 
1777
1811
  export declare type IslandHostProps = {
1778
1812
  /** What shape the island should be. Drives the frame, not the content. */
@@ -1808,10 +1842,12 @@ export declare type IslandHostProps = {
1808
1842
  /** Which appearance to render. Defaults to following the viewer's OS. */
1809
1843
  mode?: IslandMode;
1810
1844
  /**
1811
- * Which edge of its reservation the island is pinned to. Defaults to `bottom`, which is
1812
- * where the design docks it.
1845
+ * Where in its reservation the island sits — see `IslandAlignment`. Defaults to `bottom`,
1846
+ * which is where the design docks it.
1813
1847
  */
1814
1848
  align?: IslandAlignment;
1849
+ /** Where the reservation is held — see `IslandPlacement`. Defaults to `page`. */
1850
+ placement?: IslandPlacement;
1815
1851
  /**
1816
1852
  * THE PROVIDER'S JOURNEY, TAKING THE SCREEN — stamped on the root so the CSS can lift
1817
1853
  * the fullscreen overlay over the host page and the centred island's transform out of
@@ -1878,6 +1914,17 @@ export declare type IslandPillProps = {
1878
1914
  readonly onAction: () => void;
1879
1915
  };
1880
1916
 
1917
+ /**
1918
+ * Where the reservation itself is held: in the host page's flow, or pinned to the screen.
1919
+ *
1920
+ * `page` is the default and every host before this: the anchor is `position: relative`
1921
+ * wherever the host mounted it, so `align` places the island inside a box the page lays
1922
+ * out. `screen` pins that box to the viewport, so the same `align` names a corner of the
1923
+ * SCREEN — which a host wanting a floating widget could otherwise only get by wrapping it
1924
+ * in fixed-position CSS of its own and keeping that in step with `align` by hand.
1925
+ */
1926
+ export declare type IslandPlacement = 'page' | 'screen';
1927
+
1881
1928
  /** The island's shape, as pure data. */
1882
1929
  declare type IslandPresentation = 'compact' | 'card' | 'full';
1883
1930
 
@@ -1896,11 +1943,26 @@ export declare type IslandSurfaceProps = {
1896
1943
  /** Inset from the container's edge in px, from `frameFor`. */
1897
1944
  edge: number;
1898
1945
  /**
1899
- * Which edge of the anchor the frame is pinned to, or its middle. Stamped as
1900
- * `data-align`, because it moves the frame, the planes AND the carry layer's origin —
1901
- * three rules that must never disagree, so they hang off one attribute.
1946
+ * Where in the anchor the frame sits, stamped as ONE ATTRIBUTE PER AXIS —
1947
+ * `data-align-block` and `data-align-inline` — because the stylesheet's rules are per
1948
+ * axis. The block half moves the frame, the planes and the pop's origin together, and
1949
+ * those must never disagree; the inline half only picks the side the frame docks to.
1950
+ * See `alignmentAxes`.
1902
1951
  */
1903
1952
  align: IslandAlignment;
1953
+ /**
1954
+ * Where the ANCHOR is held — see `IslandPlacement`. Stamped on the anchor as
1955
+ * `data-placement` only when it is `screen`, with the block half of `align` beside it:
1956
+ * the rules that pin the reservation to an edge of the viewport are per block axis,
1957
+ * exactly as the frame's are.
1958
+ */
1959
+ placement: IslandPlacement;
1960
+ /**
1961
+ * How far a pinned reservation stands off the screen's edge, in px — the COLLAPSED
1962
+ * frame's `edge`, for the reason `footprint` is the collapsed height: the reservation is
1963
+ * the island at rest, whatever it is showing now.
1964
+ */
1965
+ footprintEdge: number;
1904
1966
  /**
1905
1967
  * THE PROVIDER'S FULLSCREEN JOURNEY, stamped as `data-journey`. Two rules hang off
1906
1968
  * it, and they hang off the ROOT because both are about what the root's own
@@ -2068,6 +2130,10 @@ export declare type NoticeId =
2068
2130
  | 'ORDER_SOLD_OUT'
2069
2131
  /** The order could not be opened at all: no cart, and nothing to check out. */
2070
2132
  | 'ORDER_NOT_OPENED'
2133
+ /** The event's questionnaire could not be read. */
2134
+ | 'QUESTIONS_NOT_LOADED'
2135
+ /** The platform refused the answers. Only raised before a charge. */
2136
+ | 'ANSWERS_NOT_SAVED'
2071
2137
  /**
2072
2138
  * The verification code could not be SENT. Distinct from a code that was refused, which
2073
2139
  * is the buyer mistyping and is answered by the boxes themselves — validation, not a
@@ -2219,21 +2285,15 @@ export declare type OrderIntent = {
2219
2285
  readonly timeslot?: string;
2220
2286
  readonly buyer?: IntentBuyer;
2221
2287
  /**
2222
- * WHETHER THE EVENT ASKS ITS OWN QUESTIONS, and the one field where absent does NOT
2223
- * mean "you ask".
2224
- *
2225
- * Every other field here is optional because the widget can collect it: there is a
2226
- * party stepper, a calendar, a name field. There is no such control for these. The
2227
- * questions are the EVENT's, they vary in number and height, and they come from an
2228
- * endpoint that takes an id the widget has no cart to read — see `DETAILS`'s blurb.
2229
- * So "absent" cannot mean "ask them", because there is nothing to ask with; it means
2230
- * the event asks nothing, which is the common case and the safe one.
2231
- *
2232
- * Saying `true` puts the More Information card in the flow as a GATE — it says
2233
- * questions are waiting, and does not draw them.
2288
+ * Whether the event asks questions. Absent, the platform decides from the ticket, event and
2289
+ * series questions; `true` keeps the details step in place before they are known.
2234
2290
  */
2235
2291
  readonly asksQuestions?: boolean;
2236
- /** Questionnaire answers already collected, by question id. */
2292
+ /**
2293
+ * Answers the host already has, keyed by question id. They skip the details step only when
2294
+ * they answer every question, and are sent to every cart item before payment. Invalid
2295
+ * entries are ignored.
2296
+ */
2237
2297
  readonly answers?: Readonly<Record<string, string>>;
2238
2298
  /** A method the host has already had chosen. */
2239
2299
  readonly paymentMethodKey?: string;
@@ -3035,7 +3095,7 @@ export declare type SwitchProps = {
3035
3095
  export declare type SwitchSize = 'wide' | 'thin';
3036
3096
 
3037
3097
  /** Figma's `InputTextShort`, ported from. */
3038
- export declare function TextField({ label, value, onChange, flag, flagTitle, trailing, icon, note, type, inputMode, prose, autoComplete, autoCapitalize, passwordRules, enterKeyHint, onSubmit, monospace, placeholder, maxLength, autoFocus, id, name, }: TextFieldProps): react_jsx_runtime.JSX.Element;
3098
+ export declare function TextField({ label, value, onChange, flag, flagTitle, trailing, icon, note, type, inputMode, prose, autoComplete, autoCapitalize, passwordRules, enterKeyHint, onSubmit, monospace, placeholder, maxLength, autoFocus, readOnly, id, name, }: TextFieldProps): react_jsx_runtime.JSX.Element;
3039
3099
 
3040
3100
  export declare type TextFieldProps = {
3041
3101
  /** The field's name, and its only label — there is no placeholder. */
@@ -3123,6 +3183,7 @@ export declare type TextFieldProps = {
3123
3183
  * not told by a notice two presses later. Omitted where the wire sets no limit.
3124
3184
  */
3125
3185
  readonly maxLength?: number;
3186
+ readonly readOnly?: boolean;
3126
3187
  /** Given so a preceding field's return key can move focus here. */
3127
3188
  readonly id?: string;
3128
3189
  readonly name?: string;
@@ -3161,6 +3222,11 @@ declare interface Ticket {
3161
3222
  UrgencyTags: string[];
3162
3223
  /** Nullable for the same reason as the run's — see `EventInfoResponse`. */
3163
3224
  UserTypes: UserType[] | null;
3225
+ /**
3226
+ * The events this product sells for. Only `TicketInformation` sends it, which is how a
3227
+ * response spanning a whole series is split back into days.
3228
+ */
3229
+ EventKeys?: string[] | null;
3164
3230
  }
3165
3231
 
3166
3232
  /**