pwa-auth 1.2.3 → 2.0.1

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +84 -43
  3. package/demo/index.html +72 -34
  4. package/deploy/css/form/button.d.ts.map +1 -1
  5. package/deploy/css/form/button.js +0 -14
  6. package/deploy/css/form/list.d.ts.map +1 -1
  7. package/deploy/css/form/list.js +11 -1
  8. package/deploy/custom-elements/drawer/css/drawer.d.ts.map +1 -1
  9. package/deploy/custom-elements/drawer/css/drawer.js +38 -8
  10. package/deploy/custom-elements/drawer/css/exit.d.ts.map +1 -1
  11. package/deploy/custom-elements/drawer/css/exit.js +3 -2
  12. package/deploy/custom-elements/drawer/css/paragraph.js +3 -3
  13. package/deploy/custom-elements/drawer/css/toggle.d.ts +3 -0
  14. package/deploy/custom-elements/drawer/css/toggle.d.ts.map +1 -0
  15. package/deploy/custom-elements/drawer/css/toggle.js +18 -0
  16. package/deploy/custom-elements/drawer/drawer.d.ts +2 -2
  17. package/deploy/custom-elements/drawer/drawer.d.ts.map +1 -1
  18. package/deploy/custom-elements/drawer/drawer.js +10 -44
  19. package/deploy/custom-elements/drawer/input/login.d.ts.map +1 -1
  20. package/deploy/custom-elements/drawer/input/login.js +11 -7
  21. package/deploy/custom-elements/drawer/input/sign-up.d.ts.map +1 -1
  22. package/deploy/custom-elements/drawer/input/sign-up.js +12 -9
  23. package/deploy/custom-elements/icon/css/icon.d.ts.map +1 -1
  24. package/deploy/custom-elements/icon/css/icon.js +28 -30
  25. package/deploy/custom-elements/icon/icon.d.ts +1 -1
  26. package/deploy/custom-elements/icon/icon.d.ts.map +1 -1
  27. package/deploy/custom-elements/icon/icon.js +8 -16
  28. package/deploy/custom-elements/settings/css/navigation.d.ts.map +1 -1
  29. package/deploy/custom-elements/settings/css/navigation.js +1 -11
  30. package/package.json +1 -1
  31. package/deploy/custom-elements/drawer/css/old/visibility.d.ts +0 -3
  32. package/deploy/custom-elements/drawer/css/old/visibility.d.ts.map +0 -1
  33. package/deploy/custom-elements/drawer/css/old/visibility.js +0 -22
package/CHANGELOG.md CHANGED
@@ -12,6 +12,14 @@ Removed - for now removed features.
12
12
  Fixed - for any bug fixes.
13
13
  Security - in case of vulnerabilities.
14
14
 
15
+ # [1.2.4] - 2025-08-31
16
+
17
+ ## Changed
18
+ - user-icon: property namespace: subscribe
19
+ - user-drawer: property namespace: subscribe, settingsURL
20
+ - updated ReadMe File
21
+ - updated CSS Custom Properties
22
+
15
23
  # [1.1.6] - 2025-08-25
16
24
 
17
25
  ## Changed
package/README.md CHANGED
@@ -1,10 +1,8 @@
1
1
  Progressive Website Application - Authentication
2
2
  ======================
3
-
4
- # PWA-Auth Components [Demo](https://pwa-authentic.firebaseapp.com)
5
3
  Hello, and welcome to Jack's Publishing of Custom HTML Elements.
6
4
 
7
- PWA-AUTH is a bundle of 3 Custom HTML Elements for Firebase (IAM) Authenication using email and password, with the ability to change username, icon, email, password, or delete your own account and it's content all together.
5
+ pwa-auth.js is a bundle of 3 Custom HTML Elements for Firebase (IAM) Authenication using email and password, with the ability to change username, icon, email, password, or delete your own account and it's content all together.
8
6
 
9
7
  You will learn how to reference, initialize, and place 3 Custom HTML Tags for use. By either <b>Standard</b> or <b>Modular</b> ECMA Script.
10
8
 
@@ -20,10 +18,12 @@ Continue reading to start installing the bundle:
20
18
  - Color Scheme: CSS Custom Properties
21
19
  - Firebase Initialization
22
20
 
