Skip to content

Commit

Permalink
Add Lit to Examples (#2196)
Browse files Browse the repository at this point in the history
  • Loading branch information
flashdesignory authored Sep 20, 2023
1 parent 26c5ed9 commit 1902cc1
Show file tree
Hide file tree
Showing 25 changed files with 3,987 additions and 0 deletions.
1 change: 1 addition & 0 deletions .jshintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
site-assets/*
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,7 @@ jobs:
env:
- CYPRESS_framework=vue
<<: *defaults
- stage: test
env:
- CYPRESS_framework=lit
<<: *defaults
3 changes: 3 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ jobs:
<<: *defaults
flight:
<<: *defaults
lit:
<<: *defaults
# compiled-to-js frameworks
kotlin-react:
<<: *defaults
Expand Down Expand Up @@ -165,6 +167,7 @@ workflows:
- knockoutjs
- polymer
- flight
- lit
# second tab - compiled-to-js frameworks
compiled-to-js:
jobs:
Expand Down
8 changes: 8 additions & 0 deletions examples/lit/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/node_modules
/.tsbuildinfo
/.wireit
/.rollup.cache

/lib
/index.js
/index.js.map
53 changes: 53 additions & 0 deletions examples/lit/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html data-framework="lit">
<head>
<meta charset="utf-8" />
<title>TodoMVC: Lit</title>
<script type="module" src="./index.js"></script>
<style>
html,
body {
margin: 0;
padding: 0;
}
body {
font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
line-height: 1.4em;
background: #f5f5f5;
color: #111111;
min-width: 230px;
max-width: 550px;
margin: 0 auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 300;
}
.info {
margin: 65px auto 0;
color: #4d4d4d;
font-size: 11px;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
text-align: center;
}
.info p {
line-height: 1;
}
.info a {
color: inherit;
text-decoration: none;
font-weight: 400;
}
.info a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<todo-app></todo-app>
<footer class="info">
<p>Double-click to edit a todo</p>
<p>Written by <a href="https://github.com/lit">the lit team</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer>
</body>
</html>
65 changes: 65 additions & 0 deletions examples/lit/dist/index.js

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions examples/lit/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html data-framework="lit">
<head>
<meta charset="utf-8" />
<title>TodoMVC: Lit</title>
<script type="module" src="./index.js"></script>
<style>
html,
body {
margin: 0;
padding: 0;
}
body {
font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
line-height: 1.4em;
background: #f5f5f5;
color: #111111;
min-width: 230px;
max-width: 550px;
margin: 0 auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 300;
}
.info {
margin: 65px auto 0;
color: #4d4d4d;
font-size: 11px;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
text-align: center;
}
.info p {
line-height: 1;
}
.info a {
color: inherit;
text-decoration: none;
font-weight: 400;
}
.info a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<todo-app></todo-app>
<footer class="info">
<p>Double-click to edit a todo</p>
<p>Written by <a href="https://github.com/lit">the lit team</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer>
</body>
</html>
Loading

0 comments on commit 1902cc1

Please sign in to comment.