@joy-ride/joy-ride 0.2.1 → 0.2.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/npm/embed.js CHANGED
@@ -5,4 +5,4 @@ if (typeof document !== 'undefined' && !document.querySelector('link[data-jr-sty
5
5
  link.href = new URL("embed-assets/src-DCczMlG6.css", import.meta.url).href;
6
6
  document.head.append(link);
7
7
  }
8
- import{t as e}from"./embed-chunks/src-UqbaZg21.js";if(typeof window<`u`&&(window.JoyRide=e,document.querySelector(`script[data-jr-auto]`))){let t=()=>{e.active||e.mount()};document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,t,{once:!0}):queueMicrotask(t)}var t=e;export{t as default};
8
+ import{t as e}from"./embed-chunks/src-BH3xIhRK.js";if(typeof window<`u`&&(window.JoyRide=e,document.querySelector(`script[data-jr-auto]`))){let t=()=>{e.active||e.mount()};document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,t,{once:!0}):queueMicrotask(t)}var t=e;export{t as default};
package/npm/index.d.ts CHANGED
@@ -623,11 +623,11 @@ declare class VehicleEntity {
623
623
  id: string;
624
624
  label: string;
625
625
  appearance: "light" | "auto" | "dark";
626
- slots: Readonly<Partial<Record<1 | 4 | 2 | 3 | 5 | 8 | 9 | 7 | 6, false | VehicleSlot>>>;
627
- slotHeld: (1 | 4 | 2 | 3 | 5 | 8 | 9 | 7 | 6)[];
628
- slotPulses: (1 | 4 | 2 | 3 | 5 | 8 | 9 | 7 | 6)[];
629
- slotPresses: (1 | 4 | 2 | 3 | 5 | 8 | 9 | 7 | 6)[];
630
- previousSlotInput: (1 | 4 | 2 | 3 | 5 | 8 | 9 | 7 | 6)[];
626
+ slots: Readonly<Partial<Record<9 | 1 | 8 | 4 | 5 | 7 | 2 | 6 | 3, false | VehicleSlot>>>;
627
+ slotHeld: (9 | 1 | 8 | 4 | 5 | 7 | 2 | 6 | 3)[];
628
+ slotPulses: (9 | 1 | 8 | 4 | 5 | 7 | 2 | 6 | 3)[];
629
+ slotPresses: (9 | 1 | 8 | 4 | 5 | 7 | 2 | 6 | 3)[];
630
+ previousSlotInput: (9 | 1 | 8 | 4 | 5 | 7 | 2 | 6 | 3)[];
631
631
  activeEmitters: {
632
632
  slot: SlotNumber;
633
633
  liquid: string;
@@ -2452,6 +2452,8 @@ type VehicleArrivalOptions = {
2452
2452
  xPx: number;
2453
2453
  yPx: number;
2454
2454
  };
2455
+ /** Wait this many milliseconds before starting the entrance; defaults to 0. */
2456
+ delayMs?: number;
2455
2457
  /** Fractions of the target box; omitted values center the destination. */
2456
2458
  stopAt?: {
2457
2459
  x?: number;
package/npm/index.js CHANGED
@@ -5,4 +5,4 @@ if (typeof document !== 'undefined' && !document.querySelector('link[data-jr-sty
5
5
  link.href = new URL("embed-assets/src-DCczMlG6.css", import.meta.url).href;
6
6
  document.head.append(link);
7
7
  }
8
- export{t as default}from"./embed-chunks/src-UqbaZg21.js";
8
+ export{t as default}from"./embed-chunks/src-BH3xIhRK.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@joy-ride/joy-ride",
3
3
  "private": false,
4
- "version": "0.2.1",
4
+ "version": "0.2.3",
5
5
  "description": "Drive through any website with cars, tire marks, liquids, fire, and breakable artwork.",
6
6
  "type": "module",
7
7
  "repository": {