Commit 0a86ccc845c0adfc26b513ce558898729c58dd9d

Authored by Luigi Serra
1 parent c844388d

graph and datalets updates

Showing 29 changed files with 1371 additions and 175 deletions
bower.json
... ... @@ -16,6 +16,7 @@
16 16 "dependencies": {
17 17 "google-map": "GoogleWebComponents/google-map#^1.0.0",
18 18 "paper-fab-transitions": "~0.1.0",
  19 + "paper-scroll-header-panel": "PolymerElements/paper-scroll-header-panel#~1.0.14",
19 20 "polymer": "Polymer/polymer#^1.0.0"
20 21 }
21 22 }
... ...
bower_components/paper-scroll-header-panel/.bower.json
1 1 {
2 2 "name": "paper-scroll-header-panel",
3 3 "description": "A header bar with scrolling behavior",
4   - "version": "1.0.8",
  4 + "version": "1.0.14",
5 5 "license": "http://polymer.github.io/LICENSE.txt",
6 6 "private": true,
7 7 "authors": "The Polymer Authors",
... ... @@ -11,20 +11,18 @@
11 11 "layout",
12 12 "responsive"
13 13 ],
14   - "main": [
15   - "paper-scroll-header-panel.html"
16   - ],
  14 + "main": "paper-scroll-header-panel.html",
17 15 "repository": {
18 16 "type": "git",
19 17 "url": "git://github.com/PolymerElements/paper-scroll-header-panel.git"
20 18 },
21 19 "dependencies": {
22 20 "polymer": "Polymer/polymer#^1.0.0",
23   - "paper-toolbar": "PolymerElements/paper-toolbar#^1.0.0",
24 21 "iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0.0"
25 22 },
26 23 "devDependencies": {
27 24 "paper-styles": "PolymerElements/paper-styles#^1.0.0",
  25 + "paper-toolbar": "PolymerElements/paper-toolbar#^1.0.0",
28 26 "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
29 27 "iron-media-query": "PolymerElements/iron-media-query#^1.0.0",
30 28 "iron-icons": "PolymerElements/iron-icons#^1.0.0",
... ... @@ -35,14 +33,16 @@
35 33 "web-component-tester": "*",
36 34 "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
37 35 },
  36 + "ignore": [],
38 37 "homepage": "https://github.com/PolymerElements/paper-scroll-header-panel",
39   - "_release": "1.0.8",
  38 + "_release": "1.0.14",
40 39 "_resolution": {
41 40 "type": "version",
42   - "tag": "v1.0.8",
43   - "commit": "e1f1823fdf6e496e6ef45340d7cd5664a6a87fc9"
  41 + "tag": "v1.0.14",
  42 + "commit": "ec62c5a1d88d4e5f0f3959586ab9633110912c92"
44 43 },
45 44 "_source": "git://github.com/PolymerElements/paper-scroll-header-panel.git",
46   - "_target": "^1.0.0",
47   - "_originalSource": "PolymerElements/paper-scroll-header-panel"
  45 + "_target": "~1.0.14",
  46 + "_originalSource": "PolymerElements/paper-scroll-header-panel",
  47 + "_direct": true
