@scopetickets/checkout 0.4.2 → 0.6.0

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.
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
- /** `2027-11-28` shifted by whole days, staying a `YYYY-MM-DD` key. */
3
+ /** `2055-11-28` shifted by whole days, staying a `YYYY-MM-DD` key. */
4
4
  export declare function addDays(day: string, count: number): string;
5
5
 
6
6
  /**
@@ -270,11 +270,17 @@ export declare type DayAvailability = {
270
270
  };
271
271
 
272
272
  /** Select Day — the day picker's content. */
273
- export declare function DayPicker({ series, today, selectedDay, onSelectDay, remaining, accessory, onVisibleMonthChange, }: DayPickerProps): react_jsx_runtime.JSX.Element | null;
273
+ export declare function DayPicker({ series, offered, today, selectedDay, onSelectDay, remaining, accessory, onVisibleMonthChange, }: DayPickerProps): react_jsx_runtime.JSX.Element | null;
274
274
 
275
275
  export declare type DayPickerProps = {
276
276
  /** The run being picked from. Every month it touches is drawn. */
277
277
  readonly series: CalendarSeries;
278
+ /**
279
+ * THE DAYS STILL ON OFFER, where the inventory filter has hidden some — absent is all of
280
+ * `series`. The weeks stay the whole run's, so ticking a box greys days where they stand
281
+ * rather than moving the month the buyer is reading; see `offeredSeries`.
282
+ */
283
+ readonly offered?: CalendarSeries;
278
284
  /**
279
285
  * `YYYY-MM-DD` in the VENUE's local day, never the device's. Passed in rather than read
280
286
  * from a clock — see `MonthGridOptions`.
@@ -316,20 +322,20 @@ declare interface EventTimeslot {
316
322
  Remaining: number;
317
323
  }
318
324
 
319
- /** A day key as its date — `2027-12-01` -> `1 December 2027`. */
325
+ /** A day key as its date — `2055-12-01` -> `1 December 2055`. */
320
326
  export declare function formatDayDate(day: string): string;
321
327
 
322
- /** A day key as its weekday — `2027-12-01` -> `Wednesday`. */
328
+ /** A day key as its weekday — `2055-12-01` -> `Wednesday`. */
323
329
  export declare function formatDayWeekday(day: string): string;
324
330
 
325
- /** A month key as its name — `2028-06` -> `June`.. */
331
+ /** A month key as its name — `2056-06` -> `June`.. */
326
332
  export declare function formatMonthName(month: CalendarMonthKey): string;
327
333
 
328
- /** A month key as its SHORT name — `2028-06` -> `June`, `2028-12` -> `Dec.` */
334
+ /** A month key as its SHORT name — `2056-06` -> `June`, `2056-12` -> `Dec.` */
329
335
  export declare function formatMonthNameShort(month: CalendarMonthKey): string;
330
336
 
331
337
  /**
332
- * A month key's YEAR — `2028-06` -> `2028`., whose name says `MonthYear` and whose body
338
+ * A month key's YEAR — `2056-06` -> `2028`., whose name says `MonthYear` and whose body
333
339
  * returns the year alone. Kept under the source's name so the mapping back is
334
340
  * greppable.
335
341
  */
@@ -396,7 +402,7 @@ export declare type MonthGridOptions = {
396
402
  };
397
403
 
398
404
  /**
399
- * `2027-11-28` -> `2027-11`.. Named rather than sliced at each call site so the two key
405
+ * `2055-11-28` -> `2055-11`.. Named rather than sliced at each call site so the two key
400
406
  * formats stay one vocabulary.
401
407
  */
402
408
  export declare function monthOfDay(day: string): CalendarMonthKey;
@@ -642,7 +648,7 @@ declare interface Ticket {
642
648
  export declare function timeOfDayInZone(now: Date, timeZone: string | null): string;
643
649
 
644
650
  /** Select Time — the timeslot picker's content. */
645
- export declare function TimePicker({ series, today, nowTime, selection, onSelectDay, slots, onSelectTime, remaining, accessory, onVisibleMonthChange, }: TimePickerProps): react_jsx_runtime.JSX.Element;
651
+ export declare function TimePicker({ series, today, nowTime, selection, onSelectDay, slots, onSelectTime, remaining, accessory, onVisibleMonthChange, grouping, }: TimePickerProps): react_jsx_runtime.JSX.Element;
646
652
 
647
653
  export declare type TimePickerProps = {
648
654
  /**
@@ -681,6 +687,8 @@ export declare type TimePickerProps = {
681
687
  * it: they all belong to one day.
682
688
  */
683
689
  readonly onVisibleMonthChange?: (month: CalendarMonthKey) => void;
690
+ /** How the day's slots are cut up — see `TimeslotGrouping`. Absent is the eight bands. */
691
+ readonly grouping?: TimeslotGrouping | undefined;
684
692
  };
685
693
 
686
694
  /**
@@ -730,6 +738,13 @@ export declare type Timeslot = {
730
738
  * on how the number was arrived at.
731
739
  */
732
740
  readonly fromPrice?: SlotPrice | null;
741
+ /**
742
+ * THE NAME OF THE PRODUCT THAT SELLS THIS SLOT — `Ticket.Name`, "Peak" or "Off-Peak" —
743
+ * where the slot was read off one. What `PRODUCT` grouping heads each group with. Absent
744
+ * is a slot a host built without saying, and it is grouped with the others that say
745
+ * nothing, under no heading.
746
+ */
747
+ readonly product?: string;
733
748
  };
734
749
 
735
750
  /** One slot, resolved: what it is, when it is, and what it can do. */
@@ -745,6 +760,11 @@ export declare type TimeslotCell = {
745
760
  };
746
761
 
747
762
  export declare type TimeslotGroup = {
763
+ /**
764
+ * Unique among a list's groups, and stable while its slots are — what a renderer keys
765
+ * the group by. The part of the day, the product, or `ALL` for the one ungrouped list.
766
+ */
767
+ readonly key: string;
748
768
  /** The part of the day these fall in, or null when the list was not cut by time. */
749
769
  readonly part: PartOfDay | null;
750
770
  /** The heading to draw above them, or null when there is none. */
@@ -761,8 +781,12 @@ export declare type TimeslotGroup = {
761
781
  * carries and this file does not know about. Slots hang off a TICKET, so "Peak" and
762
782
  * "Off-Peak" are a grouping the host has and cutting it again by time of day gives a
763
783
  * buyer two headings for one list.
784
+ *
785
+ * `PRODUCT` IS THAT GROUPING, DRAWN: one group per product the day's slots are sold by,
786
+ * headed by its name — see `Timeslot.product`. For a run whose products ARE the sessions'
787
+ * kind, which is what a buyer is choosing between, and the time of day is not.
764
788
  */
765
- export declare type TimeslotGrouping = 'PART_OF_DAY' | 'NONE';
789
+ export declare type TimeslotGrouping = 'PART_OF_DAY' | 'PRODUCT' | 'NONE';
766
790
 
767
791
  export declare type TimeslotOptions = {
768
792
  /**
@@ -812,11 +836,11 @@ export declare type TimeslotPickerProps = {
812
836
  */
813
837
  readonly accessory: DatePickerCellAccessory;
814
838
  /**
815
- * Defaults to the island's own eight bands. `NONE` draws one chronological list with no
816
- * heading — for a host whose list is already grouped by something this component cannot
817
- * see, which for a ticket's slots it always is. See `TimeslotGrouping`.
839
+ * Defaults to the island's own eight bands. `PRODUCT` heads each product's slots with its
840
+ * name. `NONE` draws one chronological list with no heading — for a host whose list is
841
+ * already grouped by something this component cannot see. See `TimeslotGrouping`.
818
842
  */
819
- readonly grouping?: TimeslotGrouping;
843
+ readonly grouping?: TimeslotGrouping | undefined;
820
844
  };
821
845
 
822
846
  /**
@@ -834,7 +858,7 @@ declare interface TimeslotRequest {
834
858
  /**
835
859
  * THE SESSION AS THE CART WANTS IT — A TIME OF DAY, NOT A TIMESTAMP.
836
860
  *
837
- * This sent `2026-12-12T18:00:00`, on the reading that `TimeslotRequest.LocalStartTime`
861
+ * This sent `2054-12-12T18:00:00`, on the reading that `TimeslotRequest.LocalStartTime`
838
862
  * is a local timestamp and the day the buyer chose is half the answer. It is not. The
839
863
  * bulk add deserialises both ends into a .NET `System.TimeSpan` and refused every order
840
864
  * that carried one: `The JSON value could not be converted to System.TimeSpan. Path: $`,
@@ -884,6 +908,12 @@ declare interface UserType {
884
908
  Name: string;
885
909
  DiscountNominal: number;
886
910
  DiscountRate: number;
911
+ /**
912
+ * How many people one of this type admits — 4 for a "Family of 4", 1 for an Adult. One
913
+ * unit of the type is one ticket however many it seats. Absent from older platform
914
+ * builds, which is 1.
915
+ */
916
+ NumberOfPeople?: number;
887
917
  /** The organiser's own condition on choosing it, drawn under the name at `PARTY`. */
888
918
  Note?: string | null;
889
919
  /** Whether the buyer must show ID. Varies BY PRODUCT under one name — see `agreed`. */
package/dist/pickers.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
- /** `2027-11-28` shifted by whole days, staying a `YYYY-MM-DD` key. */
3
+ /** `2055-11-28` shifted by whole days, staying a `YYYY-MM-DD` key. */
4
4
  export declare function addDays(day: string, count: number): string;
5
5
 
6
6
  /**
@@ -270,11 +270,17 @@ export declare type DayAvailability = {
270
270
  };
271
271
 
272
272
  /** Select Day — the day picker's content. */
273
- export declare function DayPicker({ series, today, selectedDay, onSelectDay, remaining, accessory, onVisibleMonthChange, }: DayPickerProps): react_jsx_runtime.JSX.Element | null;
273
+ export declare function DayPicker({ series, offered, today, selectedDay, onSelectDay, remaining, accessory, onVisibleMonthChange, }: DayPickerProps): react_jsx_runtime.JSX.Element | null;
274
274
 
275
275
  export declare type DayPickerProps = {
276
276
  /** The run being picked from. Every month it touches is drawn. */
277
277
  readonly series: CalendarSeries;
278
+ /**
279
+ * THE DAYS STILL ON OFFER, where the inventory filter has hidden some — absent is all of
280
+ * `series`. The weeks stay the whole run's, so ticking a box greys days where they stand
281
+ * rather than moving the month the buyer is reading; see `offeredSeries`.
282
+ */
283
+ readonly offered?: CalendarSeries;
278
284
  /**
279
285
  * `YYYY-MM-DD` in the VENUE's local day, never the device's. Passed in rather than read
280
286
  * from a clock — see `MonthGridOptions`.
@@ -316,20 +322,20 @@ declare interface EventTimeslot {
316
322
  Remaining: number;
317
323
  }
318
324
 
319
- /** A day key as its date — `2027-12-01` -> `1 December 2027`. */
325
+ /** A day key as its date — `2055-12-01` -> `1 December 2055`. */
320
326
  export declare function formatDayDate(day: string): string;
321
327
 
322
- /** A day key as its weekday — `2027-12-01` -> `Wednesday`. */
328
+ /** A day key as its weekday — `2055-12-01` -> `Wednesday`. */
323
329
  export declare function formatDayWeekday(day: string): string;
324
330
 
325
- /** A month key as its name — `2028-06` -> `June`.. */
331
+ /** A month key as its name — `2056-06` -> `June`.. */
326
332
  export declare function formatMonthName(month: CalendarMonthKey): string;
327
333
 
328
- /** A month key as its SHORT name — `2028-06` -> `June`, `2028-12` -> `Dec.` */
334
+ /** A month key as its SHORT name — `2056-06` -> `June`, `2056-12` -> `Dec.` */
329
335
  export declare function formatMonthNameShort(month: CalendarMonthKey): string;
330
336
 
331
337
  /**
332
- * A month key's YEAR — `2028-06` -> `2028`., whose name says `MonthYear` and whose body
338
+ * A month key's YEAR — `2056-06` -> `2028`., whose name says `MonthYear` and whose body
333
339
  * returns the year alone. Kept under the source's name so the mapping back is
334
340
  * greppable.
335
341
  */
@@ -396,7 +402,7 @@ export declare type MonthGridOptions = {
396
402
  };
397
403
 
398
404
  /**
399
- * `2027-11-28` -> `2027-11`.. Named rather than sliced at each call site so the two key
405
+ * `2055-11-28` -> `2055-11`.. Named rather than sliced at each call site so the two key
400
406
  * formats stay one vocabulary.
401
407
  */
402
408
  export declare function monthOfDay(day: string): CalendarMonthKey;
@@ -642,7 +648,7 @@ declare interface Ticket {
642
648
  export declare function timeOfDayInZone(now: Date, timeZone: string | null): string;
643
649
 
644
650
  /** Select Time — the timeslot picker's content. */
645
- export declare function TimePicker({ series, today, nowTime, selection, onSelectDay, slots, onSelectTime, remaining, accessory, onVisibleMonthChange, }: TimePickerProps): react_jsx_runtime.JSX.Element;
651
+ export declare function TimePicker({ series, today, nowTime, selection, onSelectDay, slots, onSelectTime, remaining, accessory, onVisibleMonthChange, grouping, }: TimePickerProps): react_jsx_runtime.JSX.Element;
646
652
 
647
653
  export declare type TimePickerProps = {
648
654
  /**
@@ -681,6 +687,8 @@ export declare type TimePickerProps = {
681
687
  * it: they all belong to one day.
682
688
  */
683
689
  readonly onVisibleMonthChange?: (month: CalendarMonthKey) => void;
690
+ /** How the day's slots are cut up — see `TimeslotGrouping`. Absent is the eight bands. */
691
+ readonly grouping?: TimeslotGrouping | undefined;
684
692
  };
685
693
 
686
694
  /**
@@ -730,6 +738,13 @@ export declare type Timeslot = {
730
738
  * on how the number was arrived at.
731
739
  */
732
740
  readonly fromPrice?: SlotPrice | null;
741
+ /**
742
+ * THE NAME OF THE PRODUCT THAT SELLS THIS SLOT — `Ticket.Name`, "Peak" or "Off-Peak" —
743
+ * where the slot was read off one. What `PRODUCT` grouping heads each group with. Absent
744
+ * is a slot a host built without saying, and it is grouped with the others that say
745
+ * nothing, under no heading.
746
+ */
747
+ readonly product?: string;
733
748
  };
734
749
 
735
750
  /** One slot, resolved: what it is, when it is, and what it can do. */
@@ -745,6 +760,11 @@ export declare type TimeslotCell = {
745
760
  };
746
761
 
747
762
  export declare type TimeslotGroup = {
763
+ /**
764
+ * Unique among a list's groups, and stable while its slots are — what a renderer keys
765
+ * the group by. The part of the day, the product, or `ALL` for the one ungrouped list.
766
+ */
767
+ readonly key: string;
748
768
  /** The part of the day these fall in, or null when the list was not cut by time. */
749
769
  readonly part: PartOfDay | null;
750
770
  /** The heading to draw above them, or null when there is none. */
@@ -761,8 +781,12 @@ export declare type TimeslotGroup = {
761
781
  * carries and this file does not know about. Slots hang off a TICKET, so "Peak" and
762
782
  * "Off-Peak" are a grouping the host has and cutting it again by time of day gives a
763
783
  * buyer two headings for one list.
784
+ *
785
+ * `PRODUCT` IS THAT GROUPING, DRAWN: one group per product the day's slots are sold by,
786
+ * headed by its name — see `Timeslot.product`. For a run whose products ARE the sessions'
787
+ * kind, which is what a buyer is choosing between, and the time of day is not.
764
788
  */
765
- export declare type TimeslotGrouping = 'PART_OF_DAY' | 'NONE';
789
+ export declare type TimeslotGrouping = 'PART_OF_DAY' | 'PRODUCT' | 'NONE';
766
790
 
767
791
  export declare type TimeslotOptions = {
768
792
  /**
@@ -812,11 +836,11 @@ export declare type TimeslotPickerProps = {
812
836
  */
813
837
  readonly accessory: DatePickerCellAccessory;
814
838
  /**
815
- * Defaults to the island's own eight bands. `NONE` draws one chronological list with no
816
- * heading — for a host whose list is already grouped by something this component cannot
817
- * see, which for a ticket's slots it always is. See `TimeslotGrouping`.
839
+ * Defaults to the island's own eight bands. `PRODUCT` heads each product's slots with its
840
+ * name. `NONE` draws one chronological list with no heading — for a host whose list is
841
+ * already grouped by something this component cannot see. See `TimeslotGrouping`.
818
842
  */
819
- readonly grouping?: TimeslotGrouping;
843
+ readonly grouping?: TimeslotGrouping | undefined;
820
844
  };
821
845
 
822
846
  /**
@@ -834,7 +858,7 @@ declare interface TimeslotRequest {
834
858
  /**
835
859
  * THE SESSION AS THE CART WANTS IT — A TIME OF DAY, NOT A TIMESTAMP.
836
860
  *
837
- * This sent `2026-12-12T18:00:00`, on the reading that `TimeslotRequest.LocalStartTime`
861
+ * This sent `2054-12-12T18:00:00`, on the reading that `TimeslotRequest.LocalStartTime`
838
862
  * is a local timestamp and the day the buyer chose is half the answer. It is not. The
839
863
  * bulk add deserialises both ends into a .NET `System.TimeSpan` and refused every order
840
864
  * that carried one: `The JSON value could not be converted to System.TimeSpan. Path: $`,
@@ -884,6 +908,12 @@ declare interface UserType {
884
908
  Name: string;
885
909
  DiscountNominal: number;
886
910
  DiscountRate: number;
911
+ /**
912
+ * How many people one of this type admits — 4 for a "Family of 4", 1 for an Adult. One
913
+ * unit of the type is one ticket however many it seats. Absent from older platform
914
+ * builds, which is 1.
915
+ */
916
+ NumberOfPeople?: number;
887
917
  /** The organiser's own condition on choosing it, drawn under the name at `PARTY`. */
888
918
  Note?: string | null;
889
919
  /** Whether the buyer must show ID. Varies BY PRODUCT under one name — see `agreed`. */
package/dist/pickers.js CHANGED
@@ -55,7 +55,7 @@ import {
55
55
  weeksInSeries,
56
56
  withSelectedDay,
57
57
  withSelectedTime
58
- } from "./chunk-WT7WSYIH.js";
58
+ } from "./chunk-VS7ACUTQ.js";
59
59
  export {
60
60
  CalendarGrainButton,
61
61
  ContentFlag,
package/dist/styles.css CHANGED
@@ -16,6 +16,7 @@
16
16
  --scopetickets-island-space-12: 48px;
17
17
  --scopetickets-island-space-13: 52px;
18
18
  --scopetickets-island-space-18: 72px;
19
+ --scopetickets-island-space-20: 80px;
19
20
  --scopetickets-island-space-25: 100px;
20
21
  --scopetickets-island-radius-round: 999px;
21
22
  --scopetickets-island-radius: var(--scopetickets-island-space-12);
@@ -96,6 +97,7 @@
96
97
  --scopetickets-island-action-blue-60: #3e5fff99;
97
98
  --scopetickets-island-action-blue-40: #3e5fff66;
98
99
  --scopetickets-island-action-blue-20: #3e5fff33;
100
+ --scopetickets-island-action-blue-10: #3e5fff1a;
99
101
  --scopetickets-island-green-light-100: #4ad968;
100
102
  --scopetickets-island-yellow-light-100: #fddf44;
101
103
  --scopetickets-island-yellow-light-90: #fddf44e5;
@@ -113,7 +115,7 @@
113
115
  --scopetickets-icon-metal-fill: var(--scopetickets-island-white-base-60);
114
116
  --scopetickets-icon-metal-gradient-max: var(--scopetickets-island-white-near-100);
115
117
  --scopetickets-icon-metal-gradient-min: var(--scopetickets-island-white-near-20);
116
- --scopetickets-icon-spin-ms: 5000ms;
118
+ --scopetickets-icon-spin-ms: 10000ms;
117
119
  --scopetickets-island-surface: var( --scope-surface-bg-elevated, var(--scopetickets-island-black-base-60) );
118
120
  --scopetickets-island-surface-base: var( --scope-bg-overlay-fallback, var(--scopetickets-island-black-base-100) );
119
121
  --scopetickets-island-stroke: var( --scope-surface-stroke, var(--scopetickets-island-white-base-10) );
@@ -134,6 +136,8 @@
134
136
  --scopetickets-island-unanswered: 0.4;
135
137
  --scopetickets-island-choice-hover: var(--scopetickets-island-white-base-10);
136
138
  --scopetickets-island-choice-unselected: var(--scopetickets-island-black-base-20);
139
+ --scopetickets-island-choice-checked: var(--scopetickets-island-action-blue-10);
140
+ --scopetickets-island-agreement-checked: var(--scopetickets-island-action-blue-20);
137
141
  --scopetickets-island-input-text: var(--scopetickets-island-white-near-100);
138
142
  --scopetickets-island-input-text-secondary: var(--scopetickets-island-white-near-60);
139
143
  --scopetickets-island-input-text-secondary-focus: var(--scopetickets-island-white-near-80);
@@ -218,7 +222,7 @@
218
222
  --scopetickets-island-card-gutter: var(--scopetickets-island-space-6);
219
223
  --scopetickets-island-calendar-dim: 0.2;
220
224
  --scopetickets-island-calendar-outside-month: 0.4;
221
- --scopetickets-island-surface-blur: var(--scopetickets-island-space-10);
225
+ --scopetickets-island-surface-blur: var(--scopetickets-island-space-20);
222
226
  --scopetickets-island-button-blur: var(--scopetickets-island-space-2);
223
227
  --scopetickets-island-font-body: var( --scope-font-family, "Basier Square", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif );
224
228
  --scopetickets-island-font-heading: var( --scope-font-family-heading, "Basier Circle", var(--scopetickets-island-font-body) );
@@ -377,6 +381,7 @@
377
381
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-follow__row,
378
382
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-rating__star,
379
383
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-switch,
384
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-booking__wallet-badge,
380
385
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-photos__photo {
381
386
  transition: var(--scopetickets-island-pop-release);
382
387
  }
@@ -387,15 +392,18 @@
387
392
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-timeslot[data-pressed] .scopetickets-island-timeslot__pill,
388
393
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-pay__row[data-pressed],
389
394
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-follow__row[data-pressed],
395
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-inventories__row[data-pressed],
390
396
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-rating__star[data-pressed],
391
397
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-switch[data-pressed],
398
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-booking__wallet-badge[data-pressed],
392
399
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-photos__cell[data-pressed] .scopetickets-island-photos__photo {
393
400
  transform: scale(var(--scopetickets-island-pop-scale));
394
401
  transition: var(--scopetickets-island-pop-press);
395
402
  }
396
403
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-day[data-pressed] .scopetickets-island-day__well,
397
404
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-timeslot[data-pressed] .scopetickets-island-timeslot__pill,
398
- :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-follow__row[data-pressed] {
405
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-follow__row[data-pressed],
406
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-inventories__row[data-pressed] {
399
407
  transition: var(--scopetickets-island-pop-press), var(--scopetickets-island-tint-legs);
400
408
  }
401
409
  :is([data-scopetickets-picker], [data-scopetickets-island]) [data-accessory=NONE] {
@@ -469,6 +477,9 @@
469
477
  white-space: nowrap;
470
478
  overflow: hidden;
471
479
  }
480
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-timeslots__label {
481
+ text-transform: uppercase;
482
+ }
472
483
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-calendar__weekday {
473
484
  flex: 1 1 0;
474
485
  min-width: 0;
@@ -1069,6 +1080,74 @@
1069
1080
  cursor: default;
1070
1081
  opacity: var(--scopetickets-island-disabled-opacity);
1071
1082
  }
1083
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-inventories {
1084
+ display: flex;
1085
+ flex-direction: column;
1086
+ gap: var(--scopetickets-island-space-1);
1087
+ width: 100%;
1088
+ padding-top: var(--scopetickets-island-space-6);
1089
+ }
1090
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-calendar:has(+ .scopetickets-island-inventories) {
1091
+ --scopetickets-island-calendar-bleed: 0px;
1092
+ }
1093
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-inventories__row {
1094
+ display: flex;
1095
+ gap: var(--scopetickets-island-space-3);
1096
+ align-items: center;
1097
+ width: 100%;
1098
+ padding: var(--scopetickets-island-space-3) var(--scopetickets-island-space-6) var(--scopetickets-island-space-3) var(--scopetickets-island-space-2);
1099
+ border: none;
1100
+ border-radius: var(--scopetickets-island-space-3);
1101
+ background: none;
1102
+ color: var(--scopetickets-island-text-subtle);
1103
+ font: inherit;
1104
+ font-size: var(--scopetickets-island-size-md);
1105
+ line-height: var(--scopetickets-island-leading-md);
1106
+ text-align: left;
1107
+ cursor: pointer;
1108
+ transition: var(--scopetickets-island-pop-release), var(--scopetickets-island-tint-legs);
1109
+ }
1110
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-inventories__row[data-selected] {
1111
+ background: var(--scopetickets-island-choice-checked);
1112
+ color: var(--scopetickets-island-text-80);
1113
+ }
1114
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-inventories__row[aria-disabled=true] {
1115
+ cursor: default;
1116
+ }
1117
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-inventories__row:focus-visible {
1118
+ outline: var(--scopetickets-island-focus-width) solid currentColor;
1119
+ outline-offset: var(--scopetickets-island-focus-offset);
1120
+ }
1121
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-inventories__label {
1122
+ flex: 1 1 auto;
1123
+ min-width: 0;
1124
+ white-space: nowrap;
1125
+ overflow: hidden;
1126
+ text-overflow: ellipsis;
1127
+ }
1128
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-check {
1129
+ display: flex;
1130
+ flex: none;
1131
+ align-items: center;
1132
+ justify-content: center;
1133
+ width: var(--scopetickets-island-space-4);
1134
+ height: var(--scopetickets-island-space-4);
1135
+ padding: var(--scopetickets-island-space-0-5);
1136
+ border: var(--scopetickets-island-space-0-25) solid var(--scopetickets-island-stroke);
1137
+ border-radius: var(--scopetickets-island-space-1);
1138
+ background: var(--scopetickets-island-choice-unselected);
1139
+ color: var(--scopetickets-island-action-text);
1140
+ transition: background var(--scopetickets-island-press-ms) var(--scopetickets-island-ease);
1141
+ }
1142
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-check[data-selected] {
1143
+ background: var(--scopetickets-island-action-bg);
1144
+ }
1145
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-check__mark {
1146
+ display: flex;
1147
+ width: var(--scopetickets-island-space-2);
1148
+ height: var(--scopetickets-island-space-2);
1149
+ filter: drop-shadow(0 var(--scopetickets-island-space-0-5) var(--scopetickets-island-space-0-5) var(--scopetickets-island-black-near-20));
1150
+ }
1072
1151
 
1073
1152
  /* src/island/island.css */
1074
1153
  [data-scopetickets-island] {
@@ -1401,7 +1480,11 @@
1401
1480
  display: flex;
1402
1481
  flex-direction: column;
1403
1482
  width: 100%;
1404
- max-height: calc(var(--scopetickets-island-ceiling) - var(--scopetickets-island-padding-block) * 2 - var(--scopetickets-island-space-0-25) * 2);
1483
+ --scopetickets-island-card-room: calc( var(--scopetickets-island-ceiling) - var(--scopetickets-island-padding-block) * 2 - var(--scopetickets-island-space-0-25) * 2 );
1484
+ max-height: var(--scopetickets-island-card-room);
1485
+ }
1486
+ [data-scopetickets-island] .scopetickets-island-card[data-typed] {
1487
+ min-height: var(--scopetickets-island-card-room);
1405
1488
  }
1406
1489
  [data-scopetickets-island] .scopetickets-island-card__content {
1407
1490
  display: flex;
@@ -1516,17 +1599,94 @@
1516
1599
  }
1517
1600
  [data-scopetickets-island] .scopetickets-island-card__agreement {
1518
1601
  display: flex;
1519
- align-items: center;
1520
- justify-content: space-between;
1521
- gap: var(--scopetickets-island-field-inset);
1522
- min-height: var(--scopetickets-island-field-height);
1523
- padding-inline: var(--scopetickets-island-field-inset);
1602
+ flex-direction: column;
1603
+ align-items: stretch;
1604
+ gap: var(--scopetickets-island-space-4);
1605
+ padding: var(--scopetickets-island-space-4);
1606
+ border: var(--scopetickets-island-space-0-25) solid var(--scopetickets-island-input-stroke);
1607
+ border-radius: var(--scopetickets-island-space-4);
1608
+ background: var(--scopetickets-island-input-bg);
1609
+ cursor: pointer;
1610
+ -webkit-tap-highlight-color: transparent;
1611
+ transition: background var(--scopetickets-island-press-ms) var(--scopetickets-island-ease), border-color var(--scopetickets-island-press-ms) var(--scopetickets-island-ease);
1612
+ }
1613
+ [data-scopetickets-island] .scopetickets-island-card__agreement[data-disabled] {
1614
+ cursor: default;
1615
+ }
1616
+ [data-scopetickets-island] .scopetickets-island-card__agreement[data-checked] {
1617
+ background: var(--scopetickets-island-agreement-checked);
1618
+ border-color: var(--scopetickets-island-input-stroke-focus);
1524
1619
  }
1525
1620
  [data-scopetickets-island] .scopetickets-island-card__agreement-label {
1621
+ color: var(--scopetickets-island-text-80);
1622
+ font-size: var(--scopetickets-island-size-md);
1623
+ line-height: var(--scopetickets-island-leading-md);
1624
+ }
1625
+ [data-scopetickets-island] .scopetickets-island-card__agreement-rule {
1626
+ height: var(--scopetickets-island-space-0-25);
1627
+ background: var(--scopetickets-island-construction-line);
1628
+ }
1629
+ [data-scopetickets-island] .scopetickets-island-card__agreement-mark {
1630
+ display: flex;
1631
+ align-self: center;
1632
+ align-items: center;
1633
+ justify-content: center;
1634
+ width: var(--scopetickets-island-space-8);
1635
+ height: var(--scopetickets-island-space-8);
1636
+ margin: 0;
1637
+ padding: 0;
1638
+ border: var(--scopetickets-island-space-0-25) solid var(--scopetickets-island-input-stroke);
1639
+ border-radius: var(--scopetickets-island-radius-round);
1640
+ background: transparent;
1641
+ color: var(--scopetickets-island-white-near-100);
1642
+ cursor: inherit;
1643
+ transition: background var(--scopetickets-island-press-ms) var(--scopetickets-island-ease);
1644
+ }
1645
+ [data-scopetickets-island] .scopetickets-island-card__agreement-mark[aria-checked=true] {
1646
+ background: var(--scopetickets-island-action-bg);
1647
+ }
1648
+ [data-scopetickets-island] .scopetickets-island-card__agreement-mark:disabled {
1649
+ opacity: var(--scopetickets-island-disabled-opacity);
1650
+ }
1651
+ [data-scopetickets-island] .scopetickets-island-card__agreement-mark:focus-visible {
1652
+ outline: var(--scopetickets-island-focus-width) solid currentColor;
1653
+ outline-offset: var(--scopetickets-island-focus-offset);
1654
+ }
1655
+ [data-scopetickets-island] .scopetickets-island-card__agreement-tick {
1656
+ display: flex;
1657
+ width: var(--scopetickets-island-space-4);
1658
+ height: var(--scopetickets-island-space-4);
1659
+ }
1660
+ [data-scopetickets-island] .scopetickets-island-card__question {
1661
+ padding-inline: var(--scopetickets-island-field-inset);
1526
1662
  color: var(--scopetickets-island-input-text-secondary);
1527
1663
  font-size: var(--scopetickets-island-size-md);
1528
1664
  line-height: var(--scopetickets-island-leading-md);
1529
1665
  }
1666
+ [data-scopetickets-island] .scopetickets-island-prose {
1667
+ display: flex;
1668
+ flex-direction: column;
1669
+ gap: var(--scopetickets-island-space-2);
1670
+ min-width: 0;
1671
+ white-space: pre-line;
1672
+ overflow-wrap: anywhere;
1673
+ }
1674
+ [data-scopetickets-island] .scopetickets-island-prose__list {
1675
+ display: flex;
1676
+ flex-direction: column;
1677
+ gap: var(--scopetickets-island-space-1);
1678
+ margin: 0;
1679
+ padding-inline-start: var(--scopetickets-island-space-5);
1680
+ }
1681
+ [data-scopetickets-island] .scopetickets-island-prose a {
1682
+ color: inherit;
1683
+ text-decoration: underline;
1684
+ text-underline-offset: var(--scopetickets-island-space-0-5);
1685
+ }
1686
+ [data-scopetickets-island] .scopetickets-island-prose a:focus-visible {
1687
+ outline: var(--scopetickets-island-focus-width) solid currentColor;
1688
+ outline-offset: var(--scopetickets-island-focus-offset);
1689
+ }
1530
1690
  [data-scopetickets-island] .scopetickets-island-card__buttons {
1531
1691
  position: absolute;
1532
1692
  inset-inline: 0;
@@ -1786,6 +1946,8 @@
1786
1946
  background: color-mix(in srgb, var(--scopetickets-island-button-fill, transparent) calc(var(--scopetickets-island-disabled-opacity) * 100%), transparent);
1787
1947
  color: color-mix(in srgb, currentColor calc(var(--scopetickets-island-disabled-opacity) * 100%), transparent);
1788
1948
  border-color: color-mix(in srgb, var(--scopetickets-island-button-stroke) calc(var(--scopetickets-island-disabled-opacity) * 100%), transparent);
1949
+ -webkit-backdrop-filter: none;
1950
+ backdrop-filter: none;
1789
1951
  }
1790
1952
  [data-scopetickets-island] .scopetickets-island-button:disabled .scopetickets-island-button__mark,
1791
1953
  [data-scopetickets-island] .scopetickets-island-button--disabled .scopetickets-island-button__mark,
@@ -2379,7 +2541,7 @@
2379
2541
  }
2380
2542
  [data-scopetickets-glyph-spin],
2381
2543
  [data-scopetickets-island] .scopetickets-island-status-turning {
2382
- animation: scopetickets-icon-spin var(--scopetickets-icon-spin-ms, 5000ms) linear infinite;
2544
+ animation: scopetickets-icon-spin var(--scopetickets-icon-spin-ms, 10000ms) linear infinite;
2383
2545
  }
2384
2546
  [data-scopetickets-island][data-transitioning] [data-scopetickets-glyph-spin],
2385
2547
  [data-scopetickets-island][data-transitioning] .scopetickets-island-status-turning,
@@ -2477,6 +2639,30 @@
2477
2639
  background: transparent;
2478
2640
  color-scheme: normal;
2479
2641
  }
2642
+ [data-scopetickets-island] .scopetickets-island-passkey-window {
2643
+ display: flex;
2644
+ align-items: center;
2645
+ justify-content: center;
2646
+ box-sizing: border-box;
2647
+ width: 100%;
2648
+ min-height: var(--scope-passkey-min-height, var(--scopetickets-island-button-height, 48px));
2649
+ padding: var(--scope-passkey-padding, 0 20px);
2650
+ border: var(--scope-passkey-border, none);
2651
+ border-radius: var(--scope-passkey-radius, var(--scopetickets-island-radius-round, 12px));
2652
+ background: var(--scope-passkey-background, var(--scopetickets-island-primary-bg, #1c1c1e));
2653
+ color: var(--scope-passkey-color, var(--scopetickets-island-primary-text, #ffffff));
2654
+ font-family: var(--scope-passkey-font-family, inherit);
2655
+ font-size: var(--scope-passkey-font-size, inherit);
2656
+ font-weight: var(--scope-passkey-font-weight, 600);
2657
+ line-height: var(--scope-passkey-line-height, 1.2);
2658
+ cursor: pointer;
2659
+ }
2660
+ [data-scopetickets-island] .scopetickets-island-passkey-note {
2661
+ margin: 8px 0 0;
2662
+ font-size: var(--scopetickets-island-size-sm, 12px);
2663
+ line-height: 1.5;
2664
+ opacity: 0.7;
2665
+ }
2480
2666
  [data-scopetickets-island] .scopetickets-island-passkey-slot {
2481
2667
  display: block;
2482
2668
  width: 100%;
@@ -2546,6 +2732,18 @@
2546
2732
  justify-content: center;
2547
2733
  width: 100%;
2548
2734
  }
2735
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-booking__wallet-badge {
2736
+ display: block;
2737
+ }
2738
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-booking__wallet-badge img {
2739
+ display: block;
2740
+ width: auto;
2741
+ height: var(--scopetickets-island-button-height);
2742
+ }
2743
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-booking__wallet-badge:focus-visible {
2744
+ outline: var(--scopetickets-island-focus-width) solid currentColor;
2745
+ outline-offset: var(--scopetickets-island-focus-offset);
2746
+ }
2549
2747
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-booking__form {
2550
2748
  display: flex;
2551
2749
  flex-direction: column;
@@ -2760,6 +2958,7 @@
2760
2958
  flex: none;
2761
2959
  align-items: center;
2762
2960
  justify-content: center;
2961
+ position: relative;
2763
2962
  width: var(--scopetickets-island-space-4);
2764
2963
  height: var(--scopetickets-island-space-4);
2765
2964
  padding: 0;
@@ -2769,6 +2968,15 @@
2769
2968
  cursor: pointer;
2770
2969
  transition: var(--scopetickets-island-pop-release);
2771
2970
  }
2971
+ :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-codes__arrow::before {
2972
+ content: "";
2973
+ position: absolute;
2974
+ top: 50%;
2975
+ left: 50%;
2976
+ width: var(--scopetickets-island-touch-target);
2977
+ height: var(--scopetickets-island-touch-target);
2978
+ transform: translate(-50%, -50%);
2979
+ }
2772
2980
  :is([data-scopetickets-picker], [data-scopetickets-island]) .scopetickets-island-codes__arrow[data-disabled] {
2773
2981
  opacity: var(--scopetickets-island-disabled-opacity);
2774
2982
  cursor: default;