pwa-auth 3.4.2 → 3.4.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.
package/README.md
CHANGED
|
@@ -29,9 +29,26 @@ Continue reading to understand how to install this project:
|
|
|
29
29
|
- Delete Account
|
|
30
30
|
|
|
31
31
|
## Library
|
|
32
|
+
- script-context
|
|
33
|
+
- module-context
|
|
32
34
|
```javascript
|
|
33
35
|
// ES - import Modules
|
|
34
36
|
import 'pwa-auth';
|
|
37
|
+
import { auth, db, user, storage, application, firebaseConfig } from "pwa-auth";
|
|
38
|
+
|
|
39
|
+
window.process = { env: { FIREBASE_CONFIG: JSON.stringify({
|
|
40
|
+
apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
41
|
+
authDomain: "xxxxxxx.xxxxxxx.xxx",
|
|
42
|
+
databaseURL: "https://xxxxxxx.xxxxxxx.xxx",
|
|
43
|
+
projectId: "xxxxxxx",
|
|
44
|
+
storageBucket: "xxxxxxx.xxxxxxx.xxx",
|
|
45
|
+
messagingSenderId: "xxxxxxxxxxx",
|
|
46
|
+
appId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
47
|
+
measurementId: "xxxxxxxxxxx"
|
|
48
|
+
})
|
|
49
|
+
}};
|
|
50
|
+
|
|
51
|
+
if (localhost) { window.process = { env: { FIREBASE_CONFIG: 'etc.' } } }
|
|
35
52
|
|
|
36
53
|
// Optional - copy CoreJS files
|
|
37
54
|
'./npm/pwa-auth/source/**/*'
|
|
@@ -19,17 +19,16 @@ export const iconStyles = css `
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.icon {
|
|
22
|
-
height: var(--pwa_icon_diameter,
|
|
23
|
-
width: var(--pwa_icon_diameter,
|
|
22
|
+
height: var(--pwa_icon_diameter, 40px);
|
|
23
|
+
width: var(--pwa_icon_diameter, 40px);
|
|
24
24
|
border-radius: 50%;
|
|
25
25
|
padding: 0;
|
|
26
|
-
box-shadow: 4px 4px 4px 0px;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
.login {
|
|
30
29
|
width: auto;
|
|
31
30
|
border-radius: var(--pwa_icon_radius, 6px);
|
|
32
|
-
height: var(--pwa_icon_height,
|
|
31
|
+
height: var(--pwa_icon_height, 40px);
|
|
33
32
|
padding: var(--pwa_icon_padding, 0px 16px);
|
|
34
33
|
font-family: var(--pwa_icon_font, 'Arial', sans-serif);
|
|
35
34
|
font-weight: 500;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/icon/css/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/icon/css/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiD5B,CAAC"}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://www.jackspublishing.com",
|
|
7
7
|
"email": "jack.solutionbox@gmail.com"
|
|
8
8
|
},
|
|
9
|
-
"version": "3.4.
|
|
9
|
+
"version": "3.4.4",
|
|
10
10
|
"description": "pwa-auth is a collection of four HTML webomponents for User Management to display a login button with icon picture state once logged in. Sign up and login within a drawer and optionally a static for a page. Being able to log out, change account details, and delete account.",
|
|
11
11
|
"homepage": "https://pwa-authentic.firebaseapp.com",
|
|
12
12
|
"repository": {
|
package/source/pwa-auth.js
CHANGED
|
@@ -1103,17 +1103,16 @@ const e=globalThis,t=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow
|
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
1105
|
.icon {
|
|
1106
|
-
height: var(--pwa_icon_diameter,
|
|
1107
|
-
width: var(--pwa_icon_diameter,
|
|
1106
|
+
height: var(--pwa_icon_diameter, 40px);
|
|
1107
|
+
width: var(--pwa_icon_diameter, 40px);
|
|
1108
1108
|
border-radius: 50%;
|
|
1109
1109
|
padding: 0;
|
|
1110
|
-
box-shadow: 4px 4px 4px 0px;
|
|
1111
1110
|
}
|
|
1112
1111
|
|
|
1113
1112
|
.login {
|
|
1114
1113
|
width: auto;
|
|
1115
1114
|
border-radius: var(--pwa_icon_radius, 6px);
|
|
1116
|
-
height: var(--pwa_icon_height,
|
|
1115
|
+
height: var(--pwa_icon_height, 40px);
|
|
1117
1116
|
padding: var(--pwa_icon_padding, 0px 16px);
|
|
1118
1117
|
font-family: var(--pwa_icon_font, 'Arial', sans-serif);
|
|
1119
1118
|
font-weight: 500;
|