Skip to content

Commit

Permalink
restore @evergreen-wc dependencies with lit@2
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed May 27, 2021
1 parent e16401d commit 30c661c
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 7 deletions.
4 changes: 2 additions & 2 deletions www/components/banner/banner.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { css, html, LitElement, unsafeCSS } from 'lit';
import bannerCss from './banner.css';
import buttonCss from './button.css';
// import '@evergreen-wc/eve-button';
// import '@evergreen-wc/eve-container';
import '@evergreen-wc/eve-button';
import '@evergreen-wc/eve-container';

class Banner extends LitElement {
constructor() {
Expand Down
2 changes: 1 addition & 1 deletion www/components/header/header.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { css, html, LitElement, unsafeCSS } from 'lit';
import client from '@greenwood/plugin-graphql/core/client';
import MenuQuery from '@greenwood/plugin-graphql/queries/menu';
// import '@evergreen-wc/eve-container';
import '@evergreen-wc/eve-container';
import headerCss from './header.css';
import '../social-icons/social-icons.js';

Expand Down
2 changes: 2 additions & 0 deletions www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"author": "Owen Buckley <[email protected]>",
"license": "MIT",
"dependencies": {
"@evergreen-wc/eve-button": "^0.1.1",
"@evergreen-wc/eve-container": "^0.1.1",
"lit": "^2.0.0-rc.2",
"prismjs": "^1.21.0"
},
Expand Down
4 changes: 2 additions & 2 deletions www/templates/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
};
</style>

<!-- <script type="module">
<script type="module">
import '@evergreen-wc/eve-container';
</script> -->
</script>

<script type="module" src="/components/footer/footer.js"></script>
<script type="module" src="/components/header/header.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions www/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
</div>

<div class="gwd-content">
<!-- <eve-container fluid> -->
<eve-container fluid>
<app-scroll>
<content-outlet></content-outlet>
</app-scroll>
<!-- </eve-container> -->
</eve-container>
</div>

</div>
Expand Down
14 changes: 14 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,20 @@
resolved "https://registry.yarnpkg.com/@csstools/convert-colors/-/convert-colors-1.4.0.tgz#ad495dc41b12e75d588c6db8b9834f08fa131eb7"
integrity sha512-5a6wqoJV/xEdbRNKVo6I4hO3VjyDq//8q2f9I6PBAvMesJHFauXDorcNCsr9RzvsZnaWi5NYCcfyqP1QeFHFbw==

"@evergreen-wc/eve-button@^0.1.1":
version "0.1.1"
resolved "https://registry.yarnpkg.com/@evergreen-wc/eve-button/-/eve-button-0.1.1.tgz#352d02efe6458c8ff433d2d36d9b291066e99794"
integrity sha512-ALPaycuPXJP7CbWJ9M31L8VcchBVZoVRQLPV6rucdklVPtUyIPkUhO5Ewln2OZbZXv/R+f5eWCbdRUFeqlSk7w==
dependencies:
lit "^2.0.0-rc.2"

"@evergreen-wc/eve-container@^0.1.1":
version "0.1.1"
resolved "https://registry.yarnpkg.com/@evergreen-wc/eve-container/-/eve-container-0.1.1.tgz#768956d1d789de9e9236f993fbe47a6a0ee744e1"
integrity sha512-F35u9tBuyrIGwBgpPgB0OiF4CFHkgrQhSFAkRTFqAATTLBrIWZxtNC57k81lm4szBsUhwMnU5qZQJq0M555UmQ==
dependencies:
lit "^2.0.0-rc.2"

"@evocateur/libnpmaccess@^3.1.2":
version "3.1.2"
resolved "https://registry.yarnpkg.com/@evocateur/libnpmaccess/-/libnpmaccess-3.1.2.tgz#ecf7f6ce6b004e9f942b098d92200be4a4b1c845"
Expand Down

0 comments on commit 30c661c

Please sign in to comment.