Commit Graph

691 Commits

Author SHA1 Message Date
tannerlinsley
f40b8f5ca2 v7.0.0-alpha.27 v7.0.0-alpha.27 2019-08-23 09:25:33 -06:00
tannerlinsley
b61a8ed040 Merge branch 'master' of https://github.com/react-tools/react-table 2019-08-23 09:25:00 -06:00
tannerlinsley
4665006109 fix(use-row-select): fix selection issue casued by wrong startsWith key 2019-08-23 09:24:36 -06:00
Ashwin Bhat
c0aa9533e9 fix field names in useSortBy docs (#1475) 2019-08-22 16:08:40 -06:00
tannerlinsley
944b75c709 v7.0.0-alpha.26 v7.0.0-alpha.26 2019-08-22 14:52:37 -06:00
tannerlinsley
4537f28a8d fix: fix header regeneration and colspan, better sorting 2019-08-22 14:46:33 -06:00
tannerlinsley
7ae4c4f9c7 v7.0.0-alpha.25 v7.0.0-alpha.25 2019-08-20 12:56:36 -06:00
tannerlinsley
785b524d3c fix: removed useFlexLayout, fixed dot notation for accessors 2019-08-20 12:55:50 -06:00
tannerlinsley
16aa1143e6 chore: update logo source 2019-08-20 10:56:20 -06:00
tannerlinsley
5100d76ec2 docs: update Logo & Readme 2019-08-20 10:31:15 -06:00
Tanner Linsley
c8c99265af Update README.md 2019-08-20 09:36:24 -06:00
tannerlinsley
5293bb7d34 chore: update logo 2019-08-20 09:35:37 -06:00
tannerlinsley
aab49949db fix: rename some booleans to use 'is' prefix, added new logo 2019-08-20 09:31:11 -06:00
Tanner Linsley
3eaf4eb605 Update installation.md 2019-08-20 07:51:35 -06:00
tannerlinsley
89dd6747be docs: update kitchen-sink readme 2019-08-19 16:49:22 -06:00
tannerlinsley
196fb3c198 docs: added kitchen sink to the examples list 2019-08-19 16:48:06 -06:00
tannerlinsley
516aae55eb fix: update package.json 2019-08-19 16:42:21 -06:00
tannerlinsley
4a45cd6574 Merge branch 'master' of https://github.com/react-tools/react-table 2019-08-19 16:41:49 -06:00
tannerlinsley
f59efde6fe fix: fix path getters, better plugin hook integration, renaming things 2019-08-19 16:38:42 -06:00
tannerlinsley
93524d0701 docs: add kitch sink example 2019-08-19 15:33:07 -06:00
Domenuch
64e9d91e3c Allow row generator to listen for column changes (#1442)
* added column dependency to row generator memo listeners

* added assertion to stop an infinite loop inside usePagination
2019-08-19 15:00:33 -06:00
Tanner Linsley
16df48f950 Update README.md 2019-08-19 10:17:17 -06:00
Tanner Linsley
37e2e1363d Update README.md 2019-08-19 10:14:19 -06:00
Codar
af37eead5b Sub rows are selected if the parent row is selected. (#1444)
* Sub rows are selected if the parent row is selected.

* Parent rows are updated accordingly if a subRow is selected.

* Updated useRowSelect snapshot tests to test subRow selection.
2019-08-18 17:40:02 -06:00
Paweł Dąbrowski
3f0bb0a0dd fix(use-sort-by): sorting now ignores column ids that no longer exist (#1454)
* fix(use-sort-by): sorting now ignores column ids that no longer exist

* fix(use-filters): filtering no longer fails when column doesn't exist

* fix(use-sortby): filtering out invalid sortBys before sorting
2019-08-16 09:14:30 -06:00
tannerlinsley
afbdb3e572 chore: update package.json 2019-08-16 08:03:32 -06:00
tannerlinsley
40884e9a44 style: lock prettier version, fix sorting example 2019-08-16 07:20:52 -06:00
tannerlinsley
4712cf8af5 docs: docs 2019-08-15 15:44:47 -06:00
Tanner Linsley
44193e415d Create CODE_OF_CONDUCT.md (#1452) 2019-08-15 15:42:50 -06:00
tannerlinsley
317e6befe0 docs: docs 2019-08-15 15:38:51 -06:00
tannerlinsley
650ecbcf9e docs: docs 2019-08-15 15:37:16 -06:00
tannerlinsley
008ea6f930 docs: docs 2019-08-15 15:36:13 -06:00
tannerlinsley
8a8c18feca docs(docs): docs 2019-08-15 15:33:39 -06:00
tannerlinsley
98466e6414 docs(docs): improve docs 2019-08-15 15:32:03 -06:00
tannerlinsley
3aef7d3379 v7.0.0-alpha.22 v7.0.0-alpha.22 2019-08-15 14:20:40 -06:00
tannerlinsley
d9a4b6bd85 refactor: improve renderer function ergonomics
The renderer function for headers, columns, cells, aggregates, filters, etc used to mix properties
from all of those contexts, including rows. Now thow contexts are located on their own reserved
properties, eg. `Cell: ({ cell: { value}, row, column, ...instance }) => value`

BREAKING CHANGE: The renderer function for headers, columns, cells, aggregates, filters, etc used
2019-08-15 14:16:52 -06:00
tannerlinsley
d50ec588bc fix(use-pagination): fixed use pagination pageIndex bug
Use pagination will no longer synchronously reset the pageIndex to 0 on mount
2019-08-15 09:55:22 -06:00
tannerlinsley
f9242f604d fix(usesortby): fix usesortby merge regression 2019-08-15 09:04:07 -06:00
Eugene Krevenets
59f6a768a7 improve(use-table): use single instance of defaultColumn property (#1451)
in case of using construction like:
```
{
  defaultColumn = {}
}
```
`defaultColumn` will get new instance each time, so as result it force to recalculation each of `React.useMemo`.
2019-08-15 08:58:42 -06:00
Maximilian Brandau
bcd0da7379 fix: update colSpan (#1447)
Only count visible columns for determining the colSpan

fix #1446
2019-08-15 08:57:22 -06:00
tannerlinsley
14ea0abf27 docs(readme): fix Zappi link 2019-08-15 08:39:03 -06:00
tannerlinsley
696edacd48 fix(use-flex-layout): fix flex layout hook to use new internal hooks 2019-08-15 08:36:33 -06:00
tannerlinsley
f665972584 Merge branch 'master' of https://github.com/react-tools/react-table 2019-08-15 08:31:57 -06:00
tannerlinsley
deb15c3908 docs(readme): updated readme 2019-08-15 08:28:37 -06:00
Eugene Krevenets
c77ffacdc9 improve(sort): don't sort subrows less than 2 characters (#1449)
it improves performance because cuts a lot of sorting manipulations
2019-08-15 08:11:12 -06:00
gargroh
d4303a2468 [v7] useSort - Multisort functionality: Limit max cols and optional shift key (#1433)
* [v7] useSort - Multisort functionality: Limit `multiSort` number and configurable shift key

1. Provide configuration for multisort that pressing shift key is not compulsory

2. Configurable limit on max number of columns for multisort, like configuration has been provided that `maxMultiSortColCount` is 3, suppose currenlty table is sorted by `[A, B, C]` and then clicking `D` for sorting should result in table sorted by `[B, C , D]`

* update readme for new multisort options

* Use `isMultiSortEvent` function 

so as to make `shift` key optional or take decision based on other parameters for multisorting

* `isMultiSortEvent` updated readme
2019-08-14 10:47:02 -06:00
Marian Lumba
dc629aedfa updating code sandbox links (#1437) 2019-08-08 14:11:32 -06:00
tannerlinsley
134f3dc064 v7.0.0-alpha.21 v7.0.0-alpha.21 2019-08-06 22:34:17 -06:00
tannerlinsley
a667b7cb13 fix(use-pagination): better controlled/manual use-pagination 2019-08-06 22:32:17 -06:00
tannerlinsley
4f01c32216 v7.0.0-alpha.20 v7.0.0-alpha.20 2019-08-06 20:01:52 -06:00