node_modules/jss/dist/jss.js
/**
   * Converts array values to string.
   *
   * `margin: [['5px', '10px']]` > `margin: 5px 10px;`
   * `border: ['1px', '2px']` > `border: 1px, 2px;`
   * `margin: [['5px', '10px'], '!important']` > `margin: 5px 10px !important;`
   * `color: ['red', !important]` > `color: red !important;`
   */
Converts array values to string.
Converts array values to string .
function toCssValue(value, ignoreImportant) {
    if (ignoreImportant === void 0) {
      ignoreImportant = false;
    }
    if (!Array.isArray(value)) return value;
    var cssValue = ''; 
    if (Array.isArray(value[0])) {
      for (var i = 0; i < value.length; i++) {
        if (value[i] === '!important') break;
        if (cssValue) cssValue += ', ';
        cssValue += join(value[i], ' ');
      }
    } else cssValue = join(value, ', '); 
    if (!ignoreImportant && value[value.length - 1] === '!important') {
      cssValue += ' !important';
    }
    return cssValue;
  }
function toCssValue ( value , ignoreImportant ) { if ( ignoreImportant === void 0 ) { ignoreImportant = false ; } if ( ! Array . isArray ( value ) ) return value ; var cssValue = '' ; if ( Array . isArray ( value [ 0 ] ) ) { for ( var i = 0 ; i < value . length ; i ++ ) { if ( value [ i ] === '!important' ) break ; if ( cssValue ) cssValue += ', ' ; cssValue += join ( value [ i ] , ' ' ) ; } } else cssValue = join ( value , ', ' ) ; if ( ! ignoreImportant && value [ value . length - 1 ] === '!important' ) { cssValue += ' !important' ; } return cssValue ; }
Converts array values to string.
Converts array values to string .
// Support space separated values via `[['5px', '10px']]`. // Add !important, because it was ignored.