react-bootstrap
Advanced tools
Comparing version 0.22.4 to 0.22.5
{ | ||
"name": "react-bootstrap", | ||
"version": "0.22.4", | ||
"version": "0.22.5", | ||
"homepage": "http://react-bootstrap.github.io/", | ||
@@ -5,0 +5,0 @@ "author": "Stephen J. Collings <stevoland@gmail.com>", |
@@ -36,3 +36,4 @@ define(['exports', 'module', 'react', 'classnames', './BootstrapMixin', './FadeMixin', './utils/domUtils', './utils/EventListener'], function (exports, module, _react, _classnames, _BootstrapMixin, _FadeMixin, _utilsDomUtils, _utilsEventListener) { | ||
animation: _React.PropTypes.bool, | ||
onRequestHide: _React.PropTypes.func.isRequired | ||
onRequestHide: _React.PropTypes.func.isRequired, | ||
dialogClassName: _React.PropTypes.string | ||
}, | ||
@@ -74,3 +75,3 @@ | ||
'div', | ||
{ className: (0, _classNames)(dialogClasses) }, | ||
{ className: (0, _classNames)(this.props.dialogClassName, dialogClasses) }, | ||
_React.createElement( | ||
@@ -77,0 +78,0 @@ 'div', |
@@ -0,1 +1,8 @@ | ||
v0.22.5 - Tue, 19 May 2015 20:40:51 GMT | ||
--------------------------------------- | ||
- [dc7ef19](../../commit/dc7ef19) [added] dialogClassName prop to modal to be able to pass custom css class to modal-dialog div | ||
- [658fa39](../../commit/658fa39) [fixed] Remove unused variable | ||
v0.22.4 - Mon, 18 May 2015 16:53:06 GMT | ||
@@ -2,0 +9,0 @@ --------------------------------------- |
@@ -51,3 +51,4 @@ 'use strict'; | ||
animation: _react2['default'].PropTypes.bool, | ||
onRequestHide: _react2['default'].PropTypes.func.isRequired | ||
onRequestHide: _react2['default'].PropTypes.func.isRequired, | ||
dialogClassName: _react2['default'].PropTypes.string | ||
}, | ||
@@ -89,3 +90,3 @@ | ||
'div', | ||
{ className: (0, _classnames2['default'])(dialogClasses) }, | ||
{ className: (0, _classnames2['default'])(this.props.dialogClassName, dialogClasses) }, | ||
_react2['default'].createElement( | ||
@@ -92,0 +93,0 @@ 'div', |
{ | ||
"name": "react-bootstrap", | ||
"version": "0.22.4", | ||
"version": "0.22.5", | ||
"description": "Bootstrap 3 components build with React", | ||
@@ -49,3 +49,3 @@ "repository": { | ||
"es5-shim": "^4.1.0", | ||
"eslint": "0.21.0", | ||
"eslint": "^0.21.2", | ||
"eslint-plugin-react": "^2.1.0", | ||
@@ -80,3 +80,3 @@ "express": "^4.12.3", | ||
"rimraf": "^2.3.2", | ||
"semver": "^4.3.1", | ||
"semver": "^4.3.4", | ||
"sinon": "^1.10.3", | ||
@@ -83,0 +83,0 @@ "style-loader": "^0.12.0", |
@@ -23,3 +23,4 @@ import React from 'react'; | ||
animation: React.PropTypes.bool, | ||
onRequestHide: React.PropTypes.func.isRequired | ||
onRequestHide: React.PropTypes.func.isRequired, | ||
dialogClassName: React.PropTypes.string | ||
}, | ||
@@ -59,3 +60,3 @@ | ||
ref="modal"> | ||
<div className={classNames(dialogClasses)}> | ||
<div className={classNames(this.props.dialogClassName, dialogClasses)}> | ||
<div className="modal-content"> | ||
@@ -62,0 +63,0 @@ {this.props.title ? this.renderHeader() : null} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2381776
339
28357