baseui 0.0.0-alpha-d01e670 → 0.0.0-alpha-eb67197

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.
@@ -80,6 +80,8 @@ var AutoSizer = /*#__PURE__*/function (_React$PureComponent) {
80
80
  // Guard against AutoSizer component being removed from the DOM immediately after being added.
81
81
  // This can result in invalid style values which can result in NaN values if we don't handle them.
82
82
  // See issue #150 for more context.
83
+ console.log('on resize');
84
+ console.log(_this._parentNode.offsetWidth, _this._parentNode.offsetHeight);
83
85
  var height = _this._parentNode.offsetHeight || 0;
84
86
  var width = _this._parentNode.offsetWidth || 0;
85
87
  var style = window.getComputedStyle(_this._parentNode) || {};
@@ -4,7 +4,6 @@
4
4
  * Brian Vaughn
5
5
  *
6
6
  */
7
- // @flow
8
7
 
9
8
  import * as React from 'react';
10
9
  import createDetectElementResize from './react-virtualized-detect-element-resize.js';
@@ -166,6 +165,9 @@ export default class AutoSizer extends React.PureComponent<Props, State> {
166
165
  // This can result in invalid style values which can result in NaN values if we don't handle them.
167
166
  // See issue #150 for more context.
168
167
 
168
+ console.log('on resize');
169
+ console.log(this._parentNode.offsetWidth, this._parentNode.offsetHeight);
170
+
169
171
  const height = this._parentNode.offsetHeight || 0;
170
172
  const width = this._parentNode.offsetWidth || 0;
171
173
 
@@ -34,6 +34,8 @@ export default class AutoSizer extends React.PureComponent {
34
34
  // Guard against AutoSizer component being removed from the DOM immediately after being added.
35
35
  // This can result in invalid style values which can result in NaN values if we don't handle them.
36
36
  // See issue #150 for more context.
37
+ console.log('on resize');
38
+ console.log(this._parentNode.offsetWidth, this._parentNode.offsetHeight);
37
39
  const height = this._parentNode.offsetHeight || 0;
38
40
  const width = this._parentNode.offsetWidth || 0;
39
41
  const style = window.getComputedStyle(this._parentNode) || {};
@@ -72,6 +72,8 @@ var AutoSizer = /*#__PURE__*/function (_React$PureComponent) {
72
72
  // Guard against AutoSizer component being removed from the DOM immediately after being added.
73
73
  // This can result in invalid style values which can result in NaN values if we don't handle them.
74
74
  // See issue #150 for more context.
75
+ console.log('on resize');
76
+ console.log(_this._parentNode.offsetWidth, _this._parentNode.offsetHeight);
75
77
  var height = _this._parentNode.offsetHeight || 0;
76
78
  var width = _this._parentNode.offsetWidth || 0;
77
79
  var style = window.getComputedStyle(_this._parentNode) || {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baseui",
3
- "version": "0.0.0-alpha-d01e670",
3
+ "version": "0.0.0-alpha-eb67197",
4
4
  "description": "A React Component library implementing the Base design language",
5
5
  "keywords": [
6
6
  "react",