Skip to content

Commit b117ebc

Browse files
authored
feat(clerk-js,localizations): Add subtitle to TaskResetPassword component (#7392)
1 parent 13e08ae commit b117ebc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+61
-3
lines changed

.changeset/spotty-terms-check.md

Lines changed: 7 additions & 0 deletions

packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe('TaskResetPassword', () => {
5353

5454
fixtures.clerk.user?.updatePassword.mockResolvedValue({});
5555
const { getByRole, userEvent, getByLabelText } = render(<TaskResetPassword />, { wrapper });
56-
await waitFor(() => getByRole('heading', { name: /Reset password/i }));
56+
await waitFor(() => getByRole('heading', { name: /Reset your password/i }));
5757

5858
await userEvent.type(getByLabelText(/new password/i), 'testtest');
5959
await userEvent.type(getByLabelText(/confirm password/i), 'testtest');
@@ -73,7 +73,7 @@ describe('TaskResetPassword', () => {
7373
});
7474
});
7575
const { getByRole, getByTestId } = render(<TaskResetPassword />, { wrapper });
76-
await waitFor(() => getByRole('heading', { name: /Reset password/i }));
76+
await waitFor(() => getByRole('heading', { name: /Reset your password/i }));
7777

7878
const identifierField = getByTestId('hidden-identifier');
7979
expect(identifierField).toHaveValue('test@clerk.com');

packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ const TaskResetPasswordInternal = () => {
112112
<Card.Content>
113113
<Header.Root showLogo>
114114
<Header.Title localizationKey={localizationKeys('taskResetPassword.title')} />
115+
<Header.Subtitle localizationKey={localizationKeys('taskResetPassword.subtitle')} />
115116
</Header.Root>
116117
<Card.Alert>{card.error}</Card.Alert>
117118
<Col

packages/localizations/src/ar-SA.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,7 @@ export const arSA: LocalizationResource = {
870870
actionLink: undefined,
871871
actionText: undefined,
872872
},
873+
subtitle: undefined,
873874
title: undefined,
874875
},
875876
unstable__errors: {

packages/localizations/src/be-BY.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,7 @@ export const beBY: LocalizationResource = {
878878
actionLink: undefined,
879879
actionText: undefined,
880880
},
881+
subtitle: undefined,
881882
title: undefined,
882883
},
883884
unstable__errors: {

packages/localizations/src/bg-BG.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,7 @@ export const bgBG: LocalizationResource = {
874874
actionLink: undefined,
875875
actionText: undefined,
876876
},
877+
subtitle: undefined,
877878
title: undefined,
878879
},
879880
unstable__errors: {

packages/localizations/src/bn-IN.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,7 @@ export const bnIN: LocalizationResource = {
878878
actionLink: undefined,
879879
actionText: undefined,
880880
},
881+
subtitle: undefined,
881882
title: undefined,
882883
},
883884
unstable__errors: {

packages/localizations/src/ca-ES.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,7 @@ export const caES: LocalizationResource = {
873873
actionLink: undefined,
874874
actionText: undefined,
875875
},
876+
subtitle: undefined,
876877
title: undefined,
877878
},
878879
unstable__errors: {

packages/localizations/src/cs-CZ.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,7 @@ export const csCZ: LocalizationResource = {
884884
actionLink: undefined,
885885
actionText: undefined,
886886
},
887+
subtitle: undefined,
887888
title: undefined,
888889
},
889890
unstable__errors: {

packages/localizations/src/da-DK.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,7 @@ export const daDK: LocalizationResource = {
871871
actionLink: undefined,
872872
actionText: undefined,
873873
},
874+
subtitle: undefined,
874875
title: undefined,
875876
},
876877
unstable__errors: {

0 commit comments

Comments
 (0)