Socket
Socket
Sign inDemoInstall

@polymer/paper-menu-button

Package Overview
Dependencies
Maintainers
10
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/paper-menu-button - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

16

package.json

@@ -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`.

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