@polymer/paper-dropdown-menu
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -18,3 +18,3 @@ { | ||
"devDependencies": { | ||
"webmat": "^0.2.0", | ||
"@polymer/gen-typescript-declarations": "^1.5.1", | ||
"@polymer/iron-demo-helpers": "^3.0.1", | ||
@@ -25,6 +25,6 @@ "@polymer/iron-test-helpers": "^3.0.0-pre.26", | ||
"@polymer/paper-tabs": "^3.0.0-pre.26", | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
"wct-browser-legacy": "^1.0.1", | ||
"web-animations-js": "^2.3.1", | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
"@polymer/gen-typescript-declarations": "^1.5.1" | ||
"webmat": "^0.2.0" | ||
}, | ||
@@ -36,3 +36,3 @@ "scripts": { | ||
}, | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"author": "The Polymer Authors", | ||
@@ -47,3 +47,3 @@ "dependencies": { | ||
"@polymer/paper-input": "^3.1.0", | ||
"@polymer/paper-menu-button": "^3.0.0-pre.26", | ||
"@polymer/paper-menu-button": "^3.1.0", | ||
"@polymer/paper-ripple": "^3.0.0-pre.26", | ||
@@ -50,0 +50,0 @@ "@polymer/paper-styles": "^3.0.0-pre.26", |
@@ -589,3 +589,9 @@ /** | ||
this._setHasContent(!!this.value); | ||
if (!this.hasContent) { | ||
// If there is no content then reset to ' ', which is required | ||
// for the input height to be correct. Uses 'xa0' instead of ' ' to | ||
// avoid innerHTML. | ||
this.$.input.textContent = '\xa0'; | ||
} | ||
} | ||
}); |
@@ -184,2 +184,9 @@ /** | ||
/** | ||
* If true and scrollbars are added to the dropdown after it is positioned, | ||
* the size of the added scrollbars will be added to its `maxWidth` and | ||
* `maxHeight`. | ||
*/ | ||
expandSizingTargetForScrollbars: boolean|null|undefined; | ||
/** | ||
* The content element that is contained by the dropdown menu, if any. | ||
@@ -186,0 +193,0 @@ * |
@@ -98,3 +98,3 @@ /** | ||
<paper-menu-button id="menuButton" vertical-align="[[verticalAlign]]" horizontal-align="[[horizontalAlign]]" dynamic-align="[[dynamicAlign]]" vertical-offset="[[_computeMenuVerticalOffset(noLabelFloat, verticalOffset)]]" disabled="[[disabled]]" no-animations="[[noAnimations]]" on-iron-select="_onIronSelect" on-iron-deselect="_onIronDeselect" opened="{{opened}}" close-on-activate allow-outside-scroll="[[allowOutsideScroll]]" restore-focus-on-close="[[restoreFocusOnClose]]"> | ||
<paper-menu-button id="menuButton" vertical-align="[[verticalAlign]]" horizontal-align="[[horizontalAlign]]" dynamic-align="[[dynamicAlign]]" vertical-offset="[[_computeMenuVerticalOffset(noLabelFloat, verticalOffset)]]" disabled="[[disabled]]" no-animations="[[noAnimations]]" on-iron-select="_onIronSelect" on-iron-deselect="_onIronDeselect" opened="{{opened}}" close-on-activate allow-outside-scroll="[[allowOutsideScroll]]" restore-focus-on-close="[[restoreFocusOnClose]]" expand-sizing-target-for-scrollbars="[[expandSizingTargetForScrollbars]]"> | ||
<!-- support hybrid mode: user might be using paper-menu-button 1.x which distributes via <content> --> | ||
@@ -226,2 +226,9 @@ <div class="dropdown-trigger" slot="dropdown-trigger"> | ||
restoreFocusOnClose: {type: Boolean, value: true}, | ||
/** | ||
* If true and scrollbars are added to the dropdown after it is positioned, | ||
* the size of the added scrollbars will be added to its `maxWidth` and | ||
* `maxHeight`. | ||
*/ | ||
expandSizingTargetForScrollbars: {type: Boolean, value: false}, | ||
}, | ||
@@ -228,0 +235,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
79221
1495
0