Skip to content

Commit

Permalink
0.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
psimyn committed May 10, 2016
1 parent e35083c commit af1273a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions dist-modules/AccordionItem/index.js
Expand Up @@ -67,7 +67,6 @@ var AccordionItem = function (_Component) {
value: function componentDidMount() {
var _this2 = this;

this.setMaxHeight();
// allow overflow for absolute positioned elements inside
// the item body, but only after animation is complete
_reactDom2.default.findDOMNode(this).addEventListener('transitionend', function () {
Expand Down Expand Up @@ -148,7 +147,7 @@ var AccordionItem = function (_Component) {
key: 'getProps',
value: function getProps() {
var props = {
className: (0, _classnames2.default)(['react-sanfona-item', this.props.className, { 'react-sanfona-item-expanded': this.props.expanded }, _defineProperty({}, this.props.expandedClassName, this.props.expanded)]),
className: (0, _classnames2.default)('react-sanfona-item', this.props.className, { 'react-sanfona-item-expanded': this.props.expanded }, this.props.expandedClassName && _defineProperty({}, this.props.expandedClassName, this.props.expanded)),
role: 'tabpanel',
style: this.props.style
};
Expand Down
6 changes: 4 additions & 2 deletions dist/react-sanfona.js
Expand Up @@ -410,6 +410,9 @@ return /******/ (function(modules) { // webpackBootstrap
var queueIndex = -1;

function cleanUpNextTick() {
if (!draining || !currentQueue) {
return;
}
draining = false;
if (currentQueue.length) {
queue = currentQueue.concat(queue);
Expand Down Expand Up @@ -19730,7 +19733,6 @@ return /******/ (function(modules) { // webpackBootstrap
value: function componentDidMount() {
var _this2 = this;

this.setMaxHeight();
// allow overflow for absolute positioned elements inside
// the item body, but only after animation is complete
_reactDom2.default.findDOMNode(this).addEventListener('transitionend', function () {
Expand Down Expand Up @@ -19811,7 +19813,7 @@ return /******/ (function(modules) { // webpackBootstrap
key: 'getProps',
value: function getProps() {
var props = {
className: (0, _classnames2.default)(['react-sanfona-item', this.props.className, { 'react-sanfona-item-expanded': this.props.expanded }, _defineProperty({}, this.props.expandedClassName, this.props.expanded)]),
className: (0, _classnames2.default)('react-sanfona-item', this.props.className, { 'react-sanfona-item-expanded': this.props.expanded }, this.props.expandedClassName && _defineProperty({}, this.props.expandedClassName, this.props.expanded)),
role: 'tabpanel',
style: this.props.style
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "react-sanfona",
"version": "0.0.12",
"version": "0.0.13",
"description": "React accessible accordion component",
"main": "./dist-modules/index.js",
"scripts": {
Expand Down

0 comments on commit af1273a

Please sign in to comment.