Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
node_modules
lerna-debug.log
*.local.compiled.js
*.local.umd.js
*.local.js
.storybook_out
npm-debug.log
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test
*.compiled.js
*.umd.js
*.min.js
package.json
package-lock.json
302 changes: 302 additions & 0 deletions elements/cp-themeset/cp-themeset.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions elements/cp-themeset/cp-themeset.umd.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions elements/cp-themeset/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const del = require("del");
let watcher;

gulp.task("clean", () => {
return del(["./*.compiled.*"]);
return del(["./*.umd.*"]);
});

gulp.task("sass", () => {
Expand Down Expand Up @@ -47,7 +47,7 @@ gulp.task("compile", () => {
.pipe(uglify())
.pipe(
rename({
suffix: ".compiled"
suffix: ".umd"
})
)
.pipe(gulp.dest("./"));
Expand Down
4 changes: 2 additions & 2 deletions elements/rh-button/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

<link rel="stylesheet" type="text/css" href="//overpass-30e2.kxcdn.com/overpass.css">

<!-- uncomment the es5-adapter if you're using the compiled version -->
<!-- uncomment the es5-adapter if you're using the umd version -->
<script src="/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script>
<script src="/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.5/require.min.js"></script>
<script>require(['../rh-button.compiled.js'])</script>
<script>require(['../rh-button.umd.js'])</script>

<style>
input {
Expand Down
4 changes: 2 additions & 2 deletions elements/rh-button/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ gulp.task("compile", () => {
.pipe(
replace(
/^(import .*?)(['"]\.\.\/(?!\.\.\/).*)(\.js['"];)$/gm,
"$1$2.compiled$3"
"$1$2.umd$3"
)
)
.pipe(babel())
.pipe(uglify())
.pipe(
rename({
suffix: ".compiled"
suffix: ".umd"
})
)
.pipe(gulp.dest("./"));
Expand Down
1 change: 0 additions & 1 deletion elements/rh-button/rh-button.compiled.js

This file was deleted.

1 change: 1 addition & 0 deletions elements/rh-button/rh-button.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions elements/rh-card/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<!-- use another themeset -->
<!-- <link rel="stylesheet" type="text/css" href="../../test-themeset/test-themeset.css"> -->

<!-- uncomment the es5-adapter if you're using the compiled version -->
<!-- uncomment the es5-adapter if you're using the umd version -->
<script src="/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script>
<script src="/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.5/require.min.js"></script>
Expand All @@ -25,16 +25,16 @@
if support for IE11 IS NOT needed, just include the web components
that you want
-->
<script>require(['../rh-card.compiled.js'])</script>
<script>require(['../rh-card.umd.js'])</script>

<!--
if support IS needed for IE11
-->
<!-- use cp-themeset with support for IE11 -->
<!-- <script>require(['../../cp-themeset/cp-themeset.compiled.js','../rh-card.compiled.js'])</script> -->
<!-- <script>require(['../../cp-themeset/cp-themeset.umd.js','../rh-card.umd.js'])</script> -->

<!-- use another themeset with support for IE11 -->
<!-- <script>require(['../../test-themeset/test-themeset.compiled.js','../rh-card.compiled.js'])</script> -->
<!-- <script>require(['../../test-themeset/test-themeset.umd.js','../rh-card.umd.js'])</script> -->

</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions elements/rh-card/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ gulp.task("compile", () => {
.pipe(
replace(
/^(import .*?)(['"]\.\.\/(?!\.\.\/).*)(\.js['"];)$/gm,
"$1$2.compiled$3"
"$1$2.umd$3"
)
)
.pipe(babel())
.pipe(uglify())
.pipe(
rename({
suffix: ".compiled"
suffix: ".umd"
})
)
.pipe(gulp.dest("./"));
Expand Down
1 change: 0 additions & 1 deletion elements/rh-card/rh-card.compiled.js

This file was deleted.

1 change: 1 addition & 0 deletions elements/rh-card/rh-card.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions elements/rh-cta/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<meta charset="utf-8">
<title>RHElements: rh-cta Demo</title>

<!-- uncomment the es5-adapter if you're using the compiled version -->
<!-- uncomment the es5-adapter if you're using the umd version -->
<script src="/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script>
<script src="/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.5/require.min.js"></script>
<script>require(['../rh-cta.compiled.js'])</script>
<script>require(['../rh-cta.umd.js'])</script>

<style>
p {
Expand Down
4 changes: 2 additions & 2 deletions elements/rh-cta/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ gulp.task("compile", () => {
.pipe(
replace(
/^(import .*?)(['"]\.\.\/(?!\.\.\/).*)(\.js['"];)$/gm,
"$1$2.compiled$3"
"$1$2.umd$3"
)
)
.pipe(babel())
.pipe(uglify())
.pipe(
rename({
suffix: ".compiled"
suffix: ".umd"
})
)
.pipe(gulp.dest("./"));
Expand Down
Loading