@authon/js 0.1.5 → 0.1.6
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/dist/index.js +8 -0
- package/dist/index.mjs +8 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -60,6 +60,7 @@ var DEFAULT_BRANDING = {
|
|
|
60
60
|
borderRadius: 12,
|
|
61
61
|
showEmailPassword: true,
|
|
62
62
|
showDivider: true,
|
|
63
|
+
showSecuredBy: true,
|
|
63
64
|
locale: "en"
|
|
64
65
|
};
|
|
65
66
|
|
|
@@ -184,6 +185,7 @@ var ModalRenderer = class {
|
|
|
184
185
|
${emailForm}
|
|
185
186
|
<p class="switch-view">${subtitle} <a href="#" id="switch-link">${subtitleLink}</a></p>
|
|
186
187
|
${footer}
|
|
188
|
+
${b.showSecuredBy !== false ? `<div class="secured-by">Secured by <span class="secured-brand">Authon</span></div>` : ""}
|
|
187
189
|
</div>
|
|
188
190
|
`;
|
|
189
191
|
}
|
|
@@ -280,6 +282,12 @@ var ModalRenderer = class {
|
|
|
280
282
|
.footer { text-align: center; margin-top: 16px; font-size: 12px; color: var(--authon-dim); }
|
|
281
283
|
.footer a { color: var(--authon-dim); text-decoration: none; }
|
|
282
284
|
.footer a:hover { text-decoration: underline; }
|
|
285
|
+
.secured-by {
|
|
286
|
+
text-align: center; margin-top: 20px; padding-top: 16px;
|
|
287
|
+
border-top: 1px solid var(--authon-divider);
|
|
288
|
+
font-size: 11px; color: var(--authon-dim);
|
|
289
|
+
}
|
|
290
|
+
.secured-brand { font-weight: 600; color: var(--authon-muted); }
|
|
283
291
|
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
|
|
284
292
|
@keyframes slideIn { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); } }
|
|
285
293
|
${b.customCss || ""}
|
package/dist/index.mjs
CHANGED
|
@@ -33,6 +33,7 @@ var DEFAULT_BRANDING = {
|
|
|
33
33
|
borderRadius: 12,
|
|
34
34
|
showEmailPassword: true,
|
|
35
35
|
showDivider: true,
|
|
36
|
+
showSecuredBy: true,
|
|
36
37
|
locale: "en"
|
|
37
38
|
};
|
|
38
39
|
|
|
@@ -157,6 +158,7 @@ var ModalRenderer = class {
|
|
|
157
158
|
${emailForm}
|
|
158
159
|
<p class="switch-view">${subtitle} <a href="#" id="switch-link">${subtitleLink}</a></p>
|
|
159
160
|
${footer}
|
|
161
|
+
${b.showSecuredBy !== false ? `<div class="secured-by">Secured by <span class="secured-brand">Authon</span></div>` : ""}
|
|
160
162
|
</div>
|
|
161
163
|
`;
|
|
162
164
|
}
|
|
@@ -253,6 +255,12 @@ var ModalRenderer = class {
|
|
|
253
255
|
.footer { text-align: center; margin-top: 16px; font-size: 12px; color: var(--authon-dim); }
|
|
254
256
|
.footer a { color: var(--authon-dim); text-decoration: none; }
|
|
255
257
|
.footer a:hover { text-decoration: underline; }
|
|
258
|
+
.secured-by {
|
|
259
|
+
text-align: center; margin-top: 20px; padding-top: 16px;
|
|
260
|
+
border-top: 1px solid var(--authon-divider);
|
|
261
|
+
font-size: 11px; color: var(--authon-dim);
|
|
262
|
+
}
|
|
263
|
+
.secured-brand { font-weight: 600; color: var(--authon-muted); }
|
|
256
264
|
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
|
|
257
265
|
@keyframes slideIn { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); } }
|
|
258
266
|
${b.customCss || ""}
|