Roman Komarov
720fb21d60
docs(readme): adds a react-table-v6 package note ( #1576 )
2019-10-10 06:55:13 -06:00
Christian Murphy
777aa2b863
test: validate typings using dtslint ( #1581 )
...
* test: validate typings using dtslint
* build: switch typescript into strict mode
2019-10-09 17:48:11 -06:00
ggascoigne
51aa8e2eff
fix react-table-config.d.ts ( #1582 )
...
It turns out that pulling the types directly from a package slightly
changes how visible they are to the consuming application. This makes
sense, previously we explicitly adding the react-table module to the
global namespace an so didn't need explicit imports, but now that's not
the case. So add explicit imports.
2019-10-09 17:47:34 -06:00
Christian Murphy
0d7a0d5aea
ci: setup github actions continuous integration workflow ( #1578 )
...
* ci: setup github actions continuous integration workflow
* docs: add GitHub Action CI badge
* ci: remove travis ci in favor of github actions ci
2019-10-09 16:54:03 -06:00
Tanner Linsley
409c050cbf
Merge branch 'master' of https://github.com/react-tools/react-table
2019-10-09 15:42:24 -06:00
ggascoigne
cee24c74d8
Add typescript docs ( #1564 )
...
* Add typescript docs
* update for beta.10 and feedback
2019-10-09 15:42:09 -06:00
Michael Stramel
499f21c349
Remove package-lock.json ( #1579 )
2019-10-09 15:19:04 -06:00
Tanner Linsley
2a39d5a21c
v7.0.0-beta.11
2019-10-09 15:15:39 -06:00
Michael Stramel
36ba233e27
Updating types ( #1535 )
...
* Attempt to bring into alignment
fix plugin hook definitions
Remove old prop
Format
fix Header and Cell props
Rename prop
Abstract props to definitions
fix bad generic
fix typo
Revert "fix typo"
This reverts commit 1ca58c5d8fb017bb0af79dd4aa4f0cd296e7a7e8.
fix
* Remove documented prop
* Tweaks
* Re-add comment
* Some updates
* more changes
* Convert to interfaces
* more fixes
* rename sortByFn params
* Fixes
* Fix setFilter
* Hopefully the last changes
* Bump TypeScript Version for declaration file
Co-Authored-By: Christian Murphy <christian.murphy.42@gmail.com>
* format
* Linting
* fix typo
* expose defaultState
* swap aggregatedValue
* Allow cellvalue for accessor function return
* modifications
* manually added changes from ggascoigne
* remove changes from examples folder
2019-10-09 15:15:00 -06:00
Christian Murphy
c7dfc45e2e
ci: test cross platform ( #1559 )
...
* ci: test cross platform
Test on Node.js 10 and 12, long term release support versions.
Test on Linux, Mac, and Windows machines.
* fix: update ic-ci-cli to version 2
includes fixes to support windows
* ci: disable yarn gpg
* ci: double quote string for windows ci
2019-10-09 15:13:17 -06:00
Tanner Linsley
9dd36263fb
Update README.md
2019-10-08 10:17:45 -06:00
Tanner Linsley
227f7905b0
Upgrade controlled pagination example for deduped fetching
2019-10-08 09:49:23 -06:00
Tanner Linsley
f1ad032587
Update controlled pagination example
2019-10-08 09:46:06 -06:00
Tanner Linsley
93703d027c
Update README.md
2019-10-08 09:38:30 -06:00
Geoff
75fb61a17f
Update concepts.md ( #1572 )
...
Some grammatical errors are fixed.
2019-10-07 20:43:53 -06:00
Andrey Ivlev
7c73a7a631
Fix isClassComponent function ( #1571 )
...
`Object.getPrototypeOf(component)` returns React `function Component()` function itself, not `Component.prototype`.
2019-10-07 12:17:22 -06:00
tannerlinsley
cbb18368b2
v7.0.0-beta.10
2019-10-07 10:27:56 -06:00
tannerlinsley
4842bc061d
fix: fix includeAll filter type, add filteredRows
2019-10-07 10:27:18 -06:00
tannerlinsley
0477ef26ca
Merge branch 'master' of https://github.com/react-tools/react-table
2019-10-05 20:50:29 -06:00
tannerlinsley
82734fc898
v7.0.0-beta.9
2019-10-05 20:49:21 -06:00
tannerlinsley
bbfc6428b7
refactor(usetable/usetablestate): integrate useTableState into useTable
...
useTableState was an early and hasty abstraction that hasn't proved useful in many ways. Anything
you could do with useTableState, you could easily do using the same options (assuming they exist) in
the useTable hook. For this reason, state is now a first class citizen of the useTable hook, along
with more sane properties and option locations for anything pertaining to state.
2019-10-05 20:48:28 -06:00
eclissi91
280ef16a75
Update api.md ( #1567 )
...
I have corrected typo of this issue #1565
2019-10-04 09:01:19 -06:00
tannerlinsley
7db7d59b3d
v7.0.0-beta.8
2019-10-03 15:33:00 -06:00
tannerlinsley
e43968c684
feat(userowselect): add selectedFlatRows, rename state.selectedRows
...
Added instance.selectedFlatRows to know which row objects are currently selecte
2019-10-03 14:08:34 -06:00
tannerlinsley
e5c04614c1
v7.0.0-beta.7
2019-10-03 13:40:22 -06:00
tannerlinsley
0ef0bc4126
fix(userowselect): useRowSelect fixed to take into account filters
...
useRowSelect now takes into account filtered data when doing selectAll toggling and
isAllRowsSelected state.
2019-10-03 13:39:35 -06:00
tannerlinsley
ef67b15c07
Merge branch 'master' of https://github.com/react-tools/react-table
2019-10-03 08:39:12 -06:00
Tanner Linsley
d248be8877
Fix sandbox loop protection
2019-10-03 08:38:33 -06:00
tannerlinsley
ea0799763d
v7.0.0-beta.6
2019-10-03 08:26:45 -06:00
tannerlinsley
98fffc3819
Merge branch 'master' of https://github.com/react-tools/react-table
2019-10-03 08:26:13 -06:00
tannerlinsley
de7f5c9385
feat(useresizecolumns): added useResizeColumns
2019-10-03 08:25:36 -06:00
Hugo Bove
69e13b87c3
feat(useexpanded, usepagination): omit subRows from rows ( #1562 )
...
Added useExpanded 'expandSubRows' option
2019-10-02 06:51:14 -06:00
tannerlinsley
727f4157c1
v7.0.0-beta.5
2019-10-01 20:49:07 -06:00
tannerlinsley
3f9ba8daba
chore: user terser
2019-10-01 20:48:12 -06:00
tannerlinsley
3de1bbc3a7
v7.0.0-beta.4
2019-10-01 20:35:25 -06:00
tannerlinsley
7d84f86612
fix: cleanup
2019-10-01 20:34:37 -06:00
tannerlinsley
40477c1c83
fix: do not error on unkonwn user actions, side-effect-free
2019-10-01 20:33:55 -06:00
tannerlinsley
906988c35a
Merge branch 'master' of https://github.com/react-tools/react-table
2019-10-01 14:26:11 -06:00
tannerlinsley
07d879f5bb
docs(docs - example): updated example docs
2019-10-01 14:25:36 -06:00
Tanner Linsley
e18f371623
Update README.md
2019-10-01 14:08:01 -06:00
tannerlinsley
76a55b5103
v7.0.0-beta.3
2019-10-01 14:04:05 -06:00
tannerlinsley
247687ee08
feat: ingested width logic, useAbsoluteLayout useBlockLayout
...
Width options (`width`, `minWidth`, `maxWidth`) options are now a part of the core column object.
useBlockLayout and useAbsoluteLayout hooks now use this new internalized information to implement
their layouts. Those examples have been updated. A virtualized-rows example has also been added to
show off how the useBlockLayout hook can be used to virtualize rows with react-window.
2019-10-01 14:03:11 -06:00
Julian Böhnke
f70d38e061
add material-ui table component example ( #1557 )
...
* add material-ui table component example
* remove unused styled-components package
* update to react-table@nex
* update sandbox link
* update docs
* Update examples.md
2019-09-30 12:48:10 -06:00
gargroh
b6fdb99f06
useAbsoluteLayout: Enable react-table to build with divs ( #1522 )
...
* useAbsoluteLayout: To build tables with divs
* Adding `placeholderOf` attribute to column
* Adding `useAbsoluteLayout` in index.js
* Adding `useAbsoluteLayout` example
* Adding `useAbsoluteLayout` in api docs
* Adding test for `useAbsoluteLayout` hook
2019-09-30 07:40:35 -06:00
tannerlinsley
488da2ecc5
v7.0.0-beta.2
2019-09-30 07:32:56 -06:00
tannerlinsley
5f0e7cab8b
fix: fix colspan prop to use column visibility
...
Fixes #1555
2019-09-30 07:31:43 -06:00
Nick Ooms
e2e67ed181
Added "in" to make the sentence more readable ( #1554 )
2019-09-28 06:44:01 -06:00
goldenLunchbox
c8857a2871
Update api.md ( #1551 )
...
The state variable seemed to be missing in the useTable part (row 481) and I felt the need to comment on an additional import being needed.
2019-09-27 05:43:13 -06:00
Tanner Linsley
98583d35f3
Update README.md
2019-09-26 13:28:31 -06:00
tannerlinsley
0a1bf55a2c
Merge branch 'master' of https://github.com/react-tools/react-table
2019-09-26 13:23:03 -06:00