pwa-auth 0.0.16 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,95 +0,0 @@
1
- /**
2
- @license
3
- Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
4
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
- Code distributed by Google as part of the polymer project is also
8
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
- */
10
-
11
- //@ts-check
12
- import { LitElement, html, css } from 'lit-element';
13
- import { setPassiveTouchGestures } from '@polymer/polymer/lib/utils/settings';
14
- // POLYMER ELEMENTS
15
- import '@polymer/app-layout/app-header-layout/app-header-layout';
16
- import '@polymer/app-layout/app-header/app-header';
17
- // ELEMENTS
18
- import '../pwa-auth';
19
- class ApplicationShell extends LitElement {
20
-
21
- constructor() {
22
- super();
23
- // See https://www.polymer-project.org/2.0/docs/devguide/gesture-events#use-passive-gesture-listeners
24
- setPassiveTouchGestures(true);
25
- }
26
-
27
- static get styles() {
28
- return [
29
- css`
30
- :host {
31
- display: block;
32
- }
33
-
34
- /* DISPLAY READY STATE */
35
- main { display: block; margin: 10px; }
36
- .page {
37
- background-color: rgba(255,255,255, 0.9);
38
- border-radius: 8px;
39
- max-width: 600px;
40
- }
41
-
42
- /* Wide layout: when the viewport width is bigger than 480px, layout changes to a wide layout. */
43
- @media (min-width: 480px) {
44
- /** h2 { font-size: 36px; } */
45
- .main-title { font-size: 1em; }
46
- }
47
-
48
- `
49
- ];
50
- }
51
-
52
- render() {
53
- return html`
54
-
55
- <!-- APPLICATION HEADER LAYOUT -->
56
- <app-header-layout
57
- fullbleed>
58
-
59
- <!-- APPLICATION HEADER -->
60
- <app-header
61
- id="head"
62
- class="main-header"
63
- slot="header"
64
- fixed
65
- condenses>
66
-
67
- <!-- TITLE / PROJECT PAGE -->
68
- <a class="main-title">pwa-auth</a>
69
-
70
- <!-- LOG IN -->
71
- <user-icon></user-icon>
72
-
73
- </app-header>
74
-
75
- <!-- PAGES -->
76
- <main id="main">
77
- <user-drawer></user-drawer>
78
- </main>
79
-
80
- <!-- FOOTER -->
81
- <footer>
82
- <ul>
83
- <li><h3 class="business">©inmostFire</h3></li>
84
- <li><p class="slogan">"Innovation"</p></li>
85
- <li><p><a class="link" href="https://www.jackspublishing.com">about us</a></p></li>
86
- </ul>
87
- </footer>
88
-
89
- </app-header-layout>
90
-
91
- `;
92
- }
93
- }
94
-
95
- window.customElements.define('application-shell', ApplicationShell);