Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release-5.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
amanmahajan7 committed Oct 24, 2018
2 parents 3131729 + 92bb742 commit f505d00
Show file tree
Hide file tree
Showing 194 changed files with 10,705 additions and 8,070 deletions.
16 changes: 10 additions & 6 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"presets": ["react", "es2015-loose"],
"plugins": [
'transform-class-properties',
'transform-es3-member-expression-literals',
'transform-es3-property-literals'
]
"presets": [
"es2015",
"react",
"stage-2"
],
"plugins": [
"transform-class-properties",
"transform-es3-member-expression-literals",
"transform-es3-property-literals"
]
}
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
*/
"comma-dangle": [2, "never"], // http://eslint.org/docs/rules/comma-dangle
"no-cond-assign": [2, "always"], // http://eslint.org/docs/rules/no-cond-assign
"no-console": 1, // http://eslint.org/docs/rules/no-console
"no-debugger": 1, // http://eslint.org/docs/rules/no-debugger
"no-alert": 1, // http://eslint.org/docs/rules/no-alert
"no-constant-condition": 1, // http://eslint.org/docs/rules/no-constant-condition
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ dist
npm-debug.log
lerna-debug.log
**.orig
.vscode
.vscode
package-lock.json
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ bower.json
CONTRIBUTING.md
.flowconfig
secure-file
flow
ci
npm-debug.log
Binary file modified .npmrc.enc
Binary file not shown.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@

## 5.0.1 (Oct 22, 2018)

