@webspatial/react-sdk 0.1.18 → 0.1.19
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/dist/default/index.js +3 -2
- package/dist/default/index.js.map +1 -1
- package/dist/jsx/jsx-dev-runtime.js +1 -1
- package/dist/jsx/jsx-dev-runtime.web.js +1 -1
- package/dist/jsx/jsx-runtime.js +1 -1
- package/dist/jsx/jsx-runtime.web.js +1 -1
- package/dist/web/index.js +3 -2
- package/dist/web/index.js.map +1 -1
- package/package.json +2 -2
package/dist/default/index.js
CHANGED
|
@@ -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.
|
|
5
|
+
window.__webspatialsdk__['react-sdk-version'] = "0.1.19"
|
|
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.
|
|
3792
|
+
var version = "0.1.19";
|
|
3792
3793
|
export {
|
|
3793
3794
|
CSSSpatialDiv,
|
|
3794
3795
|
CSSSpatialPrimitive,
|