jekyll-polymer-magazine 0.1.3 → 0.1.4

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.
@@ -0,0 +1,46 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <body>
5
+ <iron-pages selected="0">
6
+ <paper-header-panel>
7
+ {% include header.html %}
8
+ <div>
9
+ <div align="center" class="container">
10
+ <section class="postview-content" align="start">
11
+ <h1>Tags</h1>
12
+ {% for tag in site.tags %}
13
+ <paper-button onclick="openCollapse('{{ tag | first }}'); location.href='#{{ tag | first }}'">#{{ tag | first }}</paper-button>
14
+ {% endfor %}
15
+ {% for tag in site.tags %}
16
+ <iron-collapse id="{{ tag | first }}">
17
+ <h2>#{{ tag | first }}</h2>
18
+ {% for posts in tag %}
19
+ {% for post in posts %}
20
+ {% if post.title %}
21
+ <p>{{ post.date | date: "%Y.%m.%d" }} | <a href="{{ site.baseurl }}/{{ post.url }}">{{ post.title }}</a>{% if post.author %} | {{ post.author }} {% endif %}</p>
22
+ {% endif %}
23
+ {% endfor %}
24
+ {% endfor %}
25
+ </iron-collapse>
26
+ {% endfor %}
27
+ </section>
28
+ </div>
29
+ {% include footer.html %}
30
+ </div>
31
+ </paper-header-panel>
32
+ {% include search.html %}
33
+ </iron-pages>
34
+ <script>
35
+ function openCollapse(collapseId){
36
+ closeAllCollapse();
37
+ document.getElementById(collapseId).opened = true;
38
+ }
39
+ function closeAllCollapse(){
40
+ {% for tag in site.tags %}
41
+ document.getElementById('{{ tag | first }}').opened = false;
42
+ {% endfor %}
43
+ }
44
+ </script>
45
+ {% include javascripts.html %}
46
+ </body>
@@ -25,6 +25,7 @@
25
25
  "paper-menu": "PolymerElements/paper-menu#^1.2.2",
26
26
  "paper-menu-button": "PolymerElements/paper-menu-button#^1.5.2",
27
27
  "paper-item": "PolymerElements/paper-item#^1.2.1",
28
- "font-awesome": "^4.7.0"
28
+ "font-awesome": "^4.7.0",
29
+ "iron-pages": "PolymerElements/iron-pages#^1.0.8"
29
30
  }
