@nebulr-group/bridge-svelte 0.9.3 → 0.9.4

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.
@@ -513,7 +513,7 @@
513
513
  {@render footer()}
514
514
  {:else if effectiveShowSignupLink}
515
515
  <div class="bridge-form-footer">
516
- {t('login.signupPrompt')} <a href={effectiveSignupHref}>{t('login.signupLink')}</a>
516
+ {t('login.signupPrompt')} <a href={effectiveSignupHref} class="bridge-link">{t('login.signupLink')}</a>
517
517
  </div>
518
518
  {/if}
519
519
  </AuthFormWrapper>
package/dist/styles.css CHANGED
@@ -296,14 +296,21 @@
296
296
  font-size: calc(0.875 * var(--bridge-text-base, 1rem));
297
297
  }
298
298
 
299
+ /* TBP-899 — every text link on the sign-in pages ("Sign up", "Forgot password?",
300
+ "Back to sign in") takes the form's own text colour and font, not the
301
+ browser's default blue. */
299
302
  [data-bridge-auth-form] .bridge-form-footer a,
300
303
  [data-bridge-auth-form] .bridge-link {
301
304
  cursor: pointer;
302
305
  background: none;
303
306
  border: none;
307
+ color: inherit;
308
+ font-family: inherit;
304
309
  font-size: inherit;
310
+ font-weight: inherit;
305
311
  padding: 0;
306
312
  text-decoration: underline;
313
+ text-underline-offset: 0.2em;
307
314
  }
308
315
 
309
316
  [data-bridge-auth-form] .bridge-divider {
@@ -401,11 +408,31 @@
401
408
  box-sizing: border-box;
402
409
  }
403
410
 
411
+ /* TBP-899 — a sign-in method drawn as a link (the magic-link button) looks
412
+ like the other method buttons: no underline, no link colour. */
413
+ a.bridge-btn,
414
+ a.bridge-btn:hover,
415
+ a.bridge-btn:visited {
416
+ text-decoration: none;
417
+ }
418
+
419
+ a.bridge-sso-btn,
420
+ a.bridge-sso-btn:visited {
421
+ color: inherit;
422
+ }
423
+
404
424
  .bridge-sso-btn-inner {
405
425
  display: flex;
406
426
  align-items: center;
407
427
  gap: 0.75rem;
408
428
  width: 12rem;
429
+ /* TBP-899 — grows past 12rem when the app's button text is larger, instead
430
+ of squeezing the method icon to nothing. */
431
+ min-width: max-content;
432
+ }
433
+
434
+ .bridge-sso-btn-inner > :not(:last-child) {
435
+ flex-shrink: 0;
409
436
  }
410
437
 
411
438
  .bridge-step-desc {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebulr-group/bridge-svelte",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "The Bridge for SvelteKit: sign-in, workspaces and roles, feature flags, Stripe subscriptions and plan limits in one .env line and three files.",
5
5
  "author": "Iman Pouya",
6
6
  "license": "MIT",