Socket
Socket
Sign inDemoInstall

@polymer/paper-menu-button

Package Overview
Dependencies
Maintainers
1
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 1.5.2-pre.3 to 3.0.0-pre.1

.github/ISSUE_TEMPLATE.md

18

package.json
{
"name": "@polymer/paper-menu-button",
"flat": true,
"version": "1.5.2-pre.3",
"version": "3.0.0-pre.1",
"description": "A material design element that composes a trigger and a dropdown menu",

@@ -21,14 +21,14 @@ "contributors": [

},
"license": "SEE LICENSE IN http://polymer.github.io/LICENSE.txt",
"license": "http://polymer.github.io/LICENSE.txt",
"homepage": "https://github.com/PolymerElements/paper-menu-button",
"dependencies": {
"@polymer/polymer": "preview",
"@polymer/iron-a11y-keys-behavior": "preview",
"@polymer/iron-behaviors": "preview",
"@polymer/iron-dropdown": "preview",
"@polymer/iron-fit-behavior": "preview",
"@polymer/neon-animation": "preview",
"@polymer/paper-styles": "preview"
"@polymer/polymer": "^3.0.0-pre.1",
"@polymer/iron-a11y-keys-behavior": "^3.0.0-pre.1",
"@polymer/iron-behaviors": "^3.0.0-pre.1",
"@polymer/iron-dropdown": "^3.0.0-pre.1",
"@polymer/iron-fit-behavior": "^3.0.0-pre.1",
"@polymer/neon-animation": "^3.0.0-pre.1",
"@polymer/paper-styles": "^3.0.0-pre.1"
},
"devDependencies": {}
}

@@ -1,15 +0,1 @@

<!---
This README is automatically generated from the comments in these files:
paper-menu-button-animations.html paper-menu-button.html
Edit those files, and our readme bot will duplicate them over here!
Edit this file, and the bot will squash your changes :)
The bot does some handling of markdown. Please file a bug if it does the wrong
thing! https://github.com/PolymerLabs/tedium/issues
-->
[![Build status](https://travis-ci.org/PolymerElements/paper-menu-button.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-menu-button)

@@ -20,3 +6,3 @@

##&lt;paper-menu-button&gt;
## &lt;paper-menu-button&gt;

@@ -29,4 +15,4 @@ Material design: [Dropdown buttons](https://www.google.com/design/spec/components/buttons.html#buttons-dropdown-buttons)

The child element with the class `dropdown-trigger` will be used as the
"trigger" element. The child element with the class `dropdown-content` will be
The child element assigned to the `dropdown-trigger` slot will be used as the
"trigger" element. The child element assigned to the `dropdown-content` slot will be
used as the "content" element.

@@ -42,8 +28,8 @@

<paper-menu-button>
<paper-icon-button icon="menu" class="dropdown-trigger"></paper-icon-button>
<paper-menu class="dropdown-content">
<paper-icon-button icon="menu" slot="dropdown-trigger"></paper-icon-button>
<paper-listbox slot="dropdown-content">
<paper-item>Share</paper-item>
<paper-item>Settings</paper-item>
<paper-item>Help</paper-item>
</paper-menu>
</paper-listbox>
</paper-menu-button>

@@ -64,10 +50,16 @@ ```

## paper-menu-button-animations.html
Defines these animations:
- &lt;paper-menu-grow-height-animation&gt;
- &lt;paper-menu-grow-width-animation&gt;
- &lt;paper-menu-shrink-height-animation&gt;
- &lt;paper-menu-shrink-width-animation&gt;
<!-- No docs for <paper-menu-grow-height-animation> found. -->
### Changes in 2.0
- `neon-animation 2.0` doesn't import the Web Animations polyfill, so you'll have to import it ([see example](demo/index.html))
<!-- No docs for <paper-menu-grow-width-animation> found. -->
<!-- No docs for <paper-menu-shrink-height-animation> found. -->
<!-- No docs for <paper-menu-shrink-width-animation> found. -->
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