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.2.0 to 1.2.1

12

lib/src/contexts/index.js

@@ -108,3 +108,7 @@ 'use strict';

return function (rootProps, cellEditProps, filterProps, searchProps, sortProps, paginationProps, expandProps, selectionProps) {
return _react2.default.createElement(Base, _extends({}, _this2.props, selectionProps, sortProps, cellEditProps, filterProps, searchProps, paginationProps, expandProps, {
return _react2.default.createElement(Base, _extends({
ref: function ref(n) {
return _this2.table = n;
}
}, _this2.props, selectionProps, sortProps, cellEditProps, filterProps, searchProps, paginationProps, expandProps, {
data: rootProps.getData(filterProps, searchProps, sortProps, paginationProps)

@@ -123,2 +127,5 @@ }));

_extends({}, baseProps, {
ref: function ref(n) {
return _this3.selectionContext = n;
},
selectRow: _this3.props.selectRow,

@@ -146,2 +153,5 @@ data: rootProps.getData(filterProps, searchProps, sortProps, paginationProps)

_extends({}, baseProps, {
ref: function ref(n) {
return _this4.rowExpandContext = n;
},
expandRow: _this4.props.expandRow,

@@ -148,0 +158,0 @@ data: rootProps.getData(filterProps, searchProps, sortProps, paginationProps)

6

lib/src/header-cell.js

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

sort = column.sort,
sortCaret = column.sortCaret,
filter = column.filter,

@@ -94,3 +95,3 @@ filterRenderer = column.filterRenderer,

if (sorting) {
sortSymbol = _react2.default.createElement(_caret2.default, { order: sortOrder });
sortSymbol = sortCaret ? sortCaret(sortOrder, column) : _react2.default.createElement(_caret2.default, { order: sortOrder });

@@ -102,3 +103,3 @@ // append customized classes or style if table was sorting based on the current column.

} else {
sortSymbol = _react2.default.createElement(_symbol2.default, null);
sortSymbol = sortCaret ? sortCaret(undefined, column) : _react2.default.createElement(_symbol2.default, null);
}

@@ -166,2 +167,3 @@ }

sortOrder: _propTypes2.default.oneOf([_const2.default.SORT_ASC, _const2.default.SORT_DESC]),
sortCaret: _propTypes2.default.func,
isLastSorting: _propTypes2.default.bool,

@@ -168,0 +170,0 @@ onFilter: _propTypes2.default.func,

{
"name": "react-bootstrap-table-next",
"version": "1.2.0",
"version": "1.2.1",
"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