react-tabulator
Advanced tools
Comparing version 0.13.2 to 0.13.5
@@ -0,1 +1,5 @@ | ||
## [0.13.5] - 2020-09-13 | ||
- added cross-env for Windows dev env. | ||
- fixed undefined this.table in componentDidMount. | ||
## [0.13.2] - 2020-07-18 | ||
@@ -2,0 +6,0 @@ - upgraded tabulator to 4.7.2 |
@@ -103,4 +103,5 @@ export interface IProps { | ||
downloadComplete?: any; | ||
selectableCheck?: any; | ||
options?: any; | ||
} | ||
export declare const propsToOptions: (props: any) => Promise<any>; |
@@ -78,3 +78,3 @@ "use strict"; | ||
'validationFailed', 'clipboardCopied', 'clipboardPasted', 'clipboardPasteError', | ||
'downloadReady', 'downloadComplete']; | ||
'downloadReady', 'downloadComplete', 'selectableCheck']; | ||
for (_a = 0, callbackNames_1 = callbackNames; _a < callbackNames_1.length; _a++) { | ||
@@ -81,0 +81,0 @@ callbackName = callbackNames_1[_a]; |
@@ -167,7 +167,7 @@ "use strict"; | ||
// only when data is really different: call this.table.setData (will re-render table) | ||
this.table.setData(this.state.data); | ||
this.table && this.table.setData(this.state.data); | ||
} | ||
if (!Utils_1.isSameArray(prevState.columns, this.state.columns)) { | ||
// only when data is really different: call this.table.setData (will re-render table) | ||
this.table.setColumns(this.state.columns); | ||
this.table && this.table.setColumns(this.state.columns); | ||
} | ||
@@ -174,0 +174,0 @@ }; |
{ | ||
"name": "react-tabulator", | ||
"version": "0.13.2", | ||
"version": "0.13.5", | ||
"description": "React Tabulator is based on tabulator - a JS table library with many advanced features.", | ||
@@ -20,6 +20,6 @@ "main": "lib/index.js", | ||
"start": "nwb serve-react-demo --port 3003", | ||
"dev": "NODE_ENV=dev concurrently --kill-others \"npm run dev:watch\" \"npm run start\"", | ||
"dev": "cross-env NODE_ENV=dev concurrently --kill-others \"npm run dev:watch\" \"npm run start\"", | ||
"dev:watch": "tsc --outDir ./lib --jsx react --declaration --watch ./src/index.ts", | ||
"test": "NODE_ENV=test HEADLESS=true jest --config=./jest-config.js --verbose", | ||
"test:watch": "NODE_ENV=test HEADLESS=true jest --config=./jest-config.js --verbose --watchAll", | ||
"test": "cross-env NODE_ENV=test HEADLESS=true jest --config=./jest-config.js --verbose", | ||
"test:watch": "cross-env NODE_ENV=test HEADLESS=true jest --config=./jest-config.js --verbose --watchAll", | ||
"start-test-ui": "nwb react run ./__tests__/ui/index.js --port 3003", | ||
@@ -65,2 +65,3 @@ "test:coverage": "nwb test-react --coverage", | ||
"concurrently": "^5.0.0", | ||
"cross-env": "^7.0.2", | ||
"enzyme": "^3.7.0", | ||
@@ -67,0 +68,0 @@ "enzyme-adapter-react-16": "^1.6.0", |
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
1775388
21647
23