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

react-tabulator

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tabulator - npm Package Compare versions

Comparing version 0.8.3 to 0.8.4

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## [0.8.4] - 2019-03-07
### Changed
- upgraded tabulator to 4.2.2
- fix: added rowFormatter, placeholder as props
## [0.8.3] - 2019-02-17

@@ -2,0 +8,0 @@

11

lib/ConfigUtils.js

@@ -6,3 +6,3 @@ "use strict";

var NOOPS = function () { };
// get callbacks from props (default: NOOP) & set them to Tabulator options
// get callbacks from props (default: NOOP) to set them to Tabulator options later.
exports.propsToOptions = function (props) {

@@ -13,3 +13,4 @@ var output = {};

'initialSort', 'initialFilter', 'footerElement', 'index', 'keybindings', 'clipboard', 'clipboardCopyStyled',
'clipboardCopySelector', 'clipboardCopyFormatter', 'clipboardCopyHeader', 'clipboardPasteParser', 'clipboardPasteAction'];
'clipboardCopySelector', 'clipboardCopyFormatter', 'clipboardCopyHeader', 'clipboardPasteParser',
'clipboardPasteAction', 'rowFormatter', 'placeholder'];
for (var _i = 0, defaultOptions_1 = defaultOptions; _i < defaultOptions_1.length; _i++) {

@@ -21,3 +22,3 @@ var opt = defaultOptions_1[_i];

}
var names = ['tableBuilt', 'rowClick', 'rowDblClick', 'rowContext', 'rowTap', 'rowDblTap', 'rowTapHold',
var callbackNames = ['tableBuilt', 'rowClick', 'rowDblClick', 'rowContext', 'rowTap', 'rowDblTap', 'rowTapHold',
'rowAdded', 'rowDeleted', 'rowMoved', 'rowUpdated', 'rowSelectionChanged', 'rowSelected', 'rowDeselected', 'rowResized',

@@ -34,4 +35,4 @@ 'cellClick', 'cellDblClick', 'cellContext', 'cellTap', 'cellDblTap', 'cellTapHold', 'cellEditing', 'cellEdited', 'cellEditCancelled',

'downloadDataFormatter', 'downloadReady', 'downloadComplete'];
for (var _a = 0, names_1 = names; _a < names_1.length; _a++) {
var callbackName = names_1[_a];
for (var _a = 0, callbackNames_1 = callbackNames; _a < callbackNames_1.length; _a++) {
var callbackName = callbackNames_1[_a];
output[callbackName] = props[callbackName] || NOOPS;

@@ -38,0 +39,0 @@ }

{
"name": "react-tabulator",
"version": "0.8.3",
"version": "0.8.4",
"description": "React Tabulator component",

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

"react-tag-autocomplete": "^5.7.1",
"tabulator-tables": "^4.2.1"
"tabulator-tables": "^4.2.2"
},

@@ -52,0 +52,0 @@ "peerDependencies": {

@@ -21,3 +21,3 @@ # react-tabulator

Plus:
#### Plus more features:
- React 16.5.x

@@ -34,3 +34,3 @@ - For React 15.x - import `React15Tabulator`

```JS
```
$ npm install react-tabulator

@@ -42,3 +42,3 @@

<ReactTabulator columns={columns} data={data} options={} />
<ReactTabulator columns={columns} data={data} options={} />

@@ -72,2 +72,2 @@ "options" will be passed directly to Tabulator's options.

While you're here, also check out [ez-react-form](https://github.com/ngduc/ez-react-form) - an easy way to build Forms with React.
While you're here, also check out [ui-form-field](https://github.com/ngduc/ui-form-field) - an easy way to build Forms with React.
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