@@ -6,6 +6,10 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
66
77function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { "default" : obj } ; }
88
9+ function ownKeys ( object , enumerableOnly ) { var keys = Object . keys ( object ) ; if ( Object . getOwnPropertySymbols ) { var symbols = Object . getOwnPropertySymbols ( object ) ; if ( enumerableOnly ) { symbols = symbols . filter ( function ( sym ) { return Object . getOwnPropertyDescriptor ( object , sym ) . enumerable ; } ) ; } keys . push . apply ( keys , symbols ) ; } return keys ; }
10+
11+ function _objectSpread ( target ) { for ( var i = 1 ; i < arguments . length ; i ++ ) { var source = arguments [ i ] != null ? arguments [ i ] : { } ; if ( i % 2 ) { ownKeys ( Object ( source ) , true ) . forEach ( function ( key ) { _defineProperty ( target , key , source [ key ] ) ; } ) ; } else if ( Object . getOwnPropertyDescriptors ) { Object . defineProperties ( target , Object . getOwnPropertyDescriptors ( source ) ) ; } else { ownKeys ( Object ( source ) ) . forEach ( function ( key ) { Object . defineProperty ( target , key , Object . getOwnPropertyDescriptor ( source , key ) ) ; } ) ; } } return target ; }
12+
913function _defineProperty ( obj , key , value ) { if ( key in obj ) { Object . defineProperty ( obj , key , { value : value , enumerable : true , configurable : true , writable : true } ) ; } else { obj [ key ] = value ; } return obj ; }
1014
1115function _taggedTemplateLiteral ( strings , raw ) { if ( ! raw ) { raw = strings . slice ( 0 ) ; } return Object . freeze ( Object . defineProperties ( strings , { raw : { value : Object . freeze ( raw ) } } ) ) ; }
@@ -173,6 +177,17 @@ var ObjectPropMixedInputs = function ObjectPropMixedInputs(p) {
173177 </ _StyledP13 > ;
174178} ;
175179
180+ var ObjectPropWithSpread = function ObjectPropWithSpread ( ) {
181+ var css = {
182+ color : 'red'
183+ } ;
184+ var playing = true ;
185+ return < _StyledDiv $_css13 = { css } $_css14 = { playing ? {
186+ opacity : 0 ,
187+ bottom : '-100px'
188+ } : { } } /> ;
189+ } ;
190+
176191var _StyledP = ( 0 , _styledComponents [ "default" ] ) ( "p" ) ( _templateObject3 || ( _templateObject3 = _taggedTemplateLiteral ( [ "flex: 1;" ] ) ) ) ;
177192
178193var _StyledP2 = ( 0 , _styledComponents [ "default" ] ) ( "p" ) ( _templateObject4 || ( _templateObject4 = _taggedTemplateLiteral ( [ "\n flex: 1;\n " ] ) ) ) ;
@@ -236,3 +251,7 @@ var _StyledP13 = (0, _styledComponents["default"])("p")(function (p) {
236251 }
237252 } ;
238253} ) ;
254+
255+ var _StyledDiv = ( 0 , _styledComponents [ "default" ] ) ( "div" ) ( function ( p ) {
256+ return _objectSpread ( _objectSpread ( { } , p . $_css13 ) , p . $_css14 ) ;
257+ } ) ;
0 commit comments