pwa-auth 1.2.2 → 1.2.3
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.
- package/README.md +39 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,26 @@
|
|
|
1
|
-
Progressive Website Application Authentication
|
|
1
|
+
Progressive Website Application - Authentication
|
|
2
2
|
======================
|
|
3
3
|
|
|
4
|
-
#
|
|
5
|
-
|
|
4
|
+
# PWA-Auth Components [Demo](https://pwa-authentic.firebaseapp.com)
|
|
5
|
+
Hello, and welcome to Jack's Publishing of Custom HTML Elements.
|
|
6
6
|
|
|
7
|
-
|
|
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.
|
|
8
|
+
|
|
9
|
+
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
|
+
|
|
11
|
+
Authentication Components are for anyone who is looking for a quick and simple way to sign-up, log-in, log-out, modify, or delete a firebase account from thier own personal domain.
|
|
12
|
+
|
|
13
|
+
Jack's Publishing is dedicated to maintaining components for your projects. This specific project is design to be simple, and meet basic user needs, with the interplay of an Icon Button, Drop-down Drawer, and a Settings Page.
|
|
14
|
+
|
|
15
|
+
Continue reading to start installing the bundle:
|
|
16
|
+
- Pick the JavaScript File Type to Reference
|
|
17
|
+
- Understand the Library Features
|
|
18
|
+
- Understand the Library Boilerplate
|
|
19
|
+
- 3 Tag Placement
|
|
20
|
+
- Color Scheme: CSS Custom Properties
|
|
21
|
+
- Firebase Initialization
|
|
22
|
+
|
|
23
|
+
## Standard, Namespaced JavaScript
|
|
8
24
|
- copy the bundle: node_modules/pwa-auth/npm/pwa-auth.js
|
|
9
25
|
|
|
10
26
|
## Module JavaScript
|
|
@@ -18,15 +34,7 @@ import 'pwa-auth';
|
|
|
18
34
|
- Predicate State Behavior: [Redux](https://redux.js.org/)
|
|
19
35
|
- Frontend: [Lit](https://lit.dev)
|
|
20
36
|
|
|
21
|
-
##
|
|
22
|
-
- 3 Tag Placements (Custom HTML Elements)
|
|
23
|
-
- user-icon
|
|
24
|
-
- user-drawer
|
|
25
|
-
- user-settings
|
|
26
|
-
- Cascading Style Sheets (CSS)
|
|
27
|
-
- ECMA Script (JavaScript)
|
|
28
|
-
|
|
29
|
-
## Features:
|
|
37
|
+
## PWA-AUTH Features:
|
|
30
38
|
- Register through Email and Password
|
|
31
39
|
- Log-in
|
|
32
40
|
- Log-out
|
|
@@ -36,6 +44,14 @@ import 'pwa-auth';
|
|
|
36
44
|
- Change Password
|
|
37
45
|
- Delete Account
|
|
38
46
|
|
|
47
|
+
## Boilerplate
|
|
48
|
+
- 3 Tag Placements (Custom HTML Elements)
|
|
49
|
+
- user-icon
|
|
50
|
+
- user-drawer
|
|
51
|
+
- user-settings
|
|
52
|
+
- Cascading Style Sheets (CSS)
|
|
53
|
+
- ECMA Script (JavaScript)
|
|
54
|
+
|
|
39
55
|
## Custom Elements
|
|
40
56
|
|
|
41
57
|
### `<user-icon>`
|
|
@@ -151,10 +167,11 @@ import 'pwa-auth';
|
|
|
151
167
|
- Firebase Project
|
|
152
168
|
|
|
153
169
|
## Firebase Setup
|
|
154
|
-
- Authentication - email
|
|
155
|
-
- Cloud
|
|
156
|
-
- Cloud Storage
|
|
170
|
+
- Authentication - email login
|
|
171
|
+
- Cloud Storage - icon save location
|
|
157
172
|
|
|
173
|
+
## Firebase Instance Configuration
|
|
174
|
+
### Modular Firebase Initialization
|
|
158
175
|
```javascript
|
|
159
176
|
// Initialize Firebase
|
|
160
177
|
let connect = {
|
|
@@ -171,6 +188,12 @@ let connect = {
|
|
|
171
188
|
if (lolalhost) { connect = { /* etc. */ } }
|
|
172
189
|
```
|
|
173
190
|
|
|
191
|
+
### Global Namespaced Firebase Configuration
|
|
192
|
+
pwa-auth is built upon the Firebase SDK (Software Development Kit).
|
|
193
|
+
The entire bundle is one instance of firebase that takes in the configuration information, internally.
|
|
194
|
+
|
|
195
|
+
If you are looking for a Namespaced Firebase Configuration, please send it as feedback, and will make that version for you.
|
|
196
|
+
|
|
174
197
|
# Feedback
|
|
175
198
|
All feedback, comments, bugs, and requests are welcome.
|
|
176
199
|
* [Jack's Publishing](https://www.jackspublishing.com)
|
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.
|
|
4
|
+
"version": "1.2.3",
|
|
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",
|