-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TypeScript declarations to iron-icons. (#79)
* Generate minimal package.json from bower.json * Update and/or configure type declarations. * Don't make types for util/
- Loading branch information
Showing
20 changed files
with
1,240 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ util/node_modules | |
material-design-icons | ||
bower_components* | ||
bower-*.json | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* av-icons.html | ||
*/ | ||
|
||
/// <reference path="../iron-icon/iron-icon.d.ts" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* communication-icons.html | ||
*/ | ||
|
||
/// <reference path="../iron-icon/iron-icon.d.ts" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* demo/index.html | ||
*/ | ||
|
||
/// <reference path="../../webcomponentsjs/webcomponents-lite.d.ts" /> | ||
/// <reference path="../../paper-styles/demo-pages.d.ts" /> | ||
/// <reference path="../../paper-styles/color.d.ts" /> | ||
/// <reference path="../../iron-meta/iron-meta.d.ts" /> | ||
/// <reference path="../iron-icons.d.ts" /> | ||
/// <reference path="../av-icons.d.ts" /> | ||
/// <reference path="../communication-icons.d.ts" /> | ||
/// <reference path="../device-icons.d.ts" /> | ||
/// <reference path="../editor-icons.d.ts" /> | ||
/// <reference path="../hardware-icons.d.ts" /> | ||
/// <reference path="../image-icons.d.ts" /> | ||
/// <reference path="../maps-icons.d.ts" /> | ||
/// <reference path="../notification-icons.d.ts" /> | ||
/// <reference path="../social-icons.d.ts" /> | ||
/// <reference path="../places-icons.d.ts" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* device-icons.html | ||
*/ | ||
|
||
/// <reference path="../iron-icon/iron-icon.d.ts" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* editor-icons.html | ||
*/ | ||
|
||
/// <reference path="../iron-icon/iron-icon.d.ts" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"exclude": [ | ||
"util/**" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* hardware-icons.html | ||
*/ | ||
|
||
/// <reference path="../iron-icon/iron-icon.d.ts" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* image-icons.html | ||
*/ | ||
|
||
/// <reference path="../iron-icon/iron-icon.d.ts" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* index.html | ||
*/ | ||
|
||
/// <reference path="../webcomponentsjs/webcomponents-lite.d.ts" /> | ||
/// <reference path="../iron-component-page/iron-component-page.d.ts" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* iron-icons.html | ||
*/ | ||
|
||
/// <reference path="../iron-icon/iron-icon.d.ts" /> | ||
|
||
/** | ||
* `iron-icons` is a utility import that includes the definition for the `iron-icon` element, `iron-iconset-svg` element, as well as an import for the default icon set. | ||
* | ||
* The `iron-icons` directory also includes imports for additional icon sets that can be loaded into your project. | ||
* | ||
* Example loading icon set: | ||
* | ||
* <link rel="import" href="../iron-icons/maps-icons.html"> | ||
* | ||
* To use an icon from one of these sets, first prefix your `iron-icon` with the icon set name, followed by a colon, ":", and then the icon id. | ||
* | ||
* Example using the directions-bus icon from the maps icon set: | ||
* | ||
* <iron-icon icon="maps:directions-bus"></iron-icon> | ||
* | ||
* To load a subset of icons from one of the default `iron-icons` sets, you can | ||
* use the [poly-icon](https://poly-icon.appspot.com/) tool. It allows you | ||
* to select individual icons, and creates an iconset from them that you can | ||
* use directly in your elements. | ||
* | ||
* See [iron-icon](#iron-icon) for more information about working with icons. | ||
* | ||
* See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for more information about how to create a custom iconset. | ||
*/ | ||
interface IronIconsElement extends Polymer.Element { | ||
} | ||
|
||
interface HTMLElementTagNameMap { | ||
"iron-icons": IronIconsElement; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* maps-icons.html | ||
*/ | ||
|
||
/// <reference path="../iron-icon/iron-icon.d.ts" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* notification-icons.html | ||
*/ | ||
|
||
/// <reference path="../iron-icon/iron-icon.d.ts" /> | ||
|
Oops, something went wrong.