Skip to content

Commit

Permalink
fix(material/datepicker): remove unused calendarLabel
Browse files Browse the repository at this point in the history
Removed unused property `MatDatepickerIntl:calendarLabel`.

Remove dead code. Does not make behavior or visual change.

Fix #27935
  • Loading branch information
zarend committed Feb 26, 2024
1 parent 24eaa2e commit e31bb50
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/material/datepicker/datepicker-intl.ts
Expand Up @@ -18,9 +18,6 @@ export class MatDatepickerIntl {
*/
readonly changes: Subject<void> = new Subject<void>();

/** A label for the calendar popup (used by screen readers). */
calendarLabel = 'Calendar';

/** A label for the button used to open the calendar popup (used by screen readers). */
openCalendarLabel = 'Open calendar';

Expand Down
1 change: 0 additions & 1 deletion tools/public_api_guard/material/datepicker.md
Expand Up @@ -479,7 +479,6 @@ export class MatDatepickerInputEvent<D, S = unknown> {

// @public
export class MatDatepickerIntl {
calendarLabel: string;
readonly changes: Subject<void>;
closeCalendarLabel: string;
// @deprecated
Expand Down

0 comments on commit e31bb50

Please sign in to comment.