48 48 }
49 49 \ No newline at end of file
... ...
bower_components/paper-scroll-header-panel/.travis.yml 0 → 100755
  1 +language: node_js
  2 +sudo: false
  3 +before_script:
  4 + - npm install web-component-tester
  5 + - npm install bower
  6 + - 'export PATH=$PWD/node_modules/.bin:$PATH'
  7 + - bower install
  8 +env:
  9 + global:
  10 + - secure: XFAsPXpYVWqsvZ5NX0ueW63LYhGN560ZPdFbntpau2vYIiuLKwe5N5y3pjw+zE1aJ+MV/JcW7snvP9mimdBQoKj77PLFqzo6wSozaDeV8Zx7PitkztC3rByn9WDVLO8qmlWGqFfedY24Whd4YIHAbBk7V89vaIFPZToTUm0rlUKlsaBWlhViEeG9YxmHoIUXJoRwq9pZ6enFYGIbritYlvcdMnOmTN8AJXqe2hmFel1TzE+e0z67yJdzEFBfkEgGgTAmBKpwFugFyUupOq9ZeFqoD2rg05xgfmtcUv7wrJei6/XqQ5gwbRFS+1Sbjv9AsY02hKFqmToD8a+IXjnxRB2s3OQOF/GFH70RRUeeQW+VOp9jFUaiSMdTghHhj5uMqEQPT0sxvaB+si9R8+g1cYJLaKgT3HoeJtFjcaDYwKkAiFK0ZWhL84JFbxWRqvnAf3gdgK+UWrs517amVaV0cyBjyzrIPtrgACNzJyON32sZEfuLDAKtDfpHf18rfY/QLRO/D8GjB+aWSDA2FzDe7Lrdfhrfgw/fnHq9A4ohS4swBeW8IUC5imN4Eh3FqB/GjVz6q7H0cfmxMre+b0RFCK74HroFW+or/tG5K+Tw7Z51j7NwLt8YGwyfsUDzUZpQ7jUbnW3y/5HJGHov81LkQPESZP4KxWSEYTwXnWrLKk4=
  11 + - secure: xJhCDzTM2Ud1hx17cjcMDRtI0+IzrZbvY1vYK6OhX//fP1JTatIHOsXvBVFYfHCdutib6zkKaLTi8AF3oBYdZd7BF1c8Pfv1woZtML5hKb9Ti5VdGsino8Hr0IrInCQaqE+VM+C0Jn9xbsYYMCIMvI77L8kM6HY6Qno8S3Iw99mnxZxWIOKlcwCANlOPGNxOQ3wwJITYStSniBWIwS+51yjlWL1KOhRFWi3m8tFa/eGd4dO13jUb00GPRSluzGXevhtXX78niOB53a6GLT1uObx+zsStvDJeH6HEaXzamvQFMIPtwTCIPlM90AYCaktcgrIfJeRzjG8TOsWz/DuISsRKuuZ5N+yUKp8etD1YzgR3CqQq/NqeNp8TgsKwmifLFiOv75kCvKSvDpRvNjeimwW7jI+EzM0VKewdpJGSMywhHCWTEk3qZ0Vajma6OQcV7FjpwUfheSAAs4j6vYy4/EsKcfAQ9S9eEM85yOlM2NdoNgoQsxUNSM0z01wpxP5c70bgsA3eZRSXIdPXXrd4AuyMzN/o9gkxiTSeWASE4r+OqIJfoXDXYbIH+FtGBgJAE1oPbFDolXC6HNb3C2VwsMrEJP5FMHeqy5FNqLiy0cyl4GfxzNFQz/mIPA/QOpZ80UFIfOl8ptPn2tDloV4mO9TRiE0eXHbr4UOoVH677ew=
  12 +node_js: 4
  13 +addons:
  14 + firefox: latest
  15 + apt:
  16 + sources:
  17 + - google-chrome
  18 + packages:
  19 + - google-chrome-stable
  20 +script:
  21 + - xvfb-run wct
  22 + - "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct -s 'default'; fi"
... ...
bower_components/paper-scroll-header-panel/CONTRIBUTING.md 0 → 100755
  1 +
  2 +<!--
  3 +This file is autogenerated based on
  4 +https://github.com/PolymerElements/ContributionGuide/blob/master/CONTRIBUTING.md
  5 +
  6 +If you edit that file, it will get updated everywhere else.
  7 +If you edit this file, your changes will get overridden :)
  8 +-->
  9 +# Polymer Elements
  10 +## Guide for Contributors
  11 +
  12 +Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines:
  13 +
  14 +### Filing Issues
  15 +
  16 +**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions:
  17 +
  18 + 1. **Who will use the feature?** _“As someone filling out a form…”_
  19 + 2. **When will they use the feature?** _“When I enter an invalid value…”_
  20 + 3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_
  21 +
  22 +**If you are filing an issue to report a bug**, please provide:
  23 +
  24 + 1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug:
  25 +
  26 + ```markdown
  27 + The `paper-foo` element causes the page to turn pink when clicked.
  28 +
  29 + ## Expected outcome
  30 +
  31 + The page stays the same color.
  32 +
  33 + ## Actual outcome
  34 +
  35 + The page turns pink.
  36 +
  37 + ## Steps to reproduce
  38 +
  39 + 1. Put a `paper-foo` element in the page.
  40 + 2. Open the page in a web browser.
  41 + 3. Click the `paper-foo` element.
  42 + ```
  43 +
  44 + 2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output).
  45 +
  46 + 3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers.
  47 +
  48 +### Submitting Pull Requests
  49 +
  50 +**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request.
  51 +
  52 +When submitting pull requests, please provide:
  53 +
  54 + 1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax:
  55 +
  56 + ```markdown
  57 + (For a single issue)
  58 + Fixes #20
  59 +
  60 + (For multiple issues)
  61 + Fixes #32, #40
  62 + ```
  63 +
  64 + 2. **A succinct description of the design** used to fix any related issues. For example:
  65 +
  66 + ```markdown
  67 + This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked.
  68 + ```
  69 +
  70 + 3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered.
  71 +
  72 +If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that!
