@webspatial/react-sdk 0.1.18 → 0.1.20

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 CHANGED
@@ -11,6 +11,6 @@ The React SDK from the WebSpatial SDK makes the WebSpatial API immediately avail
11
11
 
12
12
  - [Table of Contents](../../docs/en/README.md)
13
13
  - [Introduction](../../docs/en/introduction/README.md)
14
- - [Quick Start](../../docs/en/quick-start/README.md)
14
+ - [Quick Example](../../docs/en/quick-start/README.md)
15
15
  - [Core Concepts](../../docs/en/core-concepts/README.md)
16
16
  - [Development Guide](../../docs/en/development-guide/README.md)
@@ -2,7 +2,7 @@
2
2
  (function(){
3
3
  if(typeof window === 'undefined') return;
4
4
  if(!window.__webspatialsdk__) window.__webspatialsdk__ = {}
5
- window.__webspatialsdk__['react-sdk-version'] = "0.1.18"
5
+ window.__webspatialsdk__['react-sdk-version'] = "0.1.20"
6
6
  window.__webspatialsdk__['XR_ENV'] = "avp"
7
7
  })()
8
8
 
@@ -952,6 +952,7 @@ function syncDefaultSpatialStyle(openedWindow, debugName) {
952
952
  openedWindow.document.body.style.minHeight = "auto";
953
953
  openedWindow.document.body.style.maxWidth = "fit-content";
954
954
  openedWindow.document.body.style.minWidth = "fit-content";
955
+ openedWindow.document.body.style.background = "transparent";
955
956
  }
956
957
  function useSyncSpatialProps(spatialWindowManager, props, domRect, anchor, cornerRadiusFromStyle, opacity, stylePosition, isSubPortal) {
957
958
  let { allowScroll, scrollWithParent, style, spatialStyle = {} } = props;
@@ -3788,7 +3789,7 @@ function spatialPolyfill() {
3788
3789
  }
3789
3790
 
3790
3791
  // src/index.ts
3791
- var version = "0.1.18";
3792
+ var version = "0.1.20";
3792
3793
  export {
3793
3794
  CSSSpatialDiv,
3794
3795
  CSSSpatialPrimitive,