Calendar & CascadeSelect pt name fixes

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-29 12:27:51 +03:00
parent 6746570c97
commit a760468c95
6 changed files with 12 additions and 12 deletions

View file

@ -200,13 +200,13 @@ const classes = {
weekLabelContainer: 'p-disabled',
day: ({ date }) => [{ 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }],
dayLabel: ({ instance, date }) => [{ 'p-highlight': instance.isSelected(date), 'p-disabled': !date.selectable }],
ariaSelectedDay: 'p-hidden-accessible',
hiddenSelectedDay: 'p-hidden-accessible',
monthPicker: 'p-monthpicker',
month: ({ instance, month, index }) => ['p-monthpicker-month', { 'p-highlight': instance.isMonthSelected(index), 'p-disabled': !month.selectable }],
ariaMonth: 'p-hidden-accessible',
hiddenMonth: 'p-hidden-accessible',
yearPicker: 'p-yearpicker',
year: ({ instance, year }) => ['p-yearpicker-year', { 'p-highlight': instance.isYearSelected(year.value), 'p-disabled': !year.selectable }],
ariaYear: 'p-hidden-accessible',
hiddenYear: 'p-hidden-accessible',
timePicker: 'p-timepicker',
hourPicker: 'p-hour-picker',
incrementButton: 'p-link',