indicator-ui 0.1.25 → 0.1.26
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/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -54986,9 +54986,15 @@ function useSmartPlacementResolver() {
|
|
|
54986
54986
|
height: windowObj.offsetHeight
|
|
54987
54987
|
};
|
|
54988
54988
|
}
|
|
54989
|
+
if (typeof window !== 'undefined') {
|
|
54990
|
+
return {
|
|
54991
|
+
width: window.innerWidth,
|
|
54992
|
+
height: window.innerHeight
|
|
54993
|
+
};
|
|
54994
|
+
}
|
|
54989
54995
|
return {
|
|
54990
|
-
width:
|
|
54991
|
-
height:
|
|
54996
|
+
width: 1920,
|
|
54997
|
+
height: 1080
|
|
54992
54998
|
};
|
|
54993
54999
|
};
|
|
54994
55000
|
var getPosOfWindow = function getPosOfWindow() {
|