Commit Graph
1127 Commits
Author SHA1 Message Date
Giorgio b2af02407b Add additional info for accessor docs (#1943)
Adds additional context on `accessor` field for column options.

### Context

https://github.com/tannerlinsley/react-table/issues/1927
2020-03-06 15:30:43 -07:00
ironicbrew b9f7bda223 Updated react-dnd package (#1939)
+ Prevents code sandbox from crashing the dnd example
2020-03-06 15:28:59 -07:00
ta-anders acdb28df60 fix(usecolumnvisibility): trigger resetHiddenColumns on columns change (#1938)
fix #1919
2020-03-06 15:28:08 -07:00
Tanner Linsley 34be17b093 Update useRowSelect.js 2020-03-06 15:27:43 -07:00
544c30b358 Fixes the RowSelect Reducer #1901 (#1925)
* Fixes the RowSelect Reducer #1901

* Delete .size-snapshot.json

* Delete useFilters.test.js.snap

Co-authored-by: boatcoder@gmail.com <Mark Jones>
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2020-03-06 15:25:58 -07:00
Michael ChangandTanner Linsley 343e76ce65 Fix useFlexLayout table min-width (#1924)
* Fix useFlexLayout table min-width

* Delete .size-snapshot.json

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2020-03-06 14:57:36 -07:00
Tanner Linsley 23c9ad23fa Remove commitizen and husky for now 2020-03-06 14:54:55 -07:00
Tanner Linsley 9e1a3bfe99 Update package.json 2020-03-06 14:53:14 -07:00
Tanner Linsley 6d4a733a88 Fix row selection when used with global filter
Fixes #1900
Closes #1937
2020-03-06 14:52:29 -07:00
Tanner Linsley c740a0c7af Github action for size tracking, better imports and building 2020-03-06 14:19:15 -07:00
Tanner Linsley 48d6fcd60d Create settings.json 2020-03-06 14:11:25 -07:00
Tanner Linsley 10b84faa29 Update README.md 2020-03-03 14:19:54 -07:00
Tanner Linsley 292bbea1bf Update README.md 2020-02-28 14:46:36 -07:00
size-plugin[bot] 2a72667ec1 👩🏾‍🤝‍👩🏼 💁🏼‍♂️ update sizes-es.json 👍 2020-02-28 21:45:33 +00:00
size-plugin[bot] c92f3fb855 👨‍✈️ 🍇 update sizes-cjs.json 👍 2020-02-28 21:45:32 +00:00
Tanner Linsley fe1c9b4b11 Update README.md 2020-02-28 14:43:58 -07:00
size-plugin[bot] e28fa775f2 💎 🧙 update sizes-es.json 👍 2020-02-21 14:05:01 +00:00
size-plugin[bot] d9b2a9dc54 👯 🧠 update sizes-cjs.json 👍 2020-02-21 14:05:00 +00:00
Roman KomarovandTanner Linsley 73ed7efbe6 useTable: Fixes memoizing of headerGroups (#1920)
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2020-02-21 07:04:41 -07:00
Roman KomarovandTanner Linsley 7498059e98 useRowSelect: remove redundant checks (#1918)
* useRowSelect: remove redundant checks

* Update useRowSelect.js

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2020-02-21 07:03:27 -07:00
Josh Stevens a52a2e1265 Fix code sandbox for kitchen sink (#1915)
There's an error on this page that says `useGroupBy` must come after `useFilters`
2020-02-21 06:58:41 -07:00
Tanner Linsley facb216f5c Merge branch 'master' of https://github.com/react-tools/react-table 2020-02-15 20:03:38 -07:00
size-plugin[bot] b1a31b8176 📬 🇦🇩 update sizes-es.json 👍 2020-02-16 03:03:02 +00:00
size-plugin[bot] 5949932e77 🤾🏽 🚴🏿‍♂️ update sizes-cjs.json 👍 2020-02-16 03:03:01 +00:00
Tanner Linsley f330b795dc v7.0.0-rc.16 v7.0.0-rc.16 2020-02-15 20:02:57 -07:00
Tanner Linsley 07625844fd Update CHANGELOG.md 2020-02-15 20:02:17 -07:00
Tanner Linsley 6c2df78b20 Merge branch 'master' of https://github.com/react-tools/react-table 2020-02-15 20:01:20 -07:00
Tanner Linsley 917cfcc910 Better plugin order api 2020-02-15 20:00:42 -07:00
Tanner Linsley b161d6d47b Update App.js 2020-02-15 12:53:00 -07:00
size-plugin[bot] a3c0d22dd6 🕋 🇦🇸 update sizes-es.json 👍 2020-02-15 19:46:41 +00:00
size-plugin[bot] da82358d14 📥 🐧 update sizes-cjs.json 👍 2020-02-15 19:46:40 +00:00
Tanner Linsley 7eabe4b5cc Merge branch 'master' of https://github.com/react-tools/react-table 2020-02-15 12:45:00 -07:00
Tanner Linsley 083e81dc81 Normalize API method names and row modesl, add expandAll functionality including prop getter 2020-02-15 12:43:09 -07:00
Ryan-Sandy Lee 53f379f789 improves setAllFilters documentation (#1908) 2020-02-14 17:33:59 -07:00
Steve LiangandTanner Linsley 2bf99aaea0 docs(examples/material-ui-enhanced-table): Add more Material UI table (#1847)
* docs(examples/material-ui-enhanced-table): add more Material UI table

This enhanced Material UI table demonstrates client side pagination, sorting, global search, add
row, and delete row.

* Update EnhancedTable.js

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2020-02-14 13:19:55 -07:00
size-plugin[bot] 164b3d6b7e 🇧🇦 🧚‍♂️ update sizes-es.json 👍 2020-02-14 20:18:44 +00:00
size-plugin[bot] 2f14310808 🤺 🗽 update sizes-cjs.json 👍 2020-02-14 20:18:43 +00:00
gargroh 32ca5a240b Add Column data in autoRemove of Filters (#1906)
* Update utils.js

* Update useFilters.js
2020-02-14 13:15:38 -07:00
Guy Gascoigne-PiggfordandTanner Linsley 98b3161b2d Add option to allow toggleRowSelect to not select subRows (#1879)
* Add option to allow toggleRowSelect to not select subRows

Iif you are using manualGrouping, it's convenient to be able
to select the group without selecting all of the children.

This adds an instance option `selectChildRows`, which defaults to true,
that can be set to false to allow selection of the group without it
selecting all of the children.

* fix lint error

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2020-02-14 13:14:10 -07:00
size-plugin[bot] 4f8f7cd118 🟧 🍵 update sizes-es.json 👍 2020-02-14 20:14:02 +00:00
size-plugin[bot] 074211003a 👨🏻‍🎨 🧹 update sizes-cjs.json 👍 2020-02-14 20:14:00 +00:00
Guy Gascoigne-PiggfordandTanner Linsley 1eb492694a wrap instance dispatchers in useCallback (#1874)
addresses https://github.com/tannerlinsley/react-table/issues/1808

Several of the instance methods added by plugins wrap their state update
functions in useCallback, the ones that didn't do this can lead to problems
where when they are used in a component, for instance in a hook, their
required presence in the dependency array causes an infinite loop as
executing the function triggers an instance update and a new function
generation.  This PR addresses this.

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2020-02-14 13:07:56 -07:00
size-plugin[bot] 5ab8842ccf 💦 🤴🏽 update sizes-es.json 👍 2020-02-14 20:07:33 +00:00
size-plugin[bot] 6b11d48b43 🚷 🧘🏼 update sizes-cjs.json 👍 2020-02-14 20:07:31 +00:00
Tanner Linsley 14ff3ef6c5 Merge branch 'master' of https://github.com/react-tools/react-table 2020-02-14 13:03:25 -07:00
Tanner Linsley fce2ebe763 Update useGlobalFilter.js 2020-02-14 13:03:11 -07:00
size-plugin[bot] 475c0a0637 🏼 👩🏻‍⚕️ update sizes-es.json 👍 2020-02-14 20:01:09 +00:00
size-plugin[bot] af58d06a1e 🕤 🤷‍♂️ update sizes-cjs.json 👍 2020-02-14 20:01:08 +00:00
gargroh 42ad10a7d8 correct column sort fn (#1866) 2020-02-14 13:00:42 -07:00
Zain ShaikhandTanner Linsley 812b416367 fix: fix spelling of manualGroupBy parameter (#1860)
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2020-02-14 12:57:05 -07:00