Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/components/form/formControlsComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,14 @@ export const Check = styled(function Check({
& > input {
margin-right: 1ch;
}
${({ required, theme }) =>
required &&
`
&::after {
content: "\\A0*";
color: ${theme.dangerColor};
}
`}
`;

interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
Expand Down
15 changes: 15 additions & 0 deletions tests/widgets/auth/__snapshots__/authWidget.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2598,6 +2598,11 @@ exports[`Snapshot login view with remember me 1`] = `
margin-right: 1ch;
}

.c14::after {
content: "\\A0*";
color: #dc4e41;
}

.c13 {
margin-bottom: 10px;
}
Expand Down Expand Up @@ -5533,6 +5538,11 @@ exports[`Snapshot signup view with custom fields 1`] = `
margin-right: 1ch;
}

.c14::after {
content: "\\A0*";
color: #dc4e41;
}

.c13 {
margin-bottom: 10px;
}
Expand Down Expand Up @@ -5998,6 +6008,11 @@ exports[`Snapshot signup view with mandatory consents 1`] = `
margin-right: 1ch;
}

.c14::after {
content: "\\A0*";
color: #dc4e41;
}

.c13 {
margin-bottom: 10px;
}
Expand Down
2 changes: 1 addition & 1 deletion types/identity-ui.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @reachfive/identity-ui - v1.38.0
* Compiled Tue, 07 Oct 2025 11:51:18 UTC
* Compiled Tue, 04 Nov 2025 09:42:33 UTC
*
* Copyright (c) ReachFive.
*
Expand Down