diff --git a/.changeset/lemon-eggs-add.md b/.changeset/lemon-eggs-add.md new file mode 100644 index 0000000..e7cc20f --- /dev/null +++ b/.changeset/lemon-eggs-add.md @@ -0,0 +1,5 @@ +--- +"@openauthjs/openauth": patch +--- + +ui: missing copy in password.tsx diff --git a/packages/openauth/src/ui/password.tsx b/packages/openauth/src/ui/password.tsx index 7790dd3..a1eecf8 100644 --- a/packages/openauth/src/ui/password.tsx +++ b/packages/openauth/src/ui/password.tsx @@ -32,6 +32,7 @@ const DEFAULT_COPY = { input_password: "Password", input_code: "Code", input_repeat: "Repeat password", + button_continue: "Continue", } satisfies { [key in `error_${ | PasswordLoginError["type"] @@ -73,10 +74,10 @@ export function PasswordUI(input: PasswordUIOptions) { required type="password" name="password" - placeholder="Password" + placeholder={copy.register_prompt} autoComplete="current-password" /> - +
{copy.register_prompt}{" "} @@ -142,7 +143,7 @@ export function PasswordUI(input: PasswordUIOptions) { placeholder={copy.input_repeat} autoComplete="new-password" /> - +
{copy.login_prompt}{" "} @@ -167,7 +168,7 @@ export function PasswordUI(input: PasswordUIOptions) { placeholder={copy.input_code} autoComplete="one-time-code" /> - + )} @@ -244,7 +245,7 @@ export function PasswordUI(input: PasswordUIOptions) { /> )} - + {state.type === "code" && (