jekyll-polymer-magazine 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +45 -0
- data/_includes/disqus.html +24 -0
- data/_includes/head.html +21 -0
- data/_includes/javascripts.html +9 -0
- data/_layouts/default.html +4 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +95 -0
- data/assets/bower.json +29 -0
- data/assets/bower_components/app-layout/.bower.json +55 -0
- data/assets/bower_components/app-layout/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/app-layout/.gitignore +1 -0
- data/assets/bower_components/app-layout/.travis.yml +23 -0
- data/assets/bower_components/app-layout/CONTRIBUTING.md +77 -0
- data/assets/bower_components/app-layout/README.md +106 -0
- data/assets/bower_components/app-layout/app-box/README.md +69 -0
- data/assets/bower_components/app-layout/app-box/app-box.html +238 -0
- data/assets/bower_components/app-layout/app-box/demo/document-scroll.html +216 -0
- data/assets/bower_components/app-layout/app-box/demo/index.html +40 -0
- data/assets/bower_components/app-layout/app-box/demo/scrolling-region.html +230 -0
- data/assets/bower_components/app-layout/app-drawer-layout/README.md +93 -0
- data/assets/bower_components/app-layout/app-drawer-layout/app-drawer-layout.html +277 -0
- data/assets/bower_components/app-layout/app-drawer-layout/demo/index.html +40 -0
- data/assets/bower_components/app-layout/app-drawer-layout/demo/simple-drawer.html +67 -0
- data/assets/bower_components/app-layout/app-drawer-layout/demo/two-drawers.html +70 -0
- data/assets/bower_components/app-layout/app-drawer-layout/test/app-drawer-layout.html +234 -0
- data/assets/bower_components/app-layout/app-drawer-layout/test/index.html +25 -0
- data/assets/bower_components/app-layout/app-drawer/README.md +37 -0
- data/assets/bower_components/app-layout/app-drawer/app-drawer.html +690 -0
- data/assets/bower_components/app-layout/app-drawer/demo/index.html +40 -0
- data/assets/bower_components/app-layout/app-drawer/demo/left-drawer.html +70 -0
- data/assets/bower_components/app-layout/app-drawer/demo/right-drawer.html +94 -0
- data/assets/bower_components/app-layout/app-drawer/test/app-drawer.html +794 -0
- data/assets/bower_components/app-layout/app-drawer/test/index.html +25 -0
- data/assets/bower_components/app-layout/app-grid/README.md +124 -0
- data/assets/bower_components/app-layout/app-grid/app-grid-style.html +196 -0
- data/assets/bower_components/app-layout/app-grid/demo/aspect-ratio.html +113 -0
- data/assets/bower_components/app-layout/app-grid/demo/flickr-grid-layout.html +264 -0
- data/assets/bower_components/app-layout/app-grid/demo/index.html +41 -0
- data/assets/bower_components/app-layout/app-grid/demo/md-grid-layout.html +159 -0
- data/assets/bower_components/app-layout/app-grid/demo/simple-responsive-grid.html +124 -0
- data/assets/bower_components/app-layout/app-grid/test/app-grid-1.html +154 -0
- data/assets/bower_components/app-layout/app-grid/test/app-grid-2.html +157 -0
- data/assets/bower_components/app-layout/app-grid/test/app-grid-3.html +159 -0
- data/assets/bower_components/app-layout/app-grid/test/index.html +29 -0
- data/assets/bower_components/app-layout/app-header-layout/README.md +42 -0
- data/assets/bower_components/app-layout/app-header-layout/app-header-layout.html +228 -0
- data/assets/bower_components/app-layout/app-header-layout/demo/footer.html +90 -0
- data/assets/bower_components/app-layout/app-header-layout/demo/index.html +42 -0
- data/assets/bower_components/app-layout/app-header-layout/demo/music.html +239 -0
- data/assets/bower_components/app-layout/app-header-layout/demo/scrolling-region.html +87 -0
- data/assets/bower_components/app-layout/app-header-layout/demo/simple.html +74 -0
- data/assets/bower_components/app-layout/app-header-layout/test/app-header-layout.html +152 -0
- data/assets/bower_components/app-layout/app-header-layout/test/index.html +25 -0
- data/assets/bower_components/app-layout/app-header/README.md +199 -0
- data/assets/bower_components/app-layout/app-header/app-header.html +715 -0
- data/assets/bower_components/app-layout/app-header/demo/blend-background-1.html +109 -0
- data/assets/bower_components/app-layout/app-header/demo/blend-background-2.html +113 -0
- data/assets/bower_components/app-layout/app-header/demo/blend-background-3.html +110 -0
- data/assets/bower_components/app-layout/app-header/demo/contacts.html +124 -0
- data/assets/bower_components/app-layout/app-header/demo/custom-sticky-element-1.html +82 -0
- data/assets/bower_components/app-layout/app-header/demo/custom-sticky-element-2.html +89 -0
- data/assets/bower_components/app-layout/app-header/demo/give.html +115 -0
- data/assets/bower_components/app-layout/app-header/demo/index.html +48 -0
- data/assets/bower_components/app-layout/app-header/demo/music.html +235 -0
- data/assets/bower_components/app-layout/app-header/demo/no-effects.html +64 -0
- data/assets/bower_components/app-layout/app-header/demo/notes.html +174 -0
- data/assets/bower_components/app-layout/app-header/test/app-header.html +512 -0
- data/assets/bower_components/app-layout/app-header/test/index.html +25 -0
- data/assets/bower_components/app-layout/app-layout.html +19 -0
- data/assets/bower_components/app-layout/app-scroll-effects/README.md +84 -0
- data/assets/bower_components/app-layout/app-scroll-effects/app-scroll-effects-behavior.html +392 -0
- data/assets/bower_components/app-layout/app-scroll-effects/app-scroll-effects.html +17 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/blend-background.html +42 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/fade-background.html +53 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/material.html +30 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/parallax-background.html +55 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/resize-snapped-title.html +64 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/resize-title.html +85 -0
- data/assets/bower_components/app-layout/app-scroll-effects/effects/waterfall.html +26 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/app-scroll-effects-behavior.html +217 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/blend-background.html +90 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/fade-background.html +99 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/index.html +37 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/parallax-background.html +85 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/resize-snapped-title.html +93 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/resize-title.html +100 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/utils.html +43 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/waterfall.html +87 -0
- data/assets/bower_components/app-layout/app-scroll-effects/test/x-container.html +100 -0
- data/assets/bower_components/app-layout/app-scrollpos-control/README.md +35 -0
- data/assets/bower_components/app-layout/app-scrollpos-control/app-scrollpos-control.html +107 -0
- data/assets/bower_components/app-layout/app-scrollpos-control/demo/index.html +82 -0
- data/assets/bower_components/app-layout/app-scrollpos-control/test/app-scrollpos-control.html +69 -0
- data/assets/bower_components/app-layout/app-scrollpos-control/test/index.html +25 -0
- data/assets/bower_components/app-layout/app-toolbar/README.md +43 -0
- data/assets/bower_components/app-layout/app-toolbar/app-toolbar.html +117 -0
- data/assets/bower_components/app-layout/app-toolbar/demo/index.html +97 -0
- data/assets/bower_components/app-layout/app-toolbar/test/app-toolbar.html +88 -0
- data/assets/bower_components/app-layout/app-toolbar/test/index.html +25 -0
- data/assets/bower_components/app-layout/bower.json +45 -0
- data/assets/bower_components/app-layout/build.sh +22 -0
- data/assets/bower_components/app-layout/demo/contacts.json +11002 -0
- data/assets/bower_components/app-layout/demo/demo1.html +109 -0
- data/assets/bower_components/app-layout/demo/demo2.html +76 -0
- data/assets/bower_components/app-layout/demo/demo3.html +79 -0
- data/assets/bower_components/app-layout/demo/demo4.html +173 -0
- data/assets/bower_components/app-layout/demo/demo5.html +126 -0
- data/assets/bower_components/app-layout/demo/demo6.html +126 -0
- data/assets/bower_components/app-layout/demo/demo7.html +76 -0
- data/assets/bower_components/app-layout/demo/sample-content.html +102 -0
- data/assets/bower_components/app-layout/docs.html +30 -0
- data/assets/bower_components/app-layout/helpers/helpers.html +130 -0
- data/assets/bower_components/app-layout/helpers/test/index.html +27 -0
- data/assets/bower_components/app-layout/helpers/test/register-effect.html +49 -0
- data/assets/bower_components/app-layout/helpers/test/scroll.html +114 -0
- data/assets/bower_components/app-layout/index.html +428 -0
- data/assets/bower_components/app-layout/patterns/expand-card/index.html +73 -0
- data/assets/bower_components/app-layout/patterns/transform-navigation/index.html +39 -0
- data/assets/bower_components/app-layout/patterns/transform-navigation/x-app.html +132 -0
- data/assets/bower_components/app-layout/site/device-viewer/device-layout-viewer.html +196 -0
- data/assets/bower_components/app-layout/site/device-viewer/device-view.html +194 -0
- data/assets/bower_components/app-layout/site/device-viewer/index.html +42 -0
- data/assets/bower_components/app-layout/site/images/cds2015.png +0 -0
- data/assets/bower_components/app-layout/site/images/getting-started.png +0 -0
- data/assets/bower_components/app-layout/site/images/io2016.png +0 -0
- data/assets/bower_components/app-layout/site/images/landing-page.png +0 -0
- data/assets/bower_components/app-layout/site/images/pesto.png +0 -0
- data/assets/bower_components/app-layout/site/images/pica.png +0 -0
- data/assets/bower_components/app-layout/site/images/polymer-summit.png +0 -0
- data/assets/bower_components/app-layout/site/images/polymer.svg +46 -0
- data/assets/bower_components/app-layout/site/images/publishing.png +0 -0
- data/assets/bower_components/app-layout/site/images/shrine.png +0 -0
- data/assets/bower_components/app-layout/site/images/test-drive.png +0 -0
- data/assets/bower_components/app-layout/site/resources.json +76 -0
- data/assets/bower_components/app-layout/templates/getting-started/bower.json +13 -0
- data/assets/bower_components/app-layout/templates/getting-started/index.html +39 -0
- data/assets/bower_components/app-layout/templates/getting-started/x-app.html +75 -0
- data/assets/bower_components/app-layout/templates/landing-page/bower.json +14 -0
- data/assets/bower_components/app-layout/templates/landing-page/index.html +39 -0
- data/assets/bower_components/app-layout/templates/landing-page/x-app.html +186 -0
- data/assets/bower_components/app-layout/templates/pesto/bower.json +24 -0
- data/assets/bower_components/app-layout/templates/pesto/data/recipes.json +402 -0
- data/assets/bower_components/app-layout/templates/pesto/index.html +55 -0
- data/assets/bower_components/app-layout/templates/pesto/manifest.json +15 -0
- data/assets/bower_components/app-layout/templates/pesto/src/app-icons.html +27 -0
- data/assets/bower_components/app-layout/templates/pesto/src/recipe-app.html +210 -0
- data/assets/bower_components/app-layout/templates/pesto/src/recipe-detail.html +224 -0
- data/assets/bower_components/app-layout/templates/pesto/src/recipe-list.html +190 -0
- data/assets/bower_components/app-layout/templates/publishing/bower.json +23 -0
- data/assets/bower_components/app-layout/templates/publishing/data/articles.json +111 -0
- data/assets/bower_components/app-layout/templates/publishing/index.html +49 -0
- data/assets/bower_components/app-layout/templates/publishing/manifest.json +21 -0
- data/assets/bower_components/app-layout/templates/publishing/src/app-icons.html +20 -0
- data/assets/bower_components/app-layout/templates/publishing/src/article-detail.html +119 -0
- data/assets/bower_components/app-layout/templates/publishing/src/article-headline.html +69 -0
- data/assets/bower_components/app-layout/templates/publishing/src/blog-app.html +331 -0
- data/assets/bower_components/app-layout/templates/publishing/src/two-columns-grid.html +142 -0
- data/assets/bower_components/app-layout/templates/shrine/bower.json +21 -0
- data/assets/bower_components/app-layout/templates/shrine/data/featured.json +72 -0
- data/assets/bower_components/app-layout/templates/shrine/data/items.json +192 -0
- data/assets/bower_components/app-layout/templates/shrine/index.html +48 -0
- data/assets/bower_components/app-layout/templates/shrine/manifest.json +22 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-app.html +397 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-detail.html +297 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-featured-item.html +210 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-item.html +136 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-list.html +127 -0
- data/assets/bower_components/app-layout/templates/shrine/src/shrine-simple-item.html +82 -0
- data/assets/bower_components/app-layout/templates/test-drive/bower.json +14 -0
- data/assets/bower_components/app-layout/templates/test-drive/index.html +40 -0
- data/assets/bower_components/app-layout/templates/test-drive/test-app.html +233 -0
- data/assets/bower_components/app-layout/test/index.html +33 -0
- data/assets/bower_components/font-roboto/.bower.json +31 -0
- data/assets/bower_components/font-roboto/README.md +1 -0
- data/assets/bower_components/font-roboto/bower.json +22 -0
- data/assets/bower_components/font-roboto/roboto.html +11 -0
- data/assets/bower_components/iron-a11y-announcer/.bower.json +43 -0
- data/assets/bower_components/iron-a11y-announcer/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-a11y-announcer/.gitignore +1 -0
- data/assets/bower_components/iron-a11y-announcer/.travis.yml +23 -0
- data/assets/bower_components/iron-a11y-announcer/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-a11y-announcer/README.md +55 -0
- data/assets/bower_components/iron-a11y-announcer/bower.json +33 -0
- data/assets/bower_components/iron-a11y-announcer/demo/index.html +38 -0
- data/assets/bower_components/iron-a11y-announcer/demo/x-announces.html +60 -0
- data/assets/bower_components/iron-a11y-announcer/index.html +28 -0
- data/assets/bower_components/iron-a11y-announcer/iron-a11y-announcer.html +124 -0
- data/assets/bower_components/iron-a11y-announcer/test/index.html +24 -0
- data/assets/bower_components/iron-a11y-announcer/test/iron-a11y-announcer.html +56 -0
- data/assets/bower_components/iron-a11y-keys-behavior/.bower.json +43 -0
- data/assets/bower_components/iron-a11y-keys-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-a11y-keys-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-a11y-keys-behavior/.travis.yml +25 -0
- data/assets/bower_components/iron-a11y-keys-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-a11y-keys-behavior/README.md +58 -0
- data/assets/bower_components/iron-a11y-keys-behavior/bower.json +33 -0
- data/assets/bower_components/iron-a11y-keys-behavior/demo/index.html +24 -0
- data/assets/bower_components/iron-a11y-keys-behavior/demo/x-key-aware.html +105 -0
- data/assets/bower_components/iron-a11y-keys-behavior/index.html +24 -0
- data/assets/bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html +496 -0
- data/assets/bower_components/iron-a11y-keys-behavior/test/basic-test.html +445 -0
- data/assets/bower_components/iron-a11y-keys-behavior/test/index.html +28 -0
- data/assets/bower_components/iron-autogrow-textarea/.bower.json +48 -0
- data/assets/bower_components/iron-autogrow-textarea/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-autogrow-textarea/.gitignore +1 -0
- data/assets/bower_components/iron-autogrow-textarea/.travis.yml +23 -0
- data/assets/bower_components/iron-autogrow-textarea/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-autogrow-textarea/README.md +41 -0
- data/assets/bower_components/iron-autogrow-textarea/bower.json +39 -0
- data/assets/bower_components/iron-autogrow-textarea/demo/index.html +111 -0
- data/assets/bower_components/iron-autogrow-textarea/hero.svg +33 -0
- data/assets/bower_components/iron-autogrow-textarea/index.html +30 -0
- data/assets/bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html +361 -0
- data/assets/bower_components/iron-autogrow-textarea/test/basic.html +190 -0
- data/assets/bower_components/iron-autogrow-textarea/test/index.html +24 -0
- data/assets/bower_components/iron-behaviors/.bower.json +42 -0
- data/assets/bower_components/iron-behaviors/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-behaviors/.gitignore +1 -0
- data/assets/bower_components/iron-behaviors/.travis.yml +23 -0
- data/assets/bower_components/iron-behaviors/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-behaviors/README.md +22 -0
- data/assets/bower_components/iron-behaviors/bower.json +32 -0
- data/assets/bower_components/iron-behaviors/demo/index.html +48 -0
- data/assets/bower_components/iron-behaviors/demo/simple-button.html +66 -0
- data/assets/bower_components/iron-behaviors/index.html +27 -0
- data/assets/bower_components/iron-behaviors/iron-button-state.html +228 -0
- data/assets/bower_components/iron-behaviors/iron-control-state.html +110 -0
- data/assets/bower_components/iron-behaviors/test/active-state.html +280 -0
- data/assets/bower_components/iron-behaviors/test/disabled-state.html +82 -0
- data/assets/bower_components/iron-behaviors/test/focused-state.html +161 -0
- data/assets/bower_components/iron-behaviors/test/index.html +27 -0
- data/assets/bower_components/iron-behaviors/test/test-elements.html +91 -0
- data/assets/bower_components/iron-checked-element-behavior/.bower.json +43 -0
- data/assets/bower_components/iron-checked-element-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-checked-element-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-checked-element-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-checked-element-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-checked-element-behavior/README.md +27 -0
- data/assets/bower_components/iron-checked-element-behavior/bower.json +34 -0
- data/assets/bower_components/iron-checked-element-behavior/demo/index.html +39 -0
- data/assets/bower_components/iron-checked-element-behavior/demo/simple-checkbox.html +65 -0
- data/assets/bower_components/iron-checked-element-behavior/index.html +30 -0
- data/assets/bower_components/iron-checked-element-behavior/iron-checked-element-behavior.html +120 -0
- data/assets/bower_components/iron-checked-element-behavior/test/basic.html +152 -0
- data/assets/bower_components/iron-checked-element-behavior/test/index.html +31 -0
- data/assets/bower_components/iron-checked-element-behavior/test/simple-checkbox.html +26 -0
- data/assets/bower_components/iron-collapse/.bower.json +43 -0
- data/assets/bower_components/iron-collapse/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-collapse/.gitignore +1 -0
- data/assets/bower_components/iron-collapse/.travis.yml +24 -0
- data/assets/bower_components/iron-collapse/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-collapse/README.md +66 -0
- data/assets/bower_components/iron-collapse/bower.json +34 -0
- data/assets/bower_components/iron-collapse/demo/index.html +104 -0
- data/assets/bower_components/iron-collapse/hero.svg +23 -0
- data/assets/bower_components/iron-collapse/index.html +31 -0
- data/assets/bower_components/iron-collapse/iron-collapse.html +302 -0
- data/assets/bower_components/iron-collapse/test/a11y.html +74 -0
- data/assets/bower_components/iron-collapse/test/basic.html +199 -0
- data/assets/bower_components/iron-collapse/test/flex.html +152 -0
- data/assets/bower_components/iron-collapse/test/horizontal.html +97 -0
- data/assets/bower_components/iron-collapse/test/index.html +35 -0
- data/assets/bower_components/iron-collapse/test/nested.html +131 -0
- data/assets/bower_components/iron-dropdown/.bower.json +47 -0
- data/assets/bower_components/iron-dropdown/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-dropdown/.gitignore +1 -0
- data/assets/bower_components/iron-dropdown/.travis.yml +23 -0
- data/assets/bower_components/iron-dropdown/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-dropdown/README.md +46 -0
- data/assets/bower_components/iron-dropdown/bower.json +38 -0
- data/assets/bower_components/iron-dropdown/demo/grow-height-animation.html +36 -0
- data/assets/bower_components/iron-dropdown/demo/index.html +160 -0
- data/assets/bower_components/iron-dropdown/demo/x-select.html +80 -0
- data/assets/bower_components/iron-dropdown/index.html +24 -0
- data/assets/bower_components/iron-dropdown/iron-dropdown-scroll-manager.html +350 -0
- data/assets/bower_components/iron-dropdown/iron-dropdown.html +347 -0
- data/assets/bower_components/iron-dropdown/test/index.html +28 -0
- data/assets/bower_components/iron-dropdown/test/iron-dropdown-scroll-manager.html +187 -0
- data/assets/bower_components/iron-dropdown/test/iron-dropdown.html +519 -0
- data/assets/bower_components/iron-dropdown/test/x-scrollable-element.html +53 -0
- data/assets/bower_components/iron-fit-behavior/.bower.json +41 -0
- data/assets/bower_components/iron-fit-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-fit-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-fit-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-fit-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-fit-behavior/README.md +57 -0
- data/assets/bower_components/iron-fit-behavior/bower.json +31 -0
- data/assets/bower_components/iron-fit-behavior/demo/index.html +166 -0
- data/assets/bower_components/iron-fit-behavior/demo/simple-fit.html +41 -0
- data/assets/bower_components/iron-fit-behavior/index.html +30 -0
- data/assets/bower_components/iron-fit-behavior/iron-fit-behavior.html +598 -0
- data/assets/bower_components/iron-fit-behavior/test/index.html +31 -0
- data/assets/bower_components/iron-fit-behavior/test/iron-fit-behavior.html +949 -0
- data/assets/bower_components/iron-fit-behavior/test/test-fit.html +41 -0
- data/assets/bower_components/iron-flex-layout/.bower.json +41 -0
- data/assets/bower_components/iron-flex-layout/.gitignore +2 -0
- data/assets/bower_components/iron-flex-layout/.travis.yml +25 -0
- data/assets/bower_components/iron-flex-layout/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-flex-layout/README.md +55 -0
- data/assets/bower_components/iron-flex-layout/bower.json +31 -0
- data/assets/bower_components/iron-flex-layout/classes/iron-flex-layout.html +311 -0
- data/assets/bower_components/iron-flex-layout/classes/iron-shadow-flex-layout.html +307 -0
- data/assets/bower_components/iron-flex-layout/demo/index.html +396 -0
- data/assets/bower_components/iron-flex-layout/index.html +24 -0
- data/assets/bower_components/iron-flex-layout/iron-flex-layout-classes.html +431 -0
- data/assets/bower_components/iron-flex-layout/iron-flex-layout.html +399 -0
- data/assets/bower_components/iron-flex-layout/test/index.html +31 -0
- data/assets/bower_components/iron-flex-layout/test/iron-flex-layout-classes.html +412 -0
- data/assets/bower_components/iron-flex-layout/test/iron-flex-layout.html +434 -0
- data/assets/bower_components/iron-form-element-behavior/.bower.json +41 -0
- data/assets/bower_components/iron-form-element-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-form-element-behavior/.travis.yml +22 -0
- data/assets/bower_components/iron-form-element-behavior/CONTRIBUTING.md +72 -0
- data/assets/bower_components/iron-form-element-behavior/README.md +23 -0
- data/assets/bower_components/iron-form-element-behavior/bower.json +31 -0
- data/assets/bower_components/iron-form-element-behavior/demo/index.html +67 -0
- data/assets/bower_components/iron-form-element-behavior/demo/simple-element.html +27 -0
- data/assets/bower_components/iron-form-element-behavior/demo/simple-form.html +53 -0
- data/assets/bower_components/iron-form-element-behavior/index.html +30 -0
- data/assets/bower_components/iron-form-element-behavior/iron-form-element-behavior.html +86 -0
- data/assets/bower_components/iron-form-element-behavior/test/basic.html +71 -0
- data/assets/bower_components/iron-form-element-behavior/test/index.html +24 -0
- data/assets/bower_components/iron-form-element-behavior/test/simple-element.html +23 -0
- data/assets/bower_components/iron-form-element-behavior/test/simple-form.html +19 -0
- data/assets/bower_components/iron-icon/.bower.json +45 -0
- data/assets/bower_components/iron-icon/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-icon/.gitignore +1 -0
- data/assets/bower_components/iron-icon/.travis.yml +23 -0
- data/assets/bower_components/iron-icon/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-icon/README.md +22 -0
- data/assets/bower_components/iron-icon/bower.json +35 -0
- data/assets/bower_components/iron-icon/demo/async.html +62 -0
- data/assets/bower_components/iron-icon/demo/index.html +48 -0
- data/assets/bower_components/iron-icon/demo/location.png +0 -0
- data/assets/bower_components/iron-icon/hero.svg +19 -0
- data/assets/bower_components/iron-icon/index.html +26 -0
- data/assets/bower_components/iron-icon/iron-icon.html +210 -0
- data/assets/bower_components/iron-icon/test/index.html +27 -0
- data/assets/bower_components/iron-icon/test/iron-icon.html +246 -0
- data/assets/bower_components/iron-icons/.bower.json +48 -0
- data/assets/bower_components/iron-icons/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-icons/.gitignore +3 -0
- data/assets/bower_components/iron-icons/.travis.yml +24 -0
- data/assets/bower_components/iron-icons/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-icons/README.md +49 -0
- data/assets/bower_components/iron-icons/av-icons.html +96 -0
- data/assets/bower_components/iron-icons/bower.json +38 -0
- data/assets/bower_components/iron-icons/communication-icons.html +66 -0
- data/assets/bower_components/iron-icons/demo/index.html +116 -0
- data/assets/bower_components/iron-icons/device-icons.html +95 -0
- data/assets/bower_components/iron-icons/editor-icons.html +84 -0
- data/assets/bower_components/iron-icons/hardware-icons.html +64 -0
- data/assets/bower_components/iron-icons/hero.svg +35 -0
- data/assets/bower_components/iron-icons/image-icons.html +171 -0
- data/assets/bower_components/iron-icons/index.html +26 -0
- data/assets/bower_components/iron-icons/iron-icons.html +353 -0
- data/assets/bower_components/iron-icons/maps-icons.html +84 -0
- data/assets/bower_components/iron-icons/notification-icons.html +70 -0
- data/assets/bower_components/iron-icons/places-icons.html +35 -0
- data/assets/bower_components/iron-icons/social-icons.html +46 -0
- data/assets/bower_components/iron-iconset-svg/.bower.json +44 -0
- data/assets/bower_components/iron-iconset-svg/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-iconset-svg/.gitignore +1 -0
- data/assets/bower_components/iron-iconset-svg/.travis.yml +23 -0
- data/assets/bower_components/iron-iconset-svg/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-iconset-svg/README.md +56 -0
- data/assets/bower_components/iron-iconset-svg/bower.json +34 -0
- data/assets/bower_components/iron-iconset-svg/demo/index.html +70 -0
- data/assets/bower_components/iron-iconset-svg/demo/svg-sample-icons.html +81 -0
- data/assets/bower_components/iron-iconset-svg/index.html +26 -0
- data/assets/bower_components/iron-iconset-svg/iron-iconset-svg.html +241 -0
- data/assets/bower_components/iron-iconset-svg/test/index.html +27 -0
- data/assets/bower_components/iron-iconset-svg/test/iron-iconset-svg.html +233 -0
- data/assets/bower_components/iron-image/.bower.json +43 -0
- data/assets/bower_components/iron-image/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-image/.gitignore +1 -0
- data/assets/bower_components/iron-image/.travis.yml +23 -0
- data/assets/bower_components/iron-image/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-image/README.md +86 -0
- data/assets/bower_components/iron-image/bower.json +33 -0
- data/assets/bower_components/iron-image/demo/index.html +266 -0
- data/assets/bower_components/iron-image/demo/loading.png +0 -0
- data/assets/bower_components/iron-image/demo/polymer.svg +175 -0
- data/assets/bower_components/iron-image/index.html +24 -0
- data/assets/bower_components/iron-image/iron-image.html +404 -0
- data/assets/bower_components/iron-image/test/index.html +23 -0
- data/assets/bower_components/iron-image/test/iron-image.html +338 -0
- data/assets/bower_components/iron-input/.bower.json +44 -0
- data/assets/bower_components/iron-input/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-input/.gitignore +1 -0
- data/assets/bower_components/iron-input/.travis.yml +23 -0
- data/assets/bower_components/iron-input/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-input/README.md +59 -0
- data/assets/bower_components/iron-input/bower.json +35 -0
- data/assets/bower_components/iron-input/demo/index.html +87 -0
- data/assets/bower_components/iron-input/hero.svg +19 -0
- data/assets/bower_components/iron-input/index.html +30 -0
- data/assets/bower_components/iron-input/iron-input.html +306 -0
- data/assets/bower_components/iron-input/test/disabled-input.html +32 -0
- data/assets/bower_components/iron-input/test/index.html +24 -0
- data/assets/bower_components/iron-input/test/iron-input.html +281 -0
- data/assets/bower_components/iron-input/test/letters-only.html +30 -0
- data/assets/bower_components/iron-media-query/.bower.json +41 -0
- data/assets/bower_components/iron-media-query/.gitignore +1 -0
- data/assets/bower_components/iron-media-query/.travis.yml +22 -0
- data/assets/bower_components/iron-media-query/CONTRIBUTING.md +72 -0
- data/assets/bower_components/iron-media-query/README.md +28 -0
- data/assets/bower_components/iron-media-query/bower.json +32 -0
- data/assets/bower_components/iron-media-query/demo/index.html +93 -0
- data/assets/bower_components/iron-media-query/hero.svg +29 -0
- data/assets/bower_components/iron-media-query/index.html +29 -0
- data/assets/bower_components/iron-media-query/iron-media-query.html +121 -0
- data/assets/bower_components/iron-media-query/test/basic.html +118 -0
- data/assets/bower_components/iron-media-query/test/index.html +26 -0
- data/assets/bower_components/iron-menu-behavior/.bower.json +46 -0
- data/assets/bower_components/iron-menu-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-menu-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-menu-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-menu-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-menu-behavior/README.md +30 -0
- data/assets/bower_components/iron-menu-behavior/bower.json +37 -0
- data/assets/bower_components/iron-menu-behavior/demo/index.html +118 -0
- data/assets/bower_components/iron-menu-behavior/demo/simple-menu.html +48 -0
- data/assets/bower_components/iron-menu-behavior/demo/simple-menubar.html +52 -0
- data/assets/bower_components/iron-menu-behavior/index.html +30 -0
- data/assets/bower_components/iron-menu-behavior/iron-menu-behavior.html +376 -0
- data/assets/bower_components/iron-menu-behavior/iron-menubar-behavior.html +81 -0
- data/assets/bower_components/iron-menu-behavior/test/index.html +33 -0
- data/assets/bower_components/iron-menu-behavior/test/iron-menu-behavior.html +559 -0
- data/assets/bower_components/iron-menu-behavior/test/iron-menubar-behavior.html +162 -0
- data/assets/bower_components/iron-menu-behavior/test/test-menu.html +46 -0
- data/assets/bower_components/iron-menu-behavior/test/test-menubar.html +46 -0
- data/assets/bower_components/iron-menu-behavior/test/test-nested-menu.html +44 -0
- data/assets/bower_components/iron-meta/.bower.json +40 -0
- data/assets/bower_components/iron-meta/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-meta/.gitignore +1 -0
- data/assets/bower_components/iron-meta/.travis.yml +23 -0
- data/assets/bower_components/iron-meta/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-meta/README.md +110 -0
- data/assets/bower_components/iron-meta/bower.json +30 -0
- data/assets/bower_components/iron-meta/demo/index.html +76 -0
- data/assets/bower_components/iron-meta/hero.svg +33 -0
- data/assets/bower_components/iron-meta/index.html +27 -0
- data/assets/bower_components/iron-meta/iron-meta.html +333 -0
- data/assets/bower_components/iron-meta/test/basic.html +48 -0
- data/assets/bower_components/iron-meta/test/index.html +29 -0
- data/assets/bower_components/iron-meta/test/iron-meta.html +195 -0
- data/assets/bower_components/iron-overlay-behavior/.bower.json +47 -0
- data/assets/bower_components/iron-overlay-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-overlay-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-overlay-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-overlay-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-overlay-behavior/README.md +78 -0
- data/assets/bower_components/iron-overlay-behavior/bower.json +37 -0
- data/assets/bower_components/iron-overlay-behavior/demo/index.html +188 -0
- data/assets/bower_components/iron-overlay-behavior/demo/simple-overlay.html +46 -0
- data/assets/bower_components/iron-overlay-behavior/index.html +30 -0
- data/assets/bower_components/iron-overlay-behavior/iron-focusables-helper.html +220 -0
- data/assets/bower_components/iron-overlay-behavior/iron-overlay-backdrop.html +168 -0
- data/assets/bower_components/iron-overlay-behavior/iron-overlay-behavior.html +638 -0
- data/assets/bower_components/iron-overlay-behavior/iron-overlay-manager.html +362 -0
- data/assets/bower_components/iron-overlay-behavior/test/index.html +33 -0
- data/assets/bower_components/iron-overlay-behavior/test/iron-focusables-helper.html +182 -0
- data/assets/bower_components/iron-overlay-behavior/test/iron-overlay-backdrop.html +85 -0
- data/assets/bower_components/iron-overlay-behavior/test/iron-overlay-behavior.html +1250 -0
- data/assets/bower_components/iron-overlay-behavior/test/test-buttons-wrapper.html +39 -0
- data/assets/bower_components/iron-overlay-behavior/test/test-buttons.html +34 -0
- data/assets/bower_components/iron-overlay-behavior/test/test-menu-button.html +38 -0
- data/assets/bower_components/iron-overlay-behavior/test/test-overlay.html +101 -0
- data/assets/bower_components/iron-overlay-behavior/test/test-overlay2.html +52 -0
- data/assets/bower_components/iron-range-behavior/.bower.json +39 -0
- data/assets/bower_components/iron-range-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-range-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-range-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-range-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-range-behavior/README.md +24 -0
- data/assets/bower_components/iron-range-behavior/bower.json +29 -0
- data/assets/bower_components/iron-range-behavior/demo/index.html +80 -0
- data/assets/bower_components/iron-range-behavior/index.html +24 -0
- data/assets/bower_components/iron-range-behavior/iron-range-behavior.html +121 -0
- data/assets/bower_components/iron-range-behavior/test/basic.html +180 -0
- data/assets/bower_components/iron-range-behavior/test/index.html +24 -0
- data/assets/bower_components/iron-range-behavior/test/x-progressbar.html +19 -0
- data/assets/bower_components/iron-resizable-behavior/.bower.json +41 -0
- data/assets/bower_components/iron-resizable-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-resizable-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-resizable-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-resizable-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-resizable-behavior/README.md +36 -0
- data/assets/bower_components/iron-resizable-behavior/bower.json +31 -0
- data/assets/bower_components/iron-resizable-behavior/demo/index.html +29 -0
- data/assets/bower_components/iron-resizable-behavior/demo/src/x-app.html +105 -0
- data/assets/bower_components/iron-resizable-behavior/index.html +25 -0
- data/assets/bower_components/iron-resizable-behavior/iron-resizable-behavior.html +195 -0
- data/assets/bower_components/iron-resizable-behavior/test/basic.html +223 -0
- data/assets/bower_components/iron-resizable-behavior/test/index.html +29 -0
- data/assets/bower_components/iron-resizable-behavior/test/iron-resizable-behavior.html +88 -0
- data/assets/bower_components/iron-resizable-behavior/test/test-elements.html +193 -0
- data/assets/bower_components/iron-scroll-target-behavior/.bower.json +40 -0
- data/assets/bower_components/iron-scroll-target-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-scroll-target-behavior/.gitignore +2 -0
- data/assets/bower_components/iron-scroll-target-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-scroll-target-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-scroll-target-behavior/README.md +28 -0
- data/assets/bower_components/iron-scroll-target-behavior/bower.json +31 -0
- data/assets/bower_components/iron-scroll-target-behavior/demo/document.html +39 -0
- data/assets/bower_components/iron-scroll-target-behavior/demo/scrolling-region.html +51 -0
- data/assets/bower_components/iron-scroll-target-behavior/demo/x-scrollable.html +101 -0
- data/assets/bower_components/iron-scroll-target-behavior/index.html +28 -0
- data/assets/bower_components/iron-scroll-target-behavior/iron-scroll-target-behavior.html +260 -0
- data/assets/bower_components/iron-scroll-target-behavior/test/basic.html +317 -0
- data/assets/bower_components/iron-scroll-target-behavior/test/index.html +32 -0
- data/assets/bower_components/iron-scroll-target-behavior/test/x-nested-scrollable.html +39 -0
- data/assets/bower_components/iron-scroll-target-behavior/test/x-scrollable.html +65 -0
- data/assets/bower_components/iron-selector/.bower.json +42 -0
- data/assets/bower_components/iron-selector/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-selector/.gitignore +2 -0
- data/assets/bower_components/iron-selector/.travis.yml +23 -0
- data/assets/bower_components/iron-selector/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-selector/README.md +91 -0
- data/assets/bower_components/iron-selector/bower.json +33 -0
- data/assets/bower_components/iron-selector/demo/index.html +101 -0
- data/assets/bower_components/iron-selector/index.html +28 -0
- data/assets/bower_components/iron-selector/iron-multi-selectable.html +154 -0
- data/assets/bower_components/iron-selector/iron-selectable.html +388 -0
- data/assets/bower_components/iron-selector/iron-selection.html +119 -0
- data/assets/bower_components/iron-selector/iron-selector.html +87 -0
- data/assets/bower_components/iron-selector/test/activate-event.html +150 -0
- data/assets/bower_components/iron-selector/test/attr-for-selected-elements.html +30 -0
- data/assets/bower_components/iron-selector/test/attr-for-selected.html +229 -0
- data/assets/bower_components/iron-selector/test/basic.html +263 -0
- data/assets/bower_components/iron-selector/test/content-element.html +44 -0
- data/assets/bower_components/iron-selector/test/content.html +169 -0
- data/assets/bower_components/iron-selector/test/excluded-local-names.html +96 -0
- data/assets/bower_components/iron-selector/test/index.html +43 -0
- data/assets/bower_components/iron-selector/test/multi.html +375 -0
- data/assets/bower_components/iron-selector/test/next-previous.html +135 -0
- data/assets/bower_components/iron-selector/test/numeric-ids.html +73 -0
- data/assets/bower_components/iron-selector/test/selected-attribute.html +129 -0
- data/assets/bower_components/iron-selector/test/template-repeat.html +104 -0
- data/assets/bower_components/iron-validatable-behavior/.bower.json +42 -0
- data/assets/bower_components/iron-validatable-behavior/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/iron-validatable-behavior/.gitignore +1 -0
- data/assets/bower_components/iron-validatable-behavior/.travis.yml +23 -0
- data/assets/bower_components/iron-validatable-behavior/CONTRIBUTING.md +77 -0
- data/assets/bower_components/iron-validatable-behavior/README.md +42 -0
- data/assets/bower_components/iron-validatable-behavior/bower.json +33 -0
- data/assets/bower_components/iron-validatable-behavior/demo/cats-only.html +46 -0
- data/assets/bower_components/iron-validatable-behavior/demo/index.html +71 -0
- data/assets/bower_components/iron-validatable-behavior/demo/validatable-input.html +46 -0
- data/assets/bower_components/iron-validatable-behavior/index.html +30 -0
- data/assets/bower_components/iron-validatable-behavior/iron-validatable-behavior.html +149 -0
- data/assets/bower_components/iron-validatable-behavior/test/cats-only.html +30 -0
- data/assets/bower_components/iron-validatable-behavior/test/dogs-only.html +30 -0
- data/assets/bower_components/iron-validatable-behavior/test/index.html +32 -0
- data/assets/bower_components/iron-validatable-behavior/test/iron-validatable-behavior.html +88 -0
- data/assets/bower_components/iron-validatable-behavior/test/test-validatable.html +29 -0
- data/assets/bower_components/neon-animation/.bower.json +61 -0
- data/assets/bower_components/neon-animation/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/neon-animation/.gitignore +1 -0
- data/assets/bower_components/neon-animation/.travis.yml +23 -0
- data/assets/bower_components/neon-animation/CONTRIBUTING.md +77 -0
- data/assets/bower_components/neon-animation/README.md +306 -0
- data/assets/bower_components/neon-animation/animations/cascaded-animation.html +95 -0
- data/assets/bower_components/neon-animation/animations/fade-in-animation.html +49 -0
- data/assets/bower_components/neon-animation/animations/fade-out-animation.html +49 -0
- data/assets/bower_components/neon-animation/animations/hero-animation.html +83 -0
- data/assets/bower_components/neon-animation/animations/opaque-animation.html +46 -0
- data/assets/bower_components/neon-animation/animations/reverse-ripple-animation.html +87 -0
- data/assets/bower_components/neon-animation/animations/ripple-animation.html +93 -0
- data/assets/bower_components/neon-animation/animations/scale-down-animation.html +65 -0
- data/assets/bower_components/neon-animation/animations/scale-up-animation.html +65 -0
- data/assets/bower_components/neon-animation/animations/slide-down-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/slide-from-bottom-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/slide-from-left-animation.html +60 -0
- data/assets/bower_components/neon-animation/animations/slide-from-right-animation.html +60 -0
- data/assets/bower_components/neon-animation/animations/slide-from-top-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/slide-left-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/slide-right-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/slide-up-animation.html +59 -0
- data/assets/bower_components/neon-animation/animations/transform-animation.html +70 -0
- data/assets/bower_components/neon-animation/bower.json +52 -0
- data/assets/bower_components/neon-animation/demo/card/index.html +166 -0
- data/assets/bower_components/neon-animation/demo/card/x-card.html +94 -0
- data/assets/bower_components/neon-animation/demo/card/x-cards-list.html +75 -0
- data/assets/bower_components/neon-animation/demo/declarative/index.html +132 -0
- data/assets/bower_components/neon-animation/demo/doc/index.html +70 -0
- data/assets/bower_components/neon-animation/demo/doc/my-animatable.html +68 -0
- data/assets/bower_components/neon-animation/demo/doc/my-dialog.html +94 -0
- data/assets/bower_components/neon-animation/demo/dropdown/animated-dropdown.html +90 -0
- data/assets/bower_components/neon-animation/demo/dropdown/index.html +54 -0
- data/assets/bower_components/neon-animation/demo/grid/animated-grid.html +164 -0
- data/assets/bower_components/neon-animation/demo/grid/fullsize-page-with-card.html +122 -0
- data/assets/bower_components/neon-animation/demo/grid/index.html +64 -0
- data/assets/bower_components/neon-animation/demo/index.html +45 -0
- data/assets/bower_components/neon-animation/demo/list/full-view.html +118 -0
- data/assets/bower_components/neon-animation/demo/list/index.html +35 -0
- data/assets/bower_components/neon-animation/demo/list/list-demo.html +102 -0
- data/assets/bower_components/neon-animation/demo/list/list-view.html +124 -0
- data/assets/bower_components/neon-animation/demo/load/animated-grid.html +146 -0
- data/assets/bower_components/neon-animation/demo/load/full-page.html +82 -0
- data/assets/bower_components/neon-animation/demo/load/index.html +48 -0
- data/assets/bower_components/neon-animation/demo/reprojection/animated-grid.html +167 -0
- data/assets/bower_components/neon-animation/demo/reprojection/fullsize-page-with-card.html +120 -0
- data/assets/bower_components/neon-animation/demo/reprojection/index.html +63 -0
- data/assets/bower_components/neon-animation/demo/reprojection/reprojected-pages.html +45 -0
- data/assets/bower_components/neon-animation/demo/shared-styles.html +47 -0
- data/assets/bower_components/neon-animation/demo/tiles/circles-page.html +107 -0
- data/assets/bower_components/neon-animation/demo/tiles/index.html +70 -0
- data/assets/bower_components/neon-animation/demo/tiles/squares-page.html +100 -0
- data/assets/bower_components/neon-animation/guides/neon-animation.md +314 -0
- data/assets/bower_components/neon-animation/index.html +30 -0
- data/assets/bower_components/neon-animation/neon-animatable-behavior.html +150 -0
- data/assets/bower_components/neon-animation/neon-animatable.html +54 -0
- data/assets/bower_components/neon-animation/neon-animated-pages.html +220 -0
- data/assets/bower_components/neon-animation/neon-animation-behavior.html +86 -0
- data/assets/bower_components/neon-animation/neon-animation-runner-behavior.html +129 -0
- data/assets/bower_components/neon-animation/neon-animation.html +18 -0
- data/assets/bower_components/neon-animation/neon-animations.html +29 -0
- data/assets/bower_components/neon-animation/neon-shared-element-animatable-behavior.html +43 -0
- data/assets/bower_components/neon-animation/neon-shared-element-animation-behavior.html +72 -0
- data/assets/bower_components/neon-animation/test/index.html +28 -0
- data/assets/bower_components/neon-animation/test/neon-animated-pages-descendant-selection.html +118 -0
- data/assets/bower_components/neon-animation/test/neon-animated-pages-lazy.html +73 -0
- data/assets/bower_components/neon-animation/test/neon-animated-pages.html +101 -0
- data/assets/bower_components/neon-animation/test/test-resizable-pages.html +58 -0
- data/assets/bower_components/neon-animation/web-animations.html +11 -0
- data/assets/bower_components/paper-badge/.bower.json +46 -0
- data/assets/bower_components/paper-badge/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-badge/.gitignore +1 -0
- data/assets/bower_components/paper-badge/.travis.yml +23 -0
- data/assets/bower_components/paper-badge/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-badge/README.md +67 -0
- data/assets/bower_components/paper-badge/bower.json +37 -0
- data/assets/bower_components/paper-badge/demo/index.html +112 -0
- data/assets/bower_components/paper-badge/demo/test-button.html +44 -0
- data/assets/bower_components/paper-badge/index.html +28 -0
- data/assets/bower_components/paper-badge/paper-badge.html +240 -0
- data/assets/bower_components/paper-badge/test/basic.html +278 -0
- data/assets/bower_components/paper-badge/test/index.html +24 -0
- data/assets/bower_components/paper-badge/test/test-button.html +36 -0
- data/assets/bower_components/paper-behaviors/.bower.json +51 -0
- data/assets/bower_components/paper-behaviors/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-behaviors/.gitignore +1 -0
- data/assets/bower_components/paper-behaviors/.travis.yml +23 -0
- data/assets/bower_components/paper-behaviors/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-behaviors/README.md +44 -0
- data/assets/bower_components/paper-behaviors/bower.json +42 -0
- data/assets/bower_components/paper-behaviors/demo/index.html +45 -0
- data/assets/bower_components/paper-behaviors/demo/paper-button.html +64 -0
- data/assets/bower_components/paper-behaviors/demo/paper-radio-button.html +112 -0
- data/assets/bower_components/paper-behaviors/index.html +26 -0
- data/assets/bower_components/paper-behaviors/paper-button-behavior.html +97 -0
- data/assets/bower_components/paper-behaviors/paper-checked-element-behavior.html +57 -0
- data/assets/bower_components/paper-behaviors/paper-inky-focus-behavior.html +51 -0
- data/assets/bower_components/paper-behaviors/paper-ripple-behavior.html +126 -0
- data/assets/bower_components/paper-behaviors/test/index.html +29 -0
- data/assets/bower_components/paper-behaviors/test/paper-button-behavior.html +113 -0
- data/assets/bower_components/paper-behaviors/test/paper-checked-element-behavior.html +94 -0
- data/assets/bower_components/paper-behaviors/test/paper-radio-button-behavior.html +58 -0
- data/assets/bower_components/paper-behaviors/test/paper-ripple-behavior.html +335 -0
- data/assets/bower_components/paper-behaviors/test/shadowed-ripple.html +55 -0
- data/assets/bower_components/paper-behaviors/test/test-button.html +34 -0
- data/assets/bower_components/paper-behaviors/test/test-radio-button.html +41 -0
- data/assets/bower_components/paper-button/.bower.json +50 -0
- data/assets/bower_components/paper-button/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-button/.gitignore +1 -0
- data/assets/bower_components/paper-button/.travis.yml +23 -0
- data/assets/bower_components/paper-button/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-button/README.md +73 -0
- data/assets/bower_components/paper-button/bower.json +41 -0
- data/assets/bower_components/paper-button/demo/index.html +138 -0
- data/assets/bower_components/paper-button/index.html +26 -0
- data/assets/bower_components/paper-button/paper-button.html +186 -0
- data/assets/bower_components/paper-button/test/index.html +24 -0
- data/assets/bower_components/paper-button/test/paper-button.html +108 -0
- data/assets/bower_components/paper-card/.bower.json +49 -0
- data/assets/bower_components/paper-card/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-card/.gitignore +1 -0
- data/assets/bower_components/paper-card/.travis.yml +23 -0
- data/assets/bower_components/paper-card/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-card/README.md +79 -0
- data/assets/bower_components/paper-card/bower.json +40 -0
- data/assets/bower_components/paper-card/demo/cafe.png +0 -0
- data/assets/bower_components/paper-card/demo/donuts.png +0 -0
- data/assets/bower_components/paper-card/demo/house.png +0 -0
- data/assets/bower_components/paper-card/demo/index.html +323 -0
- data/assets/bower_components/paper-card/demo/travel.png +0 -0
- data/assets/bower_components/paper-card/demo/trip.png +0 -0
- data/assets/bower_components/paper-card/index.html +28 -0
- data/assets/bower_components/paper-card/paper-card.html +254 -0
- data/assets/bower_components/paper-card/test/basic.html +109 -0
- data/assets/bower_components/paper-card/test/index.html +26 -0
- data/assets/bower_components/paper-chip/.bower.json +47 -0
- data/assets/bower_components/paper-chip/LICENSE +20 -0
- data/assets/bower_components/paper-chip/README.md +11 -0
- data/assets/bower_components/paper-chip/bower.json +37 -0
- data/assets/bower_components/paper-chip/demo/avatars.html +29 -0
- data/assets/bower_components/paper-chip/demo/index.html +173 -0
- data/assets/bower_components/paper-chip/gulpfile.js +125 -0
- data/assets/bower_components/paper-chip/index.html +18 -0
- data/assets/bower_components/paper-chip/package.json +43 -0
- data/assets/bower_components/paper-chip/paper-chip.html +459 -0
- data/assets/bower_components/paper-dropdown-menu/.bower.json +57 -0
- data/assets/bower_components/paper-dropdown-menu/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-dropdown-menu/.gitignore +1 -0
- data/assets/bower_components/paper-dropdown-menu/.travis.yml +24 -0
- data/assets/bower_components/paper-dropdown-menu/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-dropdown-menu/README.md +44 -0
- data/assets/bower_components/paper-dropdown-menu/bower.json +48 -0
- data/assets/bower_components/paper-dropdown-menu/demo/index.html +295 -0
- data/assets/bower_components/paper-dropdown-menu/index.html +24 -0
- data/assets/bower_components/paper-dropdown-menu/paper-dropdown-menu-icons.html +17 -0
- data/assets/bower_components/paper-dropdown-menu/paper-dropdown-menu-light.html +596 -0
- data/assets/bower_components/paper-dropdown-menu/paper-dropdown-menu-shared-styles.html +78 -0
- data/assets/bower_components/paper-dropdown-menu/paper-dropdown-menu.html +406 -0
- data/assets/bower_components/paper-dropdown-menu/test/index.html +26 -0
- data/assets/bower_components/paper-dropdown-menu/test/paper-dropdown-menu-light.html +219 -0
- data/assets/bower_components/paper-dropdown-menu/test/paper-dropdown-menu.html +220 -0
- data/assets/bower_components/paper-fab/.bower.json +49 -0
- data/assets/bower_components/paper-fab/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-fab/.gitignore +1 -0
- data/assets/bower_components/paper-fab/.travis.yml +23 -0
- data/assets/bower_components/paper-fab/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-fab/README.md +53 -0
- data/assets/bower_components/paper-fab/bower.json +39 -0
- data/assets/bower_components/paper-fab/demo/index.html +90 -0
- data/assets/bower_components/paper-fab/index.html +24 -0
- data/assets/bower_components/paper-fab/paper-fab.html +187 -0
- data/assets/bower_components/paper-fab/test/a11y.html +67 -0
- data/assets/bower_components/paper-fab/test/basic.html +141 -0
- data/assets/bower_components/paper-fab/test/index.html +26 -0
- data/assets/bower_components/paper-header-panel/.bower.json +43 -0
- data/assets/bower_components/paper-header-panel/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-header-panel/.gitignore +1 -0
- data/assets/bower_components/paper-header-panel/.travis.yml +23 -0
- data/assets/bower_components/paper-header-panel/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-header-panel/README.md +152 -0
- data/assets/bower_components/paper-header-panel/bower.json +33 -0
- data/assets/bower_components/paper-header-panel/demo/index.html +150 -0
- data/assets/bower_components/paper-header-panel/hero.svg +38 -0
- data/assets/bower_components/paper-header-panel/index.html +36 -0
- data/assets/bower_components/paper-header-panel/paper-header-panel.html +512 -0
- data/assets/bower_components/paper-header-panel/test/basic.html +156 -0
- data/assets/bower_components/paper-header-panel/test/index.html +31 -0
- data/assets/bower_components/paper-icon-button/.bower.json +50 -0
- data/assets/bower_components/paper-icon-button/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-icon-button/.gitignore +1 -0
- data/assets/bower_components/paper-icon-button/.travis.yml +23 -0
- data/assets/bower_components/paper-icon-button/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-icon-button/README.md +95 -0
- data/assets/bower_components/paper-icon-button/bower.json +40 -0
- data/assets/bower_components/paper-icon-button/demo/index.html +103 -0
- data/assets/bower_components/paper-icon-button/demo/paper-icon-button-light.html +57 -0
- data/assets/bower_components/paper-icon-button/index.html +23 -0
- data/assets/bower_components/paper-icon-button/paper-icon-button-light.html +91 -0
- data/assets/bower_components/paper-icon-button/paper-icon-button.html +176 -0
- data/assets/bower_components/paper-icon-button/test/a11y.html +92 -0
- data/assets/bower_components/paper-icon-button/test/basic.html +75 -0
- data/assets/bower_components/paper-icon-button/test/index.html +26 -0
- data/assets/bower_components/paper-input/.bower.json +61 -0
- data/assets/bower_components/paper-input/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-input/.gitignore +1 -0
- data/assets/bower_components/paper-input/.travis.yml +24 -0
- data/assets/bower_components/paper-input/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-input/README.md +38 -0
- data/assets/bower_components/paper-input/all-imports.html +12 -0
- data/assets/bower_components/paper-input/bower.json +51 -0
- data/assets/bower_components/paper-input/demo/index.html +155 -0
- data/assets/bower_components/paper-input/demo/ssn-input.html +96 -0
- data/assets/bower_components/paper-input/demo/ssn-validator.html +27 -0
- data/assets/bower_components/paper-input/hero.svg +19 -0
- data/assets/bower_components/paper-input/index.html +28 -0
- data/assets/bower_components/paper-input/paper-input-addon-behavior.html +47 -0
- data/assets/bower_components/paper-input/paper-input-behavior.html +569 -0
- data/assets/bower_components/paper-input/paper-input-char-counter.html +99 -0
- data/assets/bower_components/paper-input/paper-input-container.html +626 -0
- data/assets/bower_components/paper-input/paper-input-error.html +94 -0
- data/assets/bower_components/paper-input/paper-input.html +170 -0
- data/assets/bower_components/paper-input/paper-textarea.html +144 -0
- data/assets/bower_components/paper-input/test/index.html +32 -0
- data/assets/bower_components/paper-input/test/letters-only.html +30 -0
- data/assets/bower_components/paper-input/test/paper-input-char-counter.html +109 -0
- data/assets/bower_components/paper-input/test/paper-input-container.html +302 -0
- data/assets/bower_components/paper-input/test/paper-input-error.html +68 -0
- data/assets/bower_components/paper-input/test/paper-input.html +398 -0
- data/assets/bower_components/paper-input/test/paper-textarea.html +233 -0
- data/assets/bower_components/paper-item/.bower.json +53 -0
- data/assets/bower_components/paper-item/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-item/.gitignore +1 -0
- data/assets/bower_components/paper-item/.travis.yml +23 -0
- data/assets/bower_components/paper-item/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-item/README.md +163 -0
- data/assets/bower_components/paper-item/all-imports.html +13 -0
- data/assets/bower_components/paper-item/bower.json +43 -0
- data/assets/bower_components/paper-item/demo/index.html +191 -0
- data/assets/bower_components/paper-item/index.html +30 -0
- data/assets/bower_components/paper-item/paper-icon-item.html +86 -0
- data/assets/bower_components/paper-item/paper-item-behavior.html +36 -0
- data/assets/bower_components/paper-item/paper-item-body.html +83 -0
- data/assets/bower_components/paper-item/paper-item-shared-styles.html +70 -0
- data/assets/bower_components/paper-item/paper-item.html +111 -0
- data/assets/bower_components/paper-item/test/index.html +31 -0
- data/assets/bower_components/paper-item/test/paper-item.html +218 -0
- data/assets/bower_components/paper-material/.bower.json +44 -0
- data/assets/bower_components/paper-material/.gitignore +1 -0
- data/assets/bower_components/paper-material/.travis.yml +25 -0
- data/assets/bower_components/paper-material/CONTRIBUTING.md +72 -0
- data/assets/bower_components/paper-material/README.md +35 -0
- data/assets/bower_components/paper-material/bower.json +35 -0
- data/assets/bower_components/paper-material/demo/index.html +84 -0
- data/assets/bower_components/paper-material/index.html +30 -0
- data/assets/bower_components/paper-material/paper-material-shared-styles.html +42 -0
- data/assets/bower_components/paper-material/paper-material.html +78 -0
- data/assets/bower_components/paper-material/test/index.html +24 -0
- data/assets/bower_components/paper-material/test/paper-material.html +88 -0
- data/assets/bower_components/paper-menu-button/.bower.json +56 -0
- data/assets/bower_components/paper-menu-button/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-menu-button/.gitignore +1 -0
- data/assets/bower_components/paper-menu-button/.travis.yml +23 -0
- data/assets/bower_components/paper-menu-button/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-menu-button/README.md +69 -0
- data/assets/bower_components/paper-menu-button/bower.json +47 -0
- data/assets/bower_components/paper-menu-button/demo/index.html +203 -0
- data/assets/bower_components/paper-menu-button/hero.svg +39 -0
- data/assets/bower_components/paper-menu-button/index.html +24 -0
- data/assets/bower_components/paper-menu-button/paper-menu-button-animations.html +109 -0
- data/assets/bower_components/paper-menu-button/paper-menu-button.html +479 -0
- data/assets/bower_components/paper-menu-button/test/index.html +24 -0
- data/assets/bower_components/paper-menu-button/test/paper-menu-button.html +199 -0
- data/assets/bower_components/paper-menu/.bower.json +49 -0
- data/assets/bower_components/paper-menu/.gitignore +1 -0
- data/assets/bower_components/paper-menu/.travis.yml +25 -0
- data/assets/bower_components/paper-menu/CONTRIBUTING.md +72 -0
- data/assets/bower_components/paper-menu/README.md +113 -0
- data/assets/bower_components/paper-menu/bower.json +39 -0
- data/assets/bower_components/paper-menu/demo/index.html +150 -0
- data/assets/bower_components/paper-menu/hero.svg +35 -0
- data/assets/bower_components/paper-menu/index.html +30 -0
- data/assets/bower_components/paper-menu/paper-menu-shared-styles.html +47 -0
- data/assets/bower_components/paper-menu/paper-menu.html +102 -0
- data/assets/bower_components/paper-menu/paper-submenu.html +231 -0
- data/assets/bower_components/paper-menu/test/index.html +37 -0
- data/assets/bower_components/paper-menu/test/paper-menu.html +64 -0
- data/assets/bower_components/paper-menu/test/paper-submenu.html +203 -0
- data/assets/bower_components/paper-progress/.bower.json +43 -0
- data/assets/bower_components/paper-progress/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-progress/.gitignore +1 -0
- data/assets/bower_components/paper-progress/.travis.yml +23 -0
- data/assets/bower_components/paper-progress/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-progress/README.md +49 -0
- data/assets/bower_components/paper-progress/bower.json +33 -0
- data/assets/bower_components/paper-progress/demo/index.html +127 -0
- data/assets/bower_components/paper-progress/hero.svg +21 -0
- data/assets/bower_components/paper-progress/index.html +28 -0
- data/assets/bower_components/paper-progress/paper-progress.html +354 -0
- data/assets/bower_components/paper-progress/test/basic.html +148 -0
- data/assets/bower_components/paper-progress/test/index.html +24 -0
- data/assets/bower_components/paper-ripple/.bower.json +45 -0
- data/assets/bower_components/paper-ripple/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-ripple/.gitignore +1 -0
- data/assets/bower_components/paper-ripple/.travis.yml +23 -0
- data/assets/bower_components/paper-ripple/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-ripple/README.md +40 -0
- data/assets/bower_components/paper-ripple/bower.json +35 -0
- data/assets/bower_components/paper-ripple/demo/index.html +415 -0
- data/assets/bower_components/paper-ripple/hero.svg +30 -0
- data/assets/bower_components/paper-ripple/index.html +27 -0
- data/assets/bower_components/paper-ripple/paper-ripple.html +763 -0
- data/assets/bower_components/paper-ripple/test/index.html +24 -0
- data/assets/bower_components/paper-ripple/test/paper-ripple.html +253 -0
- data/assets/bower_components/paper-spinner/.bower.json +47 -0
- data/assets/bower_components/paper-spinner/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-spinner/.gitignore +1 -0
- data/assets/bower_components/paper-spinner/.travis.yml +23 -0
- data/assets/bower_components/paper-spinner/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-spinner/README.md +49 -0
- data/assets/bower_components/paper-spinner/bower.json +38 -0
- data/assets/bower_components/paper-spinner/demo/index.html +97 -0
- data/assets/bower_components/paper-spinner/hero.svg +27 -0
- data/assets/bower_components/paper-spinner/index.html +30 -0
- data/assets/bower_components/paper-spinner/paper-spinner-behavior.html +87 -0
- data/assets/bower_components/paper-spinner/paper-spinner-lite.html +71 -0
- data/assets/bower_components/paper-spinner/paper-spinner-styles.html +341 -0
- data/assets/bower_components/paper-spinner/paper-spinner.html +91 -0
- data/assets/bower_components/paper-spinner/test/index.html +31 -0
- data/assets/bower_components/paper-spinner/test/paper-spinner.html +86 -0
- data/assets/bower_components/paper-styles/.bower.json +42 -0
- data/assets/bower_components/paper-styles/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-styles/README.md +49 -0
- data/assets/bower_components/paper-styles/bower.json +33 -0
- data/assets/bower_components/paper-styles/classes/global.html +96 -0
- data/assets/bower_components/paper-styles/classes/shadow-layout.html +307 -0
- data/assets/bower_components/paper-styles/classes/shadow.html +52 -0
- data/assets/bower_components/paper-styles/classes/typography.html +169 -0
- data/assets/bower_components/paper-styles/color.html +333 -0
- data/assets/bower_components/paper-styles/default-theme.html +72 -0
- data/assets/bower_components/paper-styles/demo-pages.html +72 -0
- data/assets/bower_components/paper-styles/demo.css +25 -0
- data/assets/bower_components/paper-styles/demo/index.html +339 -0
- data/assets/bower_components/paper-styles/index.html +24 -0
- data/assets/bower_components/paper-styles/paper-styles-classes.html +14 -0
- data/assets/bower_components/paper-styles/paper-styles.html +44 -0
- data/assets/bower_components/paper-styles/shadow.html +76 -0
- data/assets/bower_components/paper-styles/typography.html +169 -0
- data/assets/bower_components/paper-tabs/.bower.json +54 -0
- data/assets/bower_components/paper-tabs/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-tabs/.gitignore +1 -0
- data/assets/bower_components/paper-tabs/.travis.yml +24 -0
- data/assets/bower_components/paper-tabs/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-tabs/README.md +46 -0
- data/assets/bower_components/paper-tabs/bower.json +44 -0
- data/assets/bower_components/paper-tabs/demo/index.html +338 -0
- data/assets/bower_components/paper-tabs/hero.svg +23 -0
- data/assets/bower_components/paper-tabs/index.html +25 -0
- data/assets/bower_components/paper-tabs/paper-tab.html +176 -0
- data/assets/bower_components/paper-tabs/paper-tabs-icons.html +18 -0
- data/assets/bower_components/paper-tabs/paper-tabs.html +661 -0
- data/assets/bower_components/paper-tabs/test/attr-for-selected.html +82 -0
- data/assets/bower_components/paper-tabs/test/basic.html +394 -0
- data/assets/bower_components/paper-tabs/test/index.html +31 -0
- data/assets/bower_components/paper-tabs/test/links.html +163 -0
- data/assets/bower_components/paper-toolbar/.bower.json +47 -0
- data/assets/bower_components/paper-toolbar/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-toolbar/.gitignore +1 -0
- data/assets/bower_components/paper-toolbar/.travis.yml +23 -0
- data/assets/bower_components/paper-toolbar/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-toolbar/README.md +107 -0
- data/assets/bower_components/paper-toolbar/bower.json +37 -0
- data/assets/bower_components/paper-toolbar/demo/index.html +186 -0
- data/assets/bower_components/paper-toolbar/index.html +38 -0
- data/assets/bower_components/paper-toolbar/paper-toolbar.html +383 -0
- data/assets/bower_components/paper-toolbar/test/index.html +24 -0
- data/assets/bower_components/paper-toolbar/test/paper-toolbar.html +148 -0
- data/assets/bower_components/paper-tooltip/.bower.json +45 -0
- data/assets/bower_components/paper-tooltip/.github/ISSUE_TEMPLATE.md +33 -0
- data/assets/bower_components/paper-tooltip/.gitignore +1 -0
- data/assets/bower_components/paper-tooltip/.travis.yml +23 -0
- data/assets/bower_components/paper-tooltip/CONTRIBUTING.md +77 -0
- data/assets/bower_components/paper-tooltip/README.md +62 -0
- data/assets/bower_components/paper-tooltip/bower.json +36 -0
- data/assets/bower_components/paper-tooltip/demo/index.html +133 -0
- data/assets/bower_components/paper-tooltip/demo/test-button.html +37 -0
- data/assets/bower_components/paper-tooltip/index.html +28 -0
- data/assets/bower_components/paper-tooltip/paper-tooltip.html +395 -0
- data/assets/bower_components/paper-tooltip/test/basic.html +501 -0
- data/assets/bower_components/paper-tooltip/test/index.html +24 -0
- data/assets/bower_components/paper-tooltip/test/test-button.html +43 -0
- data/assets/bower_components/paper-ui-elements/.bower.json +35 -0
- data/assets/bower_components/paper-ui-elements/README.md +2 -0
- data/assets/bower_components/paper-ui-elements/bower.json +24 -0
- data/assets/bower_components/polymer/.bower.json +45 -0
- data/assets/bower_components/polymer/LICENSE.txt +27 -0
- data/assets/bower_components/polymer/bower.json +35 -0
- data/assets/bower_components/polymer/build.log +626 -0
- data/assets/bower_components/polymer/polymer-micro.html +732 -0
- data/assets/bower_components/polymer/polymer-mini.html +2164 -0
- data/assets/bower_components/polymer/polymer.html +5414 -0
- data/assets/bower_components/web-animations-js/.bower.json +41 -0
- data/assets/bower_components/web-animations-js/CONTRIBUTING.md +105 -0
- data/assets/bower_components/web-animations-js/COPYING +202 -0
- data/assets/bower_components/web-animations-js/History.md +227 -0
- data/assets/bower_components/web-animations-js/README.md +172 -0
- data/assets/bower_components/web-animations-js/bower.json +31 -0
- data/assets/bower_components/web-animations-js/web-animations-next-lite.min.js +17 -0
- data/assets/bower_components/web-animations-js/web-animations-next-lite.min.js.map +1 -0
- data/assets/bower_components/web-animations-js/web-animations-next.min.js +17 -0
- data/assets/bower_components/web-animations-js/web-animations-next.min.js.map +1 -0
- data/assets/bower_components/web-animations-js/web-animations.html +50 -0
- data/assets/bower_components/web-animations-js/web-animations.min.js +17 -0
- data/assets/bower_components/web-animations-js/web-animations.min.js.map +1 -0
- data/assets/bower_components/webcomponentsjs/.bower.json +30 -0
- data/assets/bower_components/webcomponentsjs/CustomElements.js +1029 -0
- data/assets/bower_components/webcomponentsjs/CustomElements.min.js +11 -0
- data/assets/bower_components/webcomponentsjs/HTMLImports.js +1157 -0
- data/assets/bower_components/webcomponentsjs/HTMLImports.min.js +11 -0
- data/assets/bower_components/webcomponentsjs/MutationObserver.js +350 -0
- data/assets/bower_components/webcomponentsjs/MutationObserver.min.js +11 -0
- data/assets/bower_components/webcomponentsjs/README.md +155 -0
- data/assets/bower_components/webcomponentsjs/ShadowDOM.js +4496 -0
- data/assets/bower_components/webcomponentsjs/ShadowDOM.min.js +13 -0
- data/assets/bower_components/webcomponentsjs/bower.json +21 -0
- data/assets/bower_components/webcomponentsjs/build.log +527 -0
- data/assets/bower_components/webcomponentsjs/package.json +31 -0
- data/assets/bower_components/webcomponentsjs/webcomponents-lite.js +2505 -0
- data/assets/bower_components/webcomponentsjs/webcomponents-lite.min.js +12 -0
- data/assets/bower_components/webcomponentsjs/webcomponents.js +7209 -0
- data/assets/bower_components/webcomponentsjs/webcomponents.min.js +14 -0
- data/assets/css/highlighter.css +80 -0
- data/assets/css/simplegrid.css +287 -0
- data/assets/css/style.css +45 -0
- metadata +1078 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
{
|
2
|
+
"name": "paper-input",
|
3
|
+
"version": "1.1.21",
|
4
|
+
"description": "Material design text fields",
|
5
|
+
"authors": [
|
6
|
+
"The Polymer Authors"
|
7
|
+
],
|
8
|
+
"keywords": [
|
9
|
+
"web-components",
|
10
|
+
"polymer",
|
11
|
+
"input"
|
12
|
+
],
|
13
|
+
"main": [
|
14
|
+
"paper-input.html",
|
15
|
+
"paper-textarea.html",
|
16
|
+
"paper-input-behavior.html",
|
17
|
+
"paper-input-container.html",
|
18
|
+
"paper-input-error.html",
|
19
|
+
"paper-input-addon-behavior.html",
|
20
|
+
"paper-input-char-counter.html"
|
21
|
+
],
|
22
|
+
"private": true,
|
23
|
+
"repository": {
|
24
|
+
"type": "git",
|
25
|
+
"url": "git://github.com/PolymerElements/paper-input.git"
|
26
|
+
},
|
27
|
+
"license": "http://polymer.github.io/LICENSE.txt",
|
28
|
+
"homepage": "https://github.com/PolymerElements/paper-input",
|
29
|
+
"ignore": [],
|
30
|
+
"dependencies": {
|
31
|
+
"polymer": "Polymer/polymer#^1.2.0",
|
32
|
+
"iron-autogrow-textarea": "PolymerElements/iron-autogrow-textarea#^1.0.0",
|
33
|
+
"iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0",
|
34
|
+
"iron-form-element-behavior": "PolymerElements/iron-form-element-behavior#^1.0.0",
|
35
|
+
"iron-input": "PolymerElements/iron-input#^1.0.0",
|
36
|
+
"paper-styles": "PolymerElements/paper-styles#^1.1.4",
|
37
|
+
"iron-a11y-keys-behavior": "PolymerElements/iron-a11y-keys-behavior#^1.0.0"
|
38
|
+
},
|
39
|
+
"devDependencies": {
|
40
|
+
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
|
41
|
+
"iron-demo-helpers": "PolymerElements/iron-demo-helpers#^1.0.0",
|
42
|
+
"iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
|
43
|
+
"iron-icon": "PolymerElements/iron-icon#^1.0.0",
|
44
|
+
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0",
|
45
|
+
"iron-validator-behavior": "PolymerElements/iron-validator-behavior#^1.0.0",
|
46
|
+
"paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0",
|
47
|
+
"test-fixture": "PolymerElements/test-fixture#^1.0.0",
|
48
|
+
"web-component-tester": "^4.0.0",
|
49
|
+
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,155 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<!--
|
3
|
+
@license
|
4
|
+
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
5
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
6
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
7
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
8
|
+
Code distributed by Google as part of the polymer project is also
|
9
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
10
|
+
-->
|
11
|
+
<html>
|
12
|
+
<head>
|
13
|
+
<meta charset="utf-8">
|
14
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
15
|
+
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
|
16
|
+
|
17
|
+
<title>paper-input demo</title>
|
18
|
+
|
19
|
+
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
|
20
|
+
|
21
|
+
<link rel="import" href="../../iron-demo-helpers/demo-pages-shared-styles.html">
|
22
|
+
<link rel="import" href="../../iron-demo-helpers/demo-snippet.html">
|
23
|
+
<link rel="import" href="../../iron-icon/iron-icon.html">
|
24
|
+
<link rel="import" href="../../iron-icons/iron-icons.html">
|
25
|
+
<link rel="import" href="../../iron-input/iron-input.html">
|
26
|
+
<link rel="import" href="../../paper-icon-button/paper-icon-button.html">
|
27
|
+
<link rel="import" href="../../paper-styles/color.html">
|
28
|
+
<link rel="import" href="../paper-input-container.html">
|
29
|
+
<link rel="import" href="../paper-input-error.html">
|
30
|
+
<link rel="import" href="../paper-input.html">
|
31
|
+
<link rel="import" href="../paper-textarea.html">
|
32
|
+
<link rel="import" href="ssn-input.html">
|
33
|
+
|
34
|
+
<style is="custom-style" include="demo-pages-shared-styles">
|
35
|
+
paper-input {
|
36
|
+
display: block;
|
37
|
+
}
|
38
|
+
|
39
|
+
demo-snippet.horizontal {
|
40
|
+
--demo-snippet-demo: {
|
41
|
+
@apply(--layout-horizontal);
|
42
|
+
@apply(--layout-justified);
|
43
|
+
@apply(--layout-wrap);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
demo-snippet.horizontal paper-input {
|
47
|
+
display: inline-block;
|
48
|
+
}
|
49
|
+
|
50
|
+
button {
|
51
|
+
width: 70px;
|
52
|
+
}
|
53
|
+
|
54
|
+
#inputForValidation {
|
55
|
+
display: inline-block;
|
56
|
+
width: calc(100% - 75px);
|
57
|
+
}
|
58
|
+
|
59
|
+
.vertical-section-container {
|
60
|
+
max-width: 600px;
|
61
|
+
}
|
62
|
+
|
63
|
+
paper-icon-button {
|
64
|
+
color: var(--paper-red-300);
|
65
|
+
--paper-icon-button-ink-color: var(--paper-red-a100);
|
66
|
+
width: 23px; /* 15px + 2*4px for padding */
|
67
|
+
height: 23px;
|
68
|
+
padding: 0px 4px;
|
69
|
+
}
|
70
|
+
|
71
|
+
iron-icon {
|
72
|
+
padding-right: 5px;
|
73
|
+
}
|
74
|
+
</style>
|
75
|
+
</head>
|
76
|
+
<body unresolved>
|
77
|
+
<div class="vertical-section-container centered">
|
78
|
+
<h3>Inputs can have different types, and be disabled</h3>
|
79
|
+
<demo-snippet>
|
80
|
+
<template>
|
81
|
+
<paper-input label="text input"></paper-input>
|
82
|
+
<paper-textarea label="autoresizing textarea input"></paper-textarea>
|
83
|
+
<paper-input label="password input" type="password"></paper-input>
|
84
|
+
<paper-input label="disabled input" disabled></paper-input>
|
85
|
+
</template>
|
86
|
+
</demo-snippet>
|
87
|
+
|
88
|
+
<h3>Inputs can have character counters</h3>
|
89
|
+
<demo-snippet>
|
90
|
+
<template>
|
91
|
+
<paper-input label="simple character counter" char-counter></paper-input>
|
92
|
+
<paper-input label="input with at most 10 characters" char-counter maxlength="10"></paper-input>
|
93
|
+
</template>
|
94
|
+
</demo-snippet>
|
95
|
+
|
96
|
+
<h3>The label can have different floating states</h3>
|
97
|
+
<demo-snippet>
|
98
|
+
<template>
|
99
|
+
<paper-input label="this label floats after typing"></paper-input>
|
100
|
+
<paper-input label="this label is always floating" always-float-label></paper-input>
|
101
|
+
<paper-input label="this label never floats" no-label-float></paper-input>
|
102
|
+
<paper-input label="this label is always floating" always-float-label placeholder="placeholder text"></paper-input>
|
103
|
+
</template>
|
104
|
+
</demo-snippet>
|
105
|
+
|
106
|
+
<h3>Inputs can validate automatically or on demand, and can have custom error messages</h3>
|
107
|
+
<demo-snippet>
|
108
|
+
<template>
|
109
|
+
<paper-input label="this input requires some text" required auto-validate error-message="needs some text!"></paper-input>
|
110
|
+
<paper-input label="this input requires letters only" auto-validate pattern="[a-zA-Z]*" error-message="letters only!"></paper-input>
|
111
|
+
<paper-input label="this input will only let you type letters" auto-validate allowed-pattern="[a-zA-Z]"></paper-input>
|
112
|
+
<paper-input id="inputForValidation" required label="this input is manually validated" pattern="[a-zA-Z]*" error-message="letters only!"></paper-input>
|
113
|
+
<button onclick="validate()">Validate!</button>
|
114
|
+
</template>
|
115
|
+
</demo-snippet>
|
116
|
+
|
117
|
+
<h3>Inputs can have prefixes and suffixes</h3>
|
118
|
+
<demo-snippet class="horizontal">
|
119
|
+
<template>
|
120
|
+
<paper-input label="total" type="number">
|
121
|
+
<div prefix>$</div>
|
122
|
+
</paper-input>
|
123
|
+
<paper-input label="username" id="inputWithButton">
|
124
|
+
<iron-icon icon="mail" prefix></iron-icon>
|
125
|
+
<div suffix>@email.com</div>
|
126
|
+
<paper-icon-button suffix onclick="clearInput()"
|
127
|
+
icon="clear" alt="clear" title="clear">
|
128
|
+
</paper-icon-button>
|
129
|
+
</paper-input>
|
130
|
+
</template>
|
131
|
+
</demo-snippet>
|
132
|
+
|
133
|
+
<h3>Inputs can have custom logic</h3>
|
134
|
+
<demo-snippet>
|
135
|
+
<template>
|
136
|
+
<paper-input-container always-float-label auto-validate attr-for-value="value">
|
137
|
+
<label>Social Security Number</label>
|
138
|
+
<ssn-input class="paper-input-input"></ssn-input>
|
139
|
+
<paper-input-error>SSN invalid!</paper-input-error>
|
140
|
+
</paper-input-container>
|
141
|
+
</template>
|
142
|
+
</demo-snippet>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
<script>
|
146
|
+
function validate() {
|
147
|
+
document.getElementById('inputForValidation').validate();
|
148
|
+
}
|
149
|
+
|
150
|
+
function clearInput() {
|
151
|
+
document.getElementById('inputWithButton').value = '';
|
152
|
+
}
|
153
|
+
</script>
|
154
|
+
</body>
|
155
|
+
</html>
|
@@ -0,0 +1,96 @@
|
|
1
|
+
<!--
|
2
|
+
@license
|
3
|
+
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
4
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
5
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
6
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
7
|
+
Code distributed by Google as part of the polymer project is also
|
8
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
9
|
+
-->
|
10
|
+
<link rel="import" href="../../polymer/polymer.html">
|
11
|
+
<link rel="import" href="../../iron-input/iron-input.html">
|
12
|
+
<link rel="import" href="../../iron-flex-layout/iron-flex-layout.html">
|
13
|
+
<link rel="import" href="ssn-validator.html">
|
14
|
+
|
15
|
+
<dom-module id="ssn-input">
|
16
|
+
<template>
|
17
|
+
|
18
|
+
<style>
|
19
|
+
:host {
|
20
|
+
display: inline-block;
|
21
|
+
}
|
22
|
+
|
23
|
+
:host([hidden]) {
|
24
|
+
display: none !important;
|
25
|
+
}
|
26
|
+
|
27
|
+
input[is="iron-input"] {
|
28
|
+
font: inherit;
|
29
|
+
outline: none;
|
30
|
+
box-shadow: none;
|
31
|
+
border: none;
|
32
|
+
width: auto;
|
33
|
+
text-align: center;
|
34
|
+
}
|
35
|
+
|
36
|
+
.container {
|
37
|
+
@apply(--layout-horizontal);
|
38
|
+
}
|
39
|
+
</style>
|
40
|
+
|
41
|
+
<ssn-validator></ssn-validator>
|
42
|
+
|
43
|
+
<div class="container">
|
44
|
+
|
45
|
+
<input is="iron-input" maxlength="3" bind-value="{{_ssn1}}" size="3" aria-label="First 3 digits of social security number">
|
46
|
+
-
|
47
|
+
<input is="iron-input" maxlength="2" bind-value="{{_ssn2}}" size="2" aria-label="Middle 2 digits of social security number">
|
48
|
+
-
|
49
|
+
<input is="iron-input" maxlength="4" bind-value="{{_ssn3}}" size="4" aria-label="Last 4 digits of social security number">
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</template>
|
54
|
+
</dom-module>
|
55
|
+
|
56
|
+
<script>
|
57
|
+
Polymer({
|
58
|
+
is: 'ssn-input',
|
59
|
+
|
60
|
+
behaviors: [
|
61
|
+
Polymer.IronValidatableBehavior
|
62
|
+
],
|
63
|
+
|
64
|
+
properties: {
|
65
|
+
value: {
|
66
|
+
notify: true,
|
67
|
+
type: String
|
68
|
+
},
|
69
|
+
|
70
|
+
_ssn1: {
|
71
|
+
type: String
|
72
|
+
},
|
73
|
+
|
74
|
+
_ssn2: {
|
75
|
+
type: String
|
76
|
+
},
|
77
|
+
|
78
|
+
_ssn3: {
|
79
|
+
type: String
|
80
|
+
},
|
81
|
+
|
82
|
+
validator: {
|
83
|
+
type: String,
|
84
|
+
value: 'ssn-validator'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
|
88
|
+
observers: [
|
89
|
+
'_computeValue(_ssn1,_ssn2,_ssn3)'
|
90
|
+
],
|
91
|
+
|
92
|
+
_computeValue: function(ssn1, ssn2, ssn3) {
|
93
|
+
this.value = ssn1.trim() + '-' + ssn2.trim() + '-' + ssn3.trim();
|
94
|
+
}
|
95
|
+
});
|
96
|
+
</script>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<!--
|
2
|
+
@license
|
3
|
+
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
4
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
5
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
6
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
7
|
+
Code distributed by Google as part of the polymer project is also
|
8
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
9
|
+
-->
|
10
|
+
|
11
|
+
<link rel="import" href="../../polymer/polymer.html">
|
12
|
+
<link rel="import" href="../../iron-validator-behavior/iron-validator-behavior.html">
|
13
|
+
|
14
|
+
<script>
|
15
|
+
Polymer({
|
16
|
+
is: 'ssn-validator',
|
17
|
+
|
18
|
+
behaviors: [
|
19
|
+
Polymer.IronValidatorBehavior
|
20
|
+
],
|
21
|
+
|
22
|
+
validate: function(value) {
|
23
|
+
// this regex validates incomplete ssn's (by design)
|
24
|
+
return !value || value.match(/^[0-9]{0,3}-[0-9]{0,2}-[0-9]{0,4}$/);
|
25
|
+
}
|
26
|
+
});
|
27
|
+
</script>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
viewBox="0 0 225 126" enable-background="new 0 0 225 126" xml:space="preserve">
|
6
|
+
<g id="background" display="none">
|
7
|
+
<rect display="inline" fill="#B0BEC5" width="225" height="126"/>
|
8
|
+
</g>
|
9
|
+
<g id="label">
|
10
|
+
</g>
|
11
|
+
<g id="art">
|
12
|
+
<rect x="49" y="53" width="2" height="18"/>
|
13
|
+
<path d="M188,78H37V44h151V78z M39,76h147V46H39V76z"/>
|
14
|
+
<g id="ic_x5F_add_x0D_">
|
15
|
+
</g>
|
16
|
+
</g>
|
17
|
+
<g id="Guides">
|
18
|
+
</g>
|
19
|
+
</svg>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<!--
|
3
|
+
@license
|
4
|
+
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
5
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
6
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
7
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
8
|
+
Code distributed by Google as part of the polymer project is also
|
9
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
10
|
+
-->
|
11
|
+
<html>
|
12
|
+
<head>
|
13
|
+
|
14
|
+
<meta charset="utf-8">
|
15
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
16
|
+
|
17
|
+
<title>paper-input</title>
|
18
|
+
|
19
|
+
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
|
20
|
+
<link rel="import" href="../iron-component-page/iron-component-page.html">
|
21
|
+
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
|
25
|
+
<iron-component-page src="all-imports.html"></iron-component-page>
|
26
|
+
|
27
|
+
</body>
|
28
|
+
</html>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<!--
|
2
|
+
@license
|
3
|
+
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
4
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
5
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
6
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
7
|
+
Code distributed by Google as part of the polymer project is also
|
8
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
9
|
+
-->
|
10
|
+
|
11
|
+
<link rel="import" href="../polymer/polymer.html">
|
12
|
+
|
13
|
+
<script>
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Use `Polymer.PaperInputAddonBehavior` to implement an add-on for `<paper-input-container>`. A
|
17
|
+
* add-on appears below the input, and may display information based on the input value and
|
18
|
+
* validity such as a character counter or an error message.
|
19
|
+
* @polymerBehavior
|
20
|
+
*/
|
21
|
+
Polymer.PaperInputAddonBehavior = {
|
22
|
+
|
23
|
+
hostAttributes: {
|
24
|
+
'add-on': ''
|
25
|
+
},
|
26
|
+
|
27
|
+
attached: function() {
|
28
|
+
this.fire('addon-attached');
|
29
|
+
},
|
30
|
+
|
31
|
+
/**
|
32
|
+
* The function called by `<paper-input-container>` when the input value or validity changes.
|
33
|
+
* @param {{
|
34
|
+
* inputElement: (Element|undefined),
|
35
|
+
* value: (string|undefined),
|
36
|
+
* invalid: boolean
|
37
|
+
* }} state -
|
38
|
+
* inputElement: The input element.
|
39
|
+
* value: The input value.
|
40
|
+
* invalid: True if the input value is invalid.
|
41
|
+
*/
|
42
|
+
update: function(state) {
|
43
|
+
}
|
44
|
+
|
45
|
+
};
|
46
|
+
|
47
|
+
</script>
|
@@ -0,0 +1,569 @@
|
|
1
|
+
<!--
|
2
|
+
@license
|
3
|
+
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
4
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
5
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
6
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
7
|
+
Code distributed by Google as part of the polymer project is also
|
8
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
9
|
+
-->
|
10
|
+
|
11
|
+
<link rel="import" href="../polymer/polymer.html">
|
12
|
+
<link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html">
|
13
|
+
<link rel="import" href="../iron-behaviors/iron-control-state.html">
|
14
|
+
|
15
|
+
<script>
|
16
|
+
|
17
|
+
// Generate unique, monotonically increasing IDs for labels (needed by
|
18
|
+
// aria-labelledby) and add-ons.
|
19
|
+
Polymer.PaperInputHelper = {};
|
20
|
+
Polymer.PaperInputHelper.NextLabelID = 1;
|
21
|
+
Polymer.PaperInputHelper.NextAddonID = 1;
|
22
|
+
|
23
|
+
/**
|
24
|
+
* Use `Polymer.PaperInputBehavior` to implement inputs with `<paper-input-container>`. This
|
25
|
+
* behavior is implemented by `<paper-input>`. It exposes a number of properties from
|
26
|
+
* `<paper-input-container>` and `<input is="iron-input">` and they should be bound in your
|
27
|
+
* template.
|
28
|
+
*
|
29
|
+
* The input element can be accessed by the `inputElement` property if you need to access
|
30
|
+
* properties or methods that are not exposed.
|
31
|
+
* @polymerBehavior Polymer.PaperInputBehavior
|
32
|
+
*/
|
33
|
+
Polymer.PaperInputBehaviorImpl = {
|
34
|
+
|
35
|
+
properties: {
|
36
|
+
/**
|
37
|
+
* Fired when the input changes due to user interaction.
|
38
|
+
*
|
39
|
+
* @event change
|
40
|
+
*/
|
41
|
+
|
42
|
+
/**
|
43
|
+
* The label for this input. If you're using PaperInputBehavior to
|
44
|
+
* implement your own paper-input-like element, bind this to
|
45
|
+
* `<label>`'s content and `hidden` property, e.g.
|
46
|
+
* `<label hidden$="[[!label]]">[[label]]</label>` in your `template`
|
47
|
+
*/
|
48
|
+
label: {
|
49
|
+
type: String
|
50
|
+
},
|
51
|
+
|
52
|
+
/**
|
53
|
+
* The value for this input. If you're using PaperInputBehavior to
|
54
|
+
* implement your own paper-input-like element, bind this to
|
55
|
+
* the `<input is="iron-input">`'s `bindValue`
|
56
|
+
* property, or the value property of your input that is `notify:true`.
|
57
|
+
*/
|
58
|
+
value: {
|
59
|
+
notify: true,
|
60
|
+
type: String
|
61
|
+
},
|
62
|
+
|
63
|
+
/**
|
64
|
+
* Set to true to disable this input. If you're using PaperInputBehavior to
|
65
|
+
* implement your own paper-input-like element, bind this to
|
66
|
+
* both the `<paper-input-container>`'s and the input's `disabled` property.
|
67
|
+
*/
|
68
|
+
disabled: {
|
69
|
+
type: Boolean,
|
70
|
+
value: false
|
71
|
+
},
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Returns true if the value is invalid. If you're using PaperInputBehavior to
|
75
|
+
* implement your own paper-input-like element, bind this to both the
|
76
|
+
* `<paper-input-container>`'s and the input's `invalid` property.
|
77
|
+
*
|
78
|
+
* If `autoValidate` is true, the `invalid` attribute is managed automatically,
|
79
|
+
* which can clobber attempts to manage it manually.
|
80
|
+
*/
|
81
|
+
invalid: {
|
82
|
+
type: Boolean,
|
83
|
+
value: false,
|
84
|
+
notify: true
|
85
|
+
},
|
86
|
+
|
87
|
+
/**
|
88
|
+
* Set to true to prevent the user from entering invalid input. If you're
|
89
|
+
* using PaperInputBehavior to implement your own paper-input-like element,
|
90
|
+
* bind this to `<input is="iron-input">`'s `preventInvalidInput` property.
|
91
|
+
*/
|
92
|
+
preventInvalidInput: {
|
93
|
+
type: Boolean
|
94
|
+
},
|
95
|
+
|
96
|
+
/**
|
97
|
+
* Set this to specify the pattern allowed by `preventInvalidInput`. If
|
98
|
+
* you're using PaperInputBehavior to implement your own paper-input-like
|
99
|
+
* element, bind this to the `<input is="iron-input">`'s `allowedPattern`
|
100
|
+
* property.
|
101
|
+
*/
|
102
|
+
allowedPattern: {
|
103
|
+
type: String
|
104
|
+
},
|
105
|
+
|
106
|
+
/**
|
107
|
+
* The type of the input. The supported types are `text`, `number` and `password`.
|
108
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like element,
|
109
|
+
* bind this to the `<input is="iron-input">`'s `type` property.
|
110
|
+
*/
|
111
|
+
type: {
|
112
|
+
type: String
|
113
|
+
},
|
114
|
+
|
115
|
+
/**
|
116
|
+
* The datalist of the input (if any). This should match the id of an existing `<datalist>`.
|
117
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
118
|
+
* element, bind this to the `<input is="iron-input">`'s `list` property.
|
119
|
+
*/
|
120
|
+
list: {
|
121
|
+
type: String
|
122
|
+
},
|
123
|
+
|
124
|
+
/**
|
125
|
+
* A pattern to validate the `input` with. If you're using PaperInputBehavior to
|
126
|
+
* implement your own paper-input-like element, bind this to
|
127
|
+
* the `<input is="iron-input">`'s `pattern` property.
|
128
|
+
*/
|
129
|
+
pattern: {
|
130
|
+
type: String
|
131
|
+
},
|
132
|
+
|
133
|
+
/**
|
134
|
+
* Set to true to mark the input as required. If you're using PaperInputBehavior to
|
135
|
+
* implement your own paper-input-like element, bind this to
|
136
|
+
* the `<input is="iron-input">`'s `required` property.
|
137
|
+
*/
|
138
|
+
required: {
|
139
|
+
type: Boolean,
|
140
|
+
value: false
|
141
|
+
},
|
142
|
+
|
143
|
+
/**
|
144
|
+
* The error message to display when the input is invalid. If you're using
|
145
|
+
* PaperInputBehavior to implement your own paper-input-like element,
|
146
|
+
* bind this to the `<paper-input-error>`'s content, if using.
|
147
|
+
*/
|
148
|
+
errorMessage: {
|
149
|
+
type: String
|
150
|
+
},
|
151
|
+
|
152
|
+
/**
|
153
|
+
* Set to true to show a character counter.
|
154
|
+
*/
|
155
|
+
charCounter: {
|
156
|
+
type: Boolean,
|
157
|
+
value: false
|
158
|
+
},
|
159
|
+
|
160
|
+
/**
|
161
|
+
* Set to true to disable the floating label. If you're using PaperInputBehavior to
|
162
|
+
* implement your own paper-input-like element, bind this to
|
163
|
+
* the `<paper-input-container>`'s `noLabelFloat` property.
|
164
|
+
*/
|
165
|
+
noLabelFloat: {
|
166
|
+
type: Boolean,
|
167
|
+
value: false
|
168
|
+
},
|
169
|
+
|
170
|
+
/**
|
171
|
+
* Set to true to always float the label. If you're using PaperInputBehavior to
|
172
|
+
* implement your own paper-input-like element, bind this to
|
173
|
+
* the `<paper-input-container>`'s `alwaysFloatLabel` property.
|
174
|
+
*/
|
175
|
+
alwaysFloatLabel: {
|
176
|
+
type: Boolean,
|
177
|
+
value: false
|
178
|
+
},
|
179
|
+
|
180
|
+
/**
|
181
|
+
* Set to true to auto-validate the input value. If you're using PaperInputBehavior to
|
182
|
+
* implement your own paper-input-like element, bind this to
|
183
|
+
* the `<paper-input-container>`'s `autoValidate` property.
|
184
|
+
*/
|
185
|
+
autoValidate: {
|
186
|
+
type: Boolean,
|
187
|
+
value: false
|
188
|
+
},
|
189
|
+
|
190
|
+
/**
|
191
|
+
* Name of the validator to use. If you're using PaperInputBehavior to
|
192
|
+
* implement your own paper-input-like element, bind this to
|
193
|
+
* the `<input is="iron-input">`'s `validator` property.
|
194
|
+
*/
|
195
|
+
validator: {
|
196
|
+
type: String
|
197
|
+
},
|
198
|
+
|
199
|
+
// HTMLInputElement attributes for binding if needed
|
200
|
+
|
201
|
+
/**
|
202
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
203
|
+
* element, bind this to the `<input is="iron-input">`'s `autocomplete` property.
|
204
|
+
*/
|
205
|
+
autocomplete: {
|
206
|
+
type: String,
|
207
|
+
value: 'off'
|
208
|
+
},
|
209
|
+
|
210
|
+
/**
|
211
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
212
|
+
* element, bind this to the `<input is="iron-input">`'s `autofocus` property.
|
213
|
+
*/
|
214
|
+
autofocus: {
|
215
|
+
type: Boolean,
|
216
|
+
observer: '_autofocusChanged'
|
217
|
+
},
|
218
|
+
|
219
|
+
/**
|
220
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
221
|
+
* element, bind this to the `<input is="iron-input">`'s `inputmode` property.
|
222
|
+
*/
|
223
|
+
inputmode: {
|
224
|
+
type: String
|
225
|
+
},
|
226
|
+
|
227
|
+
/**
|
228
|
+
* The minimum length of the input value.
|
229
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
230
|
+
* element, bind this to the `<input is="iron-input">`'s `minlength` property.
|
231
|
+
*/
|
232
|
+
minlength: {
|
233
|
+
type: Number
|
234
|
+
},
|
235
|
+
|
236
|
+
/**
|
237
|
+
* The maximum length of the input value.
|
238
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
239
|
+
* element, bind this to the `<input is="iron-input">`'s `maxlength` property.
|
240
|
+
*/
|
241
|
+
maxlength: {
|
242
|
+
type: Number
|
243
|
+
},
|
244
|
+
|
245
|
+
/**
|
246
|
+
* The minimum (numeric or date-time) input value.
|
247
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
248
|
+
* element, bind this to the `<input is="iron-input">`'s `min` property.
|
249
|
+
*/
|
250
|
+
min: {
|
251
|
+
type: String
|
252
|
+
},
|
253
|
+
|
254
|
+
/**
|
255
|
+
* The maximum (numeric or date-time) input value.
|
256
|
+
* Can be a String (e.g. `"2000-01-01"`) or a Number (e.g. `2`).
|
257
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
258
|
+
* element, bind this to the `<input is="iron-input">`'s `max` property.
|
259
|
+
*/
|
260
|
+
max: {
|
261
|
+
type: String
|
262
|
+
},
|
263
|
+
|
264
|
+
/**
|
265
|
+
* Limits the numeric or date-time increments.
|
266
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
267
|
+
* element, bind this to the `<input is="iron-input">`'s `step` property.
|
268
|
+
*/
|
269
|
+
step: {
|
270
|
+
type: String
|
271
|
+
},
|
272
|
+
|
273
|
+
/**
|
274
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
275
|
+
* element, bind this to the `<input is="iron-input">`'s `name` property.
|
276
|
+
*/
|
277
|
+
name: {
|
278
|
+
type: String
|
279
|
+
},
|
280
|
+
|
281
|
+
/**
|
282
|
+
* A placeholder string in addition to the label. If this is set, the label will always float.
|
283
|
+
*/
|
284
|
+
placeholder: {
|
285
|
+
type: String,
|
286
|
+
// need to set a default so _computeAlwaysFloatLabel is run
|
287
|
+
value: ''
|
288
|
+
},
|
289
|
+
|
290
|
+
/**
|
291
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
292
|
+
* element, bind this to the `<input is="iron-input">`'s `readonly` property.
|
293
|
+
*/
|
294
|
+
readonly: {
|
295
|
+
type: Boolean,
|
296
|
+
value: false
|
297
|
+
},
|
298
|
+
|
299
|
+
/**
|
300
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
301
|
+
* element, bind this to the `<input is="iron-input">`'s `size` property.
|
302
|
+
*/
|
303
|
+
size: {
|
304
|
+
type: Number
|
305
|
+
},
|
306
|
+
|
307
|
+
// Nonstandard attributes for binding if needed
|
308
|
+
|
309
|
+
/**
|
310
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
311
|
+
* element, bind this to the `<input is="iron-input">`'s `autocapitalize` property.
|
312
|
+
*/
|
313
|
+
autocapitalize: {
|
314
|
+
type: String,
|
315
|
+
value: 'none'
|
316
|
+
},
|
317
|
+
|
318
|
+
/**
|
319
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
320
|
+
* element, bind this to the `<input is="iron-input">`'s `autocorrect` property.
|
321
|
+
*/
|
322
|
+
autocorrect: {
|
323
|
+
type: String,
|
324
|
+
value: 'off'
|
325
|
+
},
|
326
|
+
|
327
|
+
/**
|
328
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
329
|
+
* element, bind this to the `<input is="iron-input">`'s `autosave` property,
|
330
|
+
* used with type=search.
|
331
|
+
*/
|
332
|
+
autosave: {
|
333
|
+
type: String
|
334
|
+
},
|
335
|
+
|
336
|
+
/**
|
337
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
338
|
+
* element, bind this to the `<input is="iron-input">`'s `results` property,
|
339
|
+
* used with type=search.
|
340
|
+
*/
|
341
|
+
results: {
|
342
|
+
type: Number
|
343
|
+
},
|
344
|
+
|
345
|
+
/**
|
346
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
347
|
+
* element, bind this to the `<input is="iron-input">`'s `accept` property,
|
348
|
+
* used with type=file.
|
349
|
+
*/
|
350
|
+
accept: {
|
351
|
+
type: String
|
352
|
+
},
|
353
|
+
|
354
|
+
/**
|
355
|
+
* If you're using PaperInputBehavior to implement your own paper-input-like
|
356
|
+
* element, bind this to the`<input is="iron-input">`'s `multiple` property,
|
357
|
+
* used with type=file.
|
358
|
+
*/
|
359
|
+
multiple: {
|
360
|
+
type: Boolean
|
361
|
+
},
|
362
|
+
|
363
|
+
_ariaDescribedBy: {
|
364
|
+
type: String,
|
365
|
+
value: ''
|
366
|
+
},
|
367
|
+
|
368
|
+
_ariaLabelledBy: {
|
369
|
+
type: String,
|
370
|
+
value: ''
|
371
|
+
}
|
372
|
+
|
373
|
+
},
|
374
|
+
|
375
|
+
listeners: {
|
376
|
+
'addon-attached': '_onAddonAttached',
|
377
|
+
},
|
378
|
+
|
379
|
+
keyBindings: {
|
380
|
+
'shift+tab:keydown': '_onShiftTabDown'
|
381
|
+
},
|
382
|
+
|
383
|
+
hostAttributes: {
|
384
|
+
tabindex: 0
|
385
|
+
},
|
386
|
+
|
387
|
+
/**
|
388
|
+
* Returns a reference to the input element.
|
389
|
+
*/
|
390
|
+
get inputElement() {
|
391
|
+
return this.$.input;
|
392
|
+
},
|
393
|
+
|
394
|
+
/**
|
395
|
+
* Returns a reference to the focusable element.
|
396
|
+
*/
|
397
|
+
get _focusableElement() {
|
398
|
+
return this.inputElement;
|
399
|
+
},
|
400
|
+
|
401
|
+
registered: function() {
|
402
|
+
// These types have some default placeholder text; overlapping
|
403
|
+
// the label on top of it looks terrible. Auto-float the label in this case.
|
404
|
+
this._typesThatHaveText = ["date", "datetime", "datetime-local", "month",
|
405
|
+
"time", "week", "file"];
|
406
|
+
},
|
407
|
+
|
408
|
+
attached: function() {
|
409
|
+
this._updateAriaLabelledBy();
|
410
|
+
|
411
|
+
if (this.inputElement &&
|
412
|
+
this._typesThatHaveText.indexOf(this.inputElement.type) !== -1) {
|
413
|
+
this.alwaysFloatLabel = true;
|
414
|
+
}
|
415
|
+
},
|
416
|
+
|
417
|
+
_appendStringWithSpace: function(str, more) {
|
418
|
+
if (str) {
|
419
|
+
str = str + ' ' + more;
|
420
|
+
} else {
|
421
|
+
str = more;
|
422
|
+
}
|
423
|
+
return str;
|
424
|
+
},
|
425
|
+
|
426
|
+
_onAddonAttached: function(event) {
|
427
|
+
var target = event.path ? event.path[0] : event.target;
|
428
|
+
if (target.id) {
|
429
|
+
this._ariaDescribedBy = this._appendStringWithSpace(this._ariaDescribedBy, target.id);
|
430
|
+
} else {
|
431
|
+
var id = 'paper-input-add-on-' + Polymer.PaperInputHelper.NextAddonID++;
|
432
|
+
target.id = id;
|
433
|
+
this._ariaDescribedBy = this._appendStringWithSpace(this._ariaDescribedBy, id);
|
434
|
+
}
|
435
|
+
},
|
436
|
+
|
437
|
+
/**
|
438
|
+
* Validates the input element and sets an error style if needed.
|
439
|
+
*
|
440
|
+
* @return {boolean}
|
441
|
+
*/
|
442
|
+
validate: function() {
|
443
|
+
return this.inputElement.validate();
|
444
|
+
},
|
445
|
+
|
446
|
+
/**
|
447
|
+
* Forward focus to inputElement. Overriden from IronControlState.
|
448
|
+
*/
|
449
|
+
_focusBlurHandler: function(event) {
|
450
|
+
Polymer.IronControlState._focusBlurHandler.call(this, event);
|
451
|
+
|
452
|
+
// Forward the focus to the nested input.
|
453
|
+
if (this.focused && !this._shiftTabPressed)
|
454
|
+
this._focusableElement.focus();
|
455
|
+
},
|
456
|
+
|
457
|
+
/**
|
458
|
+
* Handler that is called when a shift+tab keypress is detected by the menu.
|
459
|
+
*
|
460
|
+
* @param {CustomEvent} event A key combination event.
|
461
|
+
*/
|
462
|
+
_onShiftTabDown: function(event) {
|
463
|
+
var oldTabIndex = this.getAttribute('tabindex');
|
464
|
+
this._shiftTabPressed = true;
|
465
|
+
this.setAttribute('tabindex', '-1');
|
466
|
+
this.async(function() {
|
467
|
+
this.setAttribute('tabindex', oldTabIndex);
|
468
|
+
this._shiftTabPressed = false;
|
469
|
+
}, 1);
|
470
|
+
},
|
471
|
+
|
472
|
+
/**
|
473
|
+
* If `autoValidate` is true, then validates the element.
|
474
|
+
*/
|
475
|
+
_handleAutoValidate: function() {
|
476
|
+
if (this.autoValidate)
|
477
|
+
this.validate();
|
478
|
+
},
|
479
|
+
|
480
|
+
/**
|
481
|
+
* Restores the cursor to its original position after updating the value.
|
482
|
+
* @param {string} newValue The value that should be saved.
|
483
|
+
*/
|
484
|
+
updateValueAndPreserveCaret: function(newValue) {
|
485
|
+
// Not all elements might have selection, and even if they have the
|
486
|
+
// right properties, accessing them might throw an exception (like for
|
487
|
+
// <input type=number>)
|
488
|
+
try {
|
489
|
+
var start = this.inputElement.selectionStart;
|
490
|
+
this.value = newValue;
|
491
|
+
|
492
|
+
// The cursor automatically jumps to the end after re-setting the value,
|
493
|
+
// so restore it to its original position.
|
494
|
+
this.inputElement.selectionStart = start;
|
495
|
+
this.inputElement.selectionEnd = start;
|
496
|
+
} catch (e) {
|
497
|
+
// Just set the value and give up on the caret.
|
498
|
+
this.value = newValue;
|
499
|
+
}
|
500
|
+
},
|
501
|
+
|
502
|
+
_computeAlwaysFloatLabel: function(alwaysFloatLabel, placeholder) {
|
503
|
+
return placeholder || alwaysFloatLabel;
|
504
|
+
},
|
505
|
+
|
506
|
+
_updateAriaLabelledBy: function() {
|
507
|
+
var label = Polymer.dom(this.root).querySelector('label');
|
508
|
+
if (!label) {
|
509
|
+
this._ariaLabelledBy = '';
|
510
|
+
return;
|
511
|
+
}
|
512
|
+
var labelledBy;
|
513
|
+
if (label.id) {
|
514
|
+
labelledBy = label.id;
|
515
|
+
} else {
|
516
|
+
labelledBy = 'paper-input-label-' + Polymer.PaperInputHelper.NextLabelID++;
|
517
|
+
label.id = labelledBy;
|
518
|
+
}
|
519
|
+
this._ariaLabelledBy = labelledBy;
|
520
|
+
},
|
521
|
+
|
522
|
+
_onChange:function(event) {
|
523
|
+
// In the Shadow DOM, the `change` event is not leaked into the
|
524
|
+
// ancestor tree, so we must do this manually.
|
525
|
+
// See https://w3c.github.io/webcomponents/spec/shadow/#events-that-are-not-leaked-into-ancestor-trees.
|
526
|
+
if (this.shadowRoot) {
|
527
|
+
this.fire(event.type, {sourceEvent: event}, {
|
528
|
+
node: this,
|
529
|
+
bubbles: event.bubbles,
|
530
|
+
cancelable: event.cancelable
|
531
|
+
});
|
532
|
+
}
|
533
|
+
},
|
534
|
+
|
535
|
+
_autofocusChanged: function() {
|
536
|
+
// Firefox doesn't respect the autofocus attribute if it's applied after
|
537
|
+
// the page is loaded (Chrome/WebKit do respect it), preventing an
|
538
|
+
// autofocus attribute specified in markup from taking effect when the
|
539
|
+
// element is upgraded. As a workaround, if the autofocus property is set,
|
540
|
+
// and the focus hasn't already been moved elsewhere, we take focus.
|
541
|
+
if (this.autofocus && this._focusableElement) {
|
542
|
+
|
543
|
+
// In IE 11, the default document.activeElement can be the page's
|
544
|
+
// outermost html element, but there are also cases (under the
|
545
|
+
// polyfill?) in which the activeElement is not a real HTMLElement, but
|
546
|
+
// just a plain object. We identify the latter case as having no valid
|
547
|
+
// activeElement.
|
548
|
+
var activeElement = document.activeElement;
|
549
|
+
var isActiveElementValid = activeElement instanceof HTMLElement;
|
550
|
+
|
551
|
+
// Has some other element has already taken the focus?
|
552
|
+
var isSomeElementActive = isActiveElementValid &&
|
553
|
+
activeElement !== document.body &&
|
554
|
+
activeElement !== document.documentElement; /* IE 11 */
|
555
|
+
if (!isSomeElementActive) {
|
556
|
+
// No specific element has taken the focus yet, so we can take it.
|
557
|
+
this._focusableElement.focus();
|
558
|
+
}
|
559
|
+
}
|
560
|
+
}
|
561
|
+
}
|
562
|
+
|
563
|
+
/** @polymerBehavior */
|
564
|
+
Polymer.PaperInputBehavior = [
|
565
|
+
Polymer.IronControlState,
|
566
|
+
Polymer.IronA11yKeysBehavior,
|
567
|
+
Polymer.PaperInputBehaviorImpl
|
568
|
+
];
|
569
|
+
</script>
|