Skip to content

Commit

Permalink
v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Theadd committed Apr 10, 2015
1 parent 0a1a697 commit adab329
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 15 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "react-panels",
"version": "2.0.1",
"version": "2.1.0",
"homepage": "https://github.com/Theadd/react-panels",
"authors": [
"Theadd <pantallazo@gmail.com>"
],
"description": "React.js panel widget with support for dynamic tabs, toolbars, buttons, floating windows and customizable themes",
"description": "React.js panel widget with tabs, toolbars, buttons, floating windows and customizable themes",
"main": "dist/react-panels.js",
"moduleType": [
"globals"
Expand Down
5 changes: 3 additions & 2 deletions dist/react-panels-with-addons.js
Original file line number Diff line number Diff line change
Expand Up @@ -1264,9 +1264,10 @@ var ToggleButton = React.createClass({
render: function () {
var sheet = this.getSheet('ToggleButton');

//JSX source: https://github.com/Theadd/react-panels/blob/v2/src/jsx/buttons.jsx#L21-L25
return (
React.createElement("li", React.__spread({style: sheet.style}, this.listeners, {title: this.props.title}),
React.createElement("span", {style: sheet.children.style},
React.createElement("li", React.__spread({style: sheet.style}, this.listeners, {title: this.props.title}),
React.createElement("span", {style: sheet.children.style},
this.props.children
)
)
Expand Down
2 changes: 1 addition & 1 deletion dist/react-panels-with-addons.min.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/react-panels.js
Original file line number Diff line number Diff line change
Expand Up @@ -1264,9 +1264,10 @@ var ToggleButton = React.createClass({
render: function () {
var sheet = this.getSheet('ToggleButton');

//JSX source: https://github.com/Theadd/react-panels/blob/v2/src/jsx/buttons.jsx#L21-L25
return (
React.createElement("li", React.__spread({style: sheet.style}, this.listeners, {title: this.props.title}),
React.createElement("span", {style: sheet.children.style},
React.createElement("li", React.__spread({style: sheet.style}, this.listeners, {title: this.props.title}),
React.createElement("span", {style: sheet.children.style},
this.props.children
)
)
Expand Down
2 changes: 1 addition & 1 deletion dist/react-panels.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-panels",
"version": "2.0.1",
"description": "React.js panel widget with support for dynamic tabs, toolbars, buttons, floating windows and customizable themes",
"version": "2.1.0",
"description": "React.js panel widget with tabs, toolbars, buttons, floating windows and customizable themes",
"repository": {
"type": "git",
"url": "https://github.com/Theadd/react-panels.git"
Expand Down
11 changes: 6 additions & 5 deletions src/jsx/buttons.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ var ToggleButton = React.createClass({
render: function () {
var sheet = this.getSheet('ToggleButton');

//JSX source: https://github.com/Theadd/react-panels/blob/v2/src/jsx/buttons.jsx#L21-L25
return (
<li style={sheet.style} {...this.listeners} title={this.props.title}>
<span style={sheet.children.style}>
{this.props.children}
</span>
</li>
React.createElement("li", React.__spread({style: sheet.style}, this.listeners, {title: this.props.title}),
React.createElement("span", {style: sheet.children.style},
this.props.children
)
)
);
}
});

0 comments on commit adab329

Please sign in to comment.