- Add
role
prop toTabList
,Tab
, andTabPanel
. - Added support for controlling tab state externally.
- Added support for dynamically adding and removing tabs.
- Use
prop-types
andcreate-react-class
packages for compatibility with newer versions of React.
- Use
display: none
for inactive tab panels instead of not rendering them at all, preventing reloading of some resources.
- Allow React 15 as peer dependency.
- Allow arbitrary props to pass through to elements (not just
id
,className
,style
).
- Allow universal/isomorphic rendering.
- Fix bug caused when Tab or TabPanel tried to register themselves with their manager twice.
- Fix more leftover ES2015 bugs (stupid :(), and fix ESLint config to catch them.
- Change
react
andreact-dom
topeerDependencies
.
- Fix bug caused by leftover ES2015 code.
- Add
letterNavigation
option, via prop inWrapper
. - Add
aria-describedby
onTabPanel
s (pointing to id of their correspondingTab
).- Add
active
props toTab
andTabPanel
for statelessness.
- Add
- Remove
tabId
prop fromTab
andid
prop fromTabPanel
. Now theTabPanel
'stabId
prop should correspond with someTab
'sid
prop; and theTabPanel
's DOM node will automatically get an id attribute of\
${props.tabId}-panel``.
- Add
aria-selected
property to active tab.
- Fix bug in
index.js
.
- Add
id
prop toTabPanel
, and use it for the DOM node's id attribute (rather thantabId
). Intended to push this with 2.0.0, as it is a slight but breaking change.
- Upgrade to react 0.14 and its companion react-dom.
- Use React's
context
to simplify the API, which involves adding theWrapper
component. - Add
style
prop to all components.
- Fix PropTypes validation of TabPanel.
- Initial release.