pwa-auth 3.0.5 → 3.1.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 (127) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +53 -42
  3. package/demonstration/compiled/pwa-auth.js +34 -34
  4. package/demonstration/compiled/pwa-auth.js.map +1 -1
  5. package/demonstration/compiled/pwa-helpers-BN4uXXdl.js +8 -0
  6. package/demonstration/compiled/pwa-helpers-BN4uXXdl.js.map +1 -0
  7. package/demonstration/compiled/pwa-helpers.js +8 -0
  8. package/demonstration/compiled/pwa-helpers.js.map +1 -0
  9. package/package.json +16 -3
  10. package/src/compiled/pwa-auth.js +34 -34
  11. package/src/compiled/pwa-auth.js.map +1 -1
  12. package/src/compiled/pwa-helpers-BN4uXXdl.js +8 -0
  13. package/src/compiled/pwa-helpers-BN4uXXdl.js.map +1 -0
  14. package/src/compiled/pwa-helpers.js +8 -0
  15. package/src/compiled/pwa-helpers.js.map +1 -0
  16. package/src/pwa-auth.js +0 -1
  17. package/src/pwa-helpers.js +1 -0
  18. package/src-classes/pwa-auth.js +3 -0
  19. package/src-compiled/pwa-auth.js +881 -0
  20. package/src-compiled/pwa-auth.js.map +1 -0
  21. package/src-compiled/pwa-helpers-BN4uXXdl.js +8 -0
  22. package/src-compiled/pwa-helpers-BN4uXXdl.js.map +1 -0
  23. package/src-compiled/pwa-helpers.js +8 -0
  24. package/src-compiled/pwa-helpers.js.map +1 -0
  25. package/src-export/pwa-auth.ts +3 -0
  26. package/src-export/pwa-helpers.ts +1 -0
  27. package/src-export/tsconfig.production.json +53 -0
  28. package/src-functions/pwa-helpers.js +1 -0
  29. package/src-typescript/development/helpers-array.ts +0 -0
  30. package/transpiled/src-export/pwa-auth.d.ts +4 -0
  31. package/transpiled/src-export/pwa-auth.d.ts.map +1 -0
  32. package/transpiled/src-export/pwa-auth.js +3 -0
  33. package/transpiled/src-export/pwa-helpers.d.ts +2 -0
  34. package/transpiled/src-export/pwa-helpers.d.ts.map +1 -0
  35. package/transpiled/src-export/pwa-helpers.js +1 -0
  36. package/transpiled/src-typescript/css/form/button.d.ts +3 -0
  37. package/transpiled/src-typescript/css/form/button.d.ts.map +1 -0
  38. package/transpiled/src-typescript/css/form/button.js +54 -0
  39. package/transpiled/src-typescript/css/form/input.d.ts +3 -0
  40. package/transpiled/src-typescript/css/form/input.d.ts.map +1 -0
  41. package/transpiled/src-typescript/css/form/input.js +24 -0
  42. package/transpiled/src-typescript/css/form/label.d.ts +3 -0
  43. package/transpiled/src-typescript/css/form/label.d.ts.map +1 -0
  44. package/transpiled/src-typescript/css/form/label.js +22 -0
  45. package/transpiled/src-typescript/css/form/list.d.ts +3 -0
  46. package/transpiled/src-typescript/css/form/list.d.ts.map +1 -0
  47. package/transpiled/src-typescript/css/form/list.js +22 -0
  48. package/transpiled/src-typescript/css/svg.d.ts +4 -0
  49. package/transpiled/src-typescript/css/svg.d.ts.map +1 -0
  50. package/transpiled/src-typescript/css/svg.js +4 -0
  51. package/transpiled/src-typescript/css/toggle.d.ts +2 -0
  52. package/transpiled/src-typescript/css/toggle.d.ts.map +1 -0
  53. package/transpiled/src-typescript/css/toggle.js +8 -0
  54. package/transpiled/src-typescript/firebase/authentication.d.ts +11 -0
  55. package/transpiled/src-typescript/firebase/authentication.d.ts.map +1 -0
  56. package/transpiled/src-typescript/firebase/authentication.js +10 -0
  57. package/transpiled/src-typescript/firebase/interface.d.ts +5 -0
  58. package/transpiled/src-typescript/firebase/interface.d.ts.map +1 -0
  59. package/transpiled/src-typescript/firebase/interface.js +79 -0
  60. package/transpiled/src-typescript/redux/backend.d.ts +16 -0
  61. package/transpiled/src-typescript/redux/backend.d.ts.map +1 -0
  62. package/transpiled/src-typescript/redux/backend.js +43 -0
  63. package/transpiled/src-typescript/redux/drawer.d.ts +20 -0
  64. package/transpiled/src-typescript/redux/drawer.d.ts.map +1 -0
  65. package/transpiled/src-typescript/redux/drawer.js +21 -0
  66. package/transpiled/src-typescript/redux/frontend.d.ts +17 -0
  67. package/transpiled/src-typescript/redux/frontend.d.ts.map +1 -0
  68. package/transpiled/src-typescript/redux/frontend.js +67 -0
  69. package/transpiled/src-typescript/redux/object.d.ts +24 -0
  70. package/transpiled/src-typescript/redux/object.d.ts.map +1 -0
  71. package/transpiled/src-typescript/redux/object.js +1 -0
  72. package/transpiled/src-typescript/store.d.ts +19 -0
  73. package/transpiled/src-typescript/store.d.ts.map +1 -0
  74. package/transpiled/src-typescript/store.js +13 -0
  75. package/transpiled/src-typescript/webcomponents/drawer/css/drawer.d.ts +3 -0
  76. package/transpiled/src-typescript/webcomponents/drawer/css/drawer.d.ts.map +1 -0
  77. package/transpiled/src-typescript/webcomponents/drawer/css/drawer.js +55 -0
  78. package/transpiled/src-typescript/webcomponents/drawer/css/exit.d.ts +3 -0
  79. package/transpiled/src-typescript/webcomponents/drawer/css/exit.d.ts.map +1 -0
  80. package/transpiled/src-typescript/webcomponents/drawer/css/exit.js +48 -0
  81. package/transpiled/src-typescript/webcomponents/drawer/css/link.d.ts +3 -0
  82. package/transpiled/src-typescript/webcomponents/drawer/css/link.d.ts.map +1 -0
  83. package/transpiled/src-typescript/webcomponents/drawer/css/link.js +12 -0
  84. package/transpiled/src-typescript/webcomponents/drawer/css/paragraph.d.ts +3 -0
  85. package/transpiled/src-typescript/webcomponents/drawer/css/paragraph.d.ts.map +1 -0
  86. package/transpiled/src-typescript/webcomponents/drawer/css/paragraph.js +10 -0
  87. package/transpiled/src-typescript/webcomponents/drawer/css/toggle.d.ts +3 -0
  88. package/transpiled/src-typescript/webcomponents/drawer/css/toggle.d.ts.map +1 -0
  89. package/transpiled/src-typescript/webcomponents/drawer/css/toggle.js +18 -0
  90. package/transpiled/src-typescript/webcomponents/drawer/drawer.d.ts +37 -0
  91. package/transpiled/src-typescript/webcomponents/drawer/drawer.d.ts.map +1 -0
  92. package/transpiled/src-typescript/webcomponents/drawer/drawer.js +138 -0
  93. package/transpiled/src-typescript/webcomponents/drawer/input/login.d.ts +20 -0
  94. package/transpiled/src-typescript/webcomponents/drawer/input/login.d.ts.map +1 -0
  95. package/transpiled/src-typescript/webcomponents/drawer/input/login.js +134 -0
  96. package/transpiled/src-typescript/webcomponents/drawer/input/sign-up.d.ts +20 -0
  97. package/transpiled/src-typescript/webcomponents/drawer/input/sign-up.d.ts.map +1 -0
  98. package/transpiled/src-typescript/webcomponents/drawer/input/sign-up.js +144 -0
  99. package/transpiled/src-typescript/webcomponents/icon/css/icon.d.ts +2 -0
  100. package/transpiled/src-typescript/webcomponents/icon/css/icon.d.ts.map +1 -0
  101. package/transpiled/src-typescript/webcomponents/icon/css/icon.js +59 -0
  102. package/transpiled/src-typescript/webcomponents/icon/icon.d.ts +33 -0
  103. package/transpiled/src-typescript/webcomponents/icon/icon.d.ts.map +1 -0
  104. package/transpiled/src-typescript/webcomponents/icon/icon.js +81 -0
  105. package/transpiled/src-typescript/webcomponents/settings/css/navigation.d.ts +2 -0
  106. package/transpiled/src-typescript/webcomponents/settings/css/navigation.d.ts.map +1 -0
  107. package/transpiled/src-typescript/webcomponents/settings/css/navigation.js +51 -0
  108. package/transpiled/src-typescript/webcomponents/settings/input/delete.d.ts +34 -0
  109. package/transpiled/src-typescript/webcomponents/settings/input/delete.d.ts.map +1 -0
  110. package/transpiled/src-typescript/webcomponents/settings/input/delete.js +92 -0
  111. package/transpiled/src-typescript/webcomponents/settings/input/email.d.ts +34 -0
  112. package/transpiled/src-typescript/webcomponents/settings/input/email.d.ts.map +1 -0
  113. package/transpiled/src-typescript/webcomponents/settings/input/email.js +104 -0
  114. package/transpiled/src-typescript/webcomponents/settings/input/name.d.ts +33 -0
  115. package/transpiled/src-typescript/webcomponents/settings/input/name.d.ts.map +1 -0
  116. package/transpiled/src-typescript/webcomponents/settings/input/name.js +95 -0
  117. package/transpiled/src-typescript/webcomponents/settings/input/password.d.ts +36 -0
  118. package/transpiled/src-typescript/webcomponents/settings/input/password.d.ts.map +1 -0
  119. package/transpiled/src-typescript/webcomponents/settings/input/password.js +151 -0
  120. package/transpiled/src-typescript/webcomponents/settings/input/uploader.d.ts +37 -0
  121. package/transpiled/src-typescript/webcomponents/settings/input/uploader.d.ts.map +1 -0
  122. package/transpiled/src-typescript/webcomponents/settings/input/uploader.js +235 -0
  123. package/transpiled/src-typescript/webcomponents/settings/settings.d.ts +37 -0
  124. package/transpiled/src-typescript/webcomponents/settings/settings.d.ts.map +1 -0
  125. package/transpiled/src-typescript/webcomponents/settings/settings.js +204 -0
  126. package/pwa-auth.js +0 -4
  127. /package/src-typescript/development/{object.ts → utilities-object.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ All notable changes to pwa-auth.js will be documented in this file.
6
6
  - Social Login Flow
7
7
  - animated login and data
8
8
 
9
+ # [3.1.1] - 2025-10-07
10
+
11
+ ## Changed
12
+ - Two Source Options: ES Modules / Global Scope
13
+ - NPM Package Export Names
14
+
9
15
  # [3.0.5] - 2025-10-07
10
16
 
11
17
  ## Changed
package/README.md CHANGED
@@ -17,41 +17,43 @@ You will learn how to place 3 Custom HTML Tags, reference CSS, and How to Initia
17
17
 
18
18
  Continue reading to understand how to install the project:
19
19
 
20
- ## Add Project Files
21
- - ES Import
22
- - Optional: Copy the Project Files from 'src' Folder
23
-
24
- ## Library Features
25
- - Register through Email and Password
26
- - Log-in
27
- - Log-out
28
- - Change Username
29
- - Change Profile Picture
30
- - Change Email
31
- - Change Password
32
- - Delete Account
33
-
34
- ## Library Modules
35
- - db - firestore database reference
36
- - getFirestore(pwa-env)
37
- - storage - firebase storage reference
38
- - getStorage(pwa-env)
39
- - auth - user object reference
40
- - getAuth(pwa-env)
41
- - user - active user boolean reference
42
- - auth.currentUser
43
-
44
- ## Library Webcomponents
45
- - 3 Tag Placement
46
- - Color Scheme: CSS Custom Properties
47
- - Firebase Initialization Object
48
-
49
- ## Copy Project Files
50
- For simple projects, you can copy to disk
51
- - src/compiled/pwa-auth/
52
- - pwa-auth.js
53
- - pwa-styles.css
54
- - empty.jpg
20
+ ## Choose Project Type
21
+
22
+ ECMA Script Modules
23
+ ```javascript
24
+ import 'pwa-auth';
25
+ import { db, storage, auth, user } from 'pwa-helpers';
26
+ ```
27
+
28
+ Global Scope Management
29
+ ```html
30
+ <!-- Optional: Copy the Project Files from 'src' Folder -->
31
+ <script type="module" src="./pwa-auth.js"></script>
32
+ ```
33
+ ## Library
34
+ - 3 Tag Placement
35
+ - Color Scheme: CSS Custom Properties
36
+ - Firebase Initialization Object
37
+
38
+ ## Features
39
+ - Register through Email and Password
40
+ - Log-in
41
+ - Log-out
42
+ - Change Username
43
+ - Change Profile Picture
44
+ - Change Email
45
+ - Change Password
46
+ - Delete Account
47
+
48
+ ## Modules
49
+ - db - firestore database reference
50
+ - getFirestore(pwa-env)
51
+ - storage - firebase storage reference
52
+ - getStorage(pwa-env)
53
+ - auth - user object reference
54
+ - getAuth(pwa-env)
55
+ - user - active user boolean reference
56
+ - auth.currentUser
55
57
 
56
58
  ## HTML Webcomponents
57
59
  - user-icon
@@ -70,14 +72,22 @@ For simple projects, you can copy to disk
70
72
  - Authentication - email login
71
73
  - Cloud Storage - storage bucket
72
74
 
73
- ## Boilerplate: ECMA Script Module
75
+ ## Boilerplate
76
+
77
+ For simple projects, you can copy to disk
78
+ - src/compiled/
79
+ - pwa-auth.js
80
+ - pwa-styles.css
81
+ - empty.jpg
82
+
83
+ ### ECMA Script Modules
74
84
  ```html
75
85
  <head>
76
86
 
77
- <!-- Step 1 of 3: Optional - CSS Custom Variables-->
87
+ <!-- Optional - CSS Custom Variables-->
78
88
  <link type="stylesheet" href="./path_to/pwa-styles.css">
79
89
 
80
- <!-- Step 2 of 3: Required - Configure Firebase Instance -->
90
+ <!-- Required - Configure Firebase Instance -->
81
91
  <script>
82
92
  window.process = { env: { FIREBASE_CONFIG: JSON.stringify({
83
93
  apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
@@ -95,26 +105,27 @@ For simple projects, you can copy to disk
95
105
  if (lolalhost) { window.process = { env: { FIREBASE_CONFIG: 'etc.' } } }
96
106
  </script>
97
107
 
98
- <!-- Step 3 of 3: Required - Load Webcomponent Library -->
108
+ <!-- Webcomponent Library -->
99
109
  <script type="module" src="./path_to/pwa-auth.js"></script>
100
110
 
101
111
  </head>
102
112
  ```
113
+ ## Boilerplate
103
114
 
104
- ## Boilerplate: TypeScript Library for Bundlers
115
+ ### TypeScript Library for Bundlers
105
116
  ```javascript
106
117
  import 'pwa-auth';
107
118
  // <user-icon subscribe emptyArtwork="./images/empty.jpg"></user-icon>
108
119
  // <user-drawer subscribe settingsURL="./settings"></user-drawer>
109
120
  // <user-settings emptyArtwork="./images/empty.jpg"></user-settings>
110
- import { db, storage, auth, user } from 'pwa-auth';
121
+ import { db, storage, auth, user } from 'pwa-helpers';
111
122
  // db - firestore database reference
112
123
  // storage - firebase storage reference
113
124
  // auth - user object reference
114
125
  // user - active user boolean reference
115
126
  ```
116
127
 
117
- ## Boilerplate Implementation
128
+ ## Implementation
118
129
  ```html
119
130
  <body>
120
131