* size-snapshot created?
* Added docz for documentation site
* Modified .gitignore to get rid of .docz internal stuff
* Update all doc links to point to proper paths with docz
* Removed .docz folder from Git
Co-authored-by: Jason Clark <jason.clark@tcnbroadcasting.com>
* Adds dev dependency on Scarf, default opt-out. Corresponding installation instructions
* Scarf as default opt in, moved to dependencies
* Update install docs for default opt in analytics
* Remove extra period
* update yarn lock
* size-snapshot created?
* Added `disableGlobalFilter` prop and associated tests
* Updated documentation
* improvement(useglobalfilter): add `disableGlobalFilter` prop
Adding `disableGlobalFilter` prop to both table and column to allow columns to be excluded from
Global Filter
* test(usefilters.test.js): added base test for disableGlobalFilter
Needed a test to make sure that disableGlobalFilter didn't break anything when applied
* Delete .size-snapshot.json
* Update README.md
Co-authored-by: Jason Clark <jason.clark@tcnbroadcasting.com>
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
* 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>
* docs(useglobalfilter.md): corrected documentation for setGlobalFilter
* fix(useglobalfilter.js): wrapped setGlobalFilter in useCallback
Wrapped setGlobalFilter in useCallback for identity stability.
- Fixed an issue where dependency hooks were not being reduced properly, thus the table would rerender unnecessarily
- Renamed `toggleRowSelectedAll` to `toggleAllRowsSelected`. Duh...
- Added an `indeterminate` boolean prop to the default props for row selection toggle prop getters
- Renamed `selectedRowPaths` to `selectedRowIds`, which also no longer contains paths, but row IDs
- Grouped or nested row selection actions and state are now derived, instead of tracked in state.
- Rows now have a new property called `id`, which existed before and was derived from the `getRowId` option
- Rows now also have an `isSomeSelected` prop when using the `useRowSelect` hook, which denotes that at least one subRow is selected (if applicable)
- Rows' `path` property has been deprecated in favor of `id`
- Expanded state is now tracked with row IDs instead of paths
- RowState is now tracked with row IDs instead of paths
- `toggleExpandedByPath` has been renamed to `toggleExpandedById`, and thus accepts a row ID now, instead of a row path