streaksheet
Advanced tools
Comparing version 0.7.10 to 0.7.11
@@ -77,7 +77,19 @@ "use strict"; | ||
content = null; | ||
} // We attach cell information using data attributes so that it can be read | ||
} | ||
var cellStyle = data.styles.cell(_objectSpread({ | ||
borderBottom: DEFAULT_BORDER_STYLE, | ||
borderLeft: DEFAULT_BORDER_STYLE, | ||
borderRight: DEFAULT_BORDER_STYLE, | ||
borderTop: DEFAULT_BORDER_STYLE, | ||
boxSizing: 'border-box', | ||
overflow: 'hidden', | ||
userSelect: 'none' | ||
}, style), { | ||
columnIndex: columnIndex, | ||
rowIndex: rowIndex | ||
}); // We attach cell information using data attributes so that it can be read | ||
// from the event target in event delegates (e.g. the click handler in the | ||
// parent container). | ||
return /*#__PURE__*/React.createElement(_internalTypes.CellContainerContext.Consumer, { | ||
@@ -90,11 +102,3 @@ unstable_observedBits: 1 << rowIndex % 30 | ||
"data-row-index": rowIndex, | ||
style: data.styles.cell(_objectSpread(_objectSpread({ | ||
borderBottom: DEFAULT_BORDER_STYLE, | ||
borderLeft: DEFAULT_BORDER_STYLE, | ||
borderRight: DEFAULT_BORDER_STYLE, | ||
borderTop: DEFAULT_BORDER_STYLE, | ||
boxSizing: 'border-box', | ||
overflow: 'hidden', | ||
userSelect: 'none' | ||
}, style), isEditing ? data.styles.cellEditMode({ | ||
style: isEditing ? data.styles.cellEditMode(_objectSpread(_objectSpread({}, cellStyle), {}, { | ||
width: 'auto', | ||
@@ -105,6 +109,3 @@ minWidth: style.width, | ||
zIndex: 1 | ||
}) : {}), { | ||
columnIndex: columnIndex, | ||
rowIndex: rowIndex | ||
}) | ||
})) : cellStyle | ||
}, content); | ||
@@ -111,0 +112,0 @@ }); |
{ | ||
"name": "streaksheet", | ||
"version": "0.7.10", | ||
"version": "0.7.11", | ||
"author": "Chris Cowan <agentme49@gmail.com>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
3302
372428