@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/README.md +1 -1
- package/npm/bookmarklet.js +1 -1
- package/npm/embed-chunks/{Documentation-ph9sr7BT.js → Documentation-DRBCOvgw.js} +2 -2
- package/npm/embed-chunks/{bookmarklet-Bek8gyOY.js → bookmarklet-DlL5EMxG.js} +2 -2
- package/npm/embed-chunks/src-BH3xIhRK.js +53 -0
- package/npm/embed.js +1 -1
- package/npm/index.d.ts +7 -5
- package/npm/index.js +1 -1
- package/package.json +1 -1
- package/npm/embed-chunks/src-UqbaZg21.js +0 -53
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-
|
|
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<
|
|
627
|
-
slotHeld: (
|
|
628
|
-
slotPulses: (
|
|
629
|
-
slotPresses: (
|
|
630
|
-
previousSlotInput: (
|
|
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-
|
|
8
|
+
export{t as default}from"./embed-chunks/src-BH3xIhRK.js";
|
package/package.json
CHANGED