21
+ [Live Demo](https://pwa-authentic.firebaseapp.com)
22
+
23
23
  ## Standard, Namespaced JavaScript
24
24
  - copy the bundle: node_modules/pwa-auth/npm/pwa-auth.js
25
25
 
26
- ## Module JavaScript
26
+ ## Modular JavaScript
27
27
  ```javascript
28
28
  import 'pwa-auth';
29
29
  ```
@@ -54,18 +54,24 @@ import 'pwa-auth';
54
54
 
55
55
  ## Custom Elements
56
56
 
57
- ### `<user-icon>`
57
+ ```html
58
+ <user-icon subscribe></user-icon>
59
+ ```
58
60
  - Login Word Button - State
59
61
  - 1 Photo Icon Display - State
60
62
 
61
- ### `<user-drawer>`
63
+ ```html
64
+ <user-drawer subscribe settingsURL=""></user-drawer>
65
+ ```
62
66
  - Drop-down
63
67
  - Sign-up by Email Addresses and Password
64
68
  - Sign-in by Email Addresses and Password
65
69
  - logged-in state
66
70
  - logged-out state
67
71
 
68
- ### `<user-settings>`
72
+ ```html
73
+ <user-settings></user-settings>
74
+ ```
69
75
  - 1 Photo Upload
70
76
  - Unavailable Photo
71
77
  - Update Username
@@ -76,15 +82,15 @@ import 'pwa-auth';
76
82
  # Website Setup:
77
83
  ```html
78
84
  <header>
79
- <!-- register: Indicate the 'register' boolean for 'subscribe state' -->
80
- <!-- register: else 'login state' -->
81
- <user-icon register></user-icon>
85
+ <!-- subscribe: Indicate the 'register' boolean for 'subscribe state' -->
86
+ <!-- subscribe: else 'login state' -->
87
+ <user-icon subscribe></user-icon>
82
88
  </header>
83
89
 
84
- <!-- url: Indicate where the <pwa-settings> Tag will be Paged-->
85
- <!-- register: Indicate the 'register' boolean for 'subscribe state' -->
86
- <!-- register: else 'login state' -->
87
- <user-drawer register url="/settings"></user-drawer>
90
+ <!-- settingsURL: where the <pwa-settings> Tag will be placed-->
91
+ <!-- subscribe: boolean for 'subscribe state' -->
92
+ <!-- subscribe: else 'login state' -->
93
+ <user-drawer subscribe settingsURL="/settings"></user-drawer>
88
94
 
89
95
  <main>
90
96
  <user-settings></user-settings>
@@ -117,47 +123,82 @@ import 'pwa-auth';
117
123
  <!-- CSS: Custom Variables -->
118
124
  <!-- Place this txt into your document -->
119
125
  <style>
120
-
121
- :root {
122
126
 
123
- --pwa_settings_background: white;
127
+ :root {
128
+
129
+ /* WebComponent 1 : User Icon
130
+ <user-icon>
131
+ <button> */
132
+ --pwa_icon_hover: lightgrey;
133
+ --pwa_icon_background: #6cc04a;
134
+ --pwa_icon_border: 2px solid black;
135
+
136
+ /* WebComponent 1: logged-out
137
+ <user-icon>
138
+ <button class="login"> */
139
+ --pwa_icon_height: 32px;
140
+ --pwa_icon_padding: 0px 16px;
141
+ --pwa_icon_radius: 6px;
142
+ --pwa_icon_font: 'Arial', sans-serif;
143
+
144
+ /* WebComponent 1: logged-in
145
+ <user-icon>
146
+ <button class="icon"> */
147
+ --pwa_icon_diameter: 40px;
148
+
149
+
150
+
151
+ /* WebComponent 2: Drop-down Drawer
152
+ <user-drawer>
153
+ <section>
154
+ <header></header>
155
+ <div class="spec"> */
156
+ --pwa_drawer_border: 3px #303030 solid;
157
+ --pwa_drawer_z-index: 2;
158
+ --pwa_drawer_border-radius: 20px;
159
+
160
+ /* WebComponent 2: Drop-down Drawer - logged-out
161
+ <div class="spec"> */
162
+ --pwa_drawer_text_color: #303030;
163
+ --pwa_drawer_background_color: #fff;
164
+
165
+ /* WebComponent 2: Drop-down Drawer - logged-in
166
+ <div class="spec" on> */
124
167
 
125
- /* Top Border Color */
126
- --pwa_divider: grey;
127
168
 
128
- /* Section Header Color */
129
- --pwa_section_header: black;
130
169
 
131
- /* Navigation Colors */
132
- --pwa_nav_button: grey;
133
- --pwa_nav_select: black;
170
+ /* WebComponent 3: Settings Page
171
+ <user-settings>
172
+ <nav></nav>
173
+ <section></section> */
174
+ --pwa_settings_background: white;
175
+ --pwa_divider: black;
134
176
 
135
- /* Label Color */
136
- --pwa_label_text_color: black;
177
+ /* Navigation */
178
+ --pwa_nav_button: grey;
179
+ --pwa_nav_select: black;
137
180
 
138
- /* Input Colors */
139
- --pwa_input_background: #E1E5EB;
181
+ /* Section Header */
182
+ --pwa_section_header: black;
140
183
 
141
- /* Button Colors */
142
- --pwa_action_text_color: #fff;
143
- --pwa_action_background_color: #6cc04a;
144
- --pwa_action_border_color: #60b23e;
184
+ /* Label */
185
+ --pwa_label_text_color: black;
145
186
 
146
- /* Drawer Colors */
147
- --pwa_drawer_text_color: #303030;
148
- --pwa_drawer_background_color: #fff;
187
+ /* Input */
188
+ --pwa_input_background: #E1E5EB;
149
189
 
150
- /* Icon Colors */
151
- --pwa_icon_background: #6cc04a;
152
- --pwa_icon_hover: lightgrey;
190
+ /* Button */
191
+ --pwa_action_text_color: #fff;
192
+ --pwa_action_background_color: #6cc04a;
193
+ --pwa_action_border_color: #60b23e;
153
194
 
154
- }
195
+ }
155
196
 
156
- /* Dark Theme */
157
- @media (prefers-color-scheme: dark) { /* etc. */ }
197
+ /* Dark Theme */
198
+ @media (prefers-color-scheme: dark) { /* etc. */ }
158
199
 
159
- /* Light Theme */
160
- @media (prefers-color-scheme: light) { /* etc. */ }
200
+ /* Light Theme */
201
+ @media (prefers-color-scheme: light) { /* etc. */ }
161
202
 
162
203
  </style>
163
204
  ```
package/demo/index.html CHANGED
@@ -1,5 +1,7 @@
1
1
  <!DOCTYPE html>
2
+
2
3
  <html lang="en">
4
+
3
5
  <head>
4
6
 
5
7
  <meta charset="UTF-8">
@@ -20,7 +22,7 @@
20
22
  <!-- HTTPS REFERRER TAG-->
21
23
  <meta name="referrer" content="origin" />
22
24
  <!-- MANIFEST -->
23
- <link rel="manifest" href="manifest.json" />
25
+ <link rel="manifest" href="public/manifest.json" />
24
26
  <!-- FAVICON -->
25
27
  <link rel="icon" href="images/favicon.ico">
26
28
 
@@ -37,7 +39,7 @@
37
39
 
38
40
  </head>
39
41
  <!-- End Head -->
40
-
42
+
41
43
  <!-- Start Body -->
42
44
  <body>
43
45
 
@@ -47,12 +49,12 @@
47
49
  <iframe src="https://github.com/sponsors/busynest/button" title="Sponsor busynest" height="32" width="114" style="border: 0; border-radius: 6px; margin: auto 0 auto 0;"></iframe>
48
50
 
49
51
  <!-- Icon Tag -->
50
- <user-icon register></user-icon>
52
+ <user-icon subscribe></user-icon>
51
53
 
52
54
  </header>
53
55
 
54
56
  <!-- Drawer Tag-->
55
- <user-drawer register url="/demo/settings"></user-drawer>
57
+ <user-drawer subscribe settingsURL="/demo/settings"></user-drawer>
56
58
 
57
59
  <main>
58
60
 
@@ -63,47 +65,82 @@
63
65
 
64
66
  <!-- CSS: Custom Variables: <head> tag -->
65
67
  <style>
66
-
67
- :root {
68
+
69
+ :root {
68
70
 
69
- --pwa_settings_background: white;
71
+ /* WebComponent 1 : User Icon
72
+ <user-icon>
73
+ <button> */
74
+ --pwa_icon_hover: lightgrey;
75
+ --pwa_icon_background: #6cc04a;
76
+ --pwa_icon_border: 2px solid black;
70
77
 
71
- /* Top Border Color */
72
- --pwa_divider: grey;
78
+ /* WebComponent 1: logged-out
79
+ <user-icon>
80
+ <button class="login"> */
81
+ --pwa_icon_height: 32px;
82
+ --pwa_icon_padding: 0px 16px;
83
+ --pwa_icon_radius: 6px;
84
+ --pwa_icon_font: 'Arial', sans-serif;
73
85
 
74
- /* Section Header Color */
75
- --pwa_section_header: black;
86
+ /* WebComponent 1: logged-in
87
+ <user-icon>
88
+ <button class="icon"> */
89
+ --pwa_icon_diameter: 40px;
76
90
 
77
- /* Navigation Colors */
78
- --pwa_nav_button: grey;
79
- --pwa_nav_select: black;
80
91
 
81
- /* Label Color */
82
- --pwa_label_text_color: black;
83
92
 
84
- /* Input Colors */
85
- --pwa_input_background: #E1E5EB;
93
+ /* WebComponent 2: Drop-down Drawer
94
+ <user-drawer>
95
+ <section>
96
+ <header></header>
97
+ <div class="spec"> */
98
+ --pwa_drawer_border: 3px #303030 solid;
99
+ --pwa_drawer_z-index: 2;
100
+ --pwa_drawer_border-radius: 20px;
86
101
 
87
- /* Button Colors */
88
- --pwa_action_text_color: #fff;
89
- --pwa_action_background_color: #6cc04a;
90
- --pwa_action_border_color: #60b23e;
102
+ /* WebComponent 2: Drop-down Drawer - logged-out
103
+ <div class="spec"> */
104
+ --pwa_drawer_text_color: #303030;
105
+ --pwa_drawer_background_color: #fff;
91
106
 
92
- /* Drawer Colors */
93
- --pwa_drawer_text_color: #303030;
94
- --pwa_drawer_background_color: #fff;
107
+ /* WebComponent 2: Drop-down Drawer - logged-in
108
+ <div class="spec" on> */
95
109
 
96
- /* Icon Colors */
97
- --pwa_icon_background: #6cc04a;
98
- --pwa_icon_hover: lightgrey;
99
110
 
100
- }
101
111
 
102
- /* Dark Theme */
103
- @media (prefers-color-scheme: dark) { }
112
+ /* WebComponent 3: Settings Page
113
+ <user-settings>
114
+ <nav></nav>
115
+ <section></section> */
116
+ --pwa_settings_background: white;
117
+ --pwa_divider: black;
118
+
119
+ /* Navigation */
120
+ --pwa_nav_button: grey;
121
+ --pwa_nav_select: black;
122
+
123
+ /* Section Header */
124
+ --pwa_section_header: black;
125
+
126
+ /* Label */
127
+ --pwa_label_text_color: black;
104
128
 
105
- /* Light Theme */
106
- @media (prefers-color-scheme: light) { }
129
+ /* Input */
130
+ --pwa_input_background: #E1E5EB;
131
+
132
+ /* Button */
133
+ --pwa_action_text_color: #fff;
134
+ --pwa_action_background_color: #6cc04a;
135
+ --pwa_action_border_color: #60b23e;
136
+
137
+ }
138
+
139
+ /* Dark Theme */
140
+ @media (prefers-color-scheme: dark) { }
141
+
142
+ /* Light Theme */
143
+ @media (prefers-color-scheme: light) { }
107
144
 
108
145
  </style>
109
146
 
@@ -126,6 +163,7 @@
126
163
 
127
164
  <!-- Application Shell -->
128
165
  <script type="module" src="pwa-auth.js" async></script>
129
-
166
+
130
167
  </body>
168
+
131
169
  </html>
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/css/form/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,eAAO,MAAM,WAAW,EAAE,SAkEzB,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/css/form/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,eAAO,MAAM,WAAW,EAAE,SAoDzB,CAAC"}
@@ -51,18 +51,4 @@ export const buttonStyle = css `
51
51
  cursor: pointer;
52
52
  }
53
53
 
54
- /* Switch Login / Sign-up Button */
55
- .new {
56
- padding: 12px;
57
- border-radius: 4px;
58
- appearance: none;
59
- background-color: transparent;
60
- border: 0px;
61
- color: inherit;
62
- cursor: pointer;
63
- text-decoration: underline;
64
- font-size: small;
65
- }
66
-
67
-
68
54
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/css/form/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,SAAS,EAAE,SAUvB,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/css/form/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,SAAS,EAAE,SAoBvB,CAAC"}
@@ -7,6 +7,16 @@ export const listStyle = css `
7
7
  margin: 0;
8
8
  }
