All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Update README to reflect upcoming v2
- Release new version of v1 to fix missing beta tag in first v2 beta release
- Update all packages
- Update to Babel 7
- Add support for
React.Fragment
- Update React to 16.2
- Update test tools
- Fix
animateContent
being rendered to element rendered byTabbordion
- Fix
onPanels
not being triggered when in stateful mode
- Fix crash if a Tabbordion child does not have
type
.
This is a full rewrite of Tabbordion and throws away all legacy conventions in favor of pure components and other modern React best practises and conventions.
- Expose
bemClassName
method - Remove support for extending BEM separator prefixed classes in
className
- Allow controlling state via
panels
andonPanels
- Force state to be correct for the selected
mode
- Optimize performance by minimal renders
contentTag
andpanelTag
initialIndex
in favor ofinitialPanels
onAfterChange
in favor of new state providingonPanels
onBeforeChange
classModifiers
asbemModifiers
classNames
asblockModifiers
classSeparator
asbemSeparator
tag
ascomponent
- Modifiers
visibleBetween
,visibleFirst
andvisibleLast
renamed asbetween
,first
andlast
respectively
- Separated to three new components:
<TabPanel />
,<TabLabel />
and<TabContent />
title
is nowTabLabel
as a child ofTabPanel
- Other
children
needs to be wrapped aschildren
ofTabContent
TabPanel
no longer "inherits" nothing; the way props work has changed dramaticallyTabContent
detects viewport resizes and transitions quickly accordingly
TabPanel
s must be direct children ofTabbordion
TabLabel
s andTabContent
s must be direct children ofTabPanel
In future it may become possible to have other components in the middle, thus removing the direct child requirement.
- Fix
React.DOM.div
deprecated warning - Update npm dependencies
- Fix missing dist in npm
- Fix incorrect main filename in package.json
- Suddenly remember why I didn't use ES2015 syntax in earlier releases
- Fixes import
- Move dist version to root, move source version to src
- Fixes imports where being used (edit: did not)
- Update all npm packages to latest except jsdom
- Babel 6
- Webpack 2
- Use Node 6.10 on Travis CI
- Remember to update changelog before publishing a release
- PropTypes is not yet available on any CDN as a separate package, has to be included in the minified dist version
- I have a changelog it seems
- Require
.isPanel
and.isPanelChild
in components that depend on Tabbordion or Panel respectively.
- Update to React 15.5
- Update to ES6 class syntax
- Update linting
- Fix minor bug when checking for
child.type
- Remember that you have a changelog
- Now React 15 friendly
- Fix: empty array no longer is counted as "having content"
- Fix: passing
undefined
as value to checked property is no longer understood as explicitfalse
- Fix: no longer pass extra Tabbordion related props to non-component children of Panel
- Fix ARIA role="tab" in the wrong element.
- Upgrade testing to Node 4.4 LTS only.
- Drop support for testing on Node 0.12 and earlier, because complicated.
- Update outdated Travis config.
- Fix linting.
- Update dependencies to fix builds.
- Remind yourself of not releasing when you are tired.
- Happened anyway.
- Finally an update to React 0.14
- Move React to devDependencies for now.
- Fix an issue where render could block internal state from changing.
- Other minor bug fixes.
- Allow Panel props to override ones set by Tabbordion issue #2
- Add support for shorthand BEM modifier syntax
- Fix a bug where checked prop passed to Panel could be incorrect
- Fix crashes with undefined or null children
- Make isomorphic rendering possible
- More tests
- Set up environment: linting, tests, Travis
- Add first set of tests
- Add support for animators (using height and marginTop)
- Change names of properties passed to non-Panel children of Tabbordion.
- Fix bug in Panel where between, first and last modifiers were applied when not visible.
- Fix incorrect order of merging classNames in Panel.
- Improve documentation.
- Fix critical issue where not working with minified React due to differences in React's internals.
- Initial release