update polymer
This commit is contained in:
parent
6825ae319e
commit
2d53ff29c5
106 changed files with 3070 additions and 1567 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "iron-icon",
|
||||
"private": true,
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.7",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"description": "An element that supports displaying an icon",
|
||||
"main": "iron-icon.html",
|
||||
|
@ -32,11 +32,11 @@
|
|||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"homepage": "https://github.com/polymerelements/iron-icon",
|
||||
"_release": "1.0.5",
|
||||
"_release": "1.0.7",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.5",
|
||||
"commit": "5217361e21016b3ca52b7bbf5ba2ad56b3301486"
|
||||
"tag": "v1.0.7",
|
||||
"commit": "6f4d152dc3998a6cc12a5a585a654f893dc99381"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/iron-icon.git",
|
||||
"_target": "^1.0.0",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "iron-icon",
|
||||
"private": true,
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.7",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"description": "An element that supports displaying an icon",
|
||||
"main": "iron-icon.html",
|
||||
|
|
|
@ -52,10 +52,11 @@ Example of using an icon named `cherry` from a custom iconset with the ID `fruit
|
|||
|
||||
<iron-icon icon="fruit:cherry"></iron-icon>
|
||||
|
||||
See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for more information about
|
||||
See [iron-iconset](iron-iconset) and [iron-iconset-svg](iron-iconset-svg) for more information about
|
||||
how to create a custom iconset.
|
||||
|
||||
See [iron-icons](https://elements.polymer-project.org/elements/iron-icons?view=demo:demo/index.html) for the default set of icons.
|
||||
See the [iron-icons demo](iron-icons?view=demo:demo/index.html) to see the icons available
|
||||
in the various iconsets.
|
||||
|
||||
|
||||
### Styling
|
||||
|
@ -66,6 +67,8 @@ Custom property | Description | Default
|
|||
----------------|-------------|----------
|
||||
`--iron-icon-width` | Width of the icon | `24px`
|
||||
`--iron-icon-height` | Height of the icon | `24px`
|
||||
`--iron-icon-fill-color` | Fill color of the svg icon | `currentcolor`
|
||||
`--iron-icon-stroke-color` | Stroke color of the svg icon | none
|
||||
|
||||
@group Iron Elements
|
||||
@element iron-icon
|
||||
|
@ -84,7 +87,8 @@ Custom property | Description | Default
|
|||
|
||||
vertical-align: middle;
|
||||
|
||||
fill: currentcolor;
|
||||
fill: var(--iron-icon-fill-color, currentcolor);
|
||||
stroke: var(--iron-icon-stroke-color, none);
|
||||
|
||||
width: var(--iron-icon-width, 24px);
|
||||
height: var(--iron-icon-height, 24px);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue