Skip to content

Commit

Permalink
5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paranoidjk committed Aug 17, 2017
1 parent 8af23f5 commit ffb89f5
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 18 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# History
----

## 5.5.0 / 2017-08-17

- Add `onRowContextMenu`

## 5.4.0 / 2017-05-23

- Add `onRowMouseEnter`, `onRowMouseLeave`.
Expand Down
3 changes: 0 additions & 3 deletions index.js

This file was deleted.

23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rc-table",
"version": "5.4.2",
"version": "5.5.0",
"description": "table ui component for react",
"keywords": [
"react",
Expand All @@ -17,14 +17,6 @@
],
"main": "./lib/index",
"module": "./es/index",
"entry": {
"rc-table": [
"./assets/animation.less",
"./assets/bordered.less",
"./assets/index.less",
"./src/index.js"
]
},
"homepage": "http://github.com/react-component/table",
"maintainers": [
"yiminghe@gmail.com",
Expand All @@ -39,9 +31,18 @@
},
"licenses": "MIT",
"config": {
"port": 8000
"port": 8000,
"entry": {
"rc-table": [
"./assets/animation.less",
"./assets/bordered.less",
"./assets/index.less",
"./src/index.js"
]
}
},
"scripts": {
"dist": "rc-tools run dist",
"build": "rc-tools run build",
"compile": "rc-tools run compile --babel-runtime",
"gh-pages": "rc-tools run gh-pages",
Expand All @@ -61,7 +62,7 @@
}
},
"dependencies": {
"babel-runtime": "^6.23.0",
"babel-runtime": "6.x",
"component-classes": "^1.2.6",
"lodash.get": "^4.4.2",
"prop-types": "^15.5.8",
Expand Down
2 changes: 1 addition & 1 deletion tests/Table.expandRow.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import React from 'react';
import { render, mount } from 'enzyme';
import { renderToJson, mountToJson } from 'enzyme-to-json';
import Table from '..';
import Table from '../src';

describe('Table.expand', () => {
const columns = [
Expand Down
2 changes: 1 addition & 1 deletion tests/Table.fixedColumns.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import React from 'react';
import { render, mount } from 'enzyme';
import { renderToJson } from 'enzyme-to-json';
import Table from '..';
import Table from '../src';

describe('Table.fixedColumns', () => {
// see:
Expand Down
2 changes: 1 addition & 1 deletion tests/Table.groupingColumns.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-undef */
import React from 'react';
import { mount } from 'enzyme';
import Table from '..';
import Table from '../src';

describe('Table with grouping columns', () => {
it('group columns', () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/Table.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import React from 'react';
import { render, mount } from 'enzyme';
import { renderToJson } from 'enzyme-to-json';
import Table from '..';
import Table from '../src';

describe('Table', () => {
const data = [
Expand Down

0 comments on commit ffb89f5

Please sign in to comment.