Skip to content

Commit

Permalink
3.0 preview (#7)
Browse files Browse the repository at this point in the history
* Migrate to Polymer 3

* Code clean and update
  • Loading branch information
ernysans authored Jun 15, 2018
1 parent 72d3b9d commit 6deae08
Show file tree
Hide file tree
Showing 23 changed files with 3,116 additions and 2,575 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ notifications:
language: node_js
sudo: false
node_js: stable
before_script:
- npm install -g polymer-cli
- polymer install
before_script: npm install -g polymer-cli
script: npm run lint

37 changes: 0 additions & 37 deletions bower.json

This file was deleted.

16 changes: 0 additions & 16 deletions classes.html

This file was deleted.

21 changes: 21 additions & 0 deletions classes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
@license
Copyright (c) FabricElements. All rights reserved.
skin-styles Styles
*/
import './classes/buttons.js';
import './classes/typography.js';
import './classes/grid.js';
import './classes/bootstrap.js';

const styleElement = document.createElement('dom-module');
styleElement.innerHTML = `
<template>
<!--suppress CssInvalidPseudoSelector -->
<!--suppress CssUnresolvedCustomProperty -->
<!--suppress CssUnresolvedCustomPropertySet -->
<style include="skin-typography skin-buttons"></style>
</template>
`;
styleElement.register('skin-styles');
2 changes: 1 addition & 1 deletion classes/animate.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
@license
Copyright (c) 2017 FabricElements. All rights reserved.
Copyright (c) FabricElements. All rights reserved.
`animate`
Animate
Expand Down
35 changes: 23 additions & 12 deletions classes/bootstrap.html → classes/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
<!--
@license
Copyright (c) 2017 FabricElements. All rights reserved.
const $_documentContainer = document.createElement('template');
$_documentContainer.setAttribute('style', 'display: none;');

`skin-styles-bootstrap` is a supercharged Bootstrap grid.
https://github.com/twbs/bootstrap/blob/v4-dev/dist/css/bootstrap.css
@group Skin Styles
@demo demo/grid.html bootstrap
-->

<style>
$_documentContainer.innerHTML = `<style>
.align-baseline {
vertical-align: baseline !important;
}
Expand Down Expand Up @@ -3755,4 +3747,23 @@
display: none !important;
}
}
</style>
</style>`;

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

/**
@license
Copyright (c) FabricElements. All rights reserved.
`skin-styles-bootstrap` is a supercharged Bootstrap grid.
https://github.com/twbs/bootstrap/blob/v4-dev/dist/css/bootstrap.css
@group Skin Styles
@demo demo/grid.html bootstrap
*/
/*
FIXME(polymer-modulizer): the above comments were extracted
from HTML and may be out of place here. Review them and
then delete this comment!
*/
;
182 changes: 0 additions & 182 deletions classes/buttons.html

This file was deleted.

Loading

0 comments on commit 6deae08

Please sign in to comment.