react-sheet
Advanced tools
Comparing version 0.0.59 to 0.0.60
@@ -128,3 +128,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
return React.createElement(List, { | ||
width: detectPlatform() == 'mac' ? width : width - 15, | ||
width: detectPlatform() == 'mac' ? width : width - 17, | ||
height: height, | ||
@@ -131,0 +131,0 @@ rowCount: data.length, |
@@ -97,3 +97,4 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
onMouseOver = _props.onMouseOver, | ||
setDragCopyValue = _props.setDragCopyValue; | ||
setDragCopyValue = _props.setDragCopyValue, | ||
responsive = _props.responsive; | ||
var _state = this.state, | ||
@@ -100,0 +101,0 @@ headerWidth = _state.headerWidth, |
@@ -44,4 +44,4 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
style: { | ||
width: width || DEFAULT_WIDTH, | ||
maxWidth: width || DEFAULT_WIDTH | ||
flex: (width || DEFAULT_WIDTH) + ' 0 auto', | ||
width: width || DEFAULT_WIDTH | ||
}, | ||
@@ -48,0 +48,0 @@ className: classNames('t-head', headerClassName) |
@@ -178,3 +178,3 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
column: column + colIndex | ||
}, cellData); | ||
}, cellData.trim()); | ||
}); | ||
@@ -181,0 +181,0 @@ }); |
@@ -153,3 +153,4 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
key: rowIndex + '-' + colIndex, | ||
style: { width: width }, | ||
style: { flex: (width || DEFAULT_WIDTH) + ' 0 auto', | ||
width: width || DEFAULT_WIDTH }, | ||
rowData: rowData, | ||
@@ -156,0 +157,0 @@ isFocused: isFocused, |
@@ -144,3 +144,3 @@ 'use strict'; | ||
return _react2.default.createElement(_reactVirtualized.List, { | ||
width: detectPlatform() == 'mac' ? width : width - 15, | ||
width: detectPlatform() == 'mac' ? width : width - 17, | ||
height: height, | ||
@@ -147,0 +147,0 @@ rowCount: data.length, |
@@ -115,3 +115,4 @@ 'use strict'; | ||
onMouseOver = _props.onMouseOver, | ||
setDragCopyValue = _props.setDragCopyValue; | ||
setDragCopyValue = _props.setDragCopyValue, | ||
responsive = _props.responsive; | ||
var _state = this.state, | ||
@@ -118,0 +119,0 @@ headerWidth = _state.headerWidth, |
@@ -55,4 +55,4 @@ 'use strict'; | ||
style: { | ||
width: width || DEFAULT_WIDTH, | ||
maxWidth: width || DEFAULT_WIDTH | ||
flex: (width || DEFAULT_WIDTH) + ' 0 auto', | ||
width: width || DEFAULT_WIDTH | ||
}, | ||
@@ -59,0 +59,0 @@ className: (0, _classnames2.default)('t-head', headerClassName) |
@@ -202,3 +202,3 @@ 'use strict'; | ||
column: column + colIndex | ||
}, cellData); | ||
}, cellData.trim()); | ||
}); | ||
@@ -205,0 +205,0 @@ }); |
@@ -169,3 +169,4 @@ 'use strict'; | ||
key: rowIndex + '-' + colIndex, | ||
style: { width: width }, | ||
style: { flex: (width || DEFAULT_WIDTH) + ' 0 auto', | ||
width: width || DEFAULT_WIDTH }, | ||
rowData: rowData, | ||
@@ -172,0 +173,0 @@ isFocused: isFocused, |
{ | ||
"name": "react-sheet", | ||
"version": "0.0.59", | ||
"version": "0.0.60", | ||
"description": "Spreadsheet component for react", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3874813
46959