polymer-paper-rails 0.2.0 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/components/core-a11y-keys/core-a11y-keys.html +335 -0
- data/app/assets/components/core-animation/core-animation.html +7 -6
- data/app/assets/components/core-animation/web-animations.html +1 -1
- data/app/assets/components/core-collapse/core-collapse.html +41 -5
- data/app/assets/components/core-component-page/core-component-page.html +1 -1
- data/app/assets/components/core-drawer-panel/core-drawer-panel.css +14 -9
- data/app/assets/components/core-drawer-panel/core-drawer-panel.html +76 -21
- data/app/assets/components/core-drawer-panel/metadata.html +1 -1
- data/app/assets/components/core-dropdown/core-dropdown-base.html +117 -0
- data/app/assets/components/core-dropdown/core-dropdown.html +305 -0
- data/app/assets/components/core-dropdown/metadata.html +62 -0
- data/app/assets/components/core-elements/paper-elements.html +2 -0
- data/app/assets/components/core-focusable/core-focusable.html +4 -0
- data/app/assets/components/core-focusable/core-focusable.js +134 -0
- data/app/assets/components/core-focusable/polymer-mixin.js +35 -0
- data/app/assets/components/core-header-panel/core-header-panel.css +6 -3
- data/app/assets/components/core-header-panel/core-header-panel.html +96 -44
- data/app/assets/components/core-header-panel/metadata.html +1 -1
- data/app/assets/components/core-icon/core-icon.html +19 -5
- data/app/assets/components/core-icons/av-icons.html +57 -31
- data/app/assets/components/core-icons/communication-icons.html +42 -44
- data/app/assets/components/core-icons/core-icons.html +267 -263
- data/app/assets/components/core-icons/device-icons.html +90 -44
- data/app/assets/components/core-icons/editor-icons.html +52 -52
- data/app/assets/components/core-icons/hardware-icons.html +42 -43
- data/app/assets/components/core-icons/image-icons.html +140 -130
- data/app/assets/components/core-icons/maps-icons.html +57 -54
- data/app/assets/components/core-icons/notification-icons.html +34 -35
- data/app/assets/components/core-icons/social-icons.html +38 -37
- data/app/assets/components/core-iconset-svg/core-iconset-svg.html +1 -1
- data/app/assets/components/core-input/core-input.css +3 -7
- data/app/assets/components/core-input/core-input.html +105 -411
- data/app/assets/components/core-input/metadata.html +6 -3
- data/app/assets/components/core-item/core-item.css +7 -6
- data/app/assets/components/core-item/core-item.html +4 -5
- data/app/assets/components/core-item/metadata.html +1 -1
- data/app/assets/components/core-label/core-label.html +124 -0
- data/app/assets/components/core-menu/core-menu.css +3 -3
- data/app/assets/components/core-menu/core-menu.html +8 -2
- data/app/assets/components/core-menu/core-submenu.css +14 -0
- data/app/assets/components/core-menu/core-submenu.html +21 -1
- data/app/assets/components/core-overlay/core-overlay-layer.html +1 -0
- data/app/assets/components/core-overlay/core-overlay.html +163 -90
- data/app/assets/components/core-overlay/gulpfile.js +2 -0
- data/app/assets/components/core-overlay/tests/html/core-overlay-basic.html +127 -0
- data/app/assets/components/core-overlay/tests/html/core-overlay-positioning-margin.html +153 -0
- data/app/assets/components/core-overlay/tests/html/core-overlay-positioning.html +167 -0
- data/app/assets/components/core-overlay/tests/html/core-overlay-scroll.html +130 -0
- data/app/assets/components/core-overlay/tests/js/htmltests.js +6 -0
- data/app/assets/components/core-overlay/tests/runner.html +14 -0
- data/app/assets/components/core-overlay/tests/tests.json +6 -0
- data/app/assets/components/core-scroll-header-panel/core-scroll-header-panel.html +45 -9
- data/app/assets/components/core-scroll-header-panel/metadata.html +1 -1
- data/app/assets/components/core-selector/core-selector.html +116 -28
- data/app/assets/components/core-selector/metadata.html +1 -1
- data/app/assets/components/core-style/core-style.html +4 -4
- data/app/assets/components/core-style/elements.html +1 -1
- data/app/assets/components/core-style/my-theme.html +1 -1
- data/app/assets/components/core-toolbar/core-toolbar.css +14 -7
- data/app/assets/components/core-toolbar/core-toolbar.html +88 -7
- data/app/assets/components/core-toolbar/metadata.html +1 -1
- data/app/assets/components/core-transition/core-transition-css.html +1 -2
- data/app/assets/components/core-transition/core-transition-overlay.css +9 -9
- data/app/assets/components/core-transition/core-transition.html +1 -1
- data/app/assets/components/font-roboto/roboto.html +1 -1
- data/app/assets/components/paper-button/metadata.html +2 -2
- data/app/assets/components/paper-button/paper-button-base.html +120 -0
- data/app/assets/components/paper-button/paper-button.html +114 -145
- data/app/assets/components/paper-checkbox/paper-checkbox.css +1 -1
- data/app/assets/components/paper-dialog/paper-action-dialog.html +104 -0
- data/app/assets/components/paper-dialog/paper-dialog-base.html +81 -0
- data/app/assets/components/paper-dialog/paper-dialog-transition.html +1 -1
- data/app/assets/components/paper-dialog/paper-dialog.html +68 -143
- data/app/assets/components/{paper-dropdown/paper-dropdown.css → paper-dropdown-menu/paper-dropdown-menu.css} +1 -5
- data/app/assets/components/paper-dropdown-menu/paper-dropdown-menu.html +181 -0
- data/app/assets/components/{polymer/polymer.html → paper-dropdown/paper-dropdown-transition.css} +9 -7
- data/app/assets/components/paper-dropdown/paper-dropdown-transition.html +166 -0
- data/app/assets/components/paper-dropdown/paper-dropdown.html +69 -143
- data/app/assets/components/paper-fab/metadata.html +1 -1
- data/app/assets/components/paper-fab/paper-fab.html +140 -16
- data/app/assets/components/paper-icon-button/paper-icon-button.html +99 -32
- data/app/assets/components/paper-input/metadata.html +1 -4
- data/app/assets/components/paper-input/paper-autogrow-textarea.html +157 -0
- data/app/assets/components/paper-input/{paper-input.css → paper-input-decorator.css} +25 -25
- data/app/assets/components/paper-input/paper-input-decorator.html +468 -0
- data/app/assets/components/paper-input/paper-input.html +74 -269
- data/app/assets/components/paper-item/metadata.html +1 -1
- data/app/assets/components/paper-item/paper-item.html +95 -52
- data/app/assets/components/paper-menu-button/metadata.html +1 -1
- data/app/assets/components/paper-menu-button/paper-menu-button.css +38 -19
- data/app/assets/components/paper-menu-button/paper-menu-button.html +57 -138
- data/app/assets/components/paper-progress/paper-progress.css +39 -6
- data/app/assets/components/paper-progress/paper-progress.html +30 -4
- data/app/assets/components/paper-radio-button/paper-radio-button.html +3 -0
- data/app/assets/components/paper-radio-group/paper-radio-group.html +34 -1
- data/app/assets/components/paper-ripple/paper-ripple.html +110 -61
- data/app/assets/components/paper-shadow/metadata.html +2 -2
- data/app/assets/components/paper-shadow/paper-shadow.css +20 -45
- data/app/assets/components/paper-shadow/paper-shadow.html +55 -195
- data/app/assets/components/paper-slider/paper-slider.css +15 -1
- data/app/assets/components/paper-slider/paper-slider.html +98 -57
- data/app/assets/components/paper-spinner/paper-spinner.css +311 -0
- data/app/assets/components/paper-spinner/paper-spinner.html +116 -0
- data/app/assets/components/paper-tabs/paper-tab.css +26 -16
- data/app/assets/components/paper-tabs/paper-tab.html +24 -8
- data/app/assets/components/paper-tabs/paper-tabs.css +31 -13
- data/app/assets/components/paper-tabs/paper-tabs.html +217 -20
- data/app/assets/components/paper-toast/paper-toast.html +44 -6
- data/app/assets/components/paper-toggle-button/paper-toggle-button.css +7 -1
- data/app/assets/components/paper-toggle-button/paper-toggle-button.html +12 -2
- data/app/assets/components/sampler-scaffold/sampler-scaffold.css +2 -1
- data/app/assets/components/web-animations-next/Gruntfile.js +279 -0
- data/app/assets/components/web-animations-next/History.md +76 -0
- data/app/assets/components/web-animations-next/package.json +33 -0
- data/app/assets/components/web-animations-next/src/animation-constructor.js +139 -0
- data/app/assets/components/web-animations-next/src/animation-node.js +31 -0
- data/app/assets/components/web-animations-next/src/animation.js +65 -0
- data/app/assets/components/web-animations-next/src/apply-preserving-inline-style.js +192 -0
- data/app/assets/components/web-animations-next/src/apply.js +25 -0
- data/app/assets/components/web-animations-next/src/box-handler.js +57 -0
- data/app/assets/components/web-animations-next/src/color-handler.js +62 -0
- data/app/assets/components/web-animations-next/src/deprecation.js +42 -0
- data/app/assets/components/web-animations-next/src/dev.js +16 -0
- data/app/assets/components/web-animations-next/src/dimension-handler.js +167 -0
- data/app/assets/components/web-animations-next/src/effect-callback.js +86 -0
- data/app/assets/components/web-animations-next/src/effect.js +110 -0
- data/app/assets/components/web-animations-next/src/element-animatable.js +19 -0
- data/app/assets/components/web-animations-next/src/font-weight-handler.js +42 -0
- data/app/assets/components/web-animations-next/src/group-constructors.js +81 -0
- data/app/assets/components/web-animations-next/src/handler-utils.js +177 -0
- data/app/assets/components/web-animations-next/src/interpolation.js +49 -0
- data/app/assets/components/web-animations-next/src/matrix-decomposition.js +452 -0
- data/app/assets/components/web-animations-next/src/matrix-interpolation.js +130 -0
- data/app/assets/components/web-animations-next/src/maxifill-player.js +162 -0
- data/app/assets/components/web-animations-next/src/normalize-keyframes.js +259 -0
- data/app/assets/components/web-animations-next/src/number-handler.js +72 -0
- data/app/assets/components/web-animations-next/src/player.js +193 -0
- data/app/assets/components/web-animations-next/src/position-handler.js +117 -0
- data/app/assets/components/web-animations-next/src/property-interpolation.js +62 -0
- data/app/assets/components/web-animations-next/src/property-names.js +35 -0
- data/app/assets/components/web-animations-next/src/scope.js +20 -0
- data/app/assets/components/web-animations-next/src/shadow-handler.js +108 -0
- data/app/assets/components/web-animations-next/src/shape-handler.js +85 -0
- data/app/assets/components/web-animations-next/src/tick.js +148 -0
- data/app/assets/components/web-animations-next/src/timeline.js +77 -0
- data/app/assets/components/web-animations-next/src/timing-utilities.js +242 -0
- data/app/assets/components/web-animations-next/src/transform-handler.js +262 -0
- data/app/assets/components/web-animations-next/src/visibility-handler.js +29 -0
- data/app/assets/components/web-animations-next/target-config.js +124 -0
- data/app/assets/components/web-animations-next/target-loader.js +13 -0
- data/app/assets/components/web-animations-next/templates/boilerplate +13 -0
- data/app/assets/components/web-animations-next/templates/runner.html +26 -0
- data/app/assets/components/web-animations-next/templates/web-animations.html +18 -0
- data/app/assets/components/web-animations-next/templates/web-animations.js +21 -0
- data/app/assets/components/web-animations-next/web-animations-next-lite.dev.html +44 -0
- data/app/assets/components/web-animations-next/web-animations-next-lite.dev.js +21 -0
- data/app/assets/components/web-animations-next/web-animations-next.dev.html +49 -0
- data/app/assets/components/web-animations-next/web-animations-next.dev.js +21 -0
- data/app/assets/components/web-animations-next/web-animations.dev.html +44 -0
- data/app/assets/components/web-animations-next/web-animations.dev.js +21 -0
- data/app/assets/components/web-animations-next/web-animations.html +50 -0
- data/lib/polymer-paper-rails/version.rb +1 -1
- metadata +82 -421
- data/app/assets/components/core-animation/README.md +0 -4
- data/app/assets/components/core-animation/bower.json +0 -8
- data/app/assets/components/core-animation/demo.html +0 -149
- data/app/assets/components/core-animation/index.html +0 -22
- data/app/assets/components/core-collapse/README.md +0 -4
- data/app/assets/components/core-collapse/bower.json +0 -7
- data/app/assets/components/core-collapse/demo.html +0 -93
- data/app/assets/components/core-collapse/index.html +0 -22
- data/app/assets/components/core-component-page/README.md +0 -6
- data/app/assets/components/core-component-page/bower.json +0 -8
- data/app/assets/components/core-component-page/demo.html +0 -23
- data/app/assets/components/core-component-page/index.html +0 -22
- data/app/assets/components/core-drawer-panel/README.md +0 -4
- data/app/assets/components/core-drawer-panel/bower.json +0 -8
- data/app/assets/components/core-drawer-panel/demo.html +0 -73
- data/app/assets/components/core-drawer-panel/index.html +0 -22
- data/app/assets/components/core-elements/README.md +0 -4
- data/app/assets/components/core-elements/bower.json +0 -29
- data/app/assets/components/core-elements/demo.html +0 -105
- data/app/assets/components/core-elements/demos/core-toolbar.html +0 -98
- data/app/assets/components/core-field/README.md +0 -4
- data/app/assets/components/core-field/bower.json +0 -7
- data/app/assets/components/core-field/demo.html +0 -67
- data/app/assets/components/core-field/index.html +0 -22
- data/app/assets/components/core-header-panel/README.md +0 -4
- data/app/assets/components/core-header-panel/bower.json +0 -7
- data/app/assets/components/core-header-panel/demo.html +0 -100
- data/app/assets/components/core-header-panel/index.html +0 -23
- data/app/assets/components/core-icon-button/README.md +0 -4
- data/app/assets/components/core-icon-button/bower.json +0 -7
- data/app/assets/components/core-icon-button/demo.html +0 -35
- data/app/assets/components/core-icon-button/index.html +0 -22
- data/app/assets/components/core-icon/README.md +0 -4
- data/app/assets/components/core-icon/bower.json +0 -8
- data/app/assets/components/core-icon/demo.html +0 -44
- data/app/assets/components/core-icon/index.html +0 -22
- data/app/assets/components/core-icons/README.md +0 -4
- data/app/assets/components/core-icons/bower.json +0 -9
- data/app/assets/components/core-icons/demo.html +0 -96
- data/app/assets/components/core-icons/index.html +0 -22
- data/app/assets/components/core-iconset-svg/README.md +0 -4
- data/app/assets/components/core-iconset-svg/bower.json +0 -8
- data/app/assets/components/core-iconset-svg/demo.html +0 -66
- data/app/assets/components/core-iconset-svg/index.html +0 -22
- data/app/assets/components/core-iconset/README.md +0 -4
- data/app/assets/components/core-iconset/bower.json +0 -9
- data/app/assets/components/core-iconset/demo.html +0 -62
- data/app/assets/components/core-iconset/index.html +0 -22
- data/app/assets/components/core-input/README.md +0 -2
- data/app/assets/components/core-input/bower.json +0 -6
- data/app/assets/components/core-input/demo.html +0 -142
- data/app/assets/components/core-input/index.html +0 -22
- data/app/assets/components/core-item/README.md +0 -4
- data/app/assets/components/core-item/bower.json +0 -8
- data/app/assets/components/core-item/demo.html +0 -92
- data/app/assets/components/core-item/index.html +0 -22
- data/app/assets/components/core-media-query/README.md +0 -4
- data/app/assets/components/core-media-query/bower.json +0 -7
- data/app/assets/components/core-media-query/demo.html +0 -44
- data/app/assets/components/core-media-query/index.html +0 -22
- data/app/assets/components/core-menu/README.md +0 -4
- data/app/assets/components/core-menu/bower.json +0 -9
- data/app/assets/components/core-menu/demo.html +0 -101
- data/app/assets/components/core-menu/index.html +0 -22
- data/app/assets/components/core-meta/README.md +0 -4
- data/app/assets/components/core-meta/bower.json +0 -7
- data/app/assets/components/core-meta/demo.html +0 -58
- data/app/assets/components/core-meta/index.html +0 -22
- data/app/assets/components/core-overlay/README.md +0 -4
- data/app/assets/components/core-overlay/bower.json +0 -8
- data/app/assets/components/core-overlay/demo.html +0 -155
- data/app/assets/components/core-overlay/index.html +0 -22
- data/app/assets/components/core-popup-menu/README.md +0 -6
- data/app/assets/components/core-popup-menu/bower.json +0 -13
- data/app/assets/components/core-popup-menu/demo.html +0 -542
- data/app/assets/components/core-popup-menu/index.html +0 -22
- data/app/assets/components/core-range/README.md +0 -2
- data/app/assets/components/core-range/bower.json +0 -7
- data/app/assets/components/core-range/demo.html +0 -64
- data/app/assets/components/core-range/index.html +0 -22
- data/app/assets/components/core-scroll-header-panel/README.md +0 -4
- data/app/assets/components/core-scroll-header-panel/bower.json +0 -11
- data/app/assets/components/core-scroll-header-panel/demo.html +0 -111
- data/app/assets/components/core-scroll-header-panel/demos/demo1.html +0 -80
- data/app/assets/components/core-scroll-header-panel/demos/demo2.html +0 -82
- data/app/assets/components/core-scroll-header-panel/demos/demo3.html +0 -81
- data/app/assets/components/core-scroll-header-panel/demos/demo4.html +0 -109
- data/app/assets/components/core-scroll-header-panel/demos/demo5.html +0 -109
- data/app/assets/components/core-scroll-header-panel/demos/demo6.html +0 -113
- data/app/assets/components/core-scroll-header-panel/demos/demo7.html +0 -120
- data/app/assets/components/core-scroll-header-panel/demos/demo8.html +0 -122
- data/app/assets/components/core-scroll-header-panel/demos/demo9.html +0 -100
- data/app/assets/components/core-scroll-header-panel/demos/images/bg2.jpg +0 -0
- data/app/assets/components/core-scroll-header-panel/demos/images/bg3.jpg +0 -0
- data/app/assets/components/core-scroll-header-panel/demos/images/bg5.jpg +0 -0
- data/app/assets/components/core-scroll-header-panel/demos/images/bg6.jpg +0 -0
- data/app/assets/components/core-scroll-header-panel/demos/images/bg9.jpg +0 -0
- data/app/assets/components/core-scroll-header-panel/demos/lorem-ipsum.html +0 -42
- data/app/assets/components/core-scroll-header-panel/index.html +0 -22
- data/app/assets/components/core-selection/README.md +0 -4
- data/app/assets/components/core-selection/bower.json +0 -7
- data/app/assets/components/core-selection/demo.html +0 -59
- data/app/assets/components/core-selection/index.html +0 -22
- data/app/assets/components/core-selector/README.md +0 -4
- data/app/assets/components/core-selector/bower.json +0 -8
- data/app/assets/components/core-selector/demo.html +0 -106
- data/app/assets/components/core-selector/index.html +0 -22
- data/app/assets/components/core-style/README.md +0 -4
- data/app/assets/components/core-style/bower.json +0 -7
- data/app/assets/components/core-style/demo.html +0 -58
- data/app/assets/components/core-style/index.html +0 -22
- data/app/assets/components/core-toolbar/README.md +0 -4
- data/app/assets/components/core-toolbar/bower.json +0 -7
- data/app/assets/components/core-toolbar/demo.html +0 -107
- data/app/assets/components/core-toolbar/index.html +0 -22
- data/app/assets/components/core-transition/README.md +0 -2
- data/app/assets/components/core-transition/bower.json +0 -8
- data/app/assets/components/core-transition/demo.html +0 -87
- data/app/assets/components/core-transition/index.html +0 -22
- data/app/assets/components/paper-button/README.md +0 -4
- data/app/assets/components/paper-button/bower.json +0 -11
- data/app/assets/components/paper-button/demo.html +0 -99
- data/app/assets/components/paper-button/demo2.html +0 -136
- data/app/assets/components/paper-button/index.html +0 -22
- data/app/assets/components/paper-button/paper-button.css +0 -125
- data/app/assets/components/paper-checkbox/README.md +0 -4
- data/app/assets/components/paper-checkbox/bower.json +0 -8
- data/app/assets/components/paper-checkbox/demo.html +0 -113
- data/app/assets/components/paper-checkbox/index.html +0 -22
- data/app/assets/components/paper-dialog/README.md +0 -4
- data/app/assets/components/paper-dialog/bower.json +0 -10
- data/app/assets/components/paper-dialog/demo.html +0 -85
- data/app/assets/components/paper-dialog/index.html +0 -22
- data/app/assets/components/paper-dialog/paper-dialog.css +0 -52
- data/app/assets/components/paper-dropdown/README.md +0 -9
- data/app/assets/components/paper-dropdown/bower.json +0 -12
- data/app/assets/components/paper-dropdown/demo.html +0 -345
- data/app/assets/components/paper-dropdown/index.html +0 -22
- data/app/assets/components/paper-fab/README.md +0 -4
- data/app/assets/components/paper-fab/bower.json +0 -8
- data/app/assets/components/paper-fab/demo.html +0 -72
- data/app/assets/components/paper-fab/demo2.html +0 -103
- data/app/assets/components/paper-fab/index.html +0 -22
- data/app/assets/components/paper-fab/paper-fab.css +0 -36
- data/app/assets/components/paper-focusable/README.md +0 -4
- data/app/assets/components/paper-focusable/bower.json +0 -7
- data/app/assets/components/paper-focusable/demo.html +0 -155
- data/app/assets/components/paper-icon-button/README.md +0 -4
- data/app/assets/components/paper-icon-button/bower.json +0 -9
- data/app/assets/components/paper-icon-button/demo.html +0 -102
- data/app/assets/components/paper-icon-button/index.html +0 -22
- data/app/assets/components/paper-icon-button/paper-icon-button.css +0 -17
- data/app/assets/components/paper-icon-button/pulse-ink.css +0 -20
- data/app/assets/components/paper-input/README.md +0 -4
- data/app/assets/components/paper-input/bower.json +0 -11
- data/app/assets/components/paper-input/demo.html +0 -124
- data/app/assets/components/paper-input/index.html +0 -22
- data/app/assets/components/paper-item/README.md +0 -4
- data/app/assets/components/paper-item/bower.json +0 -9
- data/app/assets/components/paper-item/demo.html +0 -39
- data/app/assets/components/paper-item/index.html +0 -22
- data/app/assets/components/paper-item/paper-item.css +0 -43
- data/app/assets/components/paper-menu-button/README.md +0 -4
- data/app/assets/components/paper-menu-button/bower.json +0 -16
- data/app/assets/components/paper-menu-button/demo.html +0 -95
- data/app/assets/components/paper-menu-button/index.html +0 -22
- data/app/assets/components/paper-menu-button/paper-menu-button-transition.css +0 -19
- data/app/assets/components/paper-menu-button/paper-menu-button-transition.html +0 -123
- data/app/assets/components/paper-progress/README.md +0 -4
- data/app/assets/components/paper-progress/bower.json +0 -8
- data/app/assets/components/paper-progress/demo.html +0 -107
- data/app/assets/components/paper-progress/index.html +0 -22
- data/app/assets/components/paper-radio-button/README.md +0 -4
- data/app/assets/components/paper-radio-button/bower.json +0 -7
- data/app/assets/components/paper-radio-button/demo.html +0 -75
- data/app/assets/components/paper-radio-button/index.html +0 -22
- data/app/assets/components/paper-radio-group/README.md +0 -4
- data/app/assets/components/paper-radio-group/bower.json +0 -9
- data/app/assets/components/paper-radio-group/demo.html +0 -82
- data/app/assets/components/paper-radio-group/index.html +0 -22
- data/app/assets/components/paper-ripple/README.md +0 -4
- data/app/assets/components/paper-ripple/bower.json +0 -9
- data/app/assets/components/paper-ripple/demo.html +0 -418
- data/app/assets/components/paper-ripple/index.html +0 -22
- data/app/assets/components/paper-ripple/raw.html +0 -799
- data/app/assets/components/paper-shadow/README.md +0 -4
- data/app/assets/components/paper-shadow/bower.json +0 -7
- data/app/assets/components/paper-shadow/demo.html +0 -252
- data/app/assets/components/paper-shadow/index.html +0 -22
- data/app/assets/components/paper-slider/README.md +0 -4
- data/app/assets/components/paper-slider/bower.json +0 -9
- data/app/assets/components/paper-slider/demo.html +0 -151
- data/app/assets/components/paper-slider/index.html +0 -22
- data/app/assets/components/paper-tabs/README.md +0 -4
- data/app/assets/components/paper-tabs/bower.json +0 -12
- data/app/assets/components/paper-tabs/demo.html +0 -166
- data/app/assets/components/paper-tabs/index.html +0 -22
- data/app/assets/components/paper-toast/README.md +0 -4
- data/app/assets/components/paper-toast/bower.json +0 -10
- data/app/assets/components/paper-toast/demo.html +0 -67
- data/app/assets/components/paper-toast/index.html +0 -22
- data/app/assets/components/paper-toggle-button/README.md +0 -4
- data/app/assets/components/paper-toggle-button/bower.json +0 -8
- data/app/assets/components/paper-toggle-button/demo.html +0 -77
- data/app/assets/components/paper-toggle-button/index.html +0 -22
- data/app/assets/components/platform/README.md +0 -6
- data/app/assets/components/platform/bower.json +0 -16
- data/app/assets/components/platform/build.log +0 -35
- data/app/assets/components/platform/platform.js.map +0 -1
- data/app/assets/components/polymer/README.md +0 -17
- data/app/assets/components/polymer/bower.json +0 -8
- data/app/assets/components/polymer/build.log +0 -35
- data/app/assets/components/polymer/layout.html +0 -286
- data/app/assets/components/polymer/polymer.js +0 -14
- data/app/assets/components/polymer/polymer.js.map +0 -1
- data/app/assets/components/sampler-scaffold/README.md +0 -4
- data/app/assets/components/sampler-scaffold/bower.json +0 -12
- data/app/assets/components/sampler-scaffold/demo.html +0 -54
- data/app/assets/components/sampler-scaffold/demos/checkbox.html +0 -20
- data/app/assets/components/sampler-scaffold/demos/color.html +0 -20
- data/app/assets/components/sampler-scaffold/demos/radio.html +0 -20
- data/app/assets/components/sampler-scaffold/demos/range.html +0 -20
- data/app/assets/components/sampler-scaffold/demos/string.html +0 -20
- data/app/assets/components/sampler-scaffold/index.html +0 -22
- data/app/assets/components/web-animations-js/COPYING +0 -202
- data/app/assets/components/web-animations-js/README.md +0 -237
- data/app/assets/components/web-animations-js/run-lint.sh +0 -19
- data/app/assets/components/web-animations-js/run-tests-android.sh +0 -25
- data/app/assets/components/web-animations-js/run-tests.sh +0 -15
- data/app/assets/components/web-animations-js/test/bootstrap.js +0 -1266
- data/app/assets/components/web-animations-js/test/img/error.png +0 -0
- data/app/assets/components/web-animations-js/test/img/success.png +0 -0
- data/app/assets/components/web-animations-js/test/img/unknown.png +0 -0
- data/app/assets/components/web-animations-js/test/perf/balls-add-compositing.html +0 -147
- data/app/assets/components/web-animations-js/test/perf/balls-replace-compositing.html +0 -144
- data/app/assets/components/web-animations-js/test/perf/perf.js +0 -158
- data/app/assets/components/web-animations-js/test/perf/updating-inline-style-during-animation.html +0 -165
- data/app/assets/components/web-animations-js/test/test-generator.html +0 -240
- data/app/assets/components/web-animations-js/test/test-results-post.html +0 -3
- data/app/assets/components/web-animations-js/test/test-runner.html +0 -810
- data/app/assets/components/web-animations-js/test/testcases.js +0 -93
- data/app/assets/components/web-animations-js/test/testcases/auto-test-box-shadow-checks.js +0 -42
- data/app/assets/components/web-animations-js/test/testcases/auto-test-box-shadow.html +0 -40
- data/app/assets/components/web-animations-js/test/testcases/auto-test-calc-checks.js +0 -41
- data/app/assets/components/web-animations-js/test/testcases/auto-test-calc.html +0 -156
- data/app/assets/components/web-animations-js/test/testcases/auto-test-change-playback-rate-checks.js +0 -23
- data/app/assets/components/web-animations-js/test/testcases/auto-test-circular-path-checks.js +0 -65
- data/app/assets/components/web-animations-js/test/testcases/auto-test-circular-path.html +0 -83
- data/app/assets/components/web-animations-js/test/testcases/auto-test-color-checks.js +0 -101
- data/app/assets/components/web-animations-js/test/testcases/auto-test-color-names-checks.js +0 -431
- data/app/assets/components/web-animations-js/test/testcases/auto-test-color-names.html +0 -204
- data/app/assets/components/web-animations-js/test/testcases/auto-test-color.html +0 -117
- data/app/assets/components/web-animations-js/test/testcases/auto-test-composite-transforms-checks.js +0 -45
- data/app/assets/components/web-animations-js/test/testcases/auto-test-composite-transforms.html +0 -97
- data/app/assets/components/web-animations-js/test/testcases/auto-test-compositor-checks.js +0 -26
- data/app/assets/components/web-animations-js/test/testcases/auto-test-compositor.html +0 -68
- data/app/assets/components/web-animations-js/test/testcases/auto-test-delay-checks.js +0 -92
- data/app/assets/components/web-animations-js/test/testcases/auto-test-delay.html +0 -39
- data/app/assets/components/web-animations-js/test/testcases/auto-test-element-animate-checks.js +0 -8
- data/app/assets/components/web-animations-js/test/testcases/auto-test-element-animate.html +0 -30
- data/app/assets/components/web-animations-js/test/testcases/auto-test-fill-values-checks.js +0 -266
- data/app/assets/components/web-animations-js/test/testcases/auto-test-fill-values.html +0 -114
- data/app/assets/components/web-animations-js/test/testcases/auto-test-font-weight-checks.js +0 -26
- data/app/assets/components/web-animations-js/test/testcases/auto-test-font-weight.html +0 -43
- data/app/assets/components/web-animations-js/test/testcases/auto-test-initial-checks.js +0 -74
- data/app/assets/components/web-animations-js/test/testcases/auto-test-initial.html +0 -242
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-checks.js +0 -17
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-fallback-checks.js +0 -17
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-fallback.html +0 -78
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-methods-checks.js +0 -17
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-methods.html +0 -70
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style.html +0 -69
- data/app/assets/components/web-animations-js/test/testcases/auto-test-integer-checks.js +0 -38
- data/app/assets/components/web-animations-js/test/testcases/auto-test-integer.html +0 -52
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iteration-start-checks.js +0 -506
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iteration-start.html +0 -160
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate-checks.js +0 -44
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate-holes-checks.js +0 -41
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate-holes.html +0 -48
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate.html +0 -50
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-basic-checks.js +0 -162
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-basic.html +0 -116
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-fill-checks.js +0 -602
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-fill.html +0 -167
- data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-creation-checks.js +0 -67
- data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-creation.html +0 -109
- data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-easing-checks.js +0 -65
- data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-easing.html +0 -64
- data/app/assets/components/web-animations-js/test/testcases/auto-test-length-units-checks.js +0 -342
- data/app/assets/components/web-animations-js/test/testcases/auto-test-length-units.html +0 -103
- data/app/assets/components/web-animations-js/test/testcases/auto-test-matrix-transforms-checks.js +0 -56
- data/app/assets/components/web-animations-js/test/testcases/auto-test-matrix-transforms.html +0 -90
- data/app/assets/components/web-animations-js/test/testcases/auto-test-motion-path-checks.js +0 -110
- data/app/assets/components/web-animations-js/test/testcases/auto-test-motion-path.html +0 -133
- data/app/assets/components/web-animations-js/test/testcases/auto-test-non-numeric-checks.js +0 -26
- data/app/assets/components/web-animations-js/test/testcases/auto-test-non-numeric.html +0 -42
- data/app/assets/components/web-animations-js/test/testcases/auto-test-parent-checks.js +0 -38
- data/app/assets/components/web-animations-js/test/testcases/auto-test-parent.html +0 -52
- data/app/assets/components/web-animations-js/test/testcases/auto-test-partial-keyframes-checks.js +0 -27
- data/app/assets/components/web-animations-js/test/testcases/auto-test-partial-keyframes.html +0 -43
- data/app/assets/components/web-animations-js/test/testcases/auto-test-path-checks.js +0 -20
- data/app/assets/components/web-animations-js/test/testcases/auto-test-path.html +0 -41
- data/app/assets/components/web-animations-js/test/testcases/auto-test-pause-checks.js +0 -79
- data/app/assets/components/web-animations-js/test/testcases/auto-test-pause.html +0 -82
- data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective-checks.js +0 -37
- data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective-origin-checks.js +0 -61
- data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective-origin.html +0 -94
- data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective.html +0 -79
- data/app/assets/components/web-animations-js/test/testcases/auto-test-playback-rate-checks.js +0 -146
- data/app/assets/components/web-animations-js/test/testcases/auto-test-playback-rate.html +0 -128
- data/app/assets/components/web-animations-js/test/testcases/auto-test-position-list-type-checks.js +0 -73
- data/app/assets/components/web-animations-js/test/testcases/auto-test-rectangle-checks.js +0 -23
- data/app/assets/components/web-animations-js/test/testcases/auto-test-rectangle.html +0 -57
- data/app/assets/components/web-animations-js/test/testcases/auto-test-reparent-checks.js +0 -95
- data/app/assets/components/web-animations-js/test/testcases/auto-test-reparent.html +0 -60
- data/app/assets/components/web-animations-js/test/testcases/auto-test-seq-speed-checks.js +0 -69
- data/app/assets/components/web-animations-js/test/testcases/auto-test-seq-speed.html +0 -86
- data/app/assets/components/web-animations-js/test/testcases/auto-test-shorthand-checks.js +0 -197
- data/app/assets/components/web-animations-js/test/testcases/auto-test-shorthand.html +0 -115
- data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time-checks.js +0 -58
- data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time-iterations-checks.js +0 -92
- data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time-iterations.html +0 -107
- data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time.html +0 -90
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-anim-checks.js +0 -23
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-anim.html +0 -39
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-circle-checks.js +0 -23
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-circle.html +0 -38
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-color-checks.js +0 -20
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-color.html +0 -36
- data/app/assets/components/web-animations-js/test/testcases/auto-test-text-shadow-checks.js +0 -20
- data/app/assets/components/web-animations-js/test/testcases/auto-test-text-shadow.html +0 -37
- data/app/assets/components/web-animations-js/test/testcases/auto-test-timing-functions-checks.js +0 -89
- data/app/assets/components/web-animations-js/test/testcases/auto-test-timing-functions.html +0 -77
- data/app/assets/components/web-animations-js/test/testcases/auto-test-to-animation-checks.js +0 -58
- data/app/assets/components/web-animations-js/test/testcases/auto-test-to-animation.html +0 -83
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-3d-checks.js +0 -134
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-3d.html +0 -123
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-functions-checks.js +0 -160
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-functions.html +0 -158
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-origin-checks.js +0 -37
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-origin.html +0 -80
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-primitives-checks.js +0 -292
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-primitives.html +0 -97
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-units-checks.js +0 -202
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-units.html +0 -98
- data/app/assets/components/web-animations-js/test/testcases/auto-test-visibility-checks.js +0 -54
- data/app/assets/components/web-animations-js/test/testcases/auto-test-visibility.html +0 -80
- data/app/assets/components/web-animations-js/test/testcases/auto-test-wrapping-bug-checks.js +0 -58
- data/app/assets/components/web-animations-js/test/testcases/auto-test-wrapping-bug.html +0 -60
- data/app/assets/components/web-animations-js/test/testcases/background.png +0 -0
- data/app/assets/components/web-animations-js/test/testcases/disabled-auto-test-change-playback-rate.html +0 -65
- data/app/assets/components/web-animations-js/test/testcases/disabled-auto-test-position-list-type.html +0 -103
- data/app/assets/components/web-animations-js/test/testcases/disabled-media.html +0 -439
- data/app/assets/components/web-animations-js/test/testcases/disabled-test-compositing-order.html +0 -112
- data/app/assets/components/web-animations-js/test/testcases/impl-test-deprecation.html +0 -85
- data/app/assets/components/web-animations-js/test/testcases/impl-test-from-css-value.html +0 -219
- data/app/assets/components/web-animations-js/test/testcases/impl-test-paced-timing-function.html +0 -83
- data/app/assets/components/web-animations-js/test/testcases/impl-test-totimelinetime.html +0 -37
- data/app/assets/components/web-animations-js/test/testcases/impl-unit-test-position-type.html +0 -256
- data/app/assets/components/web-animations-js/test/testcases/manual-test-add-player-onend.html +0 -57
- data/app/assets/components/web-animations-js/test/testcases/manual-test-preset-timings.html +0 -71
- data/app/assets/components/web-animations-js/test/testcases/manual-test-step.html +0 -88
- data/app/assets/components/web-animations-js/test/testcases/small.mp4 +0 -0
- data/app/assets/components/web-animations-js/test/testcases/small.webm +0 -0
- data/app/assets/components/web-animations-js/test/testcases/test-bounds.html +0 -69
- data/app/assets/components/web-animations-js/test/testcases/test-document-timeline.html +0 -53
- data/app/assets/components/web-animations-js/test/testcases/test-dynamic-load.html +0 -65
- data/app/assets/components/web-animations-js/test/testcases/test-fill-auto.html +0 -78
- data/app/assets/components/web-animations-js/test/testcases/test-getcurrent.html +0 -324
- data/app/assets/components/web-animations-js/test/testcases/test-keyframe-animation-effect.html +0 -248
- data/app/assets/components/web-animations-js/test/testcases/test-keyframe-composite-operation.html +0 -182
- data/app/assets/components/web-animations-js/test/testcases/test-null-target.html +0 -66
- data/app/assets/components/web-animations-js/test/testcases/test-pause-for-testing.html +0 -52
- data/app/assets/components/web-animations-js/test/testcases/test-player-addeventlistener.html +0 -161
- data/app/assets/components/web-animations-js/test/testcases/test-player-cleanup.html +0 -79
- data/app/assets/components/web-animations-js/test/testcases/test-player-finish-event.html +0 -101
- data/app/assets/components/web-animations-js/test/testcases/test-player-sort.html +0 -48
- data/app/assets/components/web-animations-js/test/testcases/test-player.html +0 -786
- data/app/assets/components/web-animations-js/test/testcases/test-pseudo-element-reference.html +0 -38
- data/app/assets/components/web-animations-js/test/testcases/test-repeated-pause.html +0 -54
- data/app/assets/components/web-animations-js/test/testcases/test-restart.html +0 -115
- data/app/assets/components/web-animations-js/test/testcases/test-reversed-player-active-phase.html +0 -28
- data/app/assets/components/web-animations-js/test/testcases/test-rotation-not-reversed.html +0 -55
- data/app/assets/components/web-animations-js/test/testcases/test-update-state.html +0 -113
- data/app/assets/components/web-animations-js/test/testcases/unit-test-clone.html +0 -80
- data/app/assets/components/web-animations-js/test/testcases/unit-test-delay.html +0 -66
- data/app/assets/components/web-animations-js/test/testcases/unit-test-dom-operations.html +0 -164
- data/app/assets/components/web-animations-js/test/testcases/unit-test-duration.html +0 -66
- data/app/assets/components/web-animations-js/test/testcases/unit-test-get-siblings.html +0 -112
- data/app/assets/components/web-animations-js/test/testcases/unit-test-modify-timing-params.html +0 -105
- data/app/assets/components/web-animations-js/test/testcases/unit-test-null-effect.html +0 -43
- data/app/assets/components/web-animations-js/test/testcases/unit-test-set-parent.html +0 -111
- data/app/assets/components/web-animations-js/test/testcases/unit-test-testharness-failure.html +0 -54
- data/app/assets/components/web-animations-js/test/testcases/unit-test-testharness.html +0 -248
- data/app/assets/components/web-animations-js/test/testcases/unit-test-unpause.html +0 -68
- data/app/assets/components/web-animations-js/test/testharness_timing.css +0 -75
- data/app/assets/components/web-animations-js/test/update-testcases.py +0 -63
- data/app/assets/components/web-animations-js/tools/android/config.sh +0 -8
- data/app/assets/components/web-animations-js/tools/android/setup.sh +0 -152
- data/app/assets/components/web-animations-js/tools/android/stop.sh +0 -20
- data/app/assets/components/web-animations-js/tools/python/requirements.txt +0 -12
- data/app/assets/components/web-animations-js/tools/python/run-tests.py +0 -813
- data/app/assets/components/web-animations-js/tools/python/setup.sh +0 -60
- data/app/assets/components/web-animations-js/tutorial/basic-animations/basic-animation-exercise-1.html +0 -62
- data/app/assets/components/web-animations-js/tutorial/basic-animations/basic-animation.html +0 -120
- data/app/assets/components/web-animations-js/tutorial/iframe-contents.html +0 -29
- data/app/assets/components/web-animations-js/tutorial/jquery.js +0 -9555
- data/app/assets/components/web-animations-js/tutorial/page-load.js +0 -114
- data/app/assets/components/web-animations-js/tutorial/parallel/parallel-exercise-1.html +0 -58
- data/app/assets/components/web-animations-js/tutorial/parallel/parallel.html +0 -101
- data/app/assets/components/web-animations-js/tutorial/sample-tutorial.html +0 -44
- data/app/assets/components/web-animations-js/tutorial/try-it-yourself.js +0 -216
- data/app/assets/components/web-animations-js/tutorial/tutorial-style.css +0 -344
- data/app/assets/components/web-animations-js/tutorial/tutorial-testing.js +0 -84
@@ -9,12 +9,15 @@
|
|
9
9
|
-->
|
10
10
|
<x-meta id="core-input" label="Input" group="Core" isEditor>
|
11
11
|
|
12
|
+
<property name="value"></property>
|
13
|
+
<property name="placeholder"></property>
|
14
|
+
|
12
15
|
<template>
|
13
|
-
<core-input placeholder="
|
16
|
+
<input is="core-input" placeholder="type something..." style="padding: 15px;">
|
14
17
|
</template>
|
15
|
-
|
18
|
+
|
16
19
|
<template id="imports">
|
17
20
|
<link rel="import" href="core-input.html">
|
18
21
|
</template>
|
19
|
-
|
22
|
+
|
20
23
|
</x-meta>
|
@@ -7,32 +7,33 @@ Code distributed by Google as part of the polymer project is also
|
|
7
7
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
8
8
|
*/
|
9
9
|
|
10
|
-
|
10
|
+
:host {
|
11
11
|
display: block;
|
12
12
|
position: relative;
|
13
13
|
min-height: 40px;
|
14
14
|
white-space: nowrap;
|
15
15
|
}
|
16
16
|
|
17
|
-
|
17
|
+
:host(.font-scalable) {
|
18
18
|
min-height: 2.5em;
|
19
19
|
}
|
20
20
|
|
21
|
-
|
21
|
+
:host(.core-selected) {
|
22
22
|
font-weight: bold;
|
23
23
|
}
|
24
24
|
|
25
|
-
|
25
|
+
#icon {
|
26
26
|
margin: 0 16px 0 4px;
|
27
27
|
}
|
28
28
|
|
29
|
-
|
29
|
+
:host(.font-scalable) #icon {
|
30
30
|
margin: 0 1em 0 0.25em;
|
31
31
|
height: 1.5em;
|
32
32
|
width: 1.5em;
|
33
33
|
}
|
34
34
|
|
35
|
-
|
35
|
+
polyfill-next-selector { content: ':host > a'; }
|
36
|
+
::content > a {
|
36
37
|
position: absolute;
|
37
38
|
top: 0;
|
38
39
|
right: 0;
|
@@ -30,15 +30,14 @@ Example:
|
|
30
30
|
|
31
31
|
<link rel="import" href="../core-icon/core-icon.html">
|
32
32
|
|
33
|
-
<link rel="stylesheet" href="core-item.css" shim-shadowdom>
|
34
|
-
|
35
33
|
<polymer-element name="core-item" attributes="label icon src" horizontal center layout>
|
36
34
|
<template>
|
37
|
-
|
38
|
-
<
|
35
|
+
<link rel="stylesheet" href="core-item.css">
|
36
|
+
<template if="{{icon || src}}">
|
37
|
+
<core-icon src="{{src}}" id="icon" icon="{{icon}}" hidden?="{{!src && !icon}}"></core-icon>
|
38
|
+
</template>
|
39
39
|
<div id="label">{{label}}</div>
|
40
40
|
<content></content>
|
41
|
-
|
42
41
|
</template>
|
43
42
|
<script>
|
44
43
|
|
@@ -0,0 +1,124 @@
|
|
1
|
+
<!--
|
2
|
+
@license
|
3
|
+
Copyright (c) 2014 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
|
+
<!--
|
12
|
+
`<core-label>` provides a version of the `<label>` element that works with Custom Elements as well as native elements.
|
13
|
+
|
14
|
+
All text in the `core-label` will be applied to the target element as a screen-reader accessible description.
|
15
|
+
|
16
|
+
There are two ways to use `core-label` to target an element:
|
17
|
+
|
18
|
+
1. place an element inside core-label with the `for` attribute:
|
19
|
+
|
20
|
+
<core-label>
|
21
|
+
Context for the Button
|
22
|
+
<paper-button for>button</paper-button>
|
23
|
+
</core-label>
|
24
|
+
|
25
|
+
2. Set the `for` attribute on the `core-label` element to point to a target element in the same scope with a query
|
26
|
+
string:
|
27
|
+
|
28
|
+
<core-label for=".foo">
|
29
|
+
Context for the button witht the "foo" class"
|
30
|
+
</core-label>
|
31
|
+
<paper-button class="foo">Far away button</paper-button>
|
32
|
+
|
33
|
+
All taps on the `core-label` will be forwarded to the "target" element.
|
34
|
+
|
35
|
+
@group Core Elements
|
36
|
+
@element core-label
|
37
|
+
@homepage github.io
|
38
|
+
-->
|
39
|
+
|
40
|
+
<link rel="import" href="../polymer/polymer.html">
|
41
|
+
|
42
|
+
<!-- Native <label> has cursor: default -->
|
43
|
+
<style>
|
44
|
+
html /deep/ core-label {
|
45
|
+
cursor: default;
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
|
49
|
+
<polymer-element name="core-label">
|
50
|
+
<script>
|
51
|
+
(function() {
|
52
|
+
|
53
|
+
var ID = 0;
|
54
|
+
function generate(node) {
|
55
|
+
if (!node.id) {
|
56
|
+
node.id = 'core-label-' + ID++;
|
57
|
+
}
|
58
|
+
return node.id;
|
59
|
+
}
|
60
|
+
|
61
|
+
Polymer('core-label', {
|
62
|
+
/**
|
63
|
+
* A query selector string for a "target" element not nested in the `<core-label>`
|
64
|
+
*
|
65
|
+
* @attribute for
|
66
|
+
* @type string
|
67
|
+
* @default ''
|
68
|
+
*/
|
69
|
+
publish: {
|
70
|
+
'for': {reflect: true, value: ''}
|
71
|
+
},
|
72
|
+
eventDelegates: {
|
73
|
+
'tap': 'tapHandler'
|
74
|
+
},
|
75
|
+
created: function() {
|
76
|
+
generate(this);
|
77
|
+
this._forElement = null;
|
78
|
+
},
|
79
|
+
ready: function() {
|
80
|
+
if (!this.for) {
|
81
|
+
this._forElement = this.querySelector('[for]');
|
82
|
+
this._tie();
|
83
|
+
}
|
84
|
+
},
|
85
|
+
tapHandler: function(ev) {
|
86
|
+
if (!this._forElement) {
|
87
|
+
return;
|
88
|
+
}
|
89
|
+
if (ev.target === this._forElement) {
|
90
|
+
return;
|
91
|
+
}
|
92
|
+
this._forElement.focus();
|
93
|
+
this._forElement.click();
|
94
|
+
this.fire('tap', null, this._forElement);
|
95
|
+
},
|
96
|
+
_tie: function() {
|
97
|
+
if (this._forElement) {
|
98
|
+
this._forElement.setAttribute('aria-labelledby', this.id);
|
99
|
+
}
|
100
|
+
},
|
101
|
+
_findScope: function() {
|
102
|
+
var n = this.parentNode;
|
103
|
+
while(n && n.parentNode) {
|
104
|
+
n = n.parentNode;
|
105
|
+
}
|
106
|
+
return n;
|
107
|
+
},
|
108
|
+
forChanged: function(oldFor, newFor) {
|
109
|
+
if (this._forElement) {
|
110
|
+
this._forElement.removeAttribute('aria-labelledby');
|
111
|
+
}
|
112
|
+
var scope = this._findScope();
|
113
|
+
if (!scope) {
|
114
|
+
return;
|
115
|
+
}
|
116
|
+
this._forElement = scope.querySelector(newFor);
|
117
|
+
if (this._forElement) {
|
118
|
+
this._tie();
|
119
|
+
}
|
120
|
+
}
|
121
|
+
});
|
122
|
+
})();
|
123
|
+
</script>
|
124
|
+
</polymer-element>
|
@@ -7,12 +7,12 @@ Code distributed by Google as part of the polymer project is also
|
|
7
7
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
8
8
|
*/
|
9
9
|
|
10
|
-
|
10
|
+
:host {
|
11
11
|
display: block;
|
12
12
|
margin: 12px;
|
13
13
|
}
|
14
14
|
|
15
|
-
polyfill-next-selector { content: '
|
16
|
-
|
15
|
+
polyfill-next-selector { content: ':host > core-item'; }
|
16
|
+
::content > core-item {
|
17
17
|
cursor: default;
|
18
18
|
}
|
@@ -57,6 +57,12 @@ The `core-select` event signals selection change.
|
|
57
57
|
|
58
58
|
<link rel="import" href="../core-selector/core-selector.html">
|
59
59
|
|
60
|
-
<
|
60
|
+
<polymer-element name="core-menu" extends="core-selector" noscript>
|
61
|
+
<template>
|
61
62
|
|
62
|
-
<
|
63
|
+
<link rel="stylesheet" href="core-menu.css">
|
64
|
+
|
65
|
+
<shadow></shadow>
|
66
|
+
|
67
|
+
</template>
|
68
|
+
</polymer-element>
|
@@ -24,6 +24,20 @@ core-item {
|
|
24
24
|
cursor: default;
|
25
25
|
}
|
26
26
|
|
27
|
+
:host(.font-scalable) > core-item {
|
28
|
+
min-height: 2.5em;
|
29
|
+
}
|
30
|
+
|
31
|
+
:host(.font-scalable) > core-item::shadow core-icon {
|
32
|
+
margin: 0 1em 0 0.25em;
|
33
|
+
height: 1.5em;
|
34
|
+
width: 1.5em;
|
35
|
+
}
|
36
|
+
|
27
37
|
#submenu {
|
28
38
|
margin: 0 0 0 44px;
|
29
39
|
}
|
40
|
+
|
41
|
+
:host(.font-scalable) > #submenu {
|
42
|
+
margin: 0 0 0 2.75em;
|
43
|
+
}
|
@@ -32,6 +32,26 @@ You can override the margin by doing:
|
|
32
32
|
margin-left: 20px;
|
33
33
|
}
|
34
34
|
|
35
|
+
To style the item for the submenu, do something like this:
|
36
|
+
|
37
|
+
core-submenu::shadow > #submenuItem {
|
38
|
+
color: blue;
|
39
|
+
}
|
40
|
+
|
41
|
+
To style all the `core-item`s in the light DOM:
|
42
|
+
|
43
|
+
polyfill-next-selector { content: 'core-submenu > #submenu > core-item'; }
|
44
|
+
core-submenu > core-item {
|
45
|
+
color: red;
|
46
|
+
}
|
47
|
+
|
48
|
+
The above will style `Topic1` and `Topic2` to have font color red.
|
49
|
+
|
50
|
+
<core-submenu icon="settings" label="Topics">
|
51
|
+
<core-item label="Topic1"></core-item>
|
52
|
+
<core-item label="Topic2"></core-item>
|
53
|
+
</core-submenu>
|
54
|
+
|
35
55
|
@group Polymer Core Elements
|
36
56
|
@element core-submenu
|
37
57
|
@extends core-item
|
@@ -46,7 +66,7 @@ You can override the margin by doing:
|
|
46
66
|
|
47
67
|
<link rel="stylesheet" href="core-submenu.css">
|
48
68
|
|
49
|
-
<core-item src="{{src}}" label="{{label}}" icon="{{icon}}" class="{{ {'core-selected' : active} | tokenList}}" on-tap="{{activate}}">
|
69
|
+
<core-item id="submenuItem" src="{{src}}" label="{{label}}" icon="{{icon}}" class="{{ {'core-selected' : active} | tokenList}}" on-tap="{{activate}}">
|
50
70
|
<content select=".item-content"></content>
|
51
71
|
</core-item>
|
52
72
|
|
@@ -6,6 +6,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
6
6
|
Code distributed by Google as part of the polymer project is also
|
7
7
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
8
8
|
-->
|
9
|
+
<link rel="import" href="../polymer/polymer.html">
|
9
10
|
|
10
11
|
<polymer-element name="core-overlay-layer">
|
11
12
|
<template>
|
@@ -48,10 +48,15 @@ presses the escape key. This behavior can be turned off via the
|
|
48
48
|
</core-overlay>
|
49
49
|
|
50
50
|
`core-overlay` will automatically size and position itself according to the
|
51
|
-
following rules.
|
52
|
-
|
53
|
-
|
54
|
-
|
51
|
+
following rules. The overlay's size is constrained such that it does not
|
52
|
+
overflow the screen. This is done by setting maxHeight/maxWidth on the
|
53
|
+
`sizingTarget`. If the `sizingTarget` already has a setting for one of these
|
54
|
+
properties, it will not be overridden. The overlay should
|
55
|
+
be positioned via css or imperatively using the `core-overlay-position` event.
|
56
|
+
If the overlay is not positioned vertically via setting `top` or `bottom`, it
|
57
|
+
will be centered vertically. The same is true horizontally via a setting to
|
58
|
+
`left` or `right`. In addition, css `margin` can be used to provide some space
|
59
|
+
around the overlay. This can be used to ensure
|
55
60
|
that, for example, a drop shadow is always visible around the overlay.
|
56
61
|
|
57
62
|
@group Core Elements
|
@@ -75,6 +80,20 @@ Fired when the `core-overlay` has completely closed.
|
|
75
80
|
|
76
81
|
@event core-overlay-close-completed
|
77
82
|
-->
|
83
|
+
<!--
|
84
|
+
Fired when the `core-overlay` needs to position itself. Optionally, implement
|
85
|
+
in order to position an overlay via code. If the overlay was not otherwise
|
86
|
+
positioned, it's important to indicate how the overlay has been positioned by
|
87
|
+
setting the `dimensions.position` object. For example, if the overlay has been
|
88
|
+
positioned via setting `right` and `top`, set dimensions.position to an
|
89
|
+
object like this: `{v: 'top', h: 'right'}`.
|
90
|
+
|
91
|
+
@event core-overlay-position
|
92
|
+
@param {Object} detail
|
93
|
+
@param {Object} detail.target the overlay target
|
94
|
+
@param {Object} detail.sizingTarget the overlay sizing target
|
95
|
+
@param {Object} detail.opened the opened state
|
96
|
+
-->
|
78
97
|
<style>
|
79
98
|
.core-overlay-backdrop {
|
80
99
|
position: fixed;
|
@@ -165,6 +184,16 @@ Fired when the `core-overlay` has completely closed.
|
|
165
184
|
*/
|
166
185
|
autoCloseDisabled: false,
|
167
186
|
|
187
|
+
/**
|
188
|
+
* By default an overlay will focus its target or an element inside
|
189
|
+
* it with the `autoFocus` attribute. Disable this
|
190
|
+
* behavior by setting the `autoFocusDisabled` property to true.
|
191
|
+
* @attribute autoFocusDisabled
|
192
|
+
* @type boolean
|
193
|
+
* @default false
|
194
|
+
*/
|
195
|
+
autoFocusDisabled: false,
|
196
|
+
|
168
197
|
/**
|
169
198
|
* This property specifies an attribute on elements that should
|
170
199
|
* close the overlay on tap. Should not set `closeSelector` if this
|
@@ -187,18 +216,6 @@ Fired when the `core-overlay` has completely closed.
|
|
187
216
|
*/
|
188
217
|
closeSelector: '',
|
189
218
|
|
190
|
-
/**
|
191
|
-
* A `core-overlay` target's size is constrained to the window size.
|
192
|
-
* The `margin` property specifies a pixel amount around the overlay
|
193
|
-
* that will be reserved. It's useful for ensuring that, for example,
|
194
|
-
* a shadow displayed outside the target will always be visible.
|
195
|
-
*
|
196
|
-
* @attribute margin
|
197
|
-
* @type number
|
198
|
-
* @default 0
|
199
|
-
*/
|
200
|
-
margin: 0,
|
201
|
-
|
202
219
|
/**
|
203
220
|
* The transition property specifies a string which identifies a
|
204
221
|
* <a href="../core-transition/">`core-transition`</a> element that
|
@@ -231,7 +248,7 @@ Fired when the `core-overlay` has completely closed.
|
|
231
248
|
ready: function() {
|
232
249
|
this.target = this.target || this;
|
233
250
|
// flush to ensure styles are installed before paint
|
234
|
-
|
251
|
+
Polymer.flush();
|
235
252
|
},
|
236
253
|
|
237
254
|
/**
|
@@ -272,6 +289,7 @@ Fired when the `core-overlay` has completely closed.
|
|
272
289
|
}
|
273
290
|
this.addElementListenerList(this.target, this.targetListeners);
|
274
291
|
this.target.style.display = 'none';
|
292
|
+
this.target.__overlaySetup = false;
|
275
293
|
}
|
276
294
|
if (old) {
|
277
295
|
this.removeElementListenerList(old, this.targetListeners);
|
@@ -286,41 +304,50 @@ Fired when the `core-overlay` has completely closed.
|
|
286
304
|
}
|
287
305
|
},
|
288
306
|
|
307
|
+
transitionChanged: function(old) {
|
308
|
+
if (!this.target) {
|
309
|
+
return;
|
310
|
+
}
|
311
|
+
if (old) {
|
312
|
+
this.getTransition(old).teardown(this.target);
|
313
|
+
}
|
314
|
+
this.target.__overlaySetup = false;
|
315
|
+
},
|
316
|
+
|
289
317
|
// NOTE: wait to call this until we're as sure as possible that target
|
290
318
|
// is styled.
|
291
319
|
ensureTargetSetup: function() {
|
292
320
|
if (!this.target || this.target.__overlaySetup) {
|
293
321
|
return;
|
294
322
|
}
|
323
|
+
if (!this.sizingTarget) {
|
324
|
+
this.sizingTarget = this.target;
|
325
|
+
}
|
295
326
|
this.target.__overlaySetup = true;
|
296
327
|
this.target.style.display = '';
|
297
328
|
var transition = this.getTransition();
|
298
329
|
if (transition) {
|
299
330
|
transition.setup(this.target);
|
300
331
|
}
|
332
|
+
var style = this.target.style;
|
301
333
|
var computed = getComputedStyle(this.target);
|
302
|
-
|
303
|
-
|
304
|
-
computed.position
|
305
|
-
}
|
306
|
-
if (!transition) {
|
307
|
-
this.target.style.position = this.targetStyle.position;
|
308
|
-
this.target.style.outline = 'none';
|
334
|
+
if (computed.position === 'static') {
|
335
|
+
style.position = 'fixed';
|
309
336
|
}
|
310
|
-
|
337
|
+
style.outline = 'none';
|
338
|
+
style.display = 'none';
|
311
339
|
},
|
312
340
|
|
313
341
|
openedChanged: function() {
|
314
342
|
this.transitioning = true;
|
315
343
|
this.ensureTargetSetup();
|
316
344
|
this.prepareRenderOpened();
|
317
|
-
//
|
318
|
-
// without aborting transitions
|
319
|
-
// note: we wait a full frame so that transition changes executed
|
320
|
-
// during measuring do not cause transition
|
345
|
+
// async here to allow overlay layer to become visible.
|
321
346
|
this.async(function() {
|
322
347
|
this.target.style.display = '';
|
323
|
-
|
348
|
+
// force layout to ensure transitions will go
|
349
|
+
this.target.offsetWidth;
|
350
|
+
this.renderOpened();
|
324
351
|
});
|
325
352
|
this.fire('core-overlay-open', this.opened);
|
326
353
|
},
|
@@ -342,20 +369,14 @@ Fired when the `core-overlay` has completely closed.
|
|
342
369
|
'resizeHandler');
|
343
370
|
|
344
371
|
if (this.opened) {
|
345
|
-
//
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
var l = (computed.left === 'auto' && computed.right === 'auto');
|
352
|
-
this.target.style.position = this.targetStyle.position;
|
353
|
-
this._shouldPosition = {top: t, left: l};
|
354
|
-
}
|
355
|
-
// if we are showing, then take care when measuring
|
356
|
-
this.prepareMeasure(this.target);
|
372
|
+
// force layout so SD Polyfill renders
|
373
|
+
this.target.offsetHeight;
|
374
|
+
this.discoverDimensions();
|
375
|
+
// if we are showing, then take care when positioning
|
376
|
+
this.preparePositioning();
|
377
|
+
this.positionTarget();
|
357
378
|
this.updateTargetDimensions();
|
358
|
-
this.
|
379
|
+
this.finishPositioning();
|
359
380
|
if (this.layered) {
|
360
381
|
this.layer.addElement(this.target);
|
361
382
|
this.layer.opened = this.opened;
|
@@ -424,20 +445,49 @@ Fired when the `core-overlay` has completely closed.
|
|
424
445
|
}
|
425
446
|
},
|
426
447
|
|
427
|
-
|
428
|
-
target.style.transition = target.style.webkitTransition = 'none';
|
429
|
-
target.style.transform = target.style.webkitTransform = 'none';
|
430
|
-
target.style.display = '';
|
448
|
+
preparePositioning: function() {
|
449
|
+
this.target.style.transition = this.target.style.webkitTransition = 'none';
|
450
|
+
this.target.style.transform = this.target.style.webkitTransform = 'none';
|
451
|
+
this.target.style.display = '';
|
452
|
+
},
|
453
|
+
|
454
|
+
discoverDimensions: function() {
|
455
|
+
if (this.dimensions) {
|
456
|
+
return;
|
457
|
+
}
|
458
|
+
var target = getComputedStyle(this.target);
|
459
|
+
var sizer = getComputedStyle(this.sizingTarget);
|
460
|
+
this.dimensions = {
|
461
|
+
position: {
|
462
|
+
v: target.top !== 'auto' ? 'top' : (target.bottom !== 'auto' ?
|
463
|
+
'bottom' : null),
|
464
|
+
h: target.left !== 'auto' ? 'left' : (target.right !== 'auto' ?
|
465
|
+
'right' : null),
|
466
|
+
css: target.position
|
467
|
+
},
|
468
|
+
size: {
|
469
|
+
v: sizer.maxHeight !== 'none',
|
470
|
+
h: sizer.maxWidth !== 'none'
|
471
|
+
},
|
472
|
+
margin: {
|
473
|
+
top: parseInt(target.marginTop) || 0,
|
474
|
+
right: parseInt(target.marginRight) || 0,
|
475
|
+
bottom: parseInt(target.marginBottom) || 0,
|
476
|
+
left: parseInt(target.marginLeft) || 0
|
477
|
+
}
|
478
|
+
};
|
431
479
|
},
|
432
480
|
|
433
|
-
|
434
|
-
target.style.display = 'none';
|
435
|
-
target.style.transform = target.style.webkitTransform = '';
|
436
|
-
|
481
|
+
finishPositioning: function(target) {
|
482
|
+
this.target.style.display = 'none';
|
483
|
+
this.target.style.transform = this.target.style.webkitTransform = '';
|
484
|
+
// force layout to avoid application of transform
|
485
|
+
this.target.offsetWidth;
|
486
|
+
this.target.style.transition = this.target.style.webkitTransition = '';
|
437
487
|
},
|
438
488
|
|
439
|
-
getTransition: function() {
|
440
|
-
return this.meta.byId(this.transition);
|
489
|
+
getTransition: function(name) {
|
490
|
+
return this.meta.byId(name || this.transition);
|
441
491
|
},
|
442
492
|
|
443
493
|
getFocusNode: function() {
|
@@ -447,7 +497,9 @@ Fired when the `core-overlay` has completely closed.
|
|
447
497
|
applyFocus: function() {
|
448
498
|
var focusNode = this.getFocusNode();
|
449
499
|
if (this.opened) {
|
450
|
-
|
500
|
+
if (!this.autoFocusDisabled) {
|
501
|
+
focusNode.focus();
|
502
|
+
}
|
451
503
|
} else {
|
452
504
|
focusNode.blur();
|
453
505
|
if (currentOverlay() == this) {
|
@@ -458,49 +510,76 @@ Fired when the `core-overlay` has completely closed.
|
|
458
510
|
}
|
459
511
|
},
|
460
512
|
|
513
|
+
positionTarget: function() {
|
514
|
+
// fire positioning event
|
515
|
+
this.fire('core-overlay-position', {target: this.target,
|
516
|
+
sizingTarget: this.sizingTarget, opened: this.opened});
|
517
|
+
if (!this.dimensions.position.v) {
|
518
|
+
this.target.style.top = '0px';
|
519
|
+
}
|
520
|
+
if (!this.dimensions.position.h) {
|
521
|
+
this.target.style.left = '0px';
|
522
|
+
}
|
523
|
+
},
|
524
|
+
|
461
525
|
updateTargetDimensions: function() {
|
462
|
-
this.positionTarget();
|
463
526
|
this.sizeTarget();
|
464
|
-
|
465
|
-
if (this.layered) {
|
466
|
-
var rect = this.target.getBoundingClientRect();
|
467
|
-
this.target.style.top = rect.top + 'px';
|
468
|
-
this.target.style.left = rect.left + 'px';
|
469
|
-
this.target.style.right = this.target.style.bottom = 'auto';
|
470
|
-
}
|
527
|
+
this.repositionTarget();
|
471
528
|
},
|
472
529
|
|
473
530
|
sizeTarget: function() {
|
474
|
-
|
475
|
-
var
|
476
|
-
var
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
531
|
+
this.sizingTarget.style.boxSizing = 'border-box';
|
532
|
+
var dims = this.dimensions;
|
533
|
+
var rect = this.target.getBoundingClientRect();
|
534
|
+
if (!dims.size.v) {
|
535
|
+
this.sizeDimension(rect, dims.position.v, 'top', 'bottom', 'Height');
|
536
|
+
}
|
537
|
+
if (!dims.size.h) {
|
538
|
+
this.sizeDimension(rect, dims.position.h, 'left', 'right', 'Width');
|
539
|
+
}
|
483
540
|
},
|
484
541
|
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
542
|
+
sizeDimension: function(rect, positionedBy, start, end, extent) {
|
543
|
+
var dims = this.dimensions;
|
544
|
+
var flip = (positionedBy === end);
|
545
|
+
var m = flip ? start : end;
|
546
|
+
var ws = window['inner' + extent];
|
547
|
+
var o = dims.margin[m] + (flip ? ws - rect[end] :
|
548
|
+
rect[start]);
|
549
|
+
var offset = 'offset' + extent;
|
550
|
+
var o2 = this.target[offset] - this.sizingTarget[offset];
|
551
|
+
this.sizingTarget.style['max' + extent] = (ws - o - o2) + 'px';
|
552
|
+
},
|
553
|
+
|
554
|
+
// vertically and horizontally center if not positioned
|
555
|
+
repositionTarget: function() {
|
556
|
+
// only center if position fixed.
|
557
|
+
if (this.dimensions.position.css !== 'fixed') {
|
558
|
+
return;
|
559
|
+
}
|
560
|
+
if (!this.dimensions.position.v) {
|
561
|
+
var t = (window.innerHeight - this.target.offsetHeight) / 2;
|
562
|
+
t -= this.dimensions.margin.top;
|
490
563
|
this.target.style.top = t + 'px';
|
491
564
|
}
|
492
|
-
|
493
|
-
|
494
|
-
|
565
|
+
|
566
|
+
if (!this.dimensions.position.h) {
|
567
|
+
var l = (window.innerWidth - this.target.offsetWidth) / 2;
|
568
|
+
l -= this.dimensions.margin.left;
|
495
569
|
this.target.style.left = l + 'px';
|
496
570
|
}
|
497
571
|
},
|
498
572
|
|
499
573
|
resetTargetDimensions: function() {
|
500
|
-
this.
|
501
|
-
|
502
|
-
|
503
|
-
|
574
|
+
if (!this.dimensions || !this.dimensions.size.v) {
|
575
|
+
this.sizingTarget.style.maxHeight = '';
|
576
|
+
this.target.style.top = '';
|
577
|
+
}
|
578
|
+
if (!this.dimensions || !this.dimensions.size.h) {
|
579
|
+
this.sizingTarget.style.maxWidth = '';
|
580
|
+
this.target.style.left = '';
|
581
|
+
}
|
582
|
+
this.dimensions = null;
|
504
583
|
},
|
505
584
|
|
506
585
|
tapHandler: function(e) {
|
@@ -593,18 +672,12 @@ Fired when the `core-overlay` has completely closed.
|
|
593
672
|
if (!this[bound]) {
|
594
673
|
this[bound] = function(e) {
|
595
674
|
method.call(self, e);
|
596
|
-
}
|
675
|
+
};
|
597
676
|
}
|
598
677
|
return this[bound];
|
599
678
|
},
|
600
679
|
});
|
601
680
|
|
602
|
-
function forcePolyfillRender(target) {
|
603
|
-
if (window.ShadowDOMPolyfill) {
|
604
|
-
target.offsetHeight;
|
605
|
-
}
|
606
|
-
}
|
607
|
-
|
608
681
|
// TODO(sorvell): This should be an element with private state so it can
|
609
682
|
// be independent of overlay.
|
610
683
|
// track overlays for z-index and focus managemant
|