@vaadin/board
Advanced tools
Comparing version 23.1.0-alpha3 to 23.1.0-alpha4
{ | ||
"name": "@vaadin/board", | ||
"version": "23.1.0-alpha3", | ||
"version": "23.1.0-alpha4", | ||
"publishConfig": { | ||
@@ -40,3 +40,3 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "23.1.0-alpha3", | ||
"@vaadin/component-base": "23.1.0-alpha4", | ||
"@vaadin/vaadin-license-checker": "^2.1.0" | ||
@@ -49,3 +49,3 @@ }, | ||
}, | ||
"gitHead": "8c9e64e8dfa158dd52a9bf6da351ff038c88ca85" | ||
"gitHead": "aacdb7fe09811894751f0378ff7fb66071892c71" | ||
} |
@@ -15,3 +15,3 @@ /** | ||
MEDIUM: 'medium', | ||
LARGE: 'large' | ||
LARGE: 'large', | ||
}; | ||
@@ -135,3 +135,3 @@ | ||
colsInRow = 1; | ||
} else if (width < breakpoints.mediumSize && colsInRow == 4) { | ||
} else if (width < breakpoints.mediumSize && colsInRow === 4) { | ||
colsInRow = 2; | ||
@@ -141,3 +141,3 @@ } | ||
flexBasis = flexBasis > 100 ? 100 : flexBasis; | ||
return flexBasis + '%'; | ||
return `${flexBasis}%`; | ||
} | ||
@@ -148,3 +148,3 @@ | ||
const errorMessage = 'The column configuration is not valid; column count should add up to 3 or 4.'; | ||
console.warn(errorMessage, 'check: \r\n' + this.outerHTML); | ||
console.warn(errorMessage, `check: \r\n${this.outerHTML}`); | ||
} | ||
@@ -238,5 +238,5 @@ | ||
forceResize || | ||
width != this._oldWidth || | ||
breakpoints.smallSize != this._oldBreakpoints.smallSize || | ||
breakpoints.mediumSize != this._oldBreakpoints.mediumSize | ||
width !== this._oldWidth || | ||
breakpoints.smallSize !== this._oldBreakpoints.smallSize || | ||
breakpoints.mediumSize !== this._oldBreakpoints.mediumSize | ||
) { | ||
@@ -253,3 +253,3 @@ const nodes = this.$.insertionPoint.assignedNodes({ flatten: true }); | ||
const newFlexBasis = this._calculateFlexBasis(boardCols[i], width, colsInRow, breakpoints); | ||
if (forceResize || !this._oldFlexBasis[i] || this._oldFlexBasis[i] != newFlexBasis) { | ||
if (forceResize || !this._oldFlexBasis[i] || this._oldFlexBasis[i] !== newFlexBasis) { | ||
this._oldFlexBasis[i] = newFlexBasis; | ||
@@ -256,0 +256,0 @@ e.style.flexBasis = newFlexBasis; |
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
33087
+ Added@vaadin/component-base@23.1.0-alpha4(transitive)
- Removed@vaadin/component-base@23.1.0-alpha3(transitive)