- Fixed incompatbility with React Router 5 (#19)
- Added Rollup with CommonJS and ESM builds (previous build was CommonJS via babel-cli)
- Added production build (uglifies and removes proptypes)
- Upgraded to Babel 7
- Added
allowClickOnActivetoNavTabto support re-selecting active tabs. - Added check to
RoutedTabsto prevent passing down props to DOM elements. - Added
elementTypeprop toRoutedTabsto change the container element. - Extended NavTab's
toprop-type to include objects. - Fixed NavTab's
aria-currentattribute and handling of missing paths (as per updates to React Router'sNavLink). - Fixed RoutedTab's incorrect prop-type name for
activeTabClassName.
- Fixed RoutedTab's
activeTabStyleprop-type to be object.
- Added
disabledprop toNavTab. Prevents the click action when true. NavTabexactprop now correctly defaults to true. This enables nested tabs by default and keeps presentational behaviour consistent with RR'sNavLink.NavTabgiven default classNames. Previously these were set only whenRoutedTabscomponent was used.- Example styling updated to not require the parent
"react-router-tabs"class, so that styles can work when NavTabs are used on their own. The class will still be given toRoutedTabsfor compatibility with older versions of the stylesheet. - Removed
RoutedTabsusage wherever not needed in examples. - Documentation fixes.
RoutedTabsupdated to handle null children (when tabs are rendered conditionally).
- Added gif and badges to readme.
- Initial commit.