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 3.3.3 to 3.3.4

5

lib/src/body.js

@@ -113,3 +113,4 @@ 'use strict';

rowEvents = _props.rowEvents,
expandRow = _props.expandRow;
expandRow = _props.expandRow,
className = _props.className;

@@ -164,3 +165,3 @@

'tbody',
null,
{ className: className },
content

@@ -167,0 +168,0 @@ );

6

lib/src/bootstrap-table.js

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

className: this.props.headerClasses,
wrapperClasses: this.props.headerWrapperClasses,
sortField: this.props.sortField,

@@ -191,2 +192,3 @@ sortOrder: this.props.sortOrder,

_react2.default.createElement(_body2.default, {
className: this.props.bodyClasses,
data: this.getData(),

@@ -236,3 +238,6 @@ keyField: keyField,

classes: _propTypes2.default.string,
headerClasses: _propTypes2.default.string,
bodyClasses: _propTypes2.default.string,
wrapperClasses: _propTypes2.default.string,
headerWrapperClasses: _propTypes2.default.string,
condensed: _propTypes2.default.bool,

@@ -282,3 +287,2 @@ caption: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.string]),

rowClasses: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.func]),
headerClasses: _propTypes2.default.string,
filtersClasses: _propTypes2.default.string,

@@ -285,0 +289,0 @@ filterPosition: _propTypes2.default.oneOf([_const2.default.FILTERS_POSITION_TOP, _const2.default.FILTERS_POSITION_INLINE, _const2.default.FILTERS_POSITION_BOTTOM]),

@@ -145,2 +145,9 @@ 'use strict';

value: function UNSAFE_componentWillReceiveProps(nextProps) {
if (nextProps.columns.filter(function (col) {
return col.sort;
}).length > 0 && !this.SortContext) {
this.SortContext = (0, _sortContext2.default)(_operators2.default, this.isRemoteSort, this.handleRemoteSortChange);
} else {
this.SortContext = null;
}
if (!nextProps.pagination && this.props.pagination) {

@@ -147,0 +154,0 @@ this.PaginationContext = null;

@@ -122,2 +122,8 @@ 'use strict';

var customClick = cellAttrs.onClick;
cellAttrs.onKeyUp = function (e) {
if (e.key === 'Enter') {
onSort(column);
if (_utils2.default.isFunction(customClick)) customClick(e);
}
};
cellAttrs.onClick = function (e) {

@@ -124,0 +130,0 @@ onSort(column);

@@ -54,3 +54,4 @@ 'use strict';

filterPosition = props.filterPosition,
globalSortCaret = props.globalSortCaret;
globalSortCaret = props.globalSortCaret,
wrapperClasses = props.wrapperClasses;

@@ -116,3 +117,3 @@

'thead',
null,
{ className: wrapperClasses },
_react2.default.createElement(

@@ -137,2 +138,3 @@ 'tr',

className: _propTypes2.default.string,
wrapperClasses: _propTypes2.default.string,
expandRow: _propTypes2.default.object,

@@ -139,0 +141,0 @@ filterPosition: _propTypes2.default.oneOf([_const2.default.FILTERS_POSITION_TOP, _const2.default.FILTERS_POSITION_INLINE, _const2.default.FILTERS_POSITION_BOTTOM])

{
"name": "react-bootstrap-table-next",
"version": "3.3.3",
"version": "3.3.4",
"description": "Next generation of react-bootstrap-table",

@@ -39,3 +39,3 @@ "main": "./lib/index.js",

"dependencies": {
"classnames": "2.2.5",
"classnames": "^2.2.5",
"react-transition-group": "2.5.3",

@@ -42,0 +42,0 @@ "underscore": "1.9.1"

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