... ...
bower_components/paper-scroll-header-panel/README.md
1   -paper-scroll-header-panel
2   -========================
3 1  
4   -`paper-scroll-header-panel` contains a header section and a content section. The header is initially on the top part of the view but it scrolls away with the rest of the scrollable content. Upon scrolling slightly up at any point, the header scrolls back into view. This saves screen space and allows users to access important controls by easily moving them back to the view.
  2 +<!---
5 3  
6   -Important: The `paper-scroll-header-panel` will not display if its parent does not have a height. Using layout classes, you can easily make the `paper-scroll-header-panel` fill the screen
  4 +This README is automatically generated from the comments in these files:
  5 +paper-scroll-header-panel.html
  6 +
  7 +Edit those files, and our readme bot will duplicate them over here!
  8 +Edit this file, and the bot will squash your changes :)
  9 +
  10 +-->
  11 +
  12 +[![Build Status](https://travis-ci.org/PolymerElements/paper-scroll-header-panel.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-scroll-header-panel)
  13 +
  14 +_[Demo and API Docs](https://elements.polymer-project.org/elements/paper-scroll-header-panel)_
  15 +
  16 +
  17 +##&lt;paper-scroll-header-panel&gt;
  18 +
  19 +
  20 +Material design: [Scrolling techniques](https://www.google.com/design/spec/patterns/scrolling-techniques.html)
  21 +
  22 +`paper-scroll-header-panel` contains a header section and a content section. The
  23 +header is initially on the top part of the view but it scrolls away with the
  24 +rest of the scrollable content. Upon scrolling slightly up at any point, the
  25 +header scrolls back into view. This saves screen space and allows users to
  26 +access important controls by easily moving them back to the view.
  27 +
  28 +__Important:__ The `paper-scroll-header-panel` will not display if its parent does not have a height.
  29 +
  30 +Using [layout classes](https://www.polymer-project.org/1.0/docs/migration.html#layout-attributes) or custom properties, you can easily make the `paper-scroll-header-panel` fill the screen
7 31  
8 32 ```html
9 33 <body class="fullbleed layout vertical">
10 34 <paper-scroll-header-panel class="flex">
11 35 <paper-toolbar>
12   - Hello World!
  36 + <div>Hello World!</div>
13 37 </paper-toolbar>
14 38 </paper-scroll-header-panel>
15 39 </body>
16 40 ```
17   -or, if you would prefer to do it in CSS, just give html, body, and `paper-scroll-header-panel` a height of 100%:
  41 +
  42 +or, if you would prefer to do it in CSS, just give `html`, `body`, and `paper-scroll-header-panel` a height of 100%:
  43 +
18 44 ```css
19 45 html, body {
20 46 height: 100%;
... ... @@ -24,7 +50,9 @@ paper-scroll-header-panel {
24 50 height: 100%;
25 51 }
26 52 ```
27   -`paper-scroll-header-panel` works well with `paper-toolbar` but can use any element that represents a header by adding a `paper-header` class to it.
  53 +
  54 +`paper-scroll-header-panel` works well with `paper-toolbar` but can use any element
  55 +that represents a header by adding a `paper-header` class to it.
28 56  
29 57 ```html
30 58 <paper-scroll-header-panel>
... ... @@ -33,24 +61,15 @@ paper-scroll-header-panel {
33 61 </paper-scroll-header-panel>
34 62 ```
35 63  
36   -### Styling scroll-header-panel:
  64 +### Styling
  65 +=======
37 66  
38   -To change background for toolbar when it is at its full size:
  67 +The following custom properties and mixins are available for styling:
39 68  
40   -```css
41   -paper-scroll-header-panel {
42   - --paper-scroll-header-panel-full-header: {
43   - background-color: red;
44   - };
45   -}
46   -```
  69 +Custom property | Description | Default
  70 +----------------|-------------|----------
  71 +--paper-scroll-header-panel-full-header | To change background for toolbar when it is at its full size | {}
  72 +--paper-scroll-header-panel-condensed-header | To change the background for toolbar when it is condensed | {}
  73 +--paper-scroll-header-container | To override or add container styles | {}
47 74  
48   -To change the background for toolbar when it is condensed:
49 75  
50   -```css
51   -paper-scroll-header-panel {
52   - --paper-scroll-header-panel-condensed-header: {
53   - background-color: #f4b400;
54   - };
55   -}
56   -```
... ...
bower_components/paper-scroll-header-panel/bower.json
1 1 {
2 2 "name": "paper-scroll-header-panel",
3 3 "description": "A header bar with scrolling behavior",
4   - "version": "1.0.8",
  4 + "version": "1.0.14",
5 5 "license": "http://polymer.github.io/LICENSE.txt",
6 6 "private": true,
7 7 "authors": "The Polymer Authors",
... ... @@ -11,20 +11,18 @@
11 11 "layout",
12 12 "responsive"
13 13 ],
14   - "main": [
15   - "paper-scroll-header-panel.html"
16   - ],
  14 + "main": "paper-scroll-header-panel.html",
17 15 "repository": {
18 16 "type": "git",
19 17 "url": "git://github.com/PolymerElements/paper-scroll-header-panel.git"
20 18 },
21 19 "dependencies": {
22 20 "polymer": "Polymer/polymer#^1.0.0",
23   - "paper-toolbar": "PolymerElements/paper-toolbar#^1.0.0",
24 21 "iron-resizable-behavior": "PolymerElements/iron-resizable-behavior#^1.0.0"
25 22 },
26 23 "devDependencies": {
27 24 "paper-styles": "PolymerElements/paper-styles#^1.0.0",
  25 + "paper-toolbar": "PolymerElements/paper-toolbar#^1.0.0",
28 26 "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0",
29 27 "iron-media-query": "PolymerElements/iron-media-query#^1.0.0",
30 28 "iron-icons": "PolymerElements/iron-icons#^1.0.0",
... ... @@ -34,5 +32,6 @@
34 32 "test-fixture": "PolymerElements/test-fixture#^1.0.0",
35 33 "web-component-tester": "*",
36 34 "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
37   - }
  35 + },
  36 + "ignore": []
38 37 }
... ...
bower_components/paper-scroll-header-panel/demo/drawer-panel.html 0 → 100755
  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 + <title>paper-scroll-header-panel: Combine with paper-drawer-panel</title>
  14 +
  15 + <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
  16 + <meta name="mobile-web-app-capable" content="yes">
  17 + <meta name="apple-mobile-web-app-capable" content="yes">
  18 +
  19 + <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
  20 +
  21 + <link rel="import" href="../paper-scroll-header-panel.html">
  22 + <link rel="import" href="../../paper-toolbar/paper-toolbar.html">
  23 + <link rel="import" href="../../iron-icons/iron-icons.html">
  24 + <link rel="import" href="../../paper-icon-button/paper-icon-button.html">
  25 + <link rel="import" href="../../paper-drawer-panel/paper-drawer-panel.html">
  26 +
  27 + <link rel="import" href="sample-content.html">
  28 +
  29 + <link rel="stylesheet" href="../../paper-styles/demo.css">
  30 +
  31 + <style is="custom-style">
  32 +
  33 + paper-scroll-header-panel {
  34 + position: absolute;
  35 + top: 0;
  36 + right: 0;
  37 + bottom: 0;
  38 + left: 0;
  39 + background-color: var(--paper-grey-200, #eee);
  40 + }
  41 +
  42 + paper-toolbar {
  43 + background-color: var(--google-blue-500, #4285f4);
  44 + }
  45 +
  46 + paper-toolbar .title {
  47 + margin: 0 8px;
  48 + }
  49 +
  50 + paper-scroll-header-panel .content {
  51 + padding: 8px;
  52 + }
  53 +
  54 + </style>
  55 +
  56 +</head>
  57 +<body unresolved>
  58 +
  59 +
  60 + <paper-drawer-panel>
  61 + <paper-header-panel drawer>
  62 + <paper-toolbar>Menu</paper-toolbar>
  63 + </paper-header-panel>
  64 +
  65 +
  66 + <paper-scroll-header-panel main>
  67 +
  68 + <paper-toolbar>
  69 +
  70 + <paper-icon-button icon="arrow-back"></paper-icon-button>
  71 + <div class="flex title">Title</div>
  72 + <paper-icon-button icon="search"></paper-icon-button>
  73 + <paper-icon-button icon="more-vert"></paper-icon-button>
  74 +
  75 + </paper-toolbar>
  76 +
  77 + <div class="content">
  78 +
  79 + <sample-content size="100"></sample-content>
  80 +
  81 + </div>
  82 +
  83 + </paper-scroll-header-panel>
  84 +
  85 + </paper-drawer-panel>
  86 +
  87 +
  88 +
  89 +</body>
  90 +</html>
... ...
bower_components/paper-scroll-header-panel/demo/hide-header.html 0 → 100755
  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 + <title>paper-scroll-header-panel: demo3</title>
  14 +
  15 + <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
  16 + <meta name="mobile-web-app-capable" content="yes">
  17 + <meta name="apple-mobile-web-app-capable" content="yes">
  18 +
  19 + <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
  20 +
  21 + <link rel="import" href="../paper-scroll-header-panel.html">
  22 + <link rel="import" href="../../paper-toolbar/paper-toolbar.html">
  23 + <link rel="import" href="../../iron-icons/iron-icons.html">
  24 + <link rel="import" href="../../paper-icon-button/paper-icon-button.html">
  25 +
  26 + <link rel="import" href="../../paper-styles/color.html">
  27 + <link rel="import" href="../../iron-flex-layout/iron-flex-layout.html">
  28 + <link rel="import" href="sample-content.html">
  29 +
  30 + <link rel="stylesheet" href="../../paper-styles/demo.css">
  31 +
  32 + <style is="custom-style">
  33 +
  34 + paper-scroll-header-panel {
  35 + position: absolute;
  36 + top: 0;
  37 + right: 0;
  38 + bottom: 0;
  39 + left: 0;
  40 + background-color: var(--paper-grey-200, #eee);
  41 +
  42 + /* background for toolbar when it is at its full size */
  43 + --paper-scroll-header-panel-full-header: {
  44 + background-image: url(images/bg2.jpg);
  45 + background-position: top left;
  46 + };
  47 + }
  48 +
  49 + paper-toolbar {
  50 + background-color: transparent;
  51 + }
  52 +
  53 + paper-icon-button {
  54 + --paper-icon-button-ink-color: white;
  55 + }
  56 +
  57 + .content {
  58 + padding: 8px;
  59 + }
  60 +
  61 + .spacer {
  62 + @apply(--layout-flex);
  63 + }
  64 +
  65 + </style>
  66 +
  67 +</head>
  68 +<body unresolved>
  69 +
  70 + <paper-scroll-header-panel condenses no-reveal no-dissolve>
  71 +
  72 + <paper-toolbar class="tall">
  73 +
  74 + <div class="spacer"></div>
  75 + <paper-icon-button icon="search"></paper-icon-button>
  76 +
  77 + </paper-toolbar>
  78 +
  79 + <div class="content">
  80 +
  81 + <sample-content size="100"></sample-content>
  82 +
  83 + </div>
  84 +
  85 + </paper-scroll-header-panel>
  86 +
  87 +</body>
  88 +</html>
... ...
bower_components/paper-scroll-header-panel/demo/images/bg1.jpg 0 → 100755

55.6 KB

bower_components/paper-scroll-header-panel/demo/images/bg2.jpg

94.8 KB | W: | H:

59.1 KB | W: | H: