Skip to content

Commit e86677a

Browse files
committed
Merge branch 'master' into react-14
2 parents 4e2e700 + 8499e37 commit e86677a

29 files changed

Lines changed: 139 additions & 26 deletions

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
v0.24.5 - Fri, 14 Aug 2015 18:02:13 GMT
2+
---------------------------------------
3+
4+
- [dc2a07a](../../commit/dc2a07a) [fixed] Collapse exported as Fade
5+
- [f53bcf5](../../commit/f53bcf5) [fixed] 'bsSize' and 'bsStyle' properties has been removed from 'Glyphicon'
6+
7+
8+
19
v0.24.4 - Mon, 10 Aug 2015 19:33:35 GMT
210
---------------------------------------
311

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-bootstrap",
3-
"version": "0.24.4",
3+
"version": "0.24.5",
44
"description": "Bootstrap 3 components build with React",
55
"repository": {
66
"type": "git",

src/Badge.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ const Badge = React.createClass({
88
pullRight: React.PropTypes.bool
99
},
1010

11+
getDefaultProps() {
12+
return {
13+
pullRight: false
14+
};
15+
},
16+
1117
hasContent() {
1218
return ValidComponentChildren.hasValidComponent(this.props.children) ||
1319
(React.Children.count(this.props.children) > 1) ||

src/Button.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,13 @@ const Button = React.createClass({
2828

2929
getDefaultProps() {
3030
return {
31+
active: false,
32+
block: false,
3133
bsClass: 'button',
32-
bsStyle: 'default'
34+
bsStyle: 'default',
35+
disabled: false,
36+
navItem: false,
37+
navDropdown: false
3338
};
3439
},
3540

src/ButtonGroup.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ const ButtonGroup = React.createClass({
2525

2626
getDefaultProps() {
2727
return {
28-
bsClass: 'button-group'
28+
block: false,
29+
bsClass: 'button-group',
30+
justified: false,
31+
vertical: false
2932
};
3033
},
3134

src/CarouselItem.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ const CarouselItem = React.createClass({
2323

2424
getDefaultProps() {
2525
return {
26-
animation: true
26+
active: false,
27+
animateIn: false,
28+
animateOut: false
2729
};
2830
},
2931

src/CollapsibleNav.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ const CollapsibleNav = React.createClass({
1818
eventKey: React.PropTypes.any
1919
},
2020

21+
getDefaultProps() {
22+
return {
23+
collapsible: false,
24+
expanded: false
25+
};
26+
},
2127

2228
render() {
2329
/*

src/DropdownButton.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ const DropdownButton = React.createClass({
3030
children: React.PropTypes.node
3131
},
3232

33+
getDefaultProps() {
34+
return {
35+
pullRight: false,
36+
dropup: false,
37+
navItem: false,
38+
noCaret: false
39+
};
40+
},
41+
3342
render() {
3443
let renderMethod = this.props.navItem ?
3544
'renderNavItem' : 'renderButtonGroup';

src/DropdownMenu.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ const DropdownMenu = React.createClass({
1010
onSelect: React.PropTypes.func
1111
},
1212

13+
getDefaultProps() {
14+
return {
15+
pullRight: false
16+
};
17+
},
18+
1319
render() {
1420
let classes = {
1521
'dropdown-menu': true,

src/FormGroup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class FormGroup extends React.Component {
2222
}
2323

2424
FormGroup.defaultProps = {
25+
hasFeedback: false,
2526
standalone: false
2627
};
2728

0 commit comments

Comments
 (0)