@joy-ride/joy-ride 0.1.0 → 0.2.1
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 +11 -3
- package/npm/bookmarklet.d.ts +6 -2
- package/npm/bookmarklet.js +1 -30
- package/npm/embed-chunks/{Documentation-b9Qe6IWu.js → Documentation-ph9sr7BT.js} +2 -2
- package/npm/embed-chunks/bookmarklet-Bek8gyOY.js +1237 -0
- package/npm/embed-chunks/src-UqbaZg21.js +53 -0
- package/npm/embed.js +1 -1
- package/npm/index.d.ts +10 -5
- package/npm/index.js +1 -1
- package/package.json +2 -1
- package/npm/embed-chunks/src-d3m8FEbx.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-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};
|
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<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)[];
|
|
631
631
|
activeEmitters: {
|
|
632
632
|
slot: SlotNumber;
|
|
633
633
|
liquid: string;
|
|
@@ -2680,6 +2680,11 @@ declare function mount(input?: EmbedOptions | PlaygroundConfiguration): EmbedCon
|
|
|
2680
2680
|
/** Keep the runtime API available as the default export for bundled hosts. */
|
|
2681
2681
|
declare const api: {
|
|
2682
2682
|
mount: typeof mount;
|
|
2683
|
+
options: {
|
|
2684
|
+
presets: {
|
|
2685
|
+
sfw(overrides?: EmbedOptions): EmbedOptions;
|
|
2686
|
+
};
|
|
2687
|
+
};
|
|
2683
2688
|
resolveWorkMode: typeof resolveWorkMode;
|
|
2684
2689
|
vehicleTools: readonly VehicleToolDefinition[];
|
|
2685
2690
|
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-UqbaZg21.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.1
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"description": "Drive through any website with cars, tire marks, liquids, fire, and breakable artwork.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"repository": {
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"build": "pnpm run typecheck && pnpm --filter @joy-ride/site build",
|
|
45
45
|
"build:package": "pnpm run typecheck && pnpm --filter @joy-ride/embed build:package",
|
|
46
46
|
"check:package": "node packages/embed/scripts/check-package.mjs",
|
|
47
|
+
"publish:package": "node scripts/publish-package.mjs",
|
|
47
48
|
"prepublishOnly": "node packages/embed/scripts/check-package.mjs",
|
|
48
49
|
"build:pages": "pnpm run typecheck && pnpm --filter @joy-ride/site build:pages && pnpm --filter @joy-ride/embed build && node scripts/copy-embed.mjs && node scripts/check-bundle-size.mjs",
|
|
49
50
|
"build:extension": "pnpm --filter @joy-ride/extension build",
|