@joy-ride/joy-ride 0.1.1 → 0.2.2
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 +5 -1
- package/npm/bookmarklet.d.ts +6 -2
- package/npm/bookmarklet.js +1 -30
- package/npm/embed-chunks/{Documentation-BYRVcu7a.js → Documentation-5Ck3Kwwo.js} +2 -2
- package/npm/embed-chunks/bookmarklet-DlL5EMxG.js +1237 -0
- package/npm/embed-chunks/src-BLVPHV3N.js +53 -0
- package/npm/embed.js +1 -1
- package/npm/index.d.ts +12 -5
- package/npm/index.js +1 -1
- package/package.json +1 -1
- package/npm/embed-chunks/src-CHjCYOJf.js +0 -1270
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-BLVPHV3N.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;
|
|
@@ -2680,6 +2682,11 @@ declare function mount(input?: EmbedOptions | PlaygroundConfiguration): EmbedCon
|
|
|
2680
2682
|
/** Keep the runtime API available as the default export for bundled hosts. */
|
|
2681
2683
|
declare const api: {
|
|
2682
2684
|
mount: typeof mount;
|
|
2685
|
+
options: {
|
|
2686
|
+
presets: {
|
|
2687
|
+
sfw(overrides?: EmbedOptions): EmbedOptions;
|
|
2688
|
+
};
|
|
2689
|
+
};
|
|
2683
2690
|
resolveWorkMode: typeof resolveWorkMode;
|
|
2684
2691
|
vehicleTools: readonly VehicleToolDefinition[];
|
|
2685
2692
|
availableVehicleTools: typeof availableVehicleTools;
|
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-BLVPHV3N.js";
|
package/package.json
CHANGED