pwa-auth 3.7.5 → 3.7.7

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.
@@ -28,10 +28,15 @@ export const authStyles = [hostCollapse, css `
28
28
  }
29
29
 
30
30
  h2 {
31
+ box-sizing: border-box;
32
+ width: 100%;
33
+ justify-self: stretch;
31
34
  margin: 0;
35
+ margin-inline: 0;
32
36
  padding: 18px var(--pwa_inset, 0px) 14px;
33
37
  font-size: 1.15rem;
34
38
  font-weight: 600;
39
+ text-align: center;
35
40
  border-bottom: 1px solid var(--pwa_line_color, #e3daca);
36
41
  }
37
42
 
@@ -1 +1 @@
1
- {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/login/css/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAkB,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,MAAM,CAAC,MAAM,UAAU,GAAmB,CAAC,YAAY,EAAE,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmC3D,CAAC,CAAC"}
1
+ {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/login/css/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAkB,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,MAAM,CAAC,MAAM,UAAU,GAAmB,CAAC,YAAY,EAAE,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC3D,CAAC,CAAC"}
@@ -113,6 +113,8 @@ When the new sheet is the thing on screen, `S = B`, so it finishes at `translate
113
113
 
114
114
  `sliding` turns on in the same turn as the open. `visibility` and `pointer-events` come on with it, and `inert` comes off. It turns off only when this drawer's clip fires `max-height` `transitionend` and the box is shorter than 2px. A bubbled transform from a form does not qualify (`event.target` must be the clip). That is the close, not a second timer. `prefers-reduced-motion: reduce` sets `--pwa_slide` to `0s` on that host, and `rollBetween` snaps to the end state with `transition: none`.
115
115
 
116
+ Signing out while the drawer is open does not swap in the login form until that clip has reached 0. The close measures the account menu, so `translateY` starts at 0 and the menu rolls up. The login form is what the next open shows. The same end step runs when reduced motion snaps the clip shut. Returning focus uses `preventScroll`, so the page does not jump. `placeAnchor()` runs again before the close. The host is `position: relative` and the clip is `absolute` at the top of the host. A page grid should give `user-drawer` the row between the header and the content, so that anchor does not have to pull the tag up with a large `top`.
117
+
116
118
  ### Where it is used
117
119
 
118
120
  | Place | Clip | Sheet | When it rolls |
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.5",
9
+ "version": "3.7.7",
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": {