9
9
 
10
- li { display: grid; }
10
+ li {
11
+ display: grid;
12
+ }
13
+
14
+ .divider {
15
+ border-top: 2px dotted black;
16
+ border-bottom: 2px dotted black;
17
+ text-align: center;
18
+ width: 80%;
19
+ margin: auto;
20
+ }
11
21
 
12
22
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/css/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,WAAW,EAAE,SAuBzB,CAAC"}
1
+ {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/css/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,WAAW,EAAE,SAqDzB,CAAC"}
@@ -1,25 +1,55 @@
1
1
  import { css } from "lit";
2
2
  export const drawerStyle = css `
3
3
 
4
+ /* <user-drawer> : parent container */
5
+ :host {
6
+ position: absolute;
7
+ max-height: 0px;
8
+ transition: max-height 1.4s ease-out;
9
+ overflow: hidden;
10
+ height: auto;
11
+ display: grid;
12
+ padding-top: env(safe-area-inset-top);
13
+ }
14
+
15
+ :host([drawer]) {
16
+ transition-duration: 1.4s;
17
+ max-height: 100%;
18
+ transition: max-height 1.4s ease-out;
19
+ }
20
+
21
+ /* wrapper : child container*/
4
22
  .userDrawer {
5
- max-width: 600px;
6
- margin: 16px auto auto auto;
23
+ position: fixed;
24
+ top: 0;
25
+ left: 0;
26
+ right: 0;
27
+ transition-duration: 1.4s;
28
+ border: var(--pwa_drawer_border);
29
+ z-index: var(--pwa_drawer_z-index);
30
+ overflow: hidden;
7
31
  background-color: var(--pwa_drawer_background_color);
8
32
  color: var(--pwa_drawer_text_color);
9
33
  box-sizing: border-box;
10
- border: 3px #303030 solid;
11
- border-radius: 20px;
34
+ border-radius: var(--pwa_drawer_border-radius);
12
35
  height: auto;
36
+ transition-property: visibility, max-height;
13
37
  }
14
38
 
39
+ /* wrapper closed */
15
40
  .closed {
16
- max-height: 0px;
17
- transition: max-height 1.4s ease-out;
41
+ max-height: 0px;
42
+ transition: max-height 1.4s ease-out;
43
+ visibility: hidden;
44
+ transition-property: visibility, max-height;
18
45
  }
19
46
 
47
+ /* wrapper opened */
20
48
  .opened {
21
- max-height: 100%;
22
- transition: max-height 1.4s ease-out;
49
+ max-height: 100%;
50
+ transition: max-height 1.4s ease-out;
51
+ visibility: visible;
52
+ transition-property: visibility, max-height;
23
53
  }
24
54
 
25
55
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"exit.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/css/exit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,SAAS,EAAE,SA6CvB,CAAC"}
1
+ {"version":3,"file":"exit.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/css/exit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,SAAS,EAAE,SA8CvB,CAAC"}
@@ -16,6 +16,7 @@ export const exitStyle = css `
16
16
  }