### React-Data-Grid
- **Bugfix:** Fix CopyMask columns ([1289](https://github.com/adazzle/react-data-grid/pull/1272)


## 5.0.0 (Oct 22, 2018)

### React-Data-Grid
- **Feature:** Improve Cell navigation Performance ([1123](https://github.com/adazzle/react-data-grid/pull/1123)
- **Feature:** Scrolling improvements ([1254](https://github.com/adazzle/react-data-grid/pull/1254)
- **Feature:** Remove react-data-grid dependency from react-data-grid-addons bundle ([1272](https://github.com/adazzle/react-data-grid/pull/1272)




## 4.0.8 (May 10, 2018)

### React-Data-Grid
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Features
- [Rich cell editors like autocomplete, checkbox and dropdown editors, complete with keyboard navigation](http://adazzle.github.io/react-data-grid/#/examples/built-in-editors)
- Custom cell Editors - Easily create your own
- [Custom cell Formatters](http://adazzle.github.io/react-data-grid/#/examples/custom-formatters)
- [Frozen columns](http://adazzle.github.io/react-data-grid/#/examples/fixed-cols)
- [Frozen columns](http://adazzle.github.io/react-data-grid/#/examples/frozen-cols)
- [Resizable columns](http://adazzle.github.io/react-data-grid/#/examples/resizable-cols)
- [Sorting](http://adazzle.github.io/react-data-grid/#/examples/sortable-cols)
- [Filtering](http://adazzle.github.io/react-data-grid/#/examples/filterable-sortable-grid)
Expand Down
7 changes: 2 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
access_token:
secure: dHfUgllfTEAqpcoz3iQj8TO0DGh8n90Coqf0+IXT0bIRNSIxGTDu991X+FStY613
npmrc_token:
secure: vqGk4eUIvg1ngzdW4WE2hlq1U7YupunkayeCh7bXy8M=
secure: +0xEbrDGXwT78XtVnyF0CQcqiKZCgQSVq9DZaIH2YhI=


# Install scripts. (runs after repo cloning)
Expand Down Expand Up @@ -46,7 +46,4 @@ build: off
on_success:
# If merging to next branch, publish with 'next' tag
- npm run beforepublish
- ps: >-
if(!$env:APPVEYOR_SCHEDULED_BUILD -and !$env:appveyor_pull_request_number -and $env:APPVEYOR_REPO_BRANCH -eq 'next') {
./ci/publish/publishBranch.ps1
}
- powershell ./ci/publish/publishNext.ps1
14 changes: 0 additions & 14 deletions ci/publish/publishBranch.ps1

This file was deleted.

15 changes: 15 additions & 0 deletions ci/publish/publishNext.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
if (!$env:APPVEYOR_SCHEDULED_BUILD -and !$env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_REPO_BRANCH -eq 'next') {
$nextVersion = node ./ci/publish/getNextVersion prerelease
git config --global credential.helper store
git config --global push.default simple
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):[email protected]`n"
git config --global user.name $env:APPVEYOR_REPO_COMMIT_AUTHOR
git config --global user.email $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL
git checkout $env:APPVEYOR_REPO_BRANCH
Write-Host "Publishing $($nextVersion) to npm"
if($?) {
./node_modules/.bin/lerna publish --repo-version $nextVersion --npm-tag=$env:APPVEYOR_REPO_BRANCH --yes --skip-git
}

exit $lastexitcode
}
8 changes: 6 additions & 2 deletions config/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* In local config, only run tests using phantom js. No code coverage reports applied
*/
var webpack = require('webpack');
require('airbnb-browser-shims');
var webpackConfig = require('./webpack.common.config.js');
var RewirePlugin = require("rewire-webpack");
var path = require('path');
Expand All @@ -27,7 +28,7 @@ module.exports = function (config) {
return BROWSERS.split(',');
}
if(RELEASE){
browsers = ['Chrome','Firefox','IE']
browsers = ['Chrome','Firefox', 'IE']
}else if(DEBUG){
browsers = ['ChromeDebugging'];
}
Expand Down Expand Up @@ -86,7 +87,10 @@ module.exports = function (config) {
loaders: webpackConfig.module.loaders
},
resolve: {
extensions: ['', '.webpack.js', '.web.js', '.js', '.jsx']
extensions: ['', '.webpack.js', '.web.js', '.js', '.jsx'],
alias: {
common: path.resolve('packages/common/')
}
},
plugins: [
new RewirePlugin()
Expand Down
9 changes: 8 additions & 1 deletion config/webpack.common.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const webpack = require('webpack');
const argv = require('minimist')(process.argv.slice(2));
const RELEASE = argv.release;
const path = require('path');

function getPlugins() {
const nodeEnv = RELEASE ? '"production"' : '"development"';
Expand Down Expand Up @@ -36,7 +37,8 @@ const config = {
amd: 'react-dom'
},
'react/addons': 'React',
moment: 'moment'
moment: 'moment',
immutable: 'immutable'
},
module: {
loaders: [
Expand All @@ -45,6 +47,11 @@ const config = {
]
},
plugins: getPlugins(),
resolve: {
alias: {
common: path.resolve('packages/common/')
}
},
postLoaders: [
{
test: /\.js$/,
Expand Down
30 changes: 15 additions & 15 deletions docs/api/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"type": null
},
{
"name": "displayEnd",
"name": "rowOverscanEndIdx",
"type": null
},
{
Expand All @@ -69,13 +69,13 @@
"modifiers": [],
"params": [
{
"name": "displayStart",
"name": "rowOverscanStartIdx",
"type": {
"name": "number"
}
},
{
"name": "displayEnd",
"name": "rowOverscanEndIdx",
"type": {
"name": "number"
}
Expand Down Expand Up @@ -287,56 +287,56 @@
"required": false,
"description": ""
},
"displayStart": {
"rowOverscanStartIdx": {
"type": {
"name": "number"
},
"required": true,
"description": ""
},
"displayEnd": {
"rowOverscanEndIdx": {
"type": {
"name": "number"
},
"required": true,
"description": ""
},
"visibleStart": {
"rowVisibleStartIdx": {
"type": {
"name": "number"
},
"required": true,
"description": ""
},
"visibleEnd": {
"rowVisibleEndIdx": {
"type": {
"name": "number"
},
"required": true,
"description": ""
},
"colVisibleStart": {
"colVisibleStartIdx": {
"type": {
"name": "number"
},
"required": true,
"description": ""
},
"colVisibleEnd": {
"colVisibleEndIdx": {
"type": {
"name": "number"
},
"required": true,
"description": ""
},
"colDisplayStart": {
"colOverscanStartIdx": {
"type": {
"name": "number"
},
"required": true,
"description": ""
},
"colDisplayEnd": {
"colOverscanEndIdx": {
"type": {
"name": "number"
},
Expand Down Expand Up @@ -4178,28 +4178,28 @@
"required": false,
"description": ""
},
"colVisibleStart": {
"colVisibleStartIdx": {
"type": {
"name": "number"
},
"required": true,
"description": ""
},
"colVisibleEnd": {
"colVisibleEndIdx": {
"type": {
"name": "number"
},
"required": true,
"description": ""
},
"colDisplayStart": {
"colOverscanStartIdx": {
"type": {
"name": "number"
},
"required": true,
"description": ""
},
"colDisplayEnd": {
"colOverscanEndIdx": {
"type": {
"name": "number"
},
Expand Down
16 changes: 8 additions & 8 deletions docs/markdowns/Canvas.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ type: `shaperequire('./PropTypeShapes/CellMetaDataShape')`
type: `string`


### `colDisplayEnd` (required)
### `colOverscanEndIdx` (required)

type: `number`


### `colDisplayStart` (required)
### `colOverscanStartIdx` (required)

type: `number`


### `colVisibleEnd` (required)
### `colVisibleEndIdx` (required)

type: `number`


### `colVisibleStart` (required)
### `colVisibleStartIdx` (required)

type: `number`

Expand All @@ -46,12 +46,12 @@ type: `union(object|array)`
type: `element`


### `displayEnd` (required)
### `rowOverscanEndIdx` (required)

type: `number`


### `displayStart` (required)
### `rowOverscanStartIdx` (required)

type: `number`

Expand Down Expand Up @@ -145,12 +145,12 @@ type: `string`
type: `union(number|string)`


### `visibleEnd` (required)
### `rowVisibleEndIdx` (required)

type: `number`


### `visibleStart` (required)
### `rowVisibleStartIdx` (required)

type: `number`

Expand Down
8 changes: 4 additions & 4 deletions docs/markdowns/Row.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ type: `func`
defaultValue: `require('./Cell')`


### `colDisplayEnd` (required)
### `colOverscanEndIdx` (required)

type: `number`


### `colDisplayStart` (required)
### `colOverscanStartIdx` (required)

type: `number`


### `colVisibleEnd` (required)
### `colVisibleEndIdx` (required)

type: `number`


### `colVisibleStart` (required)
### `colVisibleStartIdx` (required)

type: `number`

Expand Down
6 changes: 0 additions & 6 deletions flow/.flowconfig

This file was deleted.

3 changes: 0 additions & 3 deletions flow/examples/.flowconfig

This file was deleted.

Binary file removed flow/flow.exe
Binary file not shown.
Loading

0 comments on commit f505d00

Please sign in to comment.