30
31
  }
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "iron-pages",
3
+ "version": "1.0.8",
4
+ "license": "http://polymer.github.io/LICENSE.txt",
5
+ "description": "Organizes a set of pages and shows one at a time",
6
+ "main": "iron-pages.html",
7
+ "private": true,
8
+ "authors": [
9
+ "The Polymer Authors"
10
+ ],
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git://github.com/PolymerElements/iron-pages.git"
14
+ },
15
+ "keywords": [
16
+ "web-components",
17
+ "polymer",
18
+ "container"
19
+ ],
20
+ "dependencies": {
21
+ "iron-resizable-behavior": "polymerelements/iron-resizable-behavior#^1.0.0",
22
+ "iron-selector": "polymerelements/iron-selector#^1.0.0",
23
+ "polymer": "Polymer/polymer#^1.1.0"
24
+ },
25
+ "devDependencies": {
26
+ "iron-component-page": "polymerelements/iron-component-page#^1.0.0",
27
+ "iron-demo-helpers": "polymerelements/iron-demo-helpers#^1.0.0",
28
+ "paper-styles": "polymerelements/paper-styles#^1.0.2",
29
+ "test-fixture": "polymerelements/test-fixture#^1.0.0",
30
+ "web-component-tester": "^4.0.0",
31
+ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
32
+ },
33
+ "ignore": [],
34
+ "homepage": "https://github.com/PolymerElements/iron-pages",
35
+ "_release": "1.0.8",
36
+ "_resolution": {
37
+ "type": "version",
38
+ "tag": "v1.0.8",
39
+ "commit": "1399d2d51a0ce50edd2c79a6d37419967509bf2c"
40
+ },
41
+ "_source": "https://github.com/PolymerElements/iron-pages.git",
42
+ "_target": "^1.0.8",
43
+ "_originalSource": "PolymerElements/iron-pages",
44
+ "_direct": true
45
+ }
@@ -0,0 +1,33 @@
1
+ <!-- Instructions: https://github.com/PolymerElements/iron-pages/CONTRIBUTING.md#filing-issues -->
2
+ ### Description
3
+ <!-- Example: The `paper-foo` element causes the page to turn pink when clicked. -->
4
+
5
+ ### Expected outcome
6
+
7
+ <!-- Example: The page stays the same color. -->
8
+
9
+ ### Actual outcome
10
+
11
+ <!-- Example: The page turns pink. -->
12
+
13
+ ### Live Demo
14
+ <!-- Example: https://jsbin.com/cagaye/edit?html,output -->
15
+
16
+ ### Steps to reproduce
17
+
18
+ <!-- Example
19
+ 1. Put a `paper-foo` element in the page.
20
+ 2. Open the page in a web browser.
21
+ 3. Click the `paper-foo` element.
22
+ -->
23
+
24
+ ### Browsers Affected
25
+ <!-- Check all that apply -->
26
+ - [ ] Chrome
27
+ - [ ] Firefox
28
+ - [ ] Safari 9
29
+ - [ ] Safari 8
30
+ - [ ] Safari 7
31
+ - [ ] Edge
32
+ - [ ] IE 11
33
+ - [ ] IE 10
@@ -0,0 +1 @@
1
+ bower_components
@@ -0,0 +1,23 @@
1
+ language: node_js
2
+ sudo: required
3
+ before_script:
4
+ - npm install -g bower polylint web-component-tester
5
+ - bower install
6
+ - polylint
7
+ env:
8
+ global:
9
+ - secure: Nv52xUhhZNbvdXIs+8JV61yREtAZN5i2ZHO6uZVonGR/Y/U8SA3AcDjrPLd6VgFmasM58EpPGQGToK46r9C+h/jLWc7d/+7xn/9sphg6qQhQ5FkS/LYaTMmzCmonu79h/TqpuuYQWJqjEBM3LpoYJSMum/V34paPBU9AEK0Pd5A=
10
+ - secure: fE00ZxqCvRMPXvSIghE/0wYbFORFGO4IFzaZbOxanAe7PBKDmdPBkzodo9BEgOw1cB2zw2uXMEYGf3jEZH+vens5ycngF8X/iQRCcPGpHjKIbkBtHvYQoi4ZwQf48GPtdBkMZLg7LcA4N2ScypU33X0q30hQ6BgzTduumuHlKCo=
11
+ node_js: stable
12
+ addons:
13
+ firefox: '46.0'
14
+ apt:
15
+ sources:
16
+ - google-chrome
17
+ packages:
18
+ - google-chrome-stable
19
+ sauce_connect: true
20
+ script:
21
+ - xvfb-run wct
22
+ - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct -s 'default'; fi
23
+ dist: trusty
@@ -0,0 +1,77 @@
1
+ <!--
2
+ This file is autogenerated based on
3
+ https://github.com/PolymerElements/ContributionGuide/blob/master/CONTRIBUTING.md
4
+
5
+ If you edit that file, it will get updated everywhere else.
6
+ If you edit this file, your changes will get overridden :)
7
+
8
+ You can however override the jsbin link with one that's customized to this
9
+ specific element:
10
+
11
+ jsbin=https://jsbin.com/cagaye/edit?html,output
12
+ -->
13
+
14
+ # Polymer Elements
15
+ ## Guide for Contributors
16
+
17
+ 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:
18
+
19
+ ### Filing Issues
20
+
21
+ **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:
22
+
23
+ 1. **Who will use the feature?** _“As someone filling out a form…”_
24
+ 2. **When will they use the feature?** _“When I enter an invalid value…”_
25
+ 3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_
26
+
27
+ **If you are filing an issue to report a bug**, please provide:
28
+
29
+ 1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug:
30
+
31
+ ```markdown
32
+ The `paper-foo` element causes the page to turn pink when clicked.
33
+
34
+ ## Expected outcome
35
+
36
+ The page stays the same color.
37
+
38
+ ## Actual outcome
39
+
40
+ The page turns pink.
41
+
42
+ ## Steps to reproduce
43
+
44
+ 1. Put a `paper-foo` element in the page.
45
+ 2. Open the page in a web browser.
46
+ 3. Click the `paper-foo` element.
47
+ ```
48
+
49
+ 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: [https://jsbin.com/cagaye/edit?html,output](https://jsbin.com/cagaye/edit?html,output).
50
+
51
+ 3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers.
52
+
53
+ ### Submitting Pull Requests
54
+
55
+ **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.
56
+
57
+ When submitting pull requests, please provide:
58
+
59
+ 1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues in the pull request description using the following syntax:
60
+
61
+ ```markdown
62
+ (For a single issue)
63
+ Fixes #20
64
+
65
+ (For multiple issues)
66
+ Fixes #32, fixes #40
67
+ ```
68
+
69
+ 2. **A succinct description of the design** used to fix any related issues. For example:
70
+
71
+ ```markdown
72
+ This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked.
73
+ ```
74
+
75
+ 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.
76
+
77
+ 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!
@@ -0,0 +1,42 @@
1
+
2
+ <!---
3
+
4
+ This README is automatically generated from the comments in these files:
5
+ iron-pages.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
+ The bot does some handling of markdown. Please file a bug if it does the wrong
11
+ thing! https://github.com/PolymerLabs/tedium/issues
12
+
13
+ -->
14
+
15
+ [![Build status](https://travis-ci.org/PolymerElements/iron-pages.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-pages)
16
+
17
+ _[Demo and API docs](https://elements.polymer-project.org/elements/iron-pages)_
18
+
19
+
20
+ ##&lt;iron-pages&gt;
21
+
22
+ `iron-pages` is used to select one of its children to show. One use is to cycle through a list of
23
+ children "pages".
24
+
25
+ Example:
26
+
27
+ ```html
28
+ <iron-pages selected="0">
29
+ <div>One</div>
30
+ <div>Two</div>
31
+ <div>Three</div>
32
+ </iron-pages>
33
+
34
+ <script>
35
+ document.addEventListener('click', function(e) {
36
+ var pages = document.querySelector('iron-pages');
37
+ pages.selectNext();
38
+ });
39
+ </script>
40
+ ```
41
+
42
+
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "iron-pages",
3
+ "version": "1.0.8",
4
+ "license": "http://polymer.github.io/LICENSE.txt",
5
+ "description": "Organizes a set of pages and shows one at a time",
6
+ "main": "iron-pages.html",
7
+ "private": true,
8
+ "authors": [
9
+ "The Polymer Authors"
10
+ ],
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git://github.com/PolymerElements/iron-pages.git"
14
+ },
15
+ "keywords": [
16
+ "web-components",
17
+ "polymer",
18
+ "container"
19
+ ],
20
+ "dependencies": {
21
+ "iron-resizable-behavior": "polymerelements/iron-resizable-behavior#^1.0.0",
22
+ "iron-selector": "polymerelements/iron-selector#^1.0.0",
23
+ "polymer": "Polymer/polymer#^1.1.0"
24
+ },
25
+ "devDependencies": {
26
+ "iron-component-page": "polymerelements/iron-component-page#^1.0.0",
27
+ "iron-demo-helpers": "polymerelements/iron-demo-helpers#^1.0.0",
28
+ "paper-styles": "polymerelements/paper-styles#^1.0.2",
29
+ "test-fixture": "polymerelements/test-fixture#^1.0.0",
30
+ "web-component-tester": "^4.0.0",
31
+ "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
32
+ },
33
+ "ignore": []
34
+ }
@@ -0,0 +1,74 @@
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
+
12
+ <html>
13
+ <head>
14
+
15
+ <title>iron-pages demo</title>
16
+
17
+ <meta charset="utf-8">
18
+ <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
19
+ <meta name="mobile-web-app-capable" content="yes">
20
+ <meta name="apple-mobile-web-app-capable" content="yes">
21
+
22
+ <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
23
+ <link rel="import" href="../../paper-styles/color.html">
24
+ <link rel="import" href="../../iron-demo-helpers/demo-snippet.html">
25
+ <link rel="import" href="../../iron-demo-helpers/demo-pages-shared-styles.html">
26
+ <link rel="import" href="../iron-pages.html">
27
+
28
+ <style is="custom-style" include="demo-pages-shared-styles"></style>
29
+ </head>
30
+ <body unresolved>
31
+ <div class="vertical-section-container centered">
32
+ <h3>iron-pages shows only one of its children at a time.</h3>
33
+ <demo-snippet>
34
+ <template>
35
+ <style is="custom-style">
36
+ iron-pages {
37
+ width: 100%;
38
+ height: 200px;
39
+ font-size: 50px;
40
+ color: white;
41
+ text-align: center;
42
+ }
43
+ iron-pages div {
44
+ width: 100%;
45
+ height: 100%;
46
+ padding: 80px 0;
47
+ }
48
+ iron-pages div:nth-child(1) {
49
+ background-color: var(--google-blue-500);
50
+ }
51
+ iron-pages div:nth-child(2) {
52
+ background-color: var(--google-red-500);
53
+ }
54
+ iron-pages div:nth-child(3) {
55
+ background-color: var(--google-green-500);
56
+ }
57
+ </style>
58
+ <p>Click on a page to advance to the next one.</p>
59
+ <iron-pages selected="0">
60
+ <div>One</div>
61
+ <div>Two</div>
62
+ <div>Three</div>
63
+ </iron-pages>
64
+ <script>
65
+ var pages = document.querySelector('iron-pages');
66
+ pages.addEventListener('click', function(e) {
67
+ pages.selectNext();
68
+ });
69
+ </script>
70
+ </template>
71
+ </demo-snippet>
72
+ </div>
73
+ </body>
74
+ </html>
@@ -0,0 +1,22 @@
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
+ <path d="M143.3,73.6H51.7V26.7h91.6V73.6z M53.7,71.6h87.6V28.7H53.7V71.6z"/>
13
+ <path d="M158.3,85.4H66.7V38.6h91.6V85.4z M68.7,83.4h87.6V40.6H68.7V83.4z"/>
14
+ <path d="M172,99H80.4V52.1H172V99z M82.4,97H170V54.1H82.4V97z"/>
15
+ <circle cx="53" cy="28" r="4"/>
16
+ <circle cx="171" cy="98" r="4"/>
17
+ <g id="ic_x5F_add_x0D_">
18
+ </g>
19
+ </g>
20
+ <g id="Guides">
21
+ </g>
22
+ </svg>
@@ -0,0 +1,25 @@
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
+
12
+ <html>
13
+ <head>
14
+ <title>iron-pages</title>
15
+ <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
16
+ <script src="../webcomponentsjs/webcomponents-lite.js"></script>
17
+ <link rel="import" href="../iron-component-page/iron-component-page.html">
18
+
19
+ </head>
20
+ <body>
21
+
22
+ <iron-component-page></iron-component-page>
23
+
24
+ </body>
25
+ </html>