Commit Graph

2 Commits

Author SHA1 Message Date
Ilya Mukhortov 1d9c935b1e LoginForm without remember-me and forgot-password, release 0.6.0
Breaking: LoginCredentials has no `remember` field and LoginForm no longer
takes `onForgotPassword`. The form is login, password, sign-in and the
electronic signature button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 16:21:02 +10:00
Ilya Mukhortov 7446adc55c Add LoginForm and InputOTP, release 0.2.0
LoginForm covers login/password, sign-in with an electronic signature
and a second step with a one-time code when onLogin (or onSignature)
returns an OtpChallenge. Errors are thrown from the async callbacks and
shown in the form.

- Password field: show/hide toggle, Caps Lock hint
- OTP step: auto-submit on the last digit, wrong code clears the field,
  resend after a countdown when the code was sent somewhere, back to
  the password step
- InputOTP primitive from shadcn (input-otp dependency), caret-blink
  animation in styles.css

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 11:31:17 +10:00