pwa-auth 3.7.0 → 3.7.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/README.md +5 -5
- package/base/webcomponents/drawer/css/drawer.d.ts.map +1 -1
- package/base/webcomponents/drawer/css/drawer.js +6 -12
- package/base/webcomponents/drawer/css/drawer.js.map +1 -1
- package/base/webcomponents/drawer/drawer.d.ts +1 -0
- package/base/webcomponents/drawer/drawer.d.ts.map +1 -1
- package/base/webcomponents/drawer/drawer.js +34 -1
- package/base/webcomponents/drawer/drawer.js.map +1 -1
- package/docs/drawer-slide.md +1 -1
- package/docs/sliders.md +1 -1
- package/package.json +1 -1
- package/source/pwa-auth.js +15 -14
- package/source/pwa-styles.css +0 -1
package/README.md
CHANGED
|
@@ -6,12 +6,12 @@ Five tags. They share one sign-in. MIT.
|
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
|
-
Install `lit` and `firebase` alongside pwa-auth.
|
|
10
|
-
|
|
11
9
|
```bash
|
|
12
|
-
npm install pwa-auth
|
|
10
|
+
npm install pwa-auth
|
|
13
11
|
```
|
|
14
12
|
|
|
13
|
+
`lit` and `firebase` come along automatically as peer dependencies (npm 7+).
|
|
14
|
+
|
|
15
15
|
```javascript
|
|
16
16
|
import 'pwa-auth';
|
|
17
17
|
```
|
|
@@ -61,7 +61,7 @@ Works in current Chrome, Edge, Firefox, and Safari. The fields fit any layout, f
|
|
|
61
61
|
| Tag | What you set | What it sets | Slots |
|
|
62
62
|
| --- | --- | --- | --- |
|
|
63
63
|
| `user-icon` | `subscribe` starts the label on Subscribe. `empty` is the picture when there is no photo and no initials. `firebase-config` is the Firebase JSON | | |
|
|
64
|
-
| `user-drawer` | `subscribe` starts on sign-up. `hide-google` removes Continue with Google. `url` is the Settings link; leave it off to stay on this page. `firebase-config` as above | `drawer` while open. `sliding` while it moves | `before`, and the default slot, for your own links |
|
|
64
|
+
| `user-drawer` | `subscribe` starts on sign-up. `hide-google` removes Continue with Google. `url` is the Settings link; leave it off to stay on this page. `firebase-config` as above. Put the tag where it should open. It unrolls down from that spot and does not push the page | `drawer` while open. `sliding` while it moves | `before`, and the default slot, for your own links |
|
|
65
65
|
| `user-login` | `subscribe` and `hide-google`, same as the drawer. `firebase-config` as above | | `content` replaces the form after sign-in |
|
|
66
66
|
| `user-settings` | `empty` is the picture when the account has none. `firebase-config` as above. Signed out, one line and no fields | | |
|
|
67
67
|
| `email-reset` | `active`, or the form stays blank. Then it emails a reset link for the address in the field | | |
|
|
@@ -149,7 +149,7 @@ Set these on the element. `--pwa_background` replaces the older background names
|
|
|
149
149
|
| `--pwa_icon_radius` | Signed-out button corners | `10px` |
|
|
150
150
|
| `--pwa_icon_font` | Signed-out button font | `"Avenir Next", "Segoe UI", system-ui, sans-serif` |
|
|
151
151
|
| `--pwa_icon_diameter` | Signed-in button size | `44px` |
|
|
152
|
-
| `--pwa_drawer_position` | Drawer placement | `
|
|
152
|
+
| `--pwa_drawer_position` | Drawer placement. `sticky` or `fixed` if you need that | `relative` |
|
|
153
153
|
| `--pwa_drawer_border` | Line under the drawer | `0` |
|
|
154
154
|
| `--pwa_drawer_z-index` | Drawer stacking | `3` |
|
|
155
155
|
| `--pwa_drawer_border-radius` | Drawer corners | `0 0 18px 18px` |
|
|
@@ -1 +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,
|
|
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,SAmDzB,CAAC"}
|
|
@@ -2,15 +2,14 @@ import { css } from "lit";
|
|
|
2
2
|
export const drawerStyle = css `
|
|
3
3
|
|
|
4
4
|
:host {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
height:
|
|
5
|
+
/* Required - stay where the tag is. Height 0 so a closed drawer takes no space. */
|
|
6
|
+
position: var(--pwa_drawer_position, relative);
|
|
7
|
+
display: block;
|
|
8
|
+
height: 0;
|
|
9
|
+
overflow: visible;
|
|
9
10
|
width: 100%;
|
|
10
11
|
box-sizing: border-box;
|
|
11
12
|
-webkit-box-sizing: border-box;
|
|
12
|
-
display: block; /* Required - the child must start at the top of the clip */
|
|
13
|
-
/* padding-top lives on .userDrawer so the clip height matches the translating sheet */
|
|
14
13
|
max-width: 100%; /* Required - fit 320px */
|
|
15
14
|
min-width: 0;
|
|
16
15
|
background-color: var(--pwa_background, var(--pwa_drawer_background_color, #fff));
|
|
@@ -18,13 +17,8 @@ export const drawerStyle = css `
|
|
|
18
17
|
|
|
19
18
|
:host([drawer]),
|
|
20
19
|
:host([sliding]) {
|
|
21
|
-
/* Required - the
|
|
22
|
-
left: 0;
|
|
23
|
-
right: 0;
|
|
20
|
+
/* Required - the overlay beats the content that follows the tag. */
|
|
24
21
|
z-index: 5;
|
|
25
|
-
background-color: var(--pwa_background, var(--pwa_drawer_background_color, #fff));
|
|
26
|
-
border-radius: var(--pwa_drawer_border-radius, 0 0 18px 18px);
|
|
27
|
-
box-shadow: 0 18px 40px rgba(28, 36, 48, 0.16);
|
|
28
22
|
}
|
|
29
23
|
|
|
30
24
|
.userDrawer > .spec > .wrapper {
|
|
@@ -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/webc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,7 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
|
|
|
279
279
|
if (!clip || !sheet)
|
|
280
280
|
return;
|
|
281
281
|
this.scrollTop = 0;
|
|
282
|
+
this.placeAnchor();
|
|
282
283
|
const target = this.sheetPx(clip, sheet);
|
|
283
284
|
const from = Math.ceil(clip.getBoundingClientRect().height);
|
|
284
285
|
this.rollBetween(clip, sheet, from, target, target);
|
|
@@ -358,10 +359,31 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
|
|
|
358
359
|
});
|
|
359
360
|
this.watchColumn();
|
|
360
361
|
}
|
|
362
|
+
placeAnchor() {
|
|
363
|
+
const pos = getComputedStyle(this).position;
|
|
364
|
+
if (pos === 'fixed' || pos === 'absolute') {
|
|
365
|
+
if (this.style.top)
|
|
366
|
+
this.style.top = '';
|
|
367
|
+
return;
|
|
368
|
+
}
|
|
369
|
+
const parent = this.parentElement;
|
|
370
|
+
if (!parent)
|
|
371
|
+
return;
|
|
372
|
+
const prev = this.previousElementSibling;
|
|
373
|
+
const want = prev
|
|
374
|
+
? prev.getBoundingClientRect().bottom
|
|
375
|
+
: parent.getBoundingClientRect().top + (parseFloat(getComputedStyle(parent).paddingTop) || 0);
|
|
376
|
+
const applied = parseFloat(this.style.top) || 0;
|
|
377
|
+
const delta = want - (this.getBoundingClientRect().top - applied);
|
|
378
|
+
if (Math.abs(delta - applied) <= 0.5)
|
|
379
|
+
return;
|
|
380
|
+
this.style.top = Math.abs(delta) <= 0.5 ? '' : `${delta}px`;
|
|
381
|
+
}
|
|
361
382
|
watchColumn() {
|
|
362
383
|
if (typeof ResizeObserver === 'undefined')
|
|
363
384
|
return;
|
|
364
385
|
this.columnObserver = new ResizeObserver(() => {
|
|
386
|
+
this.placeAnchor();
|
|
365
387
|
const width = Math.round(this.getBoundingClientRect().width);
|
|
366
388
|
if (!width || width === this.columnWidth)
|
|
367
389
|
return;
|
|
@@ -369,6 +391,10 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
|
|
|
369
391
|
this.onColumnResize();
|
|
370
392
|
});
|
|
371
393
|
this.columnObserver.observe(this);
|
|
394
|
+
const prev = this.previousElementSibling;
|
|
395
|
+
if (prev)
|
|
396
|
+
this.columnObserver.observe(prev);
|
|
397
|
+
this.placeAnchor();
|
|
372
398
|
}
|
|
373
399
|
onColumnResize() {
|
|
374
400
|
if (!this.rollMotion)
|
|
@@ -395,11 +421,18 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
|
|
|
395
421
|
noticeStyle,
|
|
396
422
|
verifiedStyle,
|
|
397
423
|
css `
|
|
398
|
-
/* Required - this drawer's roll only.
|
|
424
|
+
/* Required - this drawer's roll only. The clip hangs from the tag and grows down. */
|
|
399
425
|
.drawer-clip {
|
|
400
426
|
display: block;
|
|
427
|
+
position: absolute;
|
|
428
|
+
top: 0;
|
|
429
|
+
left: 0;
|
|
430
|
+
right: 0;
|
|
401
431
|
overflow: hidden;
|
|
402
432
|
min-height: 0;
|
|
433
|
+
z-index: var(--pwa_drawer_z-index, 5);
|
|
434
|
+
border-radius: var(--pwa_drawer_border-radius, 0 0 18px 18px);
|
|
435
|
+
box-shadow: 0 18px 40px rgba(28, 36, 48, 0.16);
|
|
403
436
|
}
|
|
404
437
|
|
|
405
438
|
.drawer-clip > .userDrawer {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../typescript/webcomponents/drawer/drawer.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,GAAG,EAAkB,IAAI,EAAE,UAAU,EAAkB,MAAQ,KAAK,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAU,mBAAmB,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAgC,6BAA6B,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAgC,6BAA6B,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAiC,8BAA8B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EAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;0CAAuB;AAGf;IAAhE,QAAQ,CAAC,EAAC,IAAI,EAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;6CAA0B;AAGR;IAA1E,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;8CAA2B;AAE7E;IAAhB,KAAK,EAAE;;wCAA2B;AAClB;IAAhB,KAAK,EAAE;;yCAA2B;AAClB;IAAhB,KAAK,EAAE;;4CAA8B;AACrB;IAAhB,KAAK,EAAE;;0CAA2B;AAClB;IAAhB,KAAK,EAAE;;wCAA8B;AACrB;IAAhB,KAAK,EAAE;;0CAA8B;AAGc;IAAnD,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;2CAAyB;AAGnD;IAAhB,KAAK,EAAE;;0CAAwB;AAGf;IAAhB,KAAK,EAAE;;8CAA4B;AAGnB;IAAhB,KAAK,EAAE;;8CAAiD;AAGxC;IAAhB,KAAK,EAAE;;8CAA4B;AAlCzB,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;;GAChB,UAAU,CAukBtB"}
|
package/docs/drawer-slide.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Drawer login and sign-up slide
|
|
2
2
|
|
|
3
|
-
The drawer unrolls downward and its buttons ride the bottom edge. Nothing animates when the page first loads. Login and sign-up then trade places in the same space.
|
|
3
|
+
The drawer unrolls downward from wherever the tag sits, and its buttons ride the bottom edge. A closed drawer takes no space. Nothing animates when the page first loads. Login and sign-up then trade places in the same space.
|
|
4
4
|
|
|
5
5
|
The controls sit on the host edge. `--pwa_inset` defaults to `0`. `--pwa_max_width` defaults to `400px`: the form column fills a narrow host, then centers at that cap. Signed-in drawer links use that same column. The drawer header stays full width. The host is `display: block`, `width: 100%`, `min-width: 0`, so it follows a flex or grid track. A page sets either variable on `user-drawer`, `user-login`, `user-settings`, and `email-reset`. Do not set `--pwa_max_width` on `:host` inside the component; that would beat the page.
|
|
6
6
|
|
package/docs/sliders.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Slides
|
|
2
2
|
|
|
3
|
-
The drawer, the page login, and settings each slide on their own. Opening one does not move the others. Nothing moves on the first paint.
|
|
3
|
+
The drawer, the page login, and settings each slide on their own. The drawer opens downward from the tag and does not push the page. Opening one does not move the others. Nothing moves on the first paint.
|
|
4
4
|
|
|
5
5
|
Three components slide, and each one owns its roll. `user-drawer` (`typescript/webcomponents/drawer/drawer.ts`), `user-login` (`typescript/webcomponents/login/page.ts`), and `user-settings` (`typescript/webcomponents/settings/settings.ts`) do not import a shared roll helper. There is no `css/roll.ts`.
|
|
6
6
|
|
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.7.
|
|
9
|
+
"version": "3.7.1",
|
|
10
10
|
"description": "Five elements: user-icon, user-drawer, user-login, user-settings, and email-reset. pwa- events, a small API, and --pwa_ theme variables.",
|
|
11
11
|
"homepage": "https://pwa-authentic.firebaseapp.com",
|
|
12
12
|
"repository": {
|
package/source/pwa-auth.js
CHANGED
|
@@ -802,15 +802,14 @@ const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow
|
|
|
802
802
|
`,lb=i`
|
|
803
803
|
|
|
804
804
|
:host {
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
height:
|
|
805
|
+
/* Required - stay where the tag is. Height 0 so a closed drawer takes no space. */
|
|
806
|
+
position: var(--pwa_drawer_position, relative);
|
|
807
|
+
display: block;
|
|
808
|
+
height: 0;
|
|
809
|
+
overflow: visible;
|
|
809
810
|
width: 100%;
|
|
810
811
|
box-sizing: border-box;
|
|
811
812
|
-webkit-box-sizing: border-box;
|
|
812
|
-
display: block; /* Required - the child must start at the top of the clip */
|
|
813
|
-
/* padding-top lives on .userDrawer so the clip height matches the translating sheet */
|
|
814
813
|
max-width: 100%; /* Required - fit 320px */
|
|
815
814
|
min-width: 0;
|
|
816
815
|
background-color: var(--pwa_background, var(--pwa_drawer_background_color, #fff));
|
|
@@ -818,13 +817,8 @@ const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow
|
|
|
818
817
|
|
|
819
818
|
:host([drawer]),
|
|
820
819
|
:host([sliding]) {
|
|
821
|
-
/* Required - the
|
|
822
|
-
left: 0;
|
|
823
|
-
right: 0;
|
|
820
|
+
/* Required - the overlay beats the content that follows the tag. */
|
|
824
821
|
z-index: 5;
|
|
825
|
-
background-color: var(--pwa_background, var(--pwa_drawer_background_color, #fff));
|
|
826
|
-
border-radius: var(--pwa_drawer_border-radius, 0 0 18px 18px);
|
|
827
|
-
box-shadow: 0 18px 40px rgba(28, 36, 48, 0.16);
|
|
828
822
|
}
|
|
829
823
|
|
|
830
824
|
.userDrawer > .spec > .wrapper {
|
|
@@ -1141,12 +1135,19 @@ const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow
|
|
|
1141
1135
|
</form>
|
|
1142
1136
|
|
|
1143
1137
|
</div>
|
|
1144
|
-
`}showSent(){this.tone="",this.status="Check your inbox for the verification email.",this.cooldown=45,this.armCooldown(),this.updateComplete.then(()=>{this.focusStatus()})}showFirebase(t){this.tone="error",this.status=KE(t),this.updateComplete.then(()=>{this.focusStatus()})}focusStatus(){const t=this.renderRoot.querySelector("#pwa-verify-status");t?.focus()}clearWait(){window.clearInterval(this.timer),this.timer=0,this.cooldown=0}armCooldown(){window.clearInterval(this.timer),this.timer=window.setInterval(()=>{if(this.cooldown<=1)return this.cooldown=0,window.clearInterval(this.timer),void(this.timer=0);this.cooldown-=1},1e3)}}mb([ut(),wb("design:type",Object)],yb.prototype,"login",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"verified",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"email",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"status",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"tone",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"busy",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"cooldown",void 0),customElements.define("email-verify",yb);var Eb=function(t,e,n,s){var r,i=arguments.length,o=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,s);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(i<3?r(o):i>3?r(e,n,o):r(e,n))||o);return i>3&&o&&Object.defineProperty(e,n,o),o},Db=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let _b=class extends(wt(bn)(it)){constructor(){super(),this.url="",this.drawer=!1,this.subscribe=!1,this.hideGoogle=!1,this.name="",this.email="",this.verified=!1,this.notice="",this.user=!1,this.signup=!1,this.sliding=!1,this.motion=!1,this.clipHeight="0px",this.sheetShift="translate3d(0, -100%, 0)",this.rollMotion=!1,this.booted=!1,this.wasOpen=!1,this.sawOpen=!1,this.returnFocus=null,this.stopNotice=null,this.heldHeight=null,this.columnWidth=0,this.columnObserver=null,this.onClipEnd=t=>{if(!(t instanceof TransitionEvent))return;if(t.target!==t.currentTarget)return;if("max-height"!==t.propertyName)return;const e=t.currentTarget;e instanceof HTMLElement&&(this.drawer?this.restOpen():e.getBoundingClientRect().height>1||(this.sliding=!1,this.restShut()))},this.onKey=t=>{if(!this.drawer)return;if("Escape"===t.key)return t.preventDefault(),void bn.dispatch(hn());if("Tab"!==t.key)return;const e=pb(this);if(!e.length)return;const n=e[0],s=e[e.length-1],r=fb(),i=!!r&&e.includes(r);t.shiftKey?i&&r!==n||(t.preventDefault(),s.focus({preventScroll:!0})):i&&r!==s||(t.preventDefault(),n.focus({preventScroll:!0}))},this.onLightClick=t=>{if(t.defaultPrevented)return;const e=t.target;if(!(e instanceof Element))return;const n=e.closest("a, button");n instanceof HTMLElement&&this.contains(n)&&(this.shadowRoot?.contains(n)||bn.dispatch(hn()))},this.onSettings=t=>{const e=this.destination();if(!this.dispatchEvent(new CustomEvent(FE,{bubbles:!0,composed:!0,cancelable:!0,detail:{url:e}})))return void t.preventDefault();if(bn.dispatch(hn()),e)return;t.preventDefault();const n=document.querySelector("user-settings");n instanceof HTMLElement&&n.scrollIntoView({block:"nearest"})}}connectedCallback(){nb(this),super.connectedCallback(),this.addEventListener("keydown",this.onKey),this.addEventListener("click",this.onLightClick),this.notice=Y_(),this.stopNotice=X_(()=>{this.notice=Y_()})}disconnectedCallback(){this.removeEventListener("keydown",this.onKey),this.removeEventListener("click",this.onLightClick),this.stopNotice?.(),this.stopNotice=null,this.columnObserver?.disconnect(),this.columnObserver=null,super.disconnectedCallback()}stateChanged(t){const e=t.frontend.drawer;this.name=t.backend.name,this.email=t.backend.email,this.verified=Boolean(t.backend?.verified),e?this.sliding=!0:this.reduced()&&(this.sliding=!1),this.drawer=e,this.user=t.frontend.login,this.signup=t.frontend.registerOne;(this.sawOpen?e!==this.wasOpen:e)&&function(t,e,n){t.dispatchEvent(new CustomEvent(e,{...fE,detail:n}))}(this,LE,{open:e}),this.wasOpen=e,this.sawOpen=!0}willUpdate(t){if(!this.booted)return void(this.drawer&&this.restOpen());if(t.has("signup")&&(this.motion=!0),t.has("drawer")||!t.has("signup")||!this.drawer)return;const e=this.clip();e&&(this.heldHeight=Math.ceil(e.getBoundingClientRect().height),this.rollMotion=!1,this.clipHeight=`${this.heldHeight}px`,this.sheetShift="translate3d(0, 0, 0)")}updated(t){const e=!this.booted;if(this.booted=!0,!e&&t.has("drawer"))this.heldHeight=null,this.drawer?this.unroll():this.rollUp();else if(!e&&null!=this.heldHeight&&this.drawer){const t=this.heldHeight;this.heldHeight=null;const e=this.clip(),n=this.sheet();if(e&&n){const s=Math.ceil(n.getBoundingClientRect().height);Math.abs(s-t)>1?this.rollBetween(e,n,t,s,s):this.restOpen()}}if(e&&requestAnimationFrame(()=>{this.motion=!0}),t.has("drawer")){if(this.drawer){const t=fb();return this.returnFocus=t&&!this.contains(t)?t:this.returnFocus,this.shadowRoot?.querySelector(".close")?.focus({preventScroll:!0}),void V_(!1)}this.returnFocus?.focus(),this.returnFocus=null}}clip(){return this.shadowRoot?.querySelector(".drawer-clip")??null}sheet(){return this.shadowRoot?.querySelector(".userDrawer")??null}reduced(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}restShut(){this.rollMotion=!1,this.clipHeight="0px",this.sheetShift="translate3d(0, -100%, 0)"}restOpen(){this.rollMotion=!1,this.clipHeight="auto",this.sheetShift="none"}clipStyle(){const t=this.rollMotion&&!this.reduced();return{height:this.clipHeight,maxHeight:"auto"===this.clipHeight?"none":this.clipHeight,transition:t?"height var(--pwa_slide, 2s) ease-in-out, max-height var(--pwa_slide, 2s) ease-in-out":"none"}}sheetStyle(){const t=this.rollMotion&&!this.reduced();return{transform:this.sheetShift,transition:t?"transform var(--pwa_slide, 2s) ease-in-out":"none"}}unroll(){const t=this.clip(),e=this.sheet();if(!t||!e)return;this.scrollTop=0;const n=this.sheetPx(t,e),s=Math.ceil(t.getBoundingClientRect().height);this.rollBetween(t,e,s,n,n)}rollUp(){const t=this.clip(),e=this.sheet();if(!t||!e)return;const n=Math.ceil(e.getBoundingClientRect().height),s=Math.ceil(t.getBoundingClientRect().height);this.rollBetween(t,e,s,0,n),this.reduced()&&(this.sliding=!1)}sheetPx(t,e){const n=t.style.transition,s=t.style.maxHeight,r=t.style.height;t.style.transition="none",t.style.maxHeight="none",t.style.height="auto";const i=Math.ceil(e.getBoundingClientRect().height);return t.style.height=r,t.style.maxHeight=s,t.style.transition=n,i}rollBetween(t,e,n,s,r){const i=n-r,o=s-r,a=t=>`translate3d(0, ${t}px, 0)`;if(this.reduced()||Math.abs(s-n)<=1)return void(0===s?this.restShut():this.restOpen());t.style.transition="none",e.style.transition="none",t.style.height=`${Math.max(0,n)}px`,t.style.maxHeight=`${Math.max(0,n)}px`,e.style.transform=a(i),t.offsetHeight,t.style.transition="height var(--pwa_slide, 2s) ease-in-out, max-height var(--pwa_slide, 2s) ease-in-out",e.style.transition="transform var(--pwa_slide, 2s) ease-in-out",t.style.height=`${Math.max(0,s)}px`,t.style.maxHeight=`${Math.max(0,s)}px`,e.style.transform=a(o),this.rollMotion=!0,this.clipHeight=`${Math.max(0,s)}px`,this.sheetShift=a(o)}firstUpdated(){this.shadowRoot.querySelector(".close").addEventListener("click",()=>{bn.dispatch(hn())}),this.shadowRoot.querySelector(".leave").addEventListener("click",async()=>{if(this.user)try{await x_()}catch{return}bn.dispatch(hn())});this.shadowRoot.querySelectorAll("a").forEach(t=>{t.addEventListener("click",()=>{bn.dispatch(hn())})}),this.watchColumn()}watchColumn(){"undefined"
|
|
1145
|
-
/* Required - this drawer's roll only.
|
|
1138
|
+
`}showSent(){this.tone="",this.status="Check your inbox for the verification email.",this.cooldown=45,this.armCooldown(),this.updateComplete.then(()=>{this.focusStatus()})}showFirebase(t){this.tone="error",this.status=KE(t),this.updateComplete.then(()=>{this.focusStatus()})}focusStatus(){const t=this.renderRoot.querySelector("#pwa-verify-status");t?.focus()}clearWait(){window.clearInterval(this.timer),this.timer=0,this.cooldown=0}armCooldown(){window.clearInterval(this.timer),this.timer=window.setInterval(()=>{if(this.cooldown<=1)return this.cooldown=0,window.clearInterval(this.timer),void(this.timer=0);this.cooldown-=1},1e3)}}mb([ut(),wb("design:type",Object)],yb.prototype,"login",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"verified",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"email",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"status",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"tone",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"busy",void 0),mb([ut(),wb("design:type",Object)],yb.prototype,"cooldown",void 0),customElements.define("email-verify",yb);var Eb=function(t,e,n,s){var r,i=arguments.length,o=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,s);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(i<3?r(o):i>3?r(e,n,o):r(e,n))||o);return i>3&&o&&Object.defineProperty(e,n,o),o},Db=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};let _b=class extends(wt(bn)(it)){constructor(){super(),this.url="",this.drawer=!1,this.subscribe=!1,this.hideGoogle=!1,this.name="",this.email="",this.verified=!1,this.notice="",this.user=!1,this.signup=!1,this.sliding=!1,this.motion=!1,this.clipHeight="0px",this.sheetShift="translate3d(0, -100%, 0)",this.rollMotion=!1,this.booted=!1,this.wasOpen=!1,this.sawOpen=!1,this.returnFocus=null,this.stopNotice=null,this.heldHeight=null,this.columnWidth=0,this.columnObserver=null,this.onClipEnd=t=>{if(!(t instanceof TransitionEvent))return;if(t.target!==t.currentTarget)return;if("max-height"!==t.propertyName)return;const e=t.currentTarget;e instanceof HTMLElement&&(this.drawer?this.restOpen():e.getBoundingClientRect().height>1||(this.sliding=!1,this.restShut()))},this.onKey=t=>{if(!this.drawer)return;if("Escape"===t.key)return t.preventDefault(),void bn.dispatch(hn());if("Tab"!==t.key)return;const e=pb(this);if(!e.length)return;const n=e[0],s=e[e.length-1],r=fb(),i=!!r&&e.includes(r);t.shiftKey?i&&r!==n||(t.preventDefault(),s.focus({preventScroll:!0})):i&&r!==s||(t.preventDefault(),n.focus({preventScroll:!0}))},this.onLightClick=t=>{if(t.defaultPrevented)return;const e=t.target;if(!(e instanceof Element))return;const n=e.closest("a, button");n instanceof HTMLElement&&this.contains(n)&&(this.shadowRoot?.contains(n)||bn.dispatch(hn()))},this.onSettings=t=>{const e=this.destination();if(!this.dispatchEvent(new CustomEvent(FE,{bubbles:!0,composed:!0,cancelable:!0,detail:{url:e}})))return void t.preventDefault();if(bn.dispatch(hn()),e)return;t.preventDefault();const n=document.querySelector("user-settings");n instanceof HTMLElement&&n.scrollIntoView({block:"nearest"})}}connectedCallback(){nb(this),super.connectedCallback(),this.addEventListener("keydown",this.onKey),this.addEventListener("click",this.onLightClick),this.notice=Y_(),this.stopNotice=X_(()=>{this.notice=Y_()})}disconnectedCallback(){this.removeEventListener("keydown",this.onKey),this.removeEventListener("click",this.onLightClick),this.stopNotice?.(),this.stopNotice=null,this.columnObserver?.disconnect(),this.columnObserver=null,super.disconnectedCallback()}stateChanged(t){const e=t.frontend.drawer;this.name=t.backend.name,this.email=t.backend.email,this.verified=Boolean(t.backend?.verified),e?this.sliding=!0:this.reduced()&&(this.sliding=!1),this.drawer=e,this.user=t.frontend.login,this.signup=t.frontend.registerOne;(this.sawOpen?e!==this.wasOpen:e)&&function(t,e,n){t.dispatchEvent(new CustomEvent(e,{...fE,detail:n}))}(this,LE,{open:e}),this.wasOpen=e,this.sawOpen=!0}willUpdate(t){if(!this.booted)return void(this.drawer&&this.restOpen());if(t.has("signup")&&(this.motion=!0),t.has("drawer")||!t.has("signup")||!this.drawer)return;const e=this.clip();e&&(this.heldHeight=Math.ceil(e.getBoundingClientRect().height),this.rollMotion=!1,this.clipHeight=`${this.heldHeight}px`,this.sheetShift="translate3d(0, 0, 0)")}updated(t){const e=!this.booted;if(this.booted=!0,!e&&t.has("drawer"))this.heldHeight=null,this.drawer?this.unroll():this.rollUp();else if(!e&&null!=this.heldHeight&&this.drawer){const t=this.heldHeight;this.heldHeight=null;const e=this.clip(),n=this.sheet();if(e&&n){const s=Math.ceil(n.getBoundingClientRect().height);Math.abs(s-t)>1?this.rollBetween(e,n,t,s,s):this.restOpen()}}if(e&&requestAnimationFrame(()=>{this.motion=!0}),t.has("drawer")){if(this.drawer){const t=fb();return this.returnFocus=t&&!this.contains(t)?t:this.returnFocus,this.shadowRoot?.querySelector(".close")?.focus({preventScroll:!0}),void V_(!1)}this.returnFocus?.focus(),this.returnFocus=null}}clip(){return this.shadowRoot?.querySelector(".drawer-clip")??null}sheet(){return this.shadowRoot?.querySelector(".userDrawer")??null}reduced(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}restShut(){this.rollMotion=!1,this.clipHeight="0px",this.sheetShift="translate3d(0, -100%, 0)"}restOpen(){this.rollMotion=!1,this.clipHeight="auto",this.sheetShift="none"}clipStyle(){const t=this.rollMotion&&!this.reduced();return{height:this.clipHeight,maxHeight:"auto"===this.clipHeight?"none":this.clipHeight,transition:t?"height var(--pwa_slide, 2s) ease-in-out, max-height var(--pwa_slide, 2s) ease-in-out":"none"}}sheetStyle(){const t=this.rollMotion&&!this.reduced();return{transform:this.sheetShift,transition:t?"transform var(--pwa_slide, 2s) ease-in-out":"none"}}unroll(){const t=this.clip(),e=this.sheet();if(!t||!e)return;this.scrollTop=0,this.placeAnchor();const n=this.sheetPx(t,e),s=Math.ceil(t.getBoundingClientRect().height);this.rollBetween(t,e,s,n,n)}rollUp(){const t=this.clip(),e=this.sheet();if(!t||!e)return;const n=Math.ceil(e.getBoundingClientRect().height),s=Math.ceil(t.getBoundingClientRect().height);this.rollBetween(t,e,s,0,n),this.reduced()&&(this.sliding=!1)}sheetPx(t,e){const n=t.style.transition,s=t.style.maxHeight,r=t.style.height;t.style.transition="none",t.style.maxHeight="none",t.style.height="auto";const i=Math.ceil(e.getBoundingClientRect().height);return t.style.height=r,t.style.maxHeight=s,t.style.transition=n,i}rollBetween(t,e,n,s,r){const i=n-r,o=s-r,a=t=>`translate3d(0, ${t}px, 0)`;if(this.reduced()||Math.abs(s-n)<=1)return void(0===s?this.restShut():this.restOpen());t.style.transition="none",e.style.transition="none",t.style.height=`${Math.max(0,n)}px`,t.style.maxHeight=`${Math.max(0,n)}px`,e.style.transform=a(i),t.offsetHeight,t.style.transition="height var(--pwa_slide, 2s) ease-in-out, max-height var(--pwa_slide, 2s) ease-in-out",e.style.transition="transform var(--pwa_slide, 2s) ease-in-out",t.style.height=`${Math.max(0,s)}px`,t.style.maxHeight=`${Math.max(0,s)}px`,e.style.transform=a(o),this.rollMotion=!0,this.clipHeight=`${Math.max(0,s)}px`,this.sheetShift=a(o)}firstUpdated(){this.shadowRoot.querySelector(".close").addEventListener("click",()=>{bn.dispatch(hn())}),this.shadowRoot.querySelector(".leave").addEventListener("click",async()=>{if(this.user)try{await x_()}catch{return}bn.dispatch(hn())});this.shadowRoot.querySelectorAll("a").forEach(t=>{t.addEventListener("click",()=>{bn.dispatch(hn())})}),this.watchColumn()}placeAnchor(){const t=getComputedStyle(this).position;if("fixed"===t||"absolute"===t)return void(this.style.top&&(this.style.top=""));const e=this.parentElement;if(!e)return;const n=this.previousElementSibling,s=n?n.getBoundingClientRect().bottom:e.getBoundingClientRect().top+(parseFloat(getComputedStyle(e).paddingTop)||0),r=parseFloat(this.style.top)||0,i=s-(this.getBoundingClientRect().top-r);Math.abs(i-r)<=.5||(this.style.top=Math.abs(i)<=.5?"":`${i}px`)}watchColumn(){if("undefined"==typeof ResizeObserver)return;this.columnObserver=new ResizeObserver(()=>{this.placeAnchor();const t=Math.round(this.getBoundingClientRect().width);t&&t!==this.columnWidth&&(this.columnWidth=t,this.onColumnResize())}),this.columnObserver.observe(this);const t=this.previousElementSibling;t&&this.columnObserver.observe(t),this.placeAnchor()}onColumnResize(){if(!this.rollMotion)return;const t=this.clip(),e=this.sheet();if(!t||!e)return;const n=Math.ceil(t.getBoundingClientRect().height),s=this.sheetPx(t,e);this.rollBetween(t,e,n,this.drawer?s:0,s)}static get styles(){return[cb,vn,In,lb,ub,hb,db,Sn,eD,K_,gb,i`
|
|
1139
|
+
/* Required - this drawer's roll only. The clip hangs from the tag and grows down. */
|
|
1146
1140
|
.drawer-clip {
|
|
1147
1141
|
display: block;
|
|
1142
|
+
position: absolute;
|
|
1143
|
+
top: 0;
|
|
1144
|
+
left: 0;
|
|
1145
|
+
right: 0;
|
|
1148
1146
|
overflow: hidden;
|
|
1149
1147
|
min-height: 0;
|
|
1148
|
+
z-index: var(--pwa_drawer_z-index, 5);
|
|
1149
|
+
border-radius: var(--pwa_drawer_border-radius, 0 0 18px 18px);
|
|
1150
|
+
box-shadow: 0 18px 40px rgba(28, 36, 48, 0.16);
|
|
1150
1151
|
}
|
|
1151
1152
|
|
|
1152
1153
|
.drawer-clip > .userDrawer {
|
package/source/pwa-styles.css
CHANGED