17
17
 
18
18
  .exit > .remove {
19
+ cursor: pointer;
19
20
  background-color: transparent;
20
21
  border: 0px;
21
22
  color: red;
@@ -24,7 +25,7 @@ export const exitStyle = css `
24
25
  text-transform: uppercase;
25
26
  opacity: .6;
26
27
  }
27
-
28
+ /*
28
29
  .exit > .refresh {
29
30
  background-color: transparent;
30
31
  border: 0px;
@@ -33,7 +34,7 @@ export const exitStyle = css `
33
34
  width: 36px;
34
35
  padding: 0px;
35
36
  }
36
-
37
+ */
37
38
  .close {
38
39
  height: 30px;
39
40
  width: 42px;
@@ -2,9 +2,9 @@ import { css } from "lit";
2
2
  export const lineStyle = css `
3
3
 
4
4
  .setLog > p {
5
- margin: 12px;
6
- box-sizing: border-box;
7
- text-align: center;
5
+ margin: 12px;
6
+ box-sizing: border-box;
7
+ text-align: center;
8
8
  }
9
9
 
10
10
  `;
@@ -0,0 +1,3 @@
1
+ import { CSSResult } from "lit";
2
+ export declare const toggleStyle: CSSResult;
3
+ //# sourceMappingURL=toggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/css/toggle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,WAAW,EAAE,SAgBzB,CAAA"}
@@ -0,0 +1,18 @@
1
+ import { css } from "lit";
2
+ export const toggleStyle = css `
3
+
4
+ /* Switch Login / Sign-up Button */
5
+ .new {
6
+ padding: 12px;
7
+ border-radius: 4px;
8
+ appearance: none;
9
+ background-color: transparent;
10
+ border: 0px;
11
+ color: inherit;
12
+ cursor: pointer;
13
+ text-decoration: underline;
14
+ font-size: small;
15
+ line-height: 42px;
16
+ }
17
+
18
+ `;
@@ -16,9 +16,9 @@ declare const UserDrawer_base: (new (...args: any[]) => {
16
16
  readonly isConnected: boolean;
17
17
  }) & typeof LitElement;
18
18
  export declare class UserDrawer extends UserDrawer_base {
19
- private url;
19
+ private settingsURL;
20
20
  drawer: boolean;
21
- register: boolean;
21
+ subscribe: boolean;
22
22
  private _name;
23
23
  private _log;
24
24
  private _sign;
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/custom-elements/drawer/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,MAAoB,KAAK,CAAC;AAG1E,OAAO,EAAS,QAAQ,EAAE,MAAqB,aAAa,CAAC;AAa7D,OAAO,eAAe,CAAC;AACvB,OAAO,iBAAiB,CAAC;;;;;;;;;;;;;;AAEzB,qBACa,UAAW,SAAQ,eAA0B;IAGf,OAAO,CAAC,GAAG,CAAM;IAGO,MAAM,UAAS;IAGf,QAAQ,UAAS;IAEzE,OAAO,CAAC,KAAK,CAAa;IAC1B,OAAO,CAAC,IAAI,CAAiB;IAC7B,OAAO,CAAC,KAAK,CAAgB;;IAMtC,YAAY,CAAC,KAAK,EAAE,QAAQ;IAO5B,SAAS,CAAC,YAAY;IAatB,MAAM,KAAK,MAAM,IAAI,cAAc,CA0ChC;IAEH,SAAS,CAAC,MAAM;CA+CjB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,aAAa,EAAE,UAAU,CAAC;KAC7B;CACF"}
1
+ {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/custom-elements/drawer/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAQ,UAAU,EAAE,MAAQ,KAAK,CAAC;AAGzD,OAAO,EAAS,QAAQ,EAAE,MAAyB,aAAa,CAAC;AAajE,OAAO,eAAe,CAAC;AACvB,OAAO,iBAAiB,CAAC;;;;;;;;;;;;;;AAEzB,qBACa,UAAW,SAAQ,eAA0B;IAGf,OAAO,CAAC,WAAW,CAAM;IAGD,MAAM,UAAS;IAGf,SAAS,UAAS;IAE1E,OAAO,CAAC,KAAK,CAAa;IAC1B,OAAO,CAAC,IAAI,CAAiB;IAC7B,OAAO,CAAC,KAAK,CAAgB;;IAItC,YAAY,CAAC,KAAK,EAAE,QAAQ;IAO5B,SAAS,CAAC,YAAY;IAatB,MAAM,KAAK,MAAM,IAAI,cAAc,CAOhC;IAEH,SAAS,CAAC,MAAM;CA+CjB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,aAAa,EAAE,UAAU,CAAC;KAC7B;CACF"}
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { css, html, LitElement } from 'lit';
7
+ import { html, LitElement } from 'lit';
8
8
  import { customElement, property, state } from 'lit/decorators.js';
9
9
  import { connect } from 'pwa-helpers/connect-mixin';
10
10
  import { store } from '../../store';
@@ -22,9 +22,9 @@ import './input/sign-up';
22
22
  let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
23
23
  constructor() {
24
24
  super();
25
- this.url = '';
25
+ this.settingsURL = '';
26
26
  this.drawer = false;
27
- this.register = false;
27
+ this.subscribe = false;
28
28
  this._name = "";
29
29
  this._log = false;
30
30
  this._sign = false;
@@ -53,41 +53,7 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
53
53
  exitStyle,
54
54
  linkStyle,
55
55
  lineStyle,
56
- listStyle,
57
- css `
58
-
59
- :host {
60
- z-index: 2;
61
- position: fixed;
62
- top: 0;
63
- left: 0;
64
- right: 0;
65
- overflow: hidden;
66
-
67
- transition-property: max-height;
68
- transition-duration: 1.4s;
69
- height: auto;
70
- max-height: 0px;
71
- transition: max-height 1.5s ease-out;
72
-
73
- display: block;
74
- padding-top: env(safe-area-inset-top);
75
- }
76
-
77
- /*visibility: hidden;
78
- /*will-change: transform;
79
- transform: translate3d(0, -150%, 0);
80
- transition-property: visibility, transform;*/
81
-
82
- /*transform: translate3d(0, 0, 0);*/
83
-
84
- :host([drawer]) {
85
- transition-duration: 1.4s;
86
- max-height: 100%;
87
- transition: max-height 1.5s ease-out;
88
- }
89
-
90
- `
56
+ listStyle
91
57
  ];
92
58
  }
93
59
  ;
@@ -101,7 +67,7 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
101
67
  <!-- Exit Button -->
102
68
  <header class="exit">
103
69
  <div></div>
104
- <h3>${this._log ? this._name + " : Logged-in" : "SUBSCRIBE"}</h3>
70
+ <h3>${this._log ? this._name : this._sign === this.subscribe ? "Subscribe" : "Login"} </h3>
105
71
  <button class="close">${close}</button>
106
72
  </header>
107
73
 
@@ -113,12 +79,12 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
113
79
  <!-- Log-in State -->
114
80
  <user-log-in
115
81
  class="spec"
116
- ?on="${true === this._sign ? !this.register : this.register}"></user-log-in>
82
+ ?on="${true === this._sign ? !this.subscribe : this.subscribe}"></user-log-in>
117
83
 
118
84
  <!-- Sign-up State -->
119
85
  <user-sign-up
120
86
  class="spec"
121
- ?on="${false === this._sign ? !this.register : this.register}"></user-sign-up>
87
+ ?on="${false === this._sign ? !this.subscribe : this.subscribe}"></user-sign-up>
122
88
 
123
89
  </div>
124
90
 
@@ -127,7 +93,7 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
127
93
  class="spec setLog"
128
94
  ?on="${this._log === true}">
129
95
 
130
- <p><a href="${this.url}">Settings</a></p>
96
+ <p><a href="${this.settingsURL}">Settings</a></p>
131
97
 
132
98
  <p><a class="leave" aria-label="log out">log out</a></p>
133
99
 
@@ -140,13 +106,13 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
140
106
  };
141
107
  __decorate([
142
108
  property({ type: String, reflect: true })
143
- ], UserDrawer.prototype, "url", void 0);
109
+ ], UserDrawer.prototype, "settingsURL", void 0);
144
110
  __decorate([
145
111
  property({ type: Boolean, attribute: true, reflect: true })
146
112
  ], UserDrawer.prototype, "drawer", void 0);
