Skip to content

Commit

Permalink
auto-converted by polymer-modulizer
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliott Marquez committed Jun 23, 2018
1 parent a828cc4 commit de5e52b
Show file tree
Hide file tree
Showing 31 changed files with 482 additions and 492 deletions.
24 changes: 6 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,19 @@
language: node_js
sudo: 'false'
before_script:
- npm install -g polymer-cli
- polymer install --variants
- >-
npm run update-types && git diff --exit-code || (echo -e
'\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run
update-types".' && false)
- >-
npm run format && git diff --exit-code || (echo -e '\n\033[31mERROR:\033[0m
Project is not formatted. Please run "npm run format".' && false)
before_script: npm install -g polymer-cli
env:
global:
- secure: >-
qq1hIYlSF0NJnCyGVYaGC/6oaTgirVHsip+EButDUn5KW4rA2OLDYrCzaQ6p7mKHZEOWx+LNA7rGw0O/peaL3y1xXlwS+w2AF/AiCa//OIgqBdjhS7TycL9FVGEHtTmZ05ilR/nWOHAMNCOHnGaTTGvoktjx3c/B/p2XqT8vJ1E=
- secure: >-
kz55kbiwQHILHG/T8G3oLBRcWs0qEQa8hMj9ShyykEGraQj2RXHpvupHSz2V3OmG7x+jlqSdgcFF7iVty/Qq7iybPEGMxHNbgBtLeqt1zPSTRdgdC7hcpcWovulPjonlfNnM1rQBITKggpYj0i5qWOpuS6cmzDxZRXAyfZYcNYI=
- secure: qq1hIYlSF0NJnCyGVYaGC/6oaTgirVHsip+EButDUn5KW4rA2OLDYrCzaQ6p7mKHZEOWx+LNA7rGw0O/peaL3y1xXlwS+w2AF/AiCa//OIgqBdjhS7TycL9FVGEHtTmZ05ilR/nWOHAMNCOHnGaTTGvoktjx3c/B/p2XqT8vJ1E=
- secure: kz55kbiwQHILHG/T8G3oLBRcWs0qEQa8hMj9ShyykEGraQj2RXHpvupHSz2V3OmG7x+jlqSdgcFF7iVty/Qq7iybPEGMxHNbgBtLeqt1zPSTRdgdC7hcpcWovulPjonlfNnM1rQBITKggpYj0i5qWOpuS6cmzDxZRXAyfZYcNYI=
node_js: '9'
addons:
firefox: latest
chrome: stable
script:
- xvfb-run polymer test
- >-
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test -s 'default';
fi
- xvfb-run polymer test --module-resolution=node --npm
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test --module-resolution=node --npm -s ''default''; fi'
dist: trusty
cache:
directories:
- node_modules

55 changes: 0 additions & 55 deletions bower.json

This file was deleted.

12 changes: 0 additions & 12 deletions classes/global.d.ts

This file was deleted.

49 changes: 29 additions & 20 deletions classes/global.html → classes/global.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->

<link rel="import" href="../paper-styles-classes.html">

<!--
Note that this file probably doesn't do what you expect it to do. It's not
a `<style is=custom-style include="..."` type of style include, which mean
these styles will only apply to the main document, regardless of where
you import this file.
-->
import '../paper-styles-classes.js';
const $_documentContainer = document.createElement('template');
$_documentContainer.setAttribute('style', 'display: none;');

<style>
$_documentContainer.innerHTML = `<style>
/* Mixins */
/* [paper-font] */
Expand Down Expand Up @@ -91,4 +76,28 @@
text-decoration: none;
}
</style>
</style>`;

document.head.appendChild($_documentContainer.content);

/**
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/*
Note that this file probably doesn't do what you expect it to do. It's not
a `<style is=custom-style include="..."` type of style include, which mean
these styles will only apply to the main document, regardless of where
you import this file.
*/
/*
FIXME(polymer-modulizer): the above comments were extracted
from HTML and may be out of place here. Review them and
then delete this comment!
*/
;
10 changes: 0 additions & 10 deletions classes/shadow.d.ts

This file was deleted.

49 changes: 30 additions & 19 deletions classes/shadow.html → classes/shadow.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
const $_documentContainer = document.createElement('template');
$_documentContainer.setAttribute('style', 'display: none;');

<!--
Note that this file probably doesn't do what you expect it to do. It's not
a `<style is=custom-style include="..."` type of style include, which mean
these styles will only apply to the main document, regardless of where
you import this file.
For a set of styles that can be applied to an element, check paper-styles/shadow.html.
-->
<style>
$_documentContainer.innerHTML = `<style>
.shadow-transition {
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
Expand Down Expand Up @@ -57,4 +42,30 @@
0 8px 10px -5px rgba(0, 0, 0, 0.4);
}
</style>
</style>`;

document.head.appendChild($_documentContainer.content);

/**
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/*
Note that this file probably doesn't do what you expect it to do. It's not
a `<style is=custom-style include="..."` type of style include, which mean
these styles will only apply to the main document, regardless of where
you import this file.
For a set of styles that can be applied to an element, check paper-styles/shadow.html.
*/
/*
FIXME(polymer-modulizer): the above comments were extracted
from HTML and may be out of place here. Review them and
then delete this comment!
*/
;
12 changes: 0 additions & 12 deletions classes/typography.d.ts

This file was deleted.

53 changes: 32 additions & 21 deletions classes/typography.html → classes/typography.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<link rel="import" href="../../font-roboto/roboto.html">
import '@polymer/font-roboto/roboto.js';
const $_documentContainer = document.createElement('template');
$_documentContainer.setAttribute('style', 'display: none;');

<!--
Note that this file probably doesn't do what you expect it to do. It's not
a `<style is=custom-style include="..."` type of style include, which mean
these styles will only apply to the main document, regardless of where
you import this file.
For a set of styles that can be applied to an element, check paper-styles/typography.html.
-->
<style>
$_documentContainer.innerHTML = `<style>
.paper-font-display4,
.paper-font-display3,
Expand All @@ -41,7 +26,7 @@
-webkit-font-smoothing: antialiased; /* OS X subpixel AA bleed bug */
}
/* Opt for better kerning for headers & other short labels. */
/* Opt for better kerning for headers &amp; other short labels. */
.paper-font-display4,
.paper-font-display3,
.paper-font-display2,
Expand Down Expand Up @@ -161,4 +146,30 @@
line-height: 20px;
}
</style>
</style>`;

document.head.appendChild($_documentContainer.content);

/**
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/*
Note that this file probably doesn't do what you expect it to do. It's not
a `<style is=custom-style include="..."` type of style include, which mean
these styles will only apply to the main document, regardless of where
you import this file.
For a set of styles that can be applied to an element, check paper-styles/typography.html.
*/
/*
FIXME(polymer-modulizer): the above comments were extracted
from HTML and may be out of place here. Review them and
then delete this comment!
*/
;
12 changes: 0 additions & 12 deletions color.d.ts

This file was deleted.

36 changes: 23 additions & 13 deletions color.html → color.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
import '@polymer/polymer/polymer-legacy.js';
const $_documentContainer = document.createElement('template');
$_documentContainer.setAttribute('style', 'display: none;');

<link rel="import" href="../polymer/polymer.html">

<custom-style>
$_documentContainer.innerHTML = `<custom-style>
<style is="custom-style">
html {
Expand Down Expand Up @@ -331,4 +323,22 @@
}
</style>
</custom-style>
</custom-style>`;

document.head.appendChild($_documentContainer.content);

/**
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/*
FIXME(polymer-modulizer): the above comments were extracted
from HTML and may be out of place here. Review them and
then delete this comment!
*/
;
13 changes: 0 additions & 13 deletions default-theme.d.ts

This file was deleted.

Loading

0 comments on commit de5e52b

Please sign in to comment.