indicator-ui 0.1.24 → 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 +11 -7
- 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() {
|
|
@@ -63054,10 +63060,8 @@ var _Dropdown = function _Dropdown(props, ref) {
|
|
|
63054
63060
|
width = _props$width === void 0 ? 'fill' : _props$width,
|
|
63055
63061
|
isActive = props.isActive,
|
|
63056
63062
|
className = props.className,
|
|
63057
|
-
|
|
63058
|
-
|
|
63059
|
-
_props$style = props.style,
|
|
63060
|
-
style = _props$style === void 0 ? {} : _props$style,
|
|
63063
|
+
styles = props.styles,
|
|
63064
|
+
style = props.style,
|
|
63061
63065
|
elementAfter = props.elementAfter,
|
|
63062
63066
|
elementBefore = props.elementBefore,
|
|
63063
63067
|
scrollCallbacks = _objectWithoutProperties(props, _excluded);
|
|
@@ -63077,7 +63081,7 @@ var _Dropdown = function _Dropdown(props, ref) {
|
|
|
63077
63081
|
}
|
|
63078
63082
|
return _objectSpread(_objectSpread({
|
|
63079
63083
|
width: resWidth
|
|
63080
|
-
}, styles), style);
|
|
63084
|
+
}, styles || {}), style || {});
|
|
63081
63085
|
};
|
|
63082
63086
|
var getValue = function getValue(curItem) {
|
|
63083
63087
|
if ((0,_lib__WEBPACK_IMPORTED_MODULE_3__.isObject)(curItem) && 'value' in curItem) {
|