@seatlayer/js 0.13.0 → 0.14.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.
package/dist/index.d.cts CHANGED
@@ -388,6 +388,7 @@ interface SeatPickerOptions {
388
388
  }
389
389
  declare class SeatPicker {
390
390
  private readonly opts;
391
+ private readonly api;
391
392
  private readonly controller;
392
393
  private root;
393
394
  private mapHost;
@@ -399,6 +400,8 @@ declare class SeatPicker {
399
400
  private ro;
400
401
  private holdTimer;
401
402
  private toastTimer;
403
+ /** Short-lived UI motion timers; all are cancelled on destroy. */
404
+ private motionTimers;
402
405
  private currency;
403
406
  private hold;
404
407
  /** Latest server expiry for the open hold (moves on extend). */
@@ -438,6 +441,12 @@ declare class SeatPicker {
438
441
  private secCardShownAt;
439
442
  /** Previous tray ticket count — first 0→n transition auto-expands the mobile sheet. */
440
443
  private lastTrayCount;
444
+ /** Previous computed total — drives a single explanatory value bump. */
445
+ private lastTrayTotal;
446
+ /** Stable item keys prevent tray chips re-animating on unrelated realtime syncs. */
447
+ private lastTrayKeys;
448
+ private bestAvailableBusy;
449
+ private ctaPhase;
441
450
  private a11yChipsEl;
442
451
  private cbEl;
443
452
  private modalScrim;
@@ -476,6 +485,19 @@ declare class SeatPicker {
476
485
  private buildRegions;
477
486
  /** Read a resolved --sl-* token value (canvas needs a real color, not var()). */
478
487
  private cssVar;
488
+ /** Motion is progressive enhancement; all state remains legible when reduced. */
489
+ private reducedMotion;
490
+ private scheduleMotion;
491
+ /** Restart one finite CSS animation without leaving a permanent state class. */
492
+ private animateOnce;
493
+ /** Selection feedback belongs on the selected seat, not across the whole map. */
494
+ private flashPickedSeat;
495
+ /** A completed hold gets one short map ripple per concrete seat. */
496
+ private flashHeldSeats;
497
+ /** Update only the action affordance; selection callbacks must not refire. */
498
+ private pendingSelectionCount;
499
+ private syncCta;
500
+ private setCtaPhase;
479
501
  /** Section-bearing objects on the active floor (single-floor → doc.objects). */
480
502
  private activeFloorObjects;
481
503
  /**
package/dist/index.d.ts CHANGED
@@ -388,6 +388,7 @@ interface SeatPickerOptions {
388
388
  }
389
389
  declare class SeatPicker {
390
390
  private readonly opts;
391
+ private readonly api;
391
392
  private readonly controller;
392
393
  private root;
393
394
  private mapHost;
@@ -399,6 +400,8 @@ declare class SeatPicker {
399
400
  private ro;
400
401
  private holdTimer;
401
402
  private toastTimer;
403
+ /** Short-lived UI motion timers; all are cancelled on destroy. */
404
+ private motionTimers;
402
405
  private currency;
403
406
  private hold;
404
407
  /** Latest server expiry for the open hold (moves on extend). */
@@ -438,6 +441,12 @@ declare class SeatPicker {
438
441
  private secCardShownAt;
439
442
  /** Previous tray ticket count — first 0→n transition auto-expands the mobile sheet. */
440
443
  private lastTrayCount;
444
+ /** Previous computed total — drives a single explanatory value bump. */
445
+ private lastTrayTotal;
446
+ /** Stable item keys prevent tray chips re-animating on unrelated realtime syncs. */
447
+ private lastTrayKeys;
448
+ private bestAvailableBusy;
449
+ private ctaPhase;
441
450
  private a11yChipsEl;
442
451
  private cbEl;
443
452
  private modalScrim;
@@ -476,6 +485,19 @@ declare class SeatPicker {
476
485
  private buildRegions;
477
486
  /** Read a resolved --sl-* token value (canvas needs a real color, not var()). */
478
487
  private cssVar;
488
+ /** Motion is progressive enhancement; all state remains legible when reduced. */
489
+ private reducedMotion;
490
+ private scheduleMotion;
491
+ /** Restart one finite CSS animation without leaving a permanent state class. */
492
+ private animateOnce;
493
+ /** Selection feedback belongs on the selected seat, not across the whole map. */
494
+ private flashPickedSeat;
495
+ /** A completed hold gets one short map ripple per concrete seat. */
496
+ private flashHeldSeats;
497
+ /** Update only the action affordance; selection callbacks must not refire. */
498
+ private pendingSelectionCount;
499
+ private syncCta;
500
+ private setCtaPhase;
479
501
  /** Section-bearing objects on the active floor (single-floor → doc.objects). */
480
502
  private activeFloorObjects;
481
503
  /**