Skip to content
Permalink
Browse files

Revert "Init"

This reverts commit f27ec1f.
  • Loading branch information...
tannerlinsley committed May 12, 2017
1 parent f27ec1f commit 49c5a3d5e1d304106a599b54488a8d8228b506aa
Showing with 7,784 additions and 7,667 deletions.
  1. +44 −0 CHANGELOG.md
  2. +1 −1 ISSUE_TEMPLATE.md
  3. +1 −1 LICENSE
  4. +818 −44 README.md
  5. +1 −0 docs/CNAME
  6. +0 −1,623 docs/README.md
  7. BIN docs/favicon.ico
  8. +22 −0 docs/iframe.html
  9. +44 −0 docs/index.html
  10. +0 −19 docs/package.json
  11. BIN docs/public/favicon.ico
  12. +0 −31 docs/public/index.html
  13. +0 −40 docs/src/App.js
  14. +0 −5 docs/src/index.css
  15. +0 −10 docs/src/index.js
  16. +33 −0 docs/static/manager.4dc6928017acc8856e42.bundle.js
  17. +1 −0 docs/static/manager.4dc6928017acc8856e42.bundle.js.map
  18. +41 −0 docs/static/preview.b8deff9f16f0debf5b04.bundle.js
  19. +1 −0 docs/static/preview.b8deff9f16f0debf5b04.bundle.js.map
  20. +0 −5,608 docs/yarn.lock
  21. +36 −15 package.json
  22. +0 −1 react-story.js
  23. BIN react-story.js.zip
  24. +235 −0 src/defaultProps.js
  25. +825 −88 src/index.js
  26. +321 −0 src/index.styl
  27. +101 −0 src/lifecycle.js
  28. +666 −0 src/methods.js
  29. +142 −0 src/pagination.js
  30. +195 −8 src/utils.js
  31. +108 −0 stories/CellRenderers.js
  32. +88 −0 stories/ControlledTable.js
  33. +75 −0 stories/CustomComponentProps.js
  34. +80 −0 stories/CustomExpanderPosition.js
  35. +77 −0 stories/CustomSorting.js
  36. +66 −0 stories/CustomWidths.js
  37. +67 −0 stories/DefaultSorting.js
  38. +69 −0 stories/EditableTable.js
  39. +193 −0 stories/Filtering.js
  40. +91 −0 stories/Footers.js
  41. +136 −0 stories/FunctionalRendering.js
  42. +56 −0 stories/NoDataText.js
  43. +96 −0 stories/OneHundredKRows.js
  44. +73 −0 stories/Pivoting.js
  45. +131 −0 stories/PivotingOptions.js
  46. +99 −0 stories/PivotingSubComponents.js
  47. +120 −0 stories/ServerSide.js
  48. +69 −0 stories/Simple.js
  49. +145 −0 stories/SubComponents.js
  50. +77 −0 stories/SubRows.js
  51. +21 −0 stories/components/codeHighlight.js
  52. +138 −0 stories/utils/prism.css
  53. +9 −0 stories/utils/prism.js
  54. +2 −2 umd.webpack.js
  55. +2,170 −171 yarn.lock
@@ -0,0 +1,44 @@
## 6.0.0

##### New Features
- New Renderers:
- `Aggregated` - Custom renderer for aggregated cells
- `Pivot` - Custom renderer for Pivoted Cells (utilizes `Expander` and `PivotValue`)
- `PivotValue` - Custom renderer for Pivot cell values (deprecates the undocumented `pivotRender` option)
- `Expander` - Custom renderer for Pivot cell Expander
- Added custom sorting methods per table via `defaultSortMethod` and per column via `column.sortMethod`
- Pivot columns are now visibly separate and sorted/filtered independently.
- Added `column.resizable` to override global table `resizable` option for specific columns.
- Added `column.sortable` to override global table `sortable` option for specific columns.
- Added `column.filterable` to override global table `filterable` option for specific columns.
- Added `defaultExpanded` table option.
- All callbacks can now be utilized without needing to hoist and manage the piece of state they export. That is what their prop counterparts are for, so now the corresponding prop is used instead of the callback to detect a "fully controlled" state.
- Prevent transitions while column resizing for a smoother resize effect.
- Disable text selection while resizing columns.


##### Breaking API Changes
- New Renderers:
- `Cell` - deprecates and replaces `render`
- `Header` - deprecates and replaces `header`
- `Footer` - deprecates and replaces `footer`
- `Filter`- deprecates and replaces `filterRender`
- Callbacks now provide the destination state as the primary parameter(s). This makes hoisting and controlling the state in redux or component state much easier. eg.
- `onSorting` no longer requires you to build your own toggle logic
- `onResize` no longer requires you to build your own resize logic
- Renamed `onChange` callback -> `onFetchData` which will always fire when a new data model needs to be fetched (or if not using `manual`, when new data is materialized internally).
- Renamed `filtering` -> `filtered`
- Renamed `sorting` -> `sorted`
- Renamed `expandedRows` -> `expanded`
- Renamed `resizing` -> `resized`
- Renamed `defaultResizing` -> `defaultResized`
- Renamed `defaultFiltering` -> `defaultFiltered`
- Renamed `defaultSorting` -> `defaultSorted`
- Renamed `onSortingChange` -> `onSortedChange`
- Renamed `onFilteringChange` -> `onFilteredChange`
- Renamed `onResize` -> `onResizedChange`
- Renamed `onExpandRow` -> `onExpandedChange`
- Renamed `showFilters` -> `filterable`
- Renamed `hideFilter` -> `filterable` (Column option. Note the true/false value is now flipped.)
- `cellInfo.row` and `rowInfo.row` now reference the materialize data for the table. To reference the original row, use `cellInfo.original` and `rowInfo.original`
- Removed `pivotRender` column option. You can now control how the value is displayed by overriding the `PivotValueComponent` or the individual column's `PivotValue` renderer. See [Pivoting Options Story](https://react-table.js.org/?selectedKind=2.%20Demos&selectedStory=Pivoting%20Options&full=0&down=1&left=1&panelRight=0&downPanel=kadirahq%2Fstorybook-addon-actions%2Factions-panel) for a reference on how to customize pivot column rendering.
@@ -1,7 +1,7 @@
## Problem Description
include a detailed explanation of the problem here...

## Code Snippet(s) or Codepen (http://codepen.io/tannerlinsley/pen/QpeZBa?editors=0010) // TODO
## Code Snippet(s) or Codepen (http://codepen.io/tannerlinsley/pen/QpeZBa?editors=0010)

## Steps to Reproduce
1. list the steps
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Tanner Linsley
Copyright (c) 2016 Tanner Linsley

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Oops, something went wrong.

0 comments on commit 49c5a3d

Please sign in to comment.
You can’t perform that action at this time.