147
113
  __decorate([
148
114
  property({ type: Boolean, attribute: true, reflect: true })
149
- ], UserDrawer.prototype, "register", void 0);
115
+ ], UserDrawer.prototype, "subscribe", void 0);
150
116
  __decorate([
151
117
  state()
152
118
  ], UserDrawer.prototype, "_name", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/input/login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,MAAe,KAAK,CAAC;AAarD,qBACa,SAAU,SAAQ,UAAU;IAE9B,OAAO,CAAC,KAAK,CAAa;IAC1B,OAAO,CAAC,QAAQ,CAAU;;IAInC,MAAM,KAAK,MAAM,8BAad;IAEH,SAAS,CAAC,MAAM;IA8ChB,OAAO,CAAC,MAAM;IAKd,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,KAAK;IAQb,OAAO,CAAC,MAAM,CASb;CAEF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,aAAa,EAAE,SAAS,CAAC;KAC5B;CACF"}
1
+ {"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/input/login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,MAAe,KAAK,CAAC;AAerD,qBACa,SAAU,SAAQ,UAAU;IAE9B,OAAO,CAAC,KAAK,CAAa;IAC1B,OAAO,CAAC,QAAQ,CAAU;;IAInC,MAAM,KAAK,MAAM,8BAcd;IAEH,SAAS,CAAC,MAAM;IAgDhB,OAAO,CAAC,MAAM;IAKd,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,KAAK;IAQb,OAAO,CAAC,MAAM,CASb;CAEF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,aAAa,EAAE,SAAS,CAAC;KAC5B;CACF"}
@@ -12,6 +12,7 @@ import { buttonStyle } from '../../../css/form/button';
12
12
  import { labelStyle } from '../../../css/form/label';
13
13
  import { inputStyle } from '../../../css/form/input';
14
14
  import { listStyle } from '../../../css/form/list';
15
+ import { toggleStyle } from '../css/toggle';
15
16
  import store from '../../../store';
16
17
  import { signUpAction } from '../../../redux/frontend';
17
18
  let UserLogIn = class UserLogIn extends LitElement {
@@ -30,6 +31,7 @@ let UserLogIn = class UserLogIn extends LitElement {
30
31
  labelStyle,
31
32
  inputStyle,
32
33
  buttonStyle,
34
+ toggleStyle,
33
35
  css `
34
36
 
35
37
  .double {
@@ -66,19 +68,21 @@ let UserLogIn = class UserLogIn extends LitElement {
66
68
  type="password"
67
69
  @change="${this.handlePassword}">
68
70
  </li>
69
-
70
- <li class="double">
71
-
72
- <!-- Change State -->
73
- <button
74
- class="new"
75
- @click="${this.change}">create a new account</button>
76
71
 
72
+ <li>
77
73
  <button
78
74
  class="login action-button"
79
75
  @click="${this.login}">Sign in</button>
80
76
 
81
77
  </li>
78
+
79
+ <!-- Change State -->
80
+ <li>
81
+ <p class="divider">Or</p>
82
+ <button
83
+ class="new"
84
+ @click="${this.change}">create a new account</button>
85
+ </li>
82
86
 
83
87
  </ul>
84
88
 
@@ -1 +1 @@
1
- {"version":3,"file":"sign-up.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/input/sign-up.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAe,KAAK,CAAC;AAarD,qBACa,UAAW,SAAQ,UAAU;IAE/B,OAAO,CAAC,KAAK,CAAa;IAC1B,OAAO,CAAC,QAAQ,CAAU;;IAInC,MAAM,KAAK,MAAM,8BAad;IAEH,SAAS,CAAC,MAAM;IAkDhB,OAAO,CAAC,MAAM;IAKd,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,MAAM;IAOd,OAAO,CAAC,UAAU,CAiBjB;CAeF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,cAAc,EAAE,UAAU,CAAC;KAC9B;CACF"}
1
+ {"version":3,"file":"sign-up.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/drawer/input/sign-up.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAe,KAAK,CAAC;AAerD,qBACa,UAAW,SAAQ,UAAU;IAE/B,OAAO,CAAC,KAAK,CAAa;IAC1B,OAAO,CAAC,QAAQ,CAAU;;IAInC,MAAM,KAAK,MAAM,8BAcd;IAEH,SAAS,CAAC,MAAM;IAmDhB,OAAO,CAAC,MAAM;IAKd,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,MAAM;IAOd,OAAO,CAAC,UAAU,CAiBjB;CAeF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,cAAc,EAAE,UAAU,CAAC;KAC9B;CACF"}
@@ -12,6 +12,7 @@ import { buttonStyle } from '../../../css/form/button';
12
12
  import { labelStyle } from '../../../css/form/label';
13
13
  import { inputStyle } from '../../../css/form/input';
14
14
  import { listStyle } from '../../../css/form/list';
15
+ import { toggleStyle } from '../css/toggle';
15
16
  import store from '../../../store';
16
17
  import { signUpAction } from '../../../redux/frontend';
17
18
  let UserSignUp = class UserSignUp extends LitElement {
@@ -36,6 +37,7 @@ let UserSignUp = class UserSignUp extends LitElement {
36
37
  labelStyle,
37
38
  inputStyle,
38
39
  buttonStyle,
40
+ toggleStyle,
39
41
  css `
40
42
 
41
43
  .double {
@@ -75,19 +77,20 @@ let UserSignUp = class UserSignUp extends LitElement {
75
77
  @change="${this.handlePassword}">
76
78
  </li>
77
79
 
78
- <!-- <label><input id="veriftPassword" type="password" >Verify Password</label> -->
79
-
80
- <li class="double">
81
-
82
- <!-- Change State -->
83
- <button
84
- class="new"
85
- @click="${this.change}">login with existing email</button>
86
-
80
+ <li>
87
81
  <button
88
82
  class="newUser action-button"
89
83
  @click="${this.signUp}">Sign up</button>
84
+ </li>
85
+
86
+ <!-- <label><input id="veriftPassword" type="password" >Verify Password</label> -->
90
87
 
88
+ <!-- Change State -->
89
+ <li>
90
+ <p class="divider">Or</p>
91
+ <button
92
+ class="new"
93
+ @click="${this.change}">login with existing email</button>
91
94
  </li>
92
95
 
93
96
  </ul>
@@ -1 +1 @@
1
- {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/icon/css/icon.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,yBA4DtB,CAAC"}
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/icon/css/icon.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,yBA0DtB,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import { css } from 'lit';
2
2
  export const iconStyles = css `
3
3
 
4
- /* Animation background-color, transform, width, height, clip-path */
5
- .icon, .login {
6
- transition-property: width, border-radius;
7
- transition-duration: 2s;
4
+ :host {
5
+ margin: auto;
6
+ display: grid;
8
7
  }
9
8
 
10
9
  /* Shared Styles */
@@ -12,51 +11,50 @@ export const iconStyles = css `
12
11
  cursor: pointer;
13
12
  margin: auto;
14
13
  overflow: hidden;
15
- border: 2px solid black;
14
+ border: var(--pwa_icon_border);
16
15
  background-color: var(--pwa_icon_background);
17
16
  color: white;
18
17
  font-size: 15px;
19
18
  text-decoration: none;
19
+ transition-duration: 2s;
20
20
  }
21
21
 
22
22
  /* Hover Styles */
23
- .icon:hover, .login:hover { background-color: var(--pwa_icon_hover); }
23
+ .icon:hover,
24
+ .login:hover {
25
+ background-color: var(--pwa_icon_hover);
26
+ }
24
27
 
25
- /* The Icon Button */
28
+ /* Logged-in State: The Icon Button */
26
29
  .icon {
27
- height: 40px;
28
- width: 40px;
29
-
30
+ height: var(--pwa_icon_diameter);
31
+ width: var(--pwa_icon_diameter);
30
32
  border-radius: 50%;
31
-
32
33
  padding: 0;
33
34
  }
34
35
 
35
36
  /* The Login Button */
36
37
  .login {
37
- width: auto;
38
-
39
- border-radius: 6px;
40
-
41
- padding: 10px 20px;
42
- }
43
-
44
- /* Icon Artwork Wrapper */
45
- .iconArea {
46
- border-radius: 50%;
47
- overflow: hidden;
48
- width: 38px;
49
- height: 38px;
50
- margin: auto;
38
+ width: auto;
39
+ border-radius: var(--pwa_icon_radius);
40
+ height: var(--pwa_icon_height);
41
+ line-height: var(--pwa_icon_height);
42
+ padding: var(--pwa_icon_padding);
43
+ font-family: var(--pwa_icon_font);
44
+ font-weight: 500;
45
+ text-align: center;
51
46
  }
52
47
 
53
48
  /* Icon Artwork */
54
49
  .userImage {
55
- object-fit: cover;
56
- transition-property: all;
57
- transition-duration: 2s;
58
- clip-path: circle(50%);
59
- margin: auto;
50
+ object-fit: cover;
51
+ transition-property: all;
52
+ transition-duration: 2s;
53
+ clip-path: circle(50%);
54
+ overflow: hidden;
55
+ width: calc(var(--pwa_icon_diameter) - 2px);
56
+ height: calc(var(--pwa_icon_diameter) - 2px);
57
+ margin: auto;
60
58
  }
61
59
 
62
60
  `;
@@ -14,7 +14,7 @@ declare const UserIcon_base: (new (...args: any[]) => {
14
14
  readonly isConnected: boolean;
15
15
  }) & typeof LitElement;
16
16
  export declare class UserIcon extends UserIcon_base {
17
- register: boolean;
17
+ subscribe: boolean;
18
18
  private _user;
19
19
  private _photoURL;
20
20
  constructor();
@@ -1 +1 @@
1
- {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/custom-elements/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,MAAwB,KAAK,CAAC;AAG9E,OAAO,EAAS,QAAQ,EAAE,MAAyB,aAAa,CAAC;;;;;;;;;;;;;;AAKjE,qBACa,QAAS,SAAQ,aAA0B;IAGL,QAAQ,UAAS;IACzD,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,SAAS,CAAM;;IAKhC,SAAS,CAAC,YAAY;IAOtB,YAAY,CAAC,KAAK,EAAE,QAAQ;IAM5B,MAAM,KAAK,MAAM,IAAG,cAAc,CAM3B;IAEP,SAAS,CAAC,MAAM;CAwBjB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,WAAW,EAAE,QAAQ,CAAC;KACzB;CACF"}
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/custom-elements/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAQ,UAAU,EAAE,MAAQ,KAAK,CAAC;AAGzD,OAAO,EAAS,QAAQ,EAAE,MAAyB,aAAa,CAAC;;;;;;;;;;;;;;AAKjE,qBACa,QAAS,SAAQ,aAA0B;IAGL,SAAS,UAAS;IAE1D,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,SAAS,CAAM;;IAKhC,SAAS,CAAC,YAAY;IAOtB,YAAY,CAAC,KAAK,EAAE,QAAQ;IAM5B,MAAM,KAAK,MAAM,IAAG,cAAc,CAA0B;IAE5D,SAAS,CAAC,MAAM;CAyBjB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC3B,WAAW,EAAE,QAAQ,CAAC;KACzB;CACF"}
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { css, html, LitElement } from 'lit';
7
+ import { html, LitElement } from 'lit';
8
8
  import { customElement, property, state } from 'lit/decorators.js';
9
9
  import { connect } from 'pwa-helpers/connect-mixin.js';
10
10
  import { store } from '../../store';
@@ -13,12 +13,12 @@ import { toggleSign } from '../../redux/frontend';
13
13
  let UserIcon = class UserIcon extends connect(store)(LitElement) {
14
14
  constructor() {
15
15
  super();
16
- this.register = false;
16
+ this.subscribe = false;
17
17
  this._user = false;
18
18
  this._photoURL = '';
19
19
  }
20
20
  firstUpdated() {
21
- this.shadowRoot.querySelector('button').addEventListener('click', () => {
21
+ this.shadowRoot.querySelector('.toggles').addEventListener('click', () => {
22
22
  store.dispatch(toggleSign());
23
23
  });
24
24
  }
@@ -26,21 +26,13 @@ let UserIcon = class UserIcon extends connect(store)(LitElement) {
26
26
  this._user = state.frontend.login;
27
27
  this._photoURL = state.backend.photoURL;
28
28
  }
29
- static get styles() {
30
- return [
31
- iconStyles,
32
- css `
33
-
34
- :host { margin: auto; display: grid; }
35
-
36
- `
37
- ];
38
- }
29
+ static get styles() { return [iconStyles]; }
39
30
  render() {
40
31
  return html `
41
32
 
33
+ <!-- two classes: icon / login -->
42
34
  <button
43
- class="${this._user ? 'icon' : 'login'}"
35
+ class="${this._user ? 'icon' : 'login'} toggles"
44
36
  aria-label="login">
45
37
 
46
38
  ${this._user ? html `
@@ -54,7 +46,7 @@ let UserIcon = class UserIcon extends connect(store)(LitElement) {
54
46
  width = "38px"
55
47
  src = "${this._photoURL}">
56
48
  <!-- </div> -->
57
- ` : this.register ? 'Subscribe' : 'Login'}
49
+ ` : this.subscribe ? 'Subscribe' : 'Login'}
58
50
 
59
51
  </button>
60
52
 
@@ -63,7 +55,7 @@ let UserIcon = class UserIcon extends connect(store)(LitElement) {
63
55
  };
64
56
  __decorate([
65
57
  property({ type: Boolean, reflect: true })
66
- ], UserIcon.prototype, "register", void 0);
58
+ ], UserIcon.prototype, "subscribe", void 0);
67
59
  __decorate([
68
60
  state()
69
61
  ], UserIcon.prototype, "_user", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/settings/css/navigation.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,yBA2DtB,CAAC"}
1
+ {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../../src/custom-elements/settings/css/navigation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,yBAiDtB,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import { css } from 'lit';
2
2
  export const navigation = css `
3
3
 
4
- nav {
5
- overflow: hidden;
6
- }
4
+ nav { overflow: hidden; }
7
5
 
8
6
  /* Navigation Menu */
9
7
  nav > ul {
@@ -47,14 +45,6 @@ export const navigation = css `
47
45
 
48
46
  }
49
47
 
50
- /* Navigation Button - Media Text Justification
51
- @media (max-width: 460px) {
52
-
53
- button[value=profile], button[value=email] { text-align: left; }
54
- button[value=delete], button[value=password] { text-align: right; }
55
-
56
- }*/
57
-
58
48
  section[on] { display: grid; }
59
49
  section { display: none; }
60
50
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pwa-auth",
3
3
  "author": "Jacek Markiewicz <jack.solutionbox@gmail.com>(https://www.jackspublishing.com)",
4
- "version": "1.2.3",
4
+ "version": "2.0.1",
5
5
  "description": "User Management Component with 3 HTML Tags, and 1 Boilerplate Function to display user icon, sign up, login, log out, change account details, delete account.",
6
6
  "homepage": "https://pwa-authentic.firebaseapp.com",
7
7
  "main": "pwa-auth.js",
@@ -1,3 +0,0 @@
1
- import { CSSResult } from "lit";
2
- export declare const visibility: CSSResult;
3
- //# sourceMappingURL=visibility.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"visibility.d.ts","sourceRoot":"","sources":["../../../../../src/custom-elements/drawer/css/old/visibility.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,UAAU,EAAE,SAoBxB,CAAC"}
@@ -1,22 +0,0 @@
1
- import { css } from "lit";
2
- export const visibility = css `
3
-
4
- .visibility[on] {
5
- visibility: visible;
6
- transform: translate3d(0, 0, 0);
7
- }
8
-
9
- .visibility {
10
- position: fixed;
11
- top: 0;
12
- left: 0;
13
- right: 0;
14
- visibility: hidden;
15
- will-change: transform;
16
- transform: translate3d(0, -150%, 0);
17
- transition-property: visibility, transform;
18
- transition-duration: 1.4s;
19
- display: block;
20
- }
21
-
22
- `;