Socket
Socket
Sign inDemoInstall

@polymer/iron-fit-behavior

Package Overview
Dependencies
Maintainers
7
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/iron-fit-behavior - npm Package Compare versions

Comparing version 3.0.0-pre.19 to 3.0.0-pre.20

wct.conf.json

14

iron-fit-behavior.js

@@ -235,4 +235,3 @@ /**

get __shouldPosition() {
return (this.horizontalAlign || this.verticalAlign) &&
(this.horizontalAlign !== 'center' || this.verticalAlign !== 'middle');
return (this.horizontalAlign || this.verticalAlign) && this.positionTarget;
},

@@ -633,2 +632,13 @@

if (vAlign === 'middle' && hAlign === 'center') {
positions.push({
verticalAlign: 'middle',
horizontalAlign: 'center',
top: positionRect.top - sizeNoMargins.height / 2 +
positionRect.height / 2 + this.verticalOffset,
left: positionRect.left - sizeNoMargins.width / 2 +
positionRect.width / 2 + this.horizontalOffset
});
}
var position;

@@ -635,0 +645,0 @@ for (var i = 0; i < positions.length; i++) {

10

package.json

@@ -15,8 +15,8 @@ {

"devDependencies": {
"@polymer/gen-typescript-declarations": "^1.2.0",
"@polymer/gen-typescript-declarations": "^1.2.2",
"bower": "^1.8.0",
"webmat": "^0.2.0",
"@polymer/iron-component-page": "^3.0.0-pre.19",
"@polymer/iron-demo-helpers": "^3.0.0-pre.19",
"wct-browser-legacy": "^0.0.1-pre.11",
"@polymer/iron-component-page": "^3.0.0-pre.20",
"@polymer/iron-demo-helpers": "^3.0.0-pre.20",
"wct-browser-legacy": "^1.0.1",
"@webcomponents/webcomponentsjs": "^2.0.0"

@@ -28,3 +28,3 @@ },

},
"version": "3.0.0-pre.19",
"version": "3.0.0-pre.20",
"resolutions": {

@@ -31,0 +31,0 @@ "inherits": "2.0.3",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc