@@ -1428,15 +1428,17 @@ function (_React$Component) {
14281428 Tag = _this$props . tag ,
14291429 waves = _this$props . waves ,
14301430 zoom = _this$props . zoom ,
1431- attributes = _objectWithoutProperties ( _this$props , [ "cascade" , "children" , "className" , "hover" , "rounded" , "src" , "tag" , "waves" , "zoom" ] ) ;
1431+ fixed = _this$props . fixed ,
1432+ attributes = _objectWithoutProperties ( _this$props , [ "cascade" , "children" , "className" , "hover" , "rounded" , "src" , "tag" , "waves" , "zoom" , "fixed" ] ) ;
14321433
14331434 var classes = classNames ( "view" , rounded && "rounded" , zoom && "zoom" , hover && "overlay" , cascade && "view-cascade" , waves ? "Ripple-parent" : false , className ) ;
14341435 var viewStyle = src ? {
14351436 backgroundImage : "url(\"" . concat ( src , "\")" ) ,
14361437 backgroundRepeat : "no-repeat" ,
14371438 backgroundSize : "cover" ,
14381439 backgroundPosition : "center center" ,
1439- height : "100vh"
1440+ height : "100vh" ,
1441+ backgroundAttachment : fixed ? "fixed" : null
14401442 } : { } ;
14411443 return React__default . createElement ( Tag , _extends ( { } , attributes , {
14421444 className : classes ,
@@ -3940,7 +3942,7 @@ function (_Component) {
39403942 var Tag = tag ;
39413943
39423944 if ( this . context . isOpen ) {
3943- var position1 = this . context . dropup ? 'top' : 'bottom' ;
3945+ var position1 = this . context . dropup ? 'top' : this . context . dropright ? 'right' : this . context . dropleft ? 'left' : 'bottom' ;
39443946 var position2 = right ? 'end' : 'start' ;
39453947 attrs . placement = "" . concat ( position1 , "-" ) . concat ( position2 ) ;
39463948 attrs . component = tag ;
@@ -3997,6 +3999,8 @@ DropdownMenu.defaultProps = {
39973999DropdownMenu . contextTypes = {
39984000 isOpen : PropTypes . bool . isRequired ,
39994001 dropup : PropTypes . bool . isRequired ,
4002+ dropright : PropTypes . bool . isRequired ,
4003+ dropleft : PropTypes . bool . isRequired ,
40004004 color : PropTypes . oneOfType ( [ PropTypes . oneOf ( [ 'primary' , 'default' , 'secondary' , 'success' , 'dark' , 'danger' , 'info' , 'warning' , 'ins' ] ) , PropTypes . bool ] )
40014005} ;
40024006
@@ -5725,6 +5729,7 @@ Popper.propTypes = {
57255729 id : PropTypes . string ,
57265730 isVisible : PropTypes . bool ,
57275731 placement : PropTypes . string ,
5732+ popover : PropTypes . bool ,
57285733 style : PropTypes . objectOf ( PropTypes . string ) ,
57295734 tag : PropTypes . string
57305735} ;
@@ -5734,6 +5739,7 @@ Popper.defaultProps = {
57345739 id : 'popper' ,
57355740 isVisible : false ,
57365741 placement : 'top' ,
5742+ popover : false ,
57375743 style : {
57385744 display : 'inline-block'
57395745 } ,
@@ -6086,6 +6092,8 @@ function (_React$Component) {
60866092 return {
60876093 isOpen : this . state . isOpen ,
60886094 dropup : this . props . dropup ,
6095+ dropright : this . props . dropright ,
6096+ dropleft : this . props . dropleft ,
60896097 toggle : this . toggle
60906098 } ;
60916099 }
@@ -6207,11 +6215,13 @@ function (_React$Component) {
62076215 children = _omit . children ,
62086216 dropup = _omit . dropup ,
62096217 group = _omit . group ,
6210- size = _omit . size ;
6218+ size = _omit . size ,
6219+ dropright = _omit . dropright ,
6220+ dropleft = _omit . dropleft ;
62116221
62126222 var classes = classNames ( ( _classNames = {
62136223 "btn-group" : group
6214- } , _defineProperty ( _classNames , "btn-group-" . concat ( size ) , ! ! size ) , _defineProperty ( _classNames , "dropdown" , ! group ) , _defineProperty ( _classNames , "show" , this . state . isOpen ) , _defineProperty ( _classNames , "dropup" , dropup ) , _classNames ) , className ) ;
6224+ } , _defineProperty ( _classNames , "btn-group-" . concat ( size ) , ! ! size ) , _defineProperty ( _classNames , "dropdown" , ! group ) , _defineProperty ( _classNames , "show" , this . state . isOpen ) , _defineProperty ( _classNames , "dropup" , dropup ) , _defineProperty ( _classNames , "dropright" , dropright ) , _defineProperty ( _classNames , "dropleft" , dropleft ) , _classNames ) , className ) ;
62156225 return React__default . createElement ( reactPopper . Manager , null , React__default . createElement ( "div" , {
62166226 className : classes ,
62176227 onKeyDown : this . handleKeyDown
@@ -6225,6 +6235,8 @@ function (_React$Component) {
62256235Dropdown . propTypes = {
62266236 disabled : PropTypes . bool ,
62276237 dropup : PropTypes . bool ,
6238+ dropright : PropTypes . bool ,
6239+ dropleft : PropTypes . bool ,
62286240 group : PropTypes . bool ,
62296241 size : PropTypes . string ,
62306242 tag : PropTypes . string ,
@@ -6234,12 +6246,16 @@ Dropdown.propTypes = {
62346246} ;
62356247Dropdown . defaultProps = {
62366248 dropup : false ,
6249+ dropright : false ,
6250+ dropleft : false ,
62376251 tag : "div"
62386252} ;
62396253Dropdown . childContextTypes = {
62406254 toggle : PropTypes . func . isRequired ,
62416255 isOpen : PropTypes . bool . isRequired ,
6242- dropup : PropTypes . bool . isRequired
6256+ dropup : PropTypes . bool . isRequired ,
6257+ dropright : PropTypes . bool . isRequired ,
6258+ dropleft : PropTypes . bool . isRequired
62436259} ;
62446260
62456261// FREE
0 commit comments