pwa-auth 3.4.9 → 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.
Files changed (235) hide show
  1. package/LICENSES.txt +18 -23
  2. package/README.md +547 -326
  3. package/base/api/drawer.d.ts +4 -0
  4. package/base/api/drawer.d.ts.map +1 -0
  5. package/base/api/drawer.js +12 -0
  6. package/base/api/drawer.js.map +1 -0
  7. package/base/api/user.d.ts +4 -0
  8. package/base/api/user.d.ts.map +1 -0
  9. package/base/api/user.js +25 -0
  10. package/base/api/user.js.map +1 -0
  11. package/base/api/verify.d.ts +4 -0
  12. package/base/api/verify.d.ts.map +1 -0
  13. package/base/api/verify.js +113 -0
  14. package/base/api/verify.js.map +1 -0
  15. package/base/deprecated/email-changed.d.ts +5 -0
  16. package/base/deprecated/email-changed.d.ts.map +1 -0
  17. package/base/deprecated/email-changed.js +9 -0
  18. package/base/deprecated/email-changed.js.map +1 -0
  19. package/base/events/emit.d.ts +12 -0
  20. package/base/events/emit.d.ts.map +1 -0
  21. package/base/events/emit.js +30 -0
  22. package/base/events/emit.js.map +1 -0
  23. package/base/events/names.d.ts +31 -0
  24. package/base/events/names.d.ts.map +1 -0
  25. package/base/events/names.js +31 -0
  26. package/base/events/names.js.map +1 -0
  27. package/base/events/types.d.ts +71 -0
  28. package/base/events/types.d.ts.map +1 -0
  29. package/base/events/types.js +2 -0
  30. package/base/events/types.js.map +1 -0
  31. package/base/export/pwa-auth.d.ts +17 -7
  32. package/base/export/pwa-auth.d.ts.map +1 -0
  33. package/base/export/pwa-auth.js +13 -7
  34. package/base/export/pwa-auth.js.map +1 -1
  35. package/base/firebase/attribute.d.ts +2 -0
  36. package/base/firebase/attribute.d.ts.map +1 -0
  37. package/base/firebase/attribute.js +17 -0
  38. package/base/firebase/attribute.js.map +1 -0
  39. package/base/firebase/authentication.d.ts +21 -10
  40. package/base/firebase/authentication.d.ts.map +1 -0
  41. package/base/firebase/authentication.js +65 -8
  42. package/base/firebase/authentication.js.map +1 -1
  43. package/base/firebase/interface.d.ts +7 -1
  44. package/base/firebase/interface.d.ts.map +1 -0
  45. package/base/firebase/interface.js +99 -68
  46. package/base/firebase/interface.js.map +1 -1
  47. package/base/firebase/message.d.ts +2 -0
  48. package/base/firebase/message.d.ts.map +1 -0
  49. package/base/firebase/message.js +34 -0
  50. package/base/firebase/message.js.map +1 -0
  51. package/base/firebase/password.d.ts +11 -0
  52. package/base/firebase/password.d.ts.map +1 -0
  53. package/base/firebase/password.js +16 -0
  54. package/base/firebase/password.js.map +1 -0
  55. package/base/lazyLoader.d.ts +1 -0
  56. package/base/lazyLoader.d.ts.map +1 -0
  57. package/base/redux/backend.d.ts +1 -0
  58. package/base/redux/backend.d.ts.map +1 -0
  59. package/base/redux/backend.js +1 -1
  60. package/base/redux/backend.js.map +1 -1
  61. package/base/redux/frontend.d.ts +16 -1
  62. package/base/redux/frontend.d.ts.map +1 -0
  63. package/base/redux/frontend.js +6 -3
  64. package/base/redux/frontend.js.map +1 -1
  65. package/base/store.d.ts +1 -6
  66. package/base/store.d.ts.map +1 -0
  67. package/base/store.js +2 -4
  68. package/base/store.js.map +1 -1
  69. package/base/webcomponents/css/animation.d.ts +1 -0
  70. package/base/webcomponents/css/animation.d.ts.map +1 -0
  71. package/base/webcomponents/css/animation.js +79 -67
  72. package/base/webcomponents/css/animation.js.map +1 -1
  73. package/base/webcomponents/css/svg.d.ts +1 -2
  74. package/base/webcomponents/css/svg.d.ts.map +1 -0
  75. package/base/webcomponents/css/svg.js +2 -4
  76. package/base/webcomponents/css/svg.js.map +1 -1
  77. package/base/webcomponents/css/tap.d.ts +3 -0
  78. package/base/webcomponents/css/tap.d.ts.map +1 -0
  79. package/base/webcomponents/css/tap.js +9 -0
  80. package/base/webcomponents/css/tap.js.map +1 -0
  81. package/base/webcomponents/css/toggle.d.ts +1 -0
  82. package/base/webcomponents/css/toggle.d.ts.map +1 -0
  83. package/base/webcomponents/css/toggle.js +5 -5
  84. package/base/webcomponents/drawer/css/drawer.d.ts +1 -0
  85. package/base/webcomponents/drawer/css/drawer.d.ts.map +1 -0
  86. package/base/webcomponents/drawer/css/drawer.js +101 -74
  87. package/base/webcomponents/drawer/css/drawer.js.map +1 -1
  88. package/base/webcomponents/drawer/css/exit.d.ts +1 -0
  89. package/base/webcomponents/drawer/css/exit.d.ts.map +1 -0
  90. package/base/webcomponents/drawer/css/exit.js +58 -52
  91. package/base/webcomponents/drawer/css/exit.js.map +1 -1
  92. package/base/webcomponents/drawer/css/link.d.ts +1 -0
  93. package/base/webcomponents/drawer/css/link.d.ts.map +1 -0
  94. package/base/webcomponents/drawer/css/link.js +9 -10
  95. package/base/webcomponents/drawer/css/link.js.map +1 -1
  96. package/base/webcomponents/drawer/css/paragraph.d.ts +1 -0
  97. package/base/webcomponents/drawer/css/paragraph.d.ts.map +1 -0
  98. package/base/webcomponents/drawer/css/paragraph.js +37 -20
  99. package/base/webcomponents/drawer/css/paragraph.js.map +1 -1
  100. package/base/webcomponents/drawer/drawer.d.ts +21 -7
  101. package/base/webcomponents/drawer/drawer.d.ts.map +1 -0
  102. package/base/webcomponents/drawer/drawer.js +292 -90
  103. package/base/webcomponents/drawer/drawer.js.map +1 -1
  104. package/base/webcomponents/drawer/keys.d.ts +4 -0
  105. package/base/webcomponents/drawer/keys.d.ts.map +1 -0
  106. package/base/webcomponents/drawer/keys.js +57 -0
  107. package/base/webcomponents/drawer/keys.js.map +1 -0
  108. package/base/webcomponents/form/css/button.d.ts +1 -0
  109. package/base/webcomponents/form/css/button.d.ts.map +1 -0
  110. package/base/webcomponents/form/css/button.js +69 -51
  111. package/base/webcomponents/form/css/button.js.map +1 -1
  112. package/base/webcomponents/form/css/input.d.ts +1 -0
  113. package/base/webcomponents/form/css/input.d.ts.map +1 -0
  114. package/base/webcomponents/form/css/input.js +22 -21
  115. package/base/webcomponents/form/css/input.js.map +1 -1
  116. package/base/webcomponents/form/css/label.d.ts +1 -0
  117. package/base/webcomponents/form/css/label.d.ts.map +1 -0
  118. package/base/webcomponents/form/css/label.js +22 -21
  119. package/base/webcomponents/form/css/label.js.map +1 -1
  120. package/base/webcomponents/form/css/list.d.ts +1 -0
  121. package/base/webcomponents/form/css/list.d.ts.map +1 -0
  122. package/base/webcomponents/form/css/list.js +19 -19
  123. package/base/webcomponents/form/css/notice.d.ts +3 -0
  124. package/base/webcomponents/form/css/notice.d.ts.map +1 -0
  125. package/base/webcomponents/form/css/notice.js +20 -0
  126. package/base/webcomponents/form/css/notice.js.map +1 -0
  127. package/base/webcomponents/form/css/status.d.ts +4 -0
  128. package/base/webcomponents/form/css/status.d.ts.map +1 -0
  129. package/base/webcomponents/form/css/status.js +44 -0
  130. package/base/webcomponents/form/css/status.js.map +1 -0
  131. package/base/webcomponents/form/css/toggle.d.ts +1 -0
  132. package/base/webcomponents/form/css/toggle.d.ts.map +1 -0
  133. package/base/webcomponents/form/css/toggle.js +43 -17
  134. package/base/webcomponents/form/css/toggle.js.map +1 -1
  135. package/base/webcomponents/form/draft.d.ts +5 -0
  136. package/base/webcomponents/form/draft.d.ts.map +1 -0
  137. package/base/webcomponents/form/draft.js +22 -0
  138. package/base/webcomponents/form/draft.js.map +1 -0
  139. package/base/webcomponents/form/forgot.d.ts +26 -3
  140. package/base/webcomponents/form/forgot.d.ts.map +1 -0
  141. package/base/webcomponents/form/forgot.js +297 -30
  142. package/base/webcomponents/form/forgot.js.map +1 -1
  143. package/base/webcomponents/form/letters.d.ts +3 -0
  144. package/base/webcomponents/form/letters.d.ts.map +1 -0
  145. package/base/webcomponents/form/letters.js +21 -0
  146. package/base/webcomponents/form/letters.js.map +1 -0
  147. package/base/webcomponents/form/login.d.ts +10 -0
  148. package/base/webcomponents/form/login.d.ts.map +1 -0
  149. package/base/webcomponents/form/login.js +221 -89
  150. package/base/webcomponents/form/login.js.map +1 -1
  151. package/base/webcomponents/form/notice.d.ts +4 -0
  152. package/base/webcomponents/form/notice.d.ts.map +1 -0
  153. package/base/webcomponents/form/notice.js +14 -0
  154. package/base/webcomponents/form/notice.js.map +1 -0
  155. package/base/webcomponents/form/reveal.d.ts +3 -0
  156. package/base/webcomponents/form/reveal.d.ts.map +1 -0
  157. package/base/webcomponents/form/reveal.js +14 -0
  158. package/base/webcomponents/form/reveal.js.map +1 -0
  159. package/base/webcomponents/form/signup.d.ts +8 -0
  160. package/base/webcomponents/form/signup.d.ts.map +1 -0
  161. package/base/webcomponents/form/signup.js +201 -100
  162. package/base/webcomponents/form/signup.js.map +1 -1
  163. package/base/webcomponents/form/verified.d.ts +3 -0
  164. package/base/webcomponents/form/verified.d.ts.map +1 -0
  165. package/base/webcomponents/form/verified.js +45 -0
  166. package/base/webcomponents/form/verified.js.map +1 -0
  167. package/base/webcomponents/icon/css/icon.d.ts +1 -0
  168. package/base/webcomponents/icon/css/icon.d.ts.map +1 -0
  169. package/base/webcomponents/icon/css/icon.js +63 -49
  170. package/base/webcomponents/icon/css/icon.js.map +1 -1
  171. package/base/webcomponents/icon/icon.d.ts +6 -4
  172. package/base/webcomponents/icon/icon.d.ts.map +1 -0
  173. package/base/webcomponents/icon/icon.js +48 -27
  174. package/base/webcomponents/icon/icon.js.map +1 -1
  175. package/base/webcomponents/login/css/auth.d.ts +1 -0
  176. package/base/webcomponents/login/css/auth.d.ts.map +1 -0
  177. package/base/webcomponents/login/css/auth.js +37 -36
  178. package/base/webcomponents/login/css/auth.js.map +1 -1
  179. package/base/webcomponents/login/css/link.d.ts +1 -0
  180. package/base/webcomponents/login/css/link.d.ts.map +1 -0
  181. package/base/webcomponents/login/css/link.js +9 -10
  182. package/base/webcomponents/login/css/link.js.map +1 -1
  183. package/base/webcomponents/login/css/paragraph.d.ts +1 -0
  184. package/base/webcomponents/login/css/paragraph.d.ts.map +1 -0
  185. package/base/webcomponents/login/css/paragraph.js +8 -8
  186. package/base/webcomponents/login/page.d.ts +10 -6
  187. package/base/webcomponents/login/page.d.ts.map +1 -0
  188. package/base/webcomponents/login/page.js +96 -55
  189. package/base/webcomponents/login/page.js.map +1 -1
  190. package/base/webcomponents/settings/css/navigation.d.ts +1 -0
  191. package/base/webcomponents/settings/css/navigation.d.ts.map +1 -0
  192. package/base/webcomponents/settings/css/navigation.js +78 -68
  193. package/base/webcomponents/settings/css/navigation.js.map +1 -1
  194. package/base/webcomponents/settings/input/delete.d.ts +7 -6
  195. package/base/webcomponents/settings/input/delete.d.ts.map +1 -0
  196. package/base/webcomponents/settings/input/delete.js +135 -48
  197. package/base/webcomponents/settings/input/delete.js.map +1 -1
  198. package/base/webcomponents/settings/input/email.d.ts +7 -5
  199. package/base/webcomponents/settings/input/email.d.ts.map +1 -0
  200. package/base/webcomponents/settings/input/email.js +155 -50
  201. package/base/webcomponents/settings/input/email.js.map +1 -1
  202. package/base/webcomponents/settings/input/name.d.ts +8 -5
  203. package/base/webcomponents/settings/input/name.d.ts.map +1 -0
  204. package/base/webcomponents/settings/input/name.js +116 -53
  205. package/base/webcomponents/settings/input/name.js.map +1 -1
  206. package/base/webcomponents/settings/input/password.d.ts +8 -5
  207. package/base/webcomponents/settings/input/password.d.ts.map +1 -0
  208. package/base/webcomponents/settings/input/password.js +200 -103
  209. package/base/webcomponents/settings/input/password.js.map +1 -1
  210. package/base/webcomponents/settings/input/uploader.d.ts +8 -6
  211. package/base/webcomponents/settings/input/uploader.d.ts.map +1 -0
  212. package/base/webcomponents/settings/input/uploader.js +209 -170
  213. package/base/webcomponents/settings/input/uploader.js.map +1 -1
  214. package/base/webcomponents/settings/input/verify.d.ts +64 -0
  215. package/base/webcomponents/settings/input/verify.d.ts.map +1 -0
  216. package/base/webcomponents/settings/input/verify.js +272 -0
  217. package/base/webcomponents/settings/input/verify.js.map +1 -0
  218. package/base/webcomponents/settings/settings.d.ts +15 -10
  219. package/base/webcomponents/settings/settings.d.ts.map +1 -0
  220. package/base/webcomponents/settings/settings.js +226 -147
  221. package/base/webcomponents/settings/settings.js.map +1 -1
  222. package/firebase.md +107 -0
  223. package/intro.md +19 -0
  224. package/license +21 -21
  225. package/package.json +116 -71
  226. package/source/pwa-auth.js +1098 -407
  227. package/source/pwa-styles.css +50 -68
  228. package/base/redux/drawer.d.ts +0 -17
  229. package/base/redux/drawer.js +0 -22
  230. package/base/redux/drawer.js.map +0 -1
  231. package/demonstration/index.html +0 -99
  232. package/demonstration/pwa-styles.css +0 -77
  233. package/demonstration/styles.css +0 -77
  234. package/notes.md +0 -11
  235. package/source/THIRD_PARTY_LICENSES.txt +0 -303
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../typescript/webcomponents/drawer/keys.ts"],"names":[],"mappings":"AACA,MAAM,UAAU,QAAQ,CAAC,EAAe;IAEtC,IAAI,OAAO,GAAgB,EAAE,CAAC;IAE9B,OAAO,OAAO,EAAE,CAAC;QAEf,IAAI,OAAO,YAAY,WAAW,EAAE,CAAC;YACnC,IAAI,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC;gBAAE,OAAO,IAAI,CAAC;YACtD,IAAI,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC;QACrF,CAAC;QAGD,IAAI,OAAO,YAAY,OAAO,IAAI,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,YAAY,KAAK,OAAO,EAAE,CAAC;YAC3F,OAAO,GAAG,OAAO,CAAC,YAAY,CAAC;YAC/B,SAAS;QACX,CAAC;QAED,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;YAC1B,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC;YAChC,SAAS;QACX,CAAC;QAED,MAAM,IAAI,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;QACnC,IAAI,IAAI,YAAY,UAAU,EAAE,CAAC;YAC/B,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC;YACpB,SAAS;QACX,CAAC;QAED,MAAM;IAER,CAAC;IAED,OAAO,KAAK,CAAC;AAEf,CAAC;AAGD,MAAM,UAAU,SAAS,CAAC,IAAiB;IAEzC,MAAM,KAAK,GAAkB,EAAE,CAAC;IAChC,MAAM,QAAQ,GAAG,0CAA0C,CAAC;IAE5D,MAAM,IAAI,GAAG,CAAC,IAAgB,EAAE,EAAE;QAEhC,IAAI,CAAC,gBAAgB,CAAc,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE;YAC1D,IAAI,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC;gBAAE,OAAO;YACxC,IAAI,EAAE,CAAC,QAAQ,GAAG,CAAC;gBAAE,OAAO;YAC5B,IAAI,QAAQ,CAAC,EAAE,CAAC;gBAAE,OAAO;YACzB,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACjB,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,gBAAgB,CAAc,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE;YACrD,IAAI,EAAE,CAAC,UAAU;gBAAE,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;QACzC,CAAC,CAAC,CAAC;IAEL,CAAC,CAAC;IAEF,IAAI,IAAI,CAAC,UAAU;QAAE,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3C,IAAI,CAAC,IAAI,CAAC,CAAC;IAEX,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,KAAK,CAAC,CAAC;AAElE,CAAC;AAGD,MAAM,UAAU,UAAU;IAExB,IAAI,IAAI,GAAG,QAAQ,CAAC,aAAmC,CAAC;IAExD,OAAO,IAAI,EAAE,UAAU,EAAE,aAAa,YAAY,WAAW,EAAE,CAAC;QAC9D,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;IACvC,CAAC;IAED,OAAO,IAAI,CAAC;AAEd,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { CSSResult } from "lit";
2
2
  export declare const buttonStyle: CSSResult;
3
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,eAAO,MAAM,WAAW,EAAE,SAqEzB,CAAC"}
@@ -1,54 +1,72 @@
1
1
  import { css } from "lit";
2
- export const buttonStyle = css `
3
-
4
- .action-button:focus { outline:0; }
5
-
6
- .action-button {
7
- display: inline-block;
8
- box-sizing: border-box;
9
- white-space: nowrap;
10
- margin: 16px 16px 32px auto;
11
- font-weight: 400;
12
- text-align: center;
13
- vertical-align: middle;
14
- touch-action: manipulation;
15
- -webkit-appearance: button;
16
- cursor: pointer;
17
- font-size: 16px;
18
- height: 38px;
19
- line-height: 16px;
20
- padding: 10px 16px;
21
- border-radius: 6px;
22
- color: var(--pwa_action_text_color, #fff);
23
- background-color: var(--pwa_action_background_color, #6cc04a);
24
- border-color: var(--pwa_action_border_color, #60b23e);
25
- box-shadow: 1px 1px 1px grey;
26
- }
27
-
28
- .saving{
29
- transition: background-color 0.3s;
30
- background-color: #D6EBD3;
31
- border: 0.5px solid black;
32
- border-radius: 4px;
33
- height: 50px;
34
- width: 100%;
35
- margin: auto;
36
- box-shadow: 1px 1px 1px grey;
37
- }
38
-
39
- .submit:hover { background-color: #45a049; }
40
-
41
- .submit {
42
- box-sizing: border-box;
43
- width: 100%;
44
- background-color: #4CAF50;
45
- color: white;
46
- padding: 14px 20px;
47
- margin: 8px 0;
48
- border: none;
49
- border-radius: 4px;
50
- cursor: pointer;
51
- }
52
-
2
+ export const buttonStyle = css `
3
+
4
+ .action-button:focus { outline: 0; }
5
+
6
+ .action-button:focus-visible {
7
+ outline: 2px solid var(--pwa_action_border_color, #214f34);
8
+ outline-offset: 2px;
9
+ }
10
+
11
+ .action-button {
12
+ display: inline-block;
13
+ box-sizing: border-box;
14
+ white-space: nowrap;
15
+ margin: 8px 16px 20px auto;
16
+ font-weight: 600;
17
+ text-align: center;
18
+ vertical-align: middle;
19
+ touch-action: manipulation;
20
+ -webkit-appearance: button;
21
+ cursor: pointer;
22
+ font-size: 16px;
23
+ min-height: var(--pwa_tap, 44px); /* Required - minimum tap target */
24
+ height: auto;
25
+ max-width: calc(100% - 32px); /* Required - fit 320px */
26
+ line-height: 1.2;
27
+ padding: 10px 18px;
28
+ border-radius: 10px;
29
+ border-style: solid;
30
+ border-width: 1px;
31
+ color: var(--pwa_action_text_color, #fff);
32
+ background-color: var(--pwa_action_background_color, #2a6b45);
33
+ border-color: var(--pwa_action_border_color, #214f34);
34
+ align-self: start; /* Required - stay under the field when a tab changes height */
35
+ justify-self: end;
36
+ }
37
+
38
+ /* Required - fit 320px */
39
+ @media (max-width: 320px) {
40
+ .action-button {
41
+ white-space: normal;
42
+ margin-left: 16px;
43
+ margin-right: 16px;
44
+ }
45
+ }
46
+
47
+ .saving{
48
+ transition: background-color 0.3s;
49
+ background-color: #d7ebe0;
50
+ border: 1px solid var(--pwa_line_color, #e3daca);
51
+ border-radius: 4px;
52
+ height: 50px;
53
+ width: 100%;
54
+ margin: auto;
55
+ }
56
+
57
+ .submit:hover { background-color: #214f34; }
58
+
59
+ .submit {
60
+ box-sizing: border-box;
61
+ width: 100%;
62
+ background-color: var(--pwa_action_background_color, #2a6b45);
63
+ color: white;
64
+ padding: 14px 20px;
65
+ margin: 8px 0;
66
+ border: none;
67
+ border-radius: 4px;
68
+ cursor: pointer;
69
+ }
70
+
53
71
  `;
54
72
  //# sourceMappingURL=button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAA;AAEpC,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDxC,CAAC"}
1
+ {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAA;AAEpC,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqExC,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { CSSResult } from "lit";
2
2
  export declare const inputStyle: CSSResult;
3
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,UAAU,EAAG,SAsBzB,CAAC"}
@@ -1,24 +1,25 @@
1
1
  import { css } from "lit";
2
- export const inputStyle = css `
3
-
4
- input[type=text],
5
- input[type=email],
6
- input[type=password],
7
- select {
8
- box-sizing: border-box;
9
- -webkit-box-sizing: border-box;
10
- height: 50px;
11
- text-align: left;
12
- padding: 8px 16px;
13
- background-color: var(--pwa_input_background_color, #E1E5EB);
14
- border: 1px solid grey;
15
- border-radius: 4px;
16
- -webkit-border-radius: 4px;
17
- font-size: smaller;
18
- box-shadow: 0px 6px 6px -6px;
19
- }
20
-
21
- input.invalid { background-color: #ffdddd; }
22
-
2
+ export const inputStyle = css `
3
+
4
+ input[type=text],
5
+ input[type=email],
6
+ input[type=password],
7
+ select {
8
+ box-sizing: border-box;
9
+ -webkit-box-sizing: border-box;
10
+ width: 100%; /* Required - fit 320px */
11
+ max-width: 100%;
12
+ height: 48px;
13
+ text-align: left;
14
+ padding: 8px 14px;
15
+ color: var(--pwa_drawer_text_color, #1c2430);
16
+ background-color: var(--pwa_input_background_color, #f3efe6);
17
+ border: 1px solid var(--pwa_line_color, #e3daca);
18
+ border-radius: 10px;
19
+ font-size: 1rem;
20
+ }
21
+
22
+ input.invalid { background-color: #ffdddd; }
23
+
23
24
  `;
24
25
  //# sourceMappingURL=input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,UAAU,GAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;CAqBxC,CAAC"}
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,UAAU,GAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;CAsBxC,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { CSSResult } from "lit";
2
2
  export declare const labelStyle: CSSResult;
3
+ //# sourceMappingURL=label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,UAAU,EAAG,SAsBzB,CAAC"}
@@ -1,24 +1,25 @@
1
1
  import { css } from "lit";
2
- export const labelStyle = css `
3
-
4
- label { font-size: .9em; }
5
- label {
6
- display: grid;
7
- color: var(--pwa_label_text_color, black);
8
- box-sizing: border-box;
9
- font-size: smaller;
10
- margin-bottom: 0;
11
- font-weight: bold;
12
- line-height: 36px;
13
- padding: 0 4px;
14
- padding-bottom: 16px;
15
- }
16
-
17
- @media (max-width: 460px) {
18
-
19
- label { font-size: .8em; }
20
-
21
- }
22
-
2
+ export const labelStyle = css `
3
+
4
+ label {
5
+ display: grid;
6
+ gap: 6px;
7
+ color: var(--pwa_label_text_color, #1c2430);
8
+ box-sizing: border-box;
9
+ font-size: 0.85rem;
10
+ margin: 0;
11
+ font-weight: 600;
12
+ line-height: 1.3;
13
+ padding: 0 16px 14px; /* Required - field inset */
14
+ }
15
+
16
+ .hint {
17
+ margin: 6px 0 0;
18
+ color: var(--pwa_nav_button_color, #4e5b6a);
19
+ font-size: 0.85rem;
20
+ font-weight: 500;
21
+ line-height: 1.4;
22
+ }
23
+
23
24
  `;
24
25
  //# sourceMappingURL=label.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,UAAU,GAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;CAqBxC,CAAC"}
1
+ {"version":3,"file":"label.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,UAAU,GAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;CAsBxC,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { CSSResult } from "lit";
2
2
  export declare const listStyle: CSSResult;
3
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,SAAS,EAAE,SAmBvB,CAAC"}
@@ -1,22 +1,22 @@
1
1
  import { css } from "lit";
2
- export const listStyle = css `
3
-
4
- ul {
5
- list-style-type: none;
6
- padding: 0;
7
- margin: 0;
8
- }
9
-
10
- li {
11
- display: grid;
12
- }
13
-
14
- .divider {
15
- border-top: 2px dotted black;
16
- border-bottom: 2px dotted black;
17
- text-align: center;
18
- margin: 0 16px;
19
- }
20
-
2
+ export const listStyle = css `
3
+
4
+ ul {
5
+ list-style-type: none;
6
+ padding: 0;
7
+ margin: 0;
8
+ }
9
+
10
+ li {
11
+ display: grid;
12
+ }
13
+
14
+ .divider {
15
+ border-top: 2px dotted black;
16
+ border-bottom: 2px dotted black;
17
+ text-align: center;
18
+ margin: 0 16px;
19
+ }
20
+
21
21
  `;
22
22
  //# sourceMappingURL=list.js.map
@@ -0,0 +1,3 @@
1
+ import { CSSResult } from 'lit';
2
+ export declare const noticeStyle: CSSResult;
3
+ //# sourceMappingURL=notice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notice.d.ts","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/notice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAGrC,eAAO,MAAM,WAAW,EAAE,SAiBzB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { css } from 'lit';
2
+ export const noticeStyle = css `
3
+
4
+ .notice {
5
+ margin: 4px 16px 8px;
6
+ padding: 14px 16px 16px;
7
+ color: var(--pwa_label_text_color, #1c2430);
8
+ background: var(--pwa_nav_on_background, #f3efe6);
9
+ border: 1px solid var(--pwa_line_color, #e3daca);
10
+ border-radius: 10px;
11
+ }
12
+
13
+ .notice p {
14
+ margin: 0;
15
+ font-size: 0.95rem;
16
+ line-height: 1.45;
17
+ }
18
+
19
+ `;
20
+ //# sourceMappingURL=notice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notice.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/notice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAGrC,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;CAiBxC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { CSSResult, TemplateResult } from 'lit';
2
+ export declare const statusStyle: CSSResult;
3
+ export declare function liveStatus(id: string, text: string, tone: string): TemplateResult;
4
+ //# sourceMappingURL=status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAG3D,eAAO,MAAM,WAAW,EAAE,SA8BzB,CAAC;AAGF,wBAAgB,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,cAAc,CAUjF"}
@@ -0,0 +1,44 @@
1
+ import { css, html } from 'lit';
2
+ export const statusStyle = css `
3
+
4
+ .status {
5
+ margin: 0 16px 8px;
6
+ color: var(--pwa_label_text_color, #1c2430);
7
+ font-size: 0.95rem;
8
+ line-height: 1.4;
9
+ }
10
+
11
+ .status:not(.on) {
12
+ position: absolute;
13
+ width: 1px;
14
+ height: 1px;
15
+ padding: 0;
16
+ margin: -1px;
17
+ overflow: hidden;
18
+ clip: rect(0, 0, 0, 0);
19
+ white-space: nowrap;
20
+ border: 0;
21
+ }
22
+
23
+ .status.error { color: var(--pwa_close_color, #9a3b32); }
24
+
25
+ .pair {
26
+ display: grid;
27
+ grid-template-columns: minmax(0, 1fr) auto;
28
+ gap: 8px;
29
+ align-items: center;
30
+ }
31
+
32
+ `;
33
+ export function liveStatus(id, text, tone) {
34
+ return html `
35
+ <p
36
+ id="${id}"
37
+ part="status"
38
+ class="status ${text ? 'on' : ''} ${tone}"
39
+ role="status"
40
+ aria-live="polite"
41
+ aria-atomic="true">${text}</p>
42
+ `;
43
+ }
44
+ //# sourceMappingURL=status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3D,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BxC,CAAC;AAGF,MAAM,UAAU,UAAU,CAAC,EAAU,EAAE,IAAY,EAAE,IAAY;IAC/D,OAAO,IAAI,CAAA;;YAED,EAAE;;sBAEQ,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,IAAI;;;2BAGnB,IAAI;GAC5B,CAAC;AACJ,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { CSSResult } from "lit";
2
2
  export declare const toggleStyle: CSSResult;
3
+ //# sourceMappingURL=toggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/toggle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,eAAO,MAAM,WAAW,EAAE,SA2CzB,CAAC"}
@@ -1,20 +1,46 @@
1
1
  import { css } from "lit";
2
- export const toggleStyle = css `
3
-
4
- .new {
5
- border: 0px;
6
- border-top: 2px solid black;
7
- box-shadow: 0px 0px 6px 0px;
8
- padding: 12px;
9
- /* border-radius: 4px; */
10
- appearance: none;
11
- background-color: transparent;
12
- color: inherit;
13
- cursor: pointer;
14
- text-decoration: underline;
15
- font-size: small;
16
- line-height: 42px;
17
- }
18
-
2
+ export const toggleStyle = css `
3
+
4
+ .new {
5
+ border: 0;
6
+ border-top: 1px solid var(--pwa_line_color, #e3daca);
7
+ padding: 14px 16px;
8
+ appearance: none;
9
+ background-color: transparent;
10
+ color: var(--pwa_action_background_color, #2a6b45);
11
+ cursor: pointer;
12
+ text-decoration: underline;
13
+ text-underline-offset: 3px;
14
+ font-size: 0.95rem;
15
+ line-height: 1.4;
16
+ min-height: var(--pwa_tap, 44px); /* Required - minimum tap target */
17
+ }
18
+
19
+ .reveal {
20
+ appearance: none;
21
+ border: 0;
22
+ background: transparent;
23
+ color: var(--pwa_action_background_color, #2a6b45);
24
+ cursor: pointer;
25
+ text-decoration: underline;
26
+ text-underline-offset: 3px;
27
+ font: inherit;
28
+ font-size: 0.85rem;
29
+ min-height: var(--pwa_tap, 44px); /* Required - minimum tap target */
30
+ padding: 0 4px;
31
+ }
32
+
33
+ .reveal:focus { outline: 0; }
34
+
35
+ .reveal:focus-visible {
36
+ outline: 2px solid var(--pwa_action_border_color, #214f34);
37
+ outline-offset: 2px;
38
+ }
39
+
40
+ button.action-button:disabled {
41
+ cursor: default;
42
+ opacity: 0.72;
43
+ }
44
+
19
45
  `;
20
46
  //# sourceMappingURL=toggle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/toggle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;CAiBxC,CAAA"}
1
+ {"version":3,"file":"toggle.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/toggle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CxC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare function rememberEmail(value: string): void;
2
+ export declare function draftedEmail(): string;
3
+ export declare function onDraftEmail(hear: () => void): () => void;
4
+ export declare function clearDraftEmail(): void;
5
+ //# sourceMappingURL=draft.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../typescript/webcomponents/form/draft.ts"],"names":[],"mappings":"AAOA,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAYjD;AAGD,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAGD,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAGzD;AAGD,wBAAgB,eAAe,IAAI,IAAI,CAEtC"}
@@ -0,0 +1,22 @@
1
+ let draft = '';
2
+ const listeners = new Set();
3
+ export function rememberEmail(value) {
4
+ const next = value.trim();
5
+ if (next === draft)
6
+ return;
7
+ draft = next;
8
+ if (!next)
9
+ return;
10
+ listeners.forEach((hear) => hear());
11
+ }
12
+ export function draftedEmail() {
13
+ return draft;
14
+ }
15
+ export function onDraftEmail(hear) {
16
+ listeners.add(hear);
17
+ return () => { listeners.delete(hear); };
18
+ }
19
+ export function clearDraftEmail() {
20
+ draft = '';
21
+ }
22
+ //# sourceMappingURL=draft.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"draft.js","sourceRoot":"","sources":["../../../typescript/webcomponents/form/draft.ts"],"names":[],"mappings":"AAEA,IAAI,KAAK,GAAG,EAAE,CAAC;AAEf,MAAM,SAAS,GAAG,IAAI,GAAG,EAAc,CAAC;AAGxC,MAAM,UAAU,aAAa,CAAC,KAAa;IAEzC,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;IAE1B,IAAI,IAAI,KAAK,KAAK;QAAE,OAAO;IAE3B,KAAK,GAAG,IAAI,CAAC;IAEb,IAAI,CAAC,IAAI;QAAE,OAAO;IAElB,SAAS,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC;AAEtC,CAAC;AAGD,MAAM,UAAU,YAAY;IAC1B,OAAO,KAAK,CAAC;AACf,CAAC;AAGD,MAAM,UAAU,YAAY,CAAC,IAAgB;IAC3C,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACpB,OAAO,GAAG,EAAE,GAAG,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AAC3C,CAAC;AAGD,MAAM,UAAU,eAAe;IAC7B,KAAK,GAAG,EAAE,CAAC;AACb,CAAC"}
@@ -1,15 +1,38 @@
1
1
  import { TemplateResult } from 'lit';
2
- import { LazyLoader } from '../../lazyLoader';
2
+ import { LazyLoader } from '../../lazyLoader.js';
3
3
  export declare class EmailReset extends LazyLoader {
4
4
  private userEmail;
5
+ private status;
6
+ private tone;
7
+ private invalid;
8
+ private busy;
9
+ private cooldown;
10
+ private touched;
11
+ private timer;
12
+ private stopDraft;
5
13
  constructor();
6
- protected firstUpdated(): void;
14
+ static styles: import("lit").CSSResult[];
15
+ connectedCallback(): void;
16
+ disconnectedCallback(): void;
17
+ protected updated(): void;
18
+ private prefill;
19
+ private paintEmail;
7
20
  private handleEmail;
21
+ private buttonLabel;
8
22
  protected render(): TemplateResult;
9
- private restPassword;
23
+ private resetPassword;
24
+ private showSent;
25
+ private showError;
26
+ private showFirebase;
27
+ private focusAfter;
28
+ private focusEmail;
29
+ private focusStatus;
30
+ private armCooldown;
31
+ private backToSignIn;
10
32
  }
11
33
  declare global {
12
34
  interface HTMLElementTagNameMap {
13
35
  'email-reset': EmailReset;
14
36
  }
15
37
  }
38
+ //# sourceMappingURL=forgot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forgot.d.ts","sourceRoot":"","sources":["../../../typescript/webcomponents/form/forgot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAO,MAAM,KAAK,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAsB,qBAAqB,CAAC;AAyCjE,qBACa,UAAW,SAAQ,UAAU;IAE/B,OAAO,CAAC,SAAS,CAAc;IAC/B,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,IAAI,CAAmB;IAC/B,OAAO,CAAC,OAAO,CAAoB;IACnC,OAAO,CAAC,IAAI,CAAuB;IACnC,OAAO,CAAC,QAAQ,CAAc;IAEvC,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,SAAS,CAA6B;;IAI9C,MAAM,CAAC,MAAM,4BAgDX;IAEO,iBAAiB,IAAI,IAAI;IAMzB,oBAAoB,IAAI,IAAI;IAQrC,SAAS,CAAC,OAAO,IAAI,IAAI;IAKzB,OAAO,CAAC,OAAO;IAcf,OAAO,CAAC,UAAU;IAYlB,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,WAAW;IAMnB,SAAS,CAAC,MAAM,IAAI,cAAc;IAwDlC,OAAO,CAAC,aAAa,CAgCpB;IAGD,OAAO,CAAC,QAAQ;IAahB,OAAO,CAAC,SAAS;IAWjB,OAAO,CAAC,YAAY;IAapB,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,WAAW;IAoBnB,OAAO,CAAC,YAAY,CAqBnB;CAEF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAC;KAC3B;CACF"}