Skip to content

Commit

Permalink
Merge branch '0.16.x' into Fix/ButtonAccessibilityError
Browse files Browse the repository at this point in the history
  • Loading branch information
MorganeLeCaignec authored Sep 5, 2024
2 parents 54cc6ba + d28d51d commit a5221b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thirty-pets-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@smile/haring-react-dates': minor
---

add a role to MantineCalendarHeader
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export function CalendarHeader(props: ICalendarHeaderProps): ReactElement {
nextLabel="Next button"
onLevelClick={() => setOpened(!opened)}
previousLabel="Previous button"
role="region"
size="md"
{...calendarHeaderProps}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ exports[`CalendarHeader matches snapshot 1`] = `
color="red"
data-size="md"
id="mantine-f4bipx4bi-target"
role="region"
style="--dch-control-size: var(--dch-control-size-md); --dch-fz: var(--mantine-font-size-md);"
>
<button
Expand Down

0 comments on commit a5221b4

Please sign in to comment.