pwa-auth 3.4.8 → 3.5.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.
- package/LICENSES.txt +36 -15
- package/README.md +547 -311
- package/base/api/drawer.d.ts +4 -0
- package/base/api/drawer.d.ts.map +1 -0
- package/base/api/drawer.js +12 -0
- package/base/api/drawer.js.map +1 -0
- package/base/api/user.d.ts +4 -0
- package/base/api/user.d.ts.map +1 -0
- package/base/api/user.js +25 -0
- package/base/api/user.js.map +1 -0
- package/base/api/verify.d.ts +4 -0
- package/base/api/verify.d.ts.map +1 -0
- package/base/api/verify.js +113 -0
- package/base/api/verify.js.map +1 -0
- package/base/deprecated/email-changed.d.ts +5 -0
- package/base/deprecated/email-changed.d.ts.map +1 -0
- package/base/deprecated/email-changed.js +9 -0
- package/base/deprecated/email-changed.js.map +1 -0
- package/base/events/emit.d.ts +12 -0
- package/base/events/emit.d.ts.map +1 -0
- package/base/events/emit.js +30 -0
- package/base/events/emit.js.map +1 -0
- package/base/events/names.d.ts +31 -0
- package/base/events/names.d.ts.map +1 -0
- package/base/events/names.js +31 -0
- package/base/events/names.js.map +1 -0
- package/base/events/types.d.ts +71 -0
- package/base/events/types.d.ts.map +1 -0
- package/base/events/types.js +2 -0
- package/base/events/types.js.map +1 -0
- package/base/export/pwa-auth.d.ts +17 -7
- package/base/export/pwa-auth.d.ts.map +1 -0
- package/base/export/pwa-auth.js +13 -7
- package/base/export/pwa-auth.js.map +1 -1
- package/base/firebase/attribute.d.ts +2 -0
- package/base/firebase/attribute.d.ts.map +1 -0
- package/base/firebase/attribute.js +17 -0
- package/base/firebase/attribute.js.map +1 -0
- package/base/firebase/authentication.d.ts +21 -10
- package/base/firebase/authentication.d.ts.map +1 -0
- package/base/firebase/authentication.js +65 -8
- package/base/firebase/authentication.js.map +1 -1
- package/base/firebase/interface.d.ts +7 -1
- package/base/firebase/interface.d.ts.map +1 -0
- package/base/firebase/interface.js +99 -68
- package/base/firebase/interface.js.map +1 -1
- package/base/firebase/message.d.ts +2 -0
- package/base/firebase/message.d.ts.map +1 -0
- package/base/firebase/message.js +34 -0
- package/base/firebase/message.js.map +1 -0
- package/base/firebase/password.d.ts +11 -0
- package/base/firebase/password.d.ts.map +1 -0
- package/base/firebase/password.js +16 -0
- package/base/firebase/password.js.map +1 -0
- package/base/lazyLoader.d.ts +1 -0
- package/base/lazyLoader.d.ts.map +1 -0
- package/base/redux/backend.d.ts +1 -0
- package/base/redux/backend.d.ts.map +1 -0
- package/base/redux/backend.js +1 -1
- package/base/redux/backend.js.map +1 -1
- package/base/redux/frontend.d.ts +16 -1
- package/base/redux/frontend.d.ts.map +1 -0
- package/base/redux/frontend.js +6 -3
- package/base/redux/frontend.js.map +1 -1
- package/base/store.d.ts +1 -6
- package/base/store.d.ts.map +1 -0
- package/base/store.js +2 -4
- package/base/store.js.map +1 -1
- package/base/webcomponents/css/animation.d.ts +1 -0
- package/base/webcomponents/css/animation.d.ts.map +1 -0
- package/base/webcomponents/css/animation.js +79 -67
- package/base/webcomponents/css/animation.js.map +1 -1
- package/base/webcomponents/css/svg.d.ts +1 -2
- package/base/webcomponents/css/svg.d.ts.map +1 -0
- package/base/webcomponents/css/svg.js +2 -4
- package/base/webcomponents/css/svg.js.map +1 -1
- package/base/webcomponents/css/tap.d.ts +3 -0
- package/base/webcomponents/css/tap.d.ts.map +1 -0
- package/base/webcomponents/css/tap.js +9 -0
- package/base/webcomponents/css/tap.js.map +1 -0
- package/base/webcomponents/css/toggle.d.ts +1 -0
- package/base/webcomponents/css/toggle.d.ts.map +1 -0
- package/base/webcomponents/css/toggle.js +5 -5
- package/base/webcomponents/drawer/css/drawer.d.ts +1 -0
- package/base/webcomponents/drawer/css/drawer.d.ts.map +1 -0
- package/base/webcomponents/drawer/css/drawer.js +101 -74
- package/base/webcomponents/drawer/css/drawer.js.map +1 -1
- package/base/webcomponents/drawer/css/exit.d.ts +1 -0
- package/base/webcomponents/drawer/css/exit.d.ts.map +1 -0
- package/base/webcomponents/drawer/css/exit.js +58 -52
- package/base/webcomponents/drawer/css/exit.js.map +1 -1
- package/base/webcomponents/drawer/css/link.d.ts +1 -0
- package/base/webcomponents/drawer/css/link.d.ts.map +1 -0
- package/base/webcomponents/drawer/css/link.js +9 -10
- package/base/webcomponents/drawer/css/link.js.map +1 -1
- package/base/webcomponents/drawer/css/paragraph.d.ts +1 -0
- package/base/webcomponents/drawer/css/paragraph.d.ts.map +1 -0
- package/base/webcomponents/drawer/css/paragraph.js +37 -20
- package/base/webcomponents/drawer/css/paragraph.js.map +1 -1
- package/base/webcomponents/drawer/drawer.d.ts +21 -7
- package/base/webcomponents/drawer/drawer.d.ts.map +1 -0
- package/base/webcomponents/drawer/drawer.js +292 -90
- package/base/webcomponents/drawer/drawer.js.map +1 -1
- package/base/webcomponents/drawer/keys.d.ts +4 -0
- package/base/webcomponents/drawer/keys.d.ts.map +1 -0
- package/base/webcomponents/drawer/keys.js +57 -0
- package/base/webcomponents/drawer/keys.js.map +1 -0
- package/base/webcomponents/form/css/button.d.ts +1 -0
- package/base/webcomponents/form/css/button.d.ts.map +1 -0
- package/base/webcomponents/form/css/button.js +69 -51
- package/base/webcomponents/form/css/button.js.map +1 -1
- package/base/webcomponents/form/css/input.d.ts +1 -0
- package/base/webcomponents/form/css/input.d.ts.map +1 -0
- package/base/webcomponents/form/css/input.js +22 -21
- package/base/webcomponents/form/css/input.js.map +1 -1
- package/base/webcomponents/form/css/label.d.ts +1 -0
- package/base/webcomponents/form/css/label.d.ts.map +1 -0
- package/base/webcomponents/form/css/label.js +22 -21
- package/base/webcomponents/form/css/label.js.map +1 -1
- package/base/webcomponents/form/css/list.d.ts +1 -0
- package/base/webcomponents/form/css/list.d.ts.map +1 -0
- package/base/webcomponents/form/css/list.js +19 -19
- package/base/webcomponents/form/css/notice.d.ts +3 -0
- package/base/webcomponents/form/css/notice.d.ts.map +1 -0
- package/base/webcomponents/form/css/notice.js +20 -0
- package/base/webcomponents/form/css/notice.js.map +1 -0
- package/base/webcomponents/form/css/status.d.ts +4 -0
- package/base/webcomponents/form/css/status.d.ts.map +1 -0
- package/base/webcomponents/form/css/status.js +44 -0
- package/base/webcomponents/form/css/status.js.map +1 -0
- package/base/webcomponents/form/css/toggle.d.ts +1 -0
- package/base/webcomponents/form/css/toggle.d.ts.map +1 -0
- package/base/webcomponents/form/css/toggle.js +43 -17
- package/base/webcomponents/form/css/toggle.js.map +1 -1
- package/base/webcomponents/form/draft.d.ts +5 -0
- package/base/webcomponents/form/draft.d.ts.map +1 -0
- package/base/webcomponents/form/draft.js +22 -0
- package/base/webcomponents/form/draft.js.map +1 -0
- package/base/webcomponents/form/forgot.d.ts +26 -3
- package/base/webcomponents/form/forgot.d.ts.map +1 -0
- package/base/webcomponents/form/forgot.js +297 -30
- package/base/webcomponents/form/forgot.js.map +1 -1
- package/base/webcomponents/form/letters.d.ts +3 -0
- package/base/webcomponents/form/letters.d.ts.map +1 -0
- package/base/webcomponents/form/letters.js +21 -0
- package/base/webcomponents/form/letters.js.map +1 -0
- package/base/webcomponents/form/login.d.ts +10 -0
- package/base/webcomponents/form/login.d.ts.map +1 -0
- package/base/webcomponents/form/login.js +221 -89
- package/base/webcomponents/form/login.js.map +1 -1
- package/base/webcomponents/form/notice.d.ts +4 -0
- package/base/webcomponents/form/notice.d.ts.map +1 -0
- package/base/webcomponents/form/notice.js +14 -0
- package/base/webcomponents/form/notice.js.map +1 -0
- package/base/webcomponents/form/reveal.d.ts +3 -0
- package/base/webcomponents/form/reveal.d.ts.map +1 -0
- package/base/webcomponents/form/reveal.js +14 -0
- package/base/webcomponents/form/reveal.js.map +1 -0
- package/base/webcomponents/form/signup.d.ts +8 -0
- package/base/webcomponents/form/signup.d.ts.map +1 -0
- package/base/webcomponents/form/signup.js +201 -100
- package/base/webcomponents/form/signup.js.map +1 -1
- package/base/webcomponents/form/verified.d.ts +3 -0
- package/base/webcomponents/form/verified.d.ts.map +1 -0
- package/base/webcomponents/form/verified.js +45 -0
- package/base/webcomponents/form/verified.js.map +1 -0
- package/base/webcomponents/icon/css/icon.d.ts +1 -0
- package/base/webcomponents/icon/css/icon.d.ts.map +1 -0
- package/base/webcomponents/icon/css/icon.js +63 -49
- package/base/webcomponents/icon/css/icon.js.map +1 -1
- package/base/webcomponents/icon/icon.d.ts +6 -4
- package/base/webcomponents/icon/icon.d.ts.map +1 -0
- package/base/webcomponents/icon/icon.js +48 -27
- package/base/webcomponents/icon/icon.js.map +1 -1
- package/base/webcomponents/login/css/auth.d.ts +1 -0
- package/base/webcomponents/login/css/auth.d.ts.map +1 -0
- package/base/webcomponents/login/css/auth.js +37 -36
- package/base/webcomponents/login/css/auth.js.map +1 -1
- package/base/webcomponents/login/css/link.d.ts +1 -0
- package/base/webcomponents/login/css/link.d.ts.map +1 -0
- package/base/webcomponents/login/css/link.js +9 -10
- package/base/webcomponents/login/css/link.js.map +1 -1
- package/base/webcomponents/login/css/paragraph.d.ts +1 -0
- package/base/webcomponents/login/css/paragraph.d.ts.map +1 -0
- package/base/webcomponents/login/css/paragraph.js +8 -8
- package/base/webcomponents/login/page.d.ts +10 -6
- package/base/webcomponents/login/page.d.ts.map +1 -0
- package/base/webcomponents/login/page.js +96 -55
- package/base/webcomponents/login/page.js.map +1 -1
- package/base/webcomponents/settings/css/navigation.d.ts +1 -0
- package/base/webcomponents/settings/css/navigation.d.ts.map +1 -0
- package/base/webcomponents/settings/css/navigation.js +78 -68
- package/base/webcomponents/settings/css/navigation.js.map +1 -1
- package/base/webcomponents/settings/input/delete.d.ts +7 -6
- package/base/webcomponents/settings/input/delete.d.ts.map +1 -0
- package/base/webcomponents/settings/input/delete.js +135 -47
- package/base/webcomponents/settings/input/delete.js.map +1 -1
- package/base/webcomponents/settings/input/email.d.ts +7 -5
- package/base/webcomponents/settings/input/email.d.ts.map +1 -0
- package/base/webcomponents/settings/input/email.js +155 -50
- package/base/webcomponents/settings/input/email.js.map +1 -1
- package/base/webcomponents/settings/input/name.d.ts +8 -5
- package/base/webcomponents/settings/input/name.d.ts.map +1 -0
- package/base/webcomponents/settings/input/name.js +116 -53
- package/base/webcomponents/settings/input/name.js.map +1 -1
- package/base/webcomponents/settings/input/password.d.ts +8 -5
- package/base/webcomponents/settings/input/password.d.ts.map +1 -0
- package/base/webcomponents/settings/input/password.js +200 -103
- package/base/webcomponents/settings/input/password.js.map +1 -1
- package/base/webcomponents/settings/input/uploader.d.ts +8 -6
- package/base/webcomponents/settings/input/uploader.d.ts.map +1 -0
- package/base/webcomponents/settings/input/uploader.js +209 -170
- package/base/webcomponents/settings/input/uploader.js.map +1 -1
- package/base/webcomponents/settings/input/verify.d.ts +64 -0
- package/base/webcomponents/settings/input/verify.d.ts.map +1 -0
- package/base/webcomponents/settings/input/verify.js +272 -0
- package/base/webcomponents/settings/input/verify.js.map +1 -0
- package/base/webcomponents/settings/settings.d.ts +15 -10
- package/base/webcomponents/settings/settings.d.ts.map +1 -0
- package/base/webcomponents/settings/settings.js +226 -146
- package/base/webcomponents/settings/settings.js.map +1 -1
- package/firebase.md +107 -0
- package/intro.md +19 -0
- package/license +21 -21
- package/package.json +116 -85
- package/source/pwa-auth.js +1097 -404
- package/source/pwa-styles.css +50 -68
- package/base/redux/drawer.d.ts +0 -17
- package/base/redux/drawer.js +0 -22
- package/base/redux/drawer.js.map +0 -1
- package/demonstration/index.html +0 -99
- package/demonstration/pwa-styles.css +0 -77
- package/demonstration/styles.css +0 -77
- package/source/THIRD_PARTY_LICENSES.txt +0 -303
|
@@ -1,70 +1,82 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
export const animation = css `
|
|
3
|
-
|
|
4
|
-
.wrapper {
|
|
5
|
-
display: grid;
|
|
6
|
-
border-radius: 8px;
|
|
7
|
-
/* margin: 16px; */
|
|
8
|
-
/* overflow: hidden;*/
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.inner {
|
|
12
|
-
display: grid;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
border-bottom:
|
|
17
|
-
border-radius: 0 0
|
|
18
|
-
scrollbar-width: thin;
|
|
19
|
-
z-index: 1;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.content {
|
|
23
|
-
display: grid;
|
|
24
|
-
grid-gap:
|
|
25
|
-
grid-area: pages;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
box-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
2
|
+
export const animation = css `
|
|
3
|
+
|
|
4
|
+
.wrapper {
|
|
5
|
+
display: grid;
|
|
6
|
+
border-radius: 8px;
|
|
7
|
+
/* margin: 16px; */
|
|
8
|
+
/* overflow: hidden;*/
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.inner {
|
|
12
|
+
display: grid;
|
|
13
|
+
position: relative;
|
|
14
|
+
grid-template-areas: 'pages';
|
|
15
|
+
overflow: hidden; /* Required - clip the slide under the header */
|
|
16
|
+
border-bottom: 1px solid var(--pwa_line_color, #e3daca);
|
|
17
|
+
border-radius: 0 0 14px 14px;
|
|
18
|
+
scrollbar-width: thin;
|
|
19
|
+
z-index: 1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.content {
|
|
23
|
+
display: grid;
|
|
24
|
+
grid-gap: 20px;
|
|
25
|
+
grid-area: pages;
|
|
26
|
+
padding: 8px 0 20px; /* Required - room under the heading */
|
|
27
|
+
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
-webkit-box-sizing: border-box;
|
|
30
|
+
|
|
31
|
+
will-change: transform;
|
|
32
|
+
|
|
33
|
+
backface-visibility: hidden;
|
|
34
|
+
|
|
35
|
+
/* Optional - --pwa_slide_time: 1.4s. Optional - --pwa_slide_ease: ease-in-out. */
|
|
36
|
+
/* Required - form swap is 1.4s * 1.429, about 2s. Hide after the slide. */
|
|
37
|
+
transition:
|
|
38
|
+
transform calc(var(--pwa_slide_time, 1.4s) * 1.429) var(--pwa_slide_ease, ease-in-out),
|
|
39
|
+
visibility 0s linear calc(var(--pwa_slide_time, 1.4s) * 1.429);
|
|
40
|
+
|
|
41
|
+
position:relative;
|
|
42
|
+
z-index: 1;
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@keyframes slide-out {
|
|
47
|
+
from { max-height: 100%; }
|
|
48
|
+
to { max-height: 100dvh; }
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.opened {
|
|
52
|
+
transform: translate3d(0, 0, 0);
|
|
53
|
+
visibility: visible;
|
|
54
|
+
position: relative; /* Required - this form sets the panel height */
|
|
55
|
+
align-self: start; /* Required - keep the Update button under its field */
|
|
56
|
+
z-index: 3;
|
|
57
|
+
transition:
|
|
58
|
+
transform calc(var(--pwa_slide_time, 1.4s) * 1.429) var(--pwa_slide_ease, ease-in-out),
|
|
59
|
+
visibility 0s linear 0s;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.closed {
|
|
63
|
+
/* Required - same cell, full width, slid up. Absolute so it does not stretch the row. */
|
|
64
|
+
transform: translate3d(0, -100%, 0);
|
|
65
|
+
visibility: hidden;
|
|
66
|
+
pointer-events: none;
|
|
67
|
+
position: absolute;
|
|
68
|
+
top: 0;
|
|
69
|
+
left: 0;
|
|
70
|
+
width: 100%;
|
|
71
|
+
height: auto; /* Required - a stretched row pulls Update to the top */
|
|
72
|
+
align-self: start;
|
|
73
|
+
justify-self: start;
|
|
74
|
+
z-index: 2;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@media (prefers-reduced-motion: reduce) {
|
|
78
|
+
:host { --pwa_slide_time: 0s; }
|
|
79
|
+
}
|
|
80
|
+
|
|
69
81
|
`;
|
|
70
82
|
//# sourceMappingURL=animation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation.js","sourceRoot":"","sources":["../../../typescript/webcomponents/css/animation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,SAAS,GAAe,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"animation.js","sourceRoot":"","sources":["../../../typescript/webcomponents/css/animation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,SAAS,GAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svg.d.ts","sourceRoot":"","sources":["../../../typescript/webcomponents/css/svg.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,sCAAkL,CAAC"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { html } from
|
|
2
|
-
export const
|
|
3
|
-
export const settings = html `<svg viewBox="0 0 24 24"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"></path></svg>`;
|
|
4
|
-
export const close = html `<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></svg>`;
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
export const close = html `<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></svg>`;
|
|
5
3
|
//# sourceMappingURL=svg.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svg.js","sourceRoot":"","sources":["../../../typescript/webcomponents/css/svg.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAE3B,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"svg.js","sourceRoot":"","sources":["../../../typescript/webcomponents/css/svg.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAE3B,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,CAAA,2KAA2K,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tap.d.ts","sourceRoot":"","sources":["../../../typescript/webcomponents/css/tap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAGrC,eAAO,MAAM,QAAQ,EAAE,SAMtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tap.js","sourceRoot":"","sources":["../../../typescript/webcomponents/css/tap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAGrC,MAAM,CAAC,MAAM,QAAQ,GAAc,GAAG,CAAA;;;;;;CAMrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../typescript/webcomponents/css/toggle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,yBAKhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../typescript/webcomponents/drawer/css/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,WAAW,EAAE,SAqGzB,CAAC"}
|
|
@@ -1,77 +1,104 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
export const drawerStyle = css `
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
transition:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
2
|
+
export const drawerStyle = css `
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
/* Optional - --pwa_slide_time: 1.4s. Optional - --pwa_slide_ease: ease-in-out. */
|
|
6
|
+
position: var(--pwa_drawer_position, absolute);
|
|
7
|
+
z-index: 4;
|
|
8
|
+
max-height: 0px;
|
|
9
|
+
transition: max-height var(--pwa_slide_time, 1.4s) var(--pwa_slide_ease, ease-in-out);
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
height: auto;
|
|
12
|
+
width: 100%;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
-webkit-box-sizing: border-box;
|
|
15
|
+
display: grid;
|
|
16
|
+
padding-top: env(safe-area-inset-top);
|
|
17
|
+
max-width: 100%; /* Required - fit 320px */
|
|
18
|
+
min-width: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host([drawer]) {
|
|
22
|
+
/* Required - opaque sheet at 320px so the page does not show through */
|
|
23
|
+
left: 0;
|
|
24
|
+
right: 0;
|
|
25
|
+
z-index: 5;
|
|
26
|
+
max-height: 100%;
|
|
27
|
+
background-color: var(--pwa_drawer_background_color, #fffdf8);
|
|
28
|
+
box-shadow: 0 18px 40px rgba(28, 36, 48, 0.16);
|
|
29
|
+
transition: max-height var(--pwa_slide_time, 1.4s) var(--pwa_slide_ease, ease-in-out);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.userDrawer > .spec > .wrapper {
|
|
33
|
+
margin: 20px 8px 12px; /* Required - space under the drawer header */
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.userDrawer,
|
|
37
|
+
.userDrawer > .spec,
|
|
38
|
+
.wrapper,
|
|
39
|
+
.inner {
|
|
40
|
+
min-width: 0; /* Required - fit 320px */
|
|
41
|
+
max-width: 100%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.userDrawer {
|
|
45
|
+
display: grid;
|
|
46
|
+
position: relative;
|
|
47
|
+
/* top: 0;
|
|
48
|
+
left: 0;
|
|
49
|
+
right: 0; */
|
|
50
|
+
transition-duration: var(--pwa_slide_time, 1.4s);
|
|
51
|
+
transition-timing-function: var(--pwa_slide_ease, ease-in-out);
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
height: auto;
|
|
55
|
+
/*
|
|
56
|
+
transition-property: visibility, max-height;
|
|
57
|
+
animation-name: animay;
|
|
58
|
+
animation-duration: 1.4s;
|
|
59
|
+
*/
|
|
60
|
+
border-bottom: var(--pwa_drawer_border, 0);
|
|
61
|
+
z-index: var(--pwa_drawer_z-index, 3);
|
|
62
|
+
background-color: var(--pwa_drawer_background_color, #fffdf8);
|
|
63
|
+
color: var(--pwa_drawer_text_color, #1c2430);
|
|
64
|
+
border-radius: var(--pwa_drawer_border-radius, 0 0 18px 18px);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.in {
|
|
68
|
+
max-height: 0px;
|
|
69
|
+
visibility: hidden;
|
|
70
|
+
/* Required - hide only after the drawer has finished closing */
|
|
71
|
+
transition:
|
|
72
|
+
max-height var(--pwa_slide_time, 1.4s) var(--pwa_slide_ease, ease-in-out),
|
|
73
|
+
visibility 0s linear var(--pwa_slide_time, 1.4s),
|
|
74
|
+
transform var(--pwa_slide_time, 1.4s) var(--pwa_slide_ease, ease-in-out);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.spec-in {
|
|
78
|
+
transform: translate3d(0, -100%, 0);
|
|
79
|
+
transition: transform calc(var(--pwa_slide_time, 1.4s) * 1.071) var(--pwa_slide_ease, ease-in-out);
|
|
80
|
+
z-index: -1;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.out {
|
|
84
|
+
max-height: 100%;
|
|
85
|
+
visibility: visible;
|
|
86
|
+
transition:
|
|
87
|
+
max-height var(--pwa_slide_time, 1.4s) var(--pwa_slide_ease, ease-in-out),
|
|
88
|
+
visibility 0s linear 0s,
|
|
89
|
+
transform var(--pwa_slide_time, 1.4s) var(--pwa_slide_ease, ease-in-out);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.spec-out {
|
|
93
|
+
transform: translate3d(0, 0, 0);
|
|
94
|
+
/* Required - forms follow the drawer. 1.4 * 1.571 is about 2.2s */
|
|
95
|
+
transition: transform calc(var(--pwa_slide_time, 1.4s) * 1.571) var(--pwa_slide_ease, ease-in-out);
|
|
96
|
+
z-index: -1;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@media (prefers-reduced-motion: reduce) {
|
|
100
|
+
:host { --pwa_slide_time: 0s; }
|
|
101
|
+
}
|
|
102
|
+
|
|
76
103
|
`;
|
|
77
104
|
//# sourceMappingURL=drawer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/drawer/css/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/drawer/css/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqGxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exit.d.ts","sourceRoot":"","sources":["../../../../typescript/webcomponents/drawer/css/exit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,SAAS,EAAE,SA0DvB,CAAC"}
|
|
@@ -1,55 +1,61 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
export const exitStyle = css `
|
|
3
|
-
|
|
4
|
-
.exit {
|
|
5
|
-
display: grid;
|
|
6
|
-
grid-template-columns: 80px 1fr 80px;
|
|
7
|
-
padding:
|
|
8
|
-
z-index: 2;
|
|
9
|
-
background-color:
|
|
10
|
-
border-bottom:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
font-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
font-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
2
|
+
export const exitStyle = css `
|
|
3
|
+
|
|
4
|
+
.exit {
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-template-columns: minmax(var(--pwa_tap, 44px), 80px) minmax(0, 1fr) minmax(var(--pwa_tap, 44px), 80px); /* Required - fit 320px */
|
|
7
|
+
padding: 12px 8px;
|
|
8
|
+
z-index: 2;
|
|
9
|
+
background-color: var(--pwa_drawer_background_color, #fffdf8);
|
|
10
|
+
border-bottom: 1px solid var(--pwa_line_color, #e3daca);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.exit > h3 {
|
|
14
|
+
font-weight: 600;
|
|
15
|
+
font-size: 1rem;
|
|
16
|
+
margin: 0 auto;
|
|
17
|
+
line-height: 1.2;
|
|
18
|
+
padding: 12px 0; /* Required - keep the title inside 320px */
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.exit > .remove {
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
background-color: transparent;
|
|
24
|
+
border: 0px;
|
|
25
|
+
color: red;
|
|
26
|
+
font-weight: 800;
|
|
27
|
+
font-size: .7em;
|
|
28
|
+
text-transform: uppercase;
|
|
29
|
+
opacity: .6;
|
|
30
|
+
}
|
|
31
|
+
/*
|
|
32
|
+
.exit > .refresh {
|
|
33
|
+
background-color: transparent;
|
|
34
|
+
border: 0px;
|
|
35
|
+
fill: blue;
|
|
36
|
+
height: 36px;
|
|
37
|
+
width: 36px;
|
|
38
|
+
padding: 0px;
|
|
39
|
+
}
|
|
40
|
+
*/
|
|
41
|
+
.close {
|
|
42
|
+
min-height: var(--pwa_tap, 44px); /* Required - minimum tap target */
|
|
43
|
+
min-width: var(--pwa_tap, 44px);
|
|
44
|
+
height: auto;
|
|
45
|
+
width: auto;
|
|
46
|
+
margin: auto;
|
|
47
|
+
background-color: transparent;
|
|
48
|
+
border: 0px;
|
|
49
|
+
fill: var(--pwa_close_color, #9a3b32);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.close svg {
|
|
53
|
+
width: 24px;
|
|
54
|
+
height: 24px;
|
|
55
|
+
display: block;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
54
60
|
`;
|
|
55
61
|
//# sourceMappingURL=exit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exit.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/drawer/css/exit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,SAAS,GAAc,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"exit.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/drawer/css/exit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,SAAS,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../typescript/webcomponents/drawer/css/link.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,SAAS,EAAE,SASvB,CAAC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export const linkStyle = css `
|
|
3
|
-
|
|
4
|
-
a {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
export const linkStyle = css `
|
|
3
|
+
|
|
4
|
+
a {
|
|
5
|
+
font-size: 0.95rem;
|
|
6
|
+
color: var(--pwa_label_text_color, #1c2430);
|
|
7
|
+
font-weight: 600;
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
12
11
|
`;
|
|
13
12
|
//# sourceMappingURL=link.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/drawer/css/link.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,SAAS,GAAc,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/drawer/css/link.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,SAAS,GAAc,GAAG,CAAA;;;;;;;;;CAStC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../../typescript/webcomponents/drawer/css/paragraph.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,SAAS,EAAE,SAqCvB,CAAC"}
|