Skip to content

Commit

Permalink
scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy committed Jun 19, 2024
1 parent db9bc95 commit 9d24724
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/pages/x/api/date-pickers/pickers-calendar-header.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": { "name": "string" },
"default": "`${adapter.formats.month} ${adapter.formats.year}`"
},
"labelId": { "type": { "name": "string" } },
"slotProps": { "type": { "name": "object" }, "default": "{}" },
"slots": {
"type": { "name": "object" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"type": { "name": "string" },
"default": "`${adapter.formats.month} ${adapter.formats.year}`"
},
"labelId": { "type": { "name": "string" } },
"slotProps": { "type": { "name": "object" }, "default": "{}" },
"slots": {
"type": { "name": "object" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"propDescriptions": {
"classes": { "description": "Override or extend the styles applied to the component." },
"format": { "description": "Format used to display the date." },
"labelId": {
"description": "Id of the calendar text element. It is used to establish an <code>aria-labelledby</code> relationship with the calendar <code>grid</code> element."
},
"slotProps": { "description": "The props used for each component slot." },
"slots": { "description": "Overridable component slots." },
"sx": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"calendars": { "description": "The number of calendars rendered." },
"classes": { "description": "Override or extend the styles applied to the component." },
"format": { "description": "Format used to display the date." },
"labelId": {
"description": "Id of the calendar text element. It is used to establish an <code>aria-labelledby</code> relationship with the calendar <code>grid</code> element."
},
"month": { "description": "Month used for this header." },
"monthIndex": { "description": "Index of the month used for this header." },
"slotProps": { "description": "The props used for each component slot." },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ PickersRangeCalendarHeader.propTypes = {
* @default `${adapter.formats.month} ${adapter.formats.year}`
*/
format: PropTypes.string,
/**
* Id of the calendar text element.
* It is used to establish an `aria-labelledby` relationship with the calendar `grid` element.
*/
labelId: PropTypes.string,
maxDate: PropTypes.object.isRequired,
minDate: PropTypes.object.isRequired,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,10 @@ PickersCalendarHeader.propTypes = {
* @default `${adapter.formats.month} ${adapter.formats.year}`
*/
format: PropTypes.string,
/**
* Id of the calendar text element.
* It is used to establish an `aria-labelledby` relationship with the calendar `grid` element.
*/
labelId: PropTypes.string,
maxDate: PropTypes.object.isRequired,
minDate: PropTypes.object.isRequired,
Expand Down

0 comments on commit 9d24724

Please sign in to comment.