@joy-ride/joy-ride 0.6.0 → 0.7.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/npm/embed.js CHANGED
@@ -1 +1 @@
1
- import{t as e}from"./embed-chunks/src-44B8xWmw.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};
1
+ import{t as e}from"./embed-chunks/src-CJjuUL3b.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
@@ -1934,13 +1934,13 @@ declare class Renderer {
1934
1934
  * main-thread cost. Deterministic playback passes synthetic times; skip those. */
1935
1935
  private governFluidQuality;
1936
1936
  }
1937
- /** Shared screen-space ordering. Foreground page UI stays below the pause menu and HUD. */
1937
+ /** A small shared stack above ordinary page content and below host menus and dialogs. */
1938
1938
  declare const overlayLayers: {
1939
- readonly world: 2147483643;
1940
- readonly foreground: 2147483644;
1941
- readonly backdrop: 2147483645;
1942
- readonly hud: 2147483646;
1943
- readonly controls: 2147483647;
1939
+ readonly world: 1;
1940
+ readonly foreground: 2;
1941
+ readonly backdrop: 3;
1942
+ readonly hud: 4;
1943
+ readonly controls: 5;
1944
1944
  };
1945
1945
  type OverlayLayer = keyof typeof overlayLayers;
1946
1946
  /** Set --joy-ride-z-index on :root to move the entire stack together. */
@@ -2701,11 +2701,11 @@ declare const api: {
2701
2701
  vehicleTools: readonly VehicleToolDefinition[];
2702
2702
  availableVehicleTools: typeof availableVehicleTools;
2703
2703
  overlayLayers: {
2704
- readonly world: 2147483643;
2705
- readonly foreground: 2147483644;
2706
- readonly backdrop: 2147483645;
2707
- readonly hud: 2147483646;
2708
- readonly controls: 2147483647;
2704
+ readonly world: 1;
2705
+ readonly foreground: 2;
2706
+ readonly backdrop: 3;
2707
+ readonly hud: 4;
2708
+ readonly controls: 5;
2709
2709
  };
2710
2710
  overlayZIndex: typeof overlayZIndex;
2711
2711
  define: typeof definePlayground;
package/npm/index.js CHANGED
@@ -1 +1 @@
1
- export{t as default}from"./embed-chunks/src-44B8xWmw.js";
1
+ export{t as default}from"./embed-chunks/src-CJjuUL3b.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.6.0",
4
+ "version": "0.7.0",
5
5
  "description": "Drive through any website with cars, tire marks, liquids, fire, and breakable artwork.",
6
6
  "type": "module",
7
7
  "repository": {