@polymer/iron-dropdown
Advanced tools
Comparing version 1.5.5-pre.3 to 3.0.0-pre.1
{ | ||
"name": "@polymer/iron-dropdown", | ||
"flat": true, | ||
"version": "1.5.5-pre.3", | ||
"version": "3.0.0-pre.1", | ||
"description": "An unstyled element that works similarly to a native browser select", | ||
@@ -19,12 +19,11 @@ "contributors": [ | ||
}, | ||
"license": "SEE LICENSE IN http://polymer.github.io/LICENSE.txt", | ||
"license": "http://polymer.github.io/LICENSE.txt", | ||
"homepage": "https://github.com/PolymerElements/iron-dropdown", | ||
"dependencies": { | ||
"@polymer/polymer": "preview", | ||
"@polymer/iron-behaviors": "preview", | ||
"@polymer/iron-overlay-behavior": "preview", | ||
"@polymer/iron-resizable-behavior": "preview", | ||
"@polymer/neon-animation": "preview" | ||
"@polymer/polymer": "^3.0.0-pre.1", | ||
"@polymer/iron-behaviors": "^3.0.0-pre.1", | ||
"@polymer/iron-overlay-behavior": "^3.0.0-pre.1", | ||
"@polymer/neon-animation": "^3.0.0-pre.1" | ||
}, | ||
"devDependencies": {} | ||
} |
@@ -1,15 +0,1 @@ | ||
<!--- | ||
This README is automatically generated from the comments in these files: | ||
iron-dropdown.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/iron-dropdown.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-dropdown) | ||
@@ -20,6 +6,6 @@ | ||
##<iron-dropdown> | ||
## <iron-dropdown> | ||
`<iron-dropdown>` is a generalized element that is useful when you have | ||
hidden content (`.dropdown-content`) that is revealed due to some change in | ||
hidden content (`dropdown-content`) that is revealed due to some change in | ||
state that should cause it to do so. | ||
@@ -34,3 +20,3 @@ | ||
The `<iron-dropdown>` element exposes attributes that allow the position | ||
of the `.dropdown-content` relative to the `.dropdown-trigger` to be | ||
of the `dropdown-content` relative to the `dropdown-trigger` to be | ||
configured. | ||
@@ -40,10 +26,12 @@ | ||
<iron-dropdown horizontal-align="right" vertical-align="top"> | ||
<div class="dropdown-content">Hello!</div> | ||
<div slot="dropdown-content">Hello!</div> | ||
</iron-dropdown> | ||
``` | ||
In the above example, the `<div>` with class `.dropdown-content` will be | ||
In the above example, the `<div>` assigned to the `dropdown-content` slot will be | ||
hidden until the dropdown element has `opened` set to true, or when the `open` | ||
method is called on the element. | ||
### Changes in 2.0 | ||
- Removed the private property `_focusTarget` which was deprecated. | ||
- `neon-animation 2.0` doesn't import the Web Animations polyfill, so you'll have to import it ([see example](demo/index.html)) |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
70106
4
17
766
35
+ Added@polymer/iron-a11y-keys-behavior@3.0.1(transitive)
+ Added@polymer/iron-behaviors@3.0.1(transitive)
+ Added@polymer/iron-fit-behavior@3.1.0(transitive)
+ Added@polymer/iron-overlay-behavior@3.0.3(transitive)
+ Added@polymer/iron-resizable-behavior@3.0.1(transitive)
+ Added@polymer/iron-selector@3.0.1(transitive)
+ Added@polymer/neon-animation@3.0.1(transitive)
+ Added@polymer/polymer@3.5.2(transitive)
+ Added@webcomponents/shadycss@1.11.2(transitive)
- Removed@polymer/iron-a11y-keys-behavior@1.1.9-pre.3(transitive)
- Removed@polymer/iron-behaviors@1.0.17-pre.3(transitive)
- Removed@polymer/iron-fit-behavior@1.2.5-pre.3(transitive)
- Removed@polymer/iron-meta@1.1.2-pre.3(transitive)
- Removed@polymer/iron-overlay-behavior@1.10.2-pre.3(transitive)
- Removed@polymer/iron-resizable-behavior@1.0.5-pre.3(transitive)
- Removed@polymer/iron-selector@1.5.2-pre.3(transitive)
- Removed@polymer/neon-animation@1.2.4-pre.3(transitive)
- Removedweb-animations-js@2.3.2(transitive)