Package-level declarations
One-time codes: JengaOtpField, JengaOtpResend, JengaOtpVerification and rememberJengaCountdown.
Types
A countdown for JengaOtpResend, measured from a start mark rather than by counting ticks, so it stays correct when the app is paused or frames are dropped.
What a single cell of a JengaOtpField shows, passed to a custom cell slot.
How a JengaOtpField draws each cell when no custom cell is given.
Resolved colors for a JengaOtpField. Override via JengaOtpFieldDefaults.colors.
Defaults and token mappings for JengaOtpField.
Which characters a JengaOtpField accepts. Anything else is dropped as it is typed or pasted.
Resolved colors for a JengaOtpResend. Override via JengaOtpResendDefaults.colors.
Defaults and token mappings for JengaOtpResend.
Defaults for JengaOtpVerification.
Functions
A one-time-code input drawn as a row of cells.
The "resend code" row under a JengaOtpField: a countdown while remaining is positive, then a resend action.
A complete code-verification block: optional header, title, description, the code field, a "verifying" row, the resend row and actions, centered and spaced consistently.
Remembers a JengaCountdownState that starts at duration and ticks down while composed.