Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-bootstrap-table-next

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bootstrap-table-next - npm Package Compare versions

Comparing version 1.1.4 to 1.2.0

2

lib/src/bootstrap-table.js

@@ -211,2 +211,3 @@ 'use strict';

clickToEdit: _propTypes2.default.bool,
hideSelectAll: _propTypes2.default.bool,
onSelect: _propTypes2.default.func,

@@ -231,2 +232,3 @@ onSelectAll: _propTypes2.default.func,

showExpandColumn: _propTypes2.default.bool,
onlyOneExpanding: _propTypes2.default.bool,
expandColumnRenderer: _propTypes2.default.func,

@@ -233,0 +235,0 @@ expandHeaderColumnRenderer: _propTypes2.default.func

6

lib/src/contexts/row-expand-context.js

@@ -49,3 +49,5 @@ 'use strict';

keyField = _this$props.keyField,
onExpand = _this$props.expandRow.onExpand;
_this$props$expandRow = _this$props.expandRow,
onExpand = _this$props$expandRow.onExpand,
onlyOneExpanding = _this$props$expandRow.onlyOneExpanding;

@@ -56,3 +58,3 @@

if (expanded) {
currExpanded.push(rowKey);
if (onlyOneExpanding) currExpanded = [rowKey];else currExpanded.push(rowKey);
} else {

@@ -59,0 +61,0 @@ currExpanded = currExpanded.filter(function (value) {

@@ -102,3 +102,3 @@ 'use strict';

if (onSelectAll) {
onSelectAll(!isUnSelect, dataOperator.getSelectedRows(data, keyField, currSelected), e);
onSelectAll(!isUnSelect, dataOperator.getSelectedRows(data, keyField, isUnSelect ? _this.state.selected : currSelected), e);
}

@@ -105,0 +105,0 @@

@@ -73,2 +73,3 @@ 'use strict';

cellStyle = _utils2.default.isFunction(headerStyle) ? headerStyle(column, index) : headerStyle;
cellStyle = cellStyle ? _extends({}, cellStyle) : cellStyle;
}

@@ -75,0 +76,0 @@

@@ -25,3 +25,3 @@ 'use strict';

var events = ['onClick', 'onDoubleClick', 'onMouseEnter', 'onMouseLeave'];
var events = ['onClick', 'onDoubleClick', 'onMouseEnter', 'onMouseLeave', 'onContextMenu'];

@@ -28,0 +28,0 @@ exports.default = function (ExtendBase) {

@@ -110,4 +110,8 @@ 'use strict';

checkedStatus = _props3.checkedStatus,
selectionHeaderRenderer = _props3.selectionHeaderRenderer;
selectionHeaderRenderer = _props3.selectionHeaderRenderer,
hideSelectAll = _props3.hideSelectAll;
if (hideSelectAll) {
return _react2.default.createElement('th', { 'data-row-selection': true });
}

@@ -160,4 +164,5 @@ var checked = checkedStatus === CHECKBOX_STATUS_CHECKED;

onAllRowsSelect: _propTypes2.default.func,
hideSelectAll: _propTypes2.default.bool,
selectionHeaderRenderer: _propTypes2.default.func
};
exports.default = SelectionHeaderCell;
{
"name": "react-bootstrap-table-next",
"version": "1.1.4",
"version": "1.2.0",
"description": "Next generation of react-bootstrap-table",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc