@polymer/paper-menu-button
Advanced tools
Comparing version 3.0.1 to 3.1.0
@@ -18,7 +18,7 @@ { | ||
"devDependencies": { | ||
"webmat": "^0.2.0", | ||
"@polymer/gen-typescript-declarations": "^1.5.1", | ||
"@polymer/iron-demo-helpers": "^3.0.1", | ||
"@polymer/iron-icon": "^3.0.0-pre.26", | ||
"@polymer/iron-icons": "^3.0.0-pre.26", | ||
"@polymer/iron-image": "^3.0.0-pre.26", | ||
"@polymer/iron-demo-helpers": "^3.0.1", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.26", | ||
@@ -29,5 +29,5 @@ "@polymer/paper-button": "^3.0.0-pre.26", | ||
"@polymer/paper-listbox": "^3.0.0-pre.26", | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
"wct-browser-legacy": "^1.0.1", | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
"@polymer/gen-typescript-declarations": "^1.5.1" | ||
"webmat": "^0.2.0" | ||
}, | ||
@@ -39,14 +39,14 @@ "scripts": { | ||
}, | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"main": "paper-menu-button.js", | ||
"author": "The Polymer Authors", | ||
"dependencies": { | ||
"@polymer/polymer": "^3.0.0", | ||
"@polymer/iron-a11y-keys-behavior": "^3.0.0-pre.26", | ||
"@polymer/iron-behaviors": "^3.0.0-pre.26", | ||
"@polymer/iron-dropdown": "^3.0.0-pre.26", | ||
"@polymer/iron-fit-behavior": "^3.0.0-pre.26", | ||
"@polymer/iron-fit-behavior": "^3.1.0", | ||
"@polymer/neon-animation": "^3.0.0-pre.26", | ||
"@polymer/paper-styles": "^3.0.0-pre.26" | ||
"@polymer/paper-styles": "^3.0.0-pre.26", | ||
"@polymer/polymer": "^3.0.0" | ||
} | ||
} |
@@ -17,2 +17,4 @@ /** | ||
is: 'paper-menu-grow-height-animation', | ||
/** @override */ | ||
_template: null, | ||
@@ -37,2 +39,4 @@ behaviors: [NeonAnimationBehavior], | ||
is: 'paper-menu-grow-width-animation', | ||
/** @override */ | ||
_template: null, | ||
@@ -57,2 +61,4 @@ behaviors: [NeonAnimationBehavior], | ||
is: 'paper-menu-shrink-width-animation', | ||
/** @override */ | ||
_template: null, | ||
@@ -77,2 +83,4 @@ behaviors: [NeonAnimationBehavior], | ||
is: 'paper-menu-shrink-height-animation', | ||
/** @override */ | ||
_template: null, | ||
@@ -79,0 +87,0 @@ behaviors: [NeonAnimationBehavior], |
@@ -116,2 +116,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; | ||
/** | ||
* This is the element intended to be bound as the focus target | ||
@@ -118,0 +125,0 @@ * for the `iron-dropdown` contained by `paper-menu-button`. |
@@ -69,6 +69,6 @@ /** | ||
@hero hero.svg | ||
@demo demo/index.html | ||
*/ | ||
export const PaperMenuButton = Polymer({ | ||
/** @override */ | ||
_template: html` | ||
@@ -127,3 +127,3 @@ <style> | ||
<iron-dropdown id="dropdown" opened="{{opened}}" horizontal-align="[[horizontalAlign]]" vertical-align="[[verticalAlign]]" dynamic-align="[[dynamicAlign]]" horizontal-offset="[[horizontalOffset]]" vertical-offset="[[verticalOffset]]" no-overlap="[[noOverlap]]" open-animation-config="[[openAnimationConfig]]" close-animation-config="[[closeAnimationConfig]]" no-animations="[[noAnimations]]" focus-target="[[_dropdownContent]]" allow-outside-scroll="[[allowOutsideScroll]]" restore-focus-on-close="[[restoreFocusOnClose]]" on-iron-overlay-canceled="__onIronOverlayCanceled"> | ||
<iron-dropdown id="dropdown" opened="{{opened}}" horizontal-align="[[horizontalAlign]]" vertical-align="[[verticalAlign]]" dynamic-align="[[dynamicAlign]]" horizontal-offset="[[horizontalOffset]]" vertical-offset="[[verticalOffset]]" no-overlap="[[noOverlap]]" open-animation-config="[[openAnimationConfig]]" close-animation-config="[[closeAnimationConfig]]" no-animations="[[noAnimations]]" focus-target="[[_dropdownContent]]" allow-outside-scroll="[[allowOutsideScroll]]" restore-focus-on-close="[[restoreFocusOnClose]]" on-iron-overlay-canceled="__onIronOverlayCanceled" expand-sizing-target-for-scrollbars="[[expandSizingTargetForScrollbars]]"> | ||
<div slot="dropdown-content" class="dropdown-content"> | ||
@@ -284,2 +284,9 @@ <slot id="content" name="dropdown-content"></slot> | ||
/** | ||
* 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}, | ||
/** | ||
* This is the element intended to be bound as the focus target | ||
@@ -286,0 +293,0 @@ * for the `iron-dropdown` contained by `paper-menu-button`. |
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
54231
669