Skip to content

Commit

Permalink
feat(redmine 1306622): add role to the calendar wrapper (#213)
Browse files Browse the repository at this point in the history
Co-authored-by: Quentin Le Caignec <[email protected]>
  • Loading branch information
Meriemu and MorganeLeCaignec committed Sep 26, 2024
1 parent 1e77020 commit 537225e
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 @@ -89,6 +89,7 @@ export function CalendarHeader(props: ICalendarHeaderProps): ReactElement {
color="red"
label={label}
onLevelClick={() => setOpened(!opened)}
role="region"
size="md"
{...calendarHeaderProps}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,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 537225e

Please sign in to comment.