diff --git a/components/lib/calendar/Calendar.d.ts b/components/lib/calendar/Calendar.d.ts index 0903037df..ab8dd17cb 100755 --- a/components/lib/calendar/Calendar.d.ts +++ b/components/lib/calendar/Calendar.d.ts @@ -735,20 +735,44 @@ export interface CalendarSlots { dropdownicon(): VNode[]; /** * Custom previous icon template. + * @param {Object} scope - previous icon slot's params. */ - previousicon(): VNode[]; + previousicon(scope: { + /** + * Style class of the dropdown icon + */ + class: any; + }): VNode[]; /** * Custom next icon template. + * @param {Object} scope - next icon slot's params. */ - nexticon(): VNode[]; + nexticon(scope: { + /** + * Style class of the dropdown icon + */ + class: any; + }): VNode[]; /** * Custom increment icon template. + * @param {Object} scope - increment icon slot's params. */ - incrementicon(): VNode[]; + incrementicon(scope: { + /** + * Style class of the dropdown icon + */ + class: any; + }): VNode[]; /** * Custom decrement icon template. + * @param {Object} scope - decrement icon slot's params. */ - decrementicon(): VNode[]; + decrementicon(scope: { + /** + * Style class of the dropdown icon + */ + class: any; + }): VNode[]; } /** diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index 51fe37747..aeb78dc2c 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -80,7 +80,7 @@ :aria-label="currentView === 'year' ? $primevue.config.locale.prevDecade : currentView === 'month' ? $primevue.config.locale.prevYear : $primevue.config.locale.prevMonth" v-bind="ptm('previousButton')" > - + @@ -125,7 +125,7 @@ :aria-label="currentView === 'year' ? $primevue.config.locale.nextDecade : currentView === 'month' ? $primevue.config.locale.nextYear : $primevue.config.locale.nextMonth" v-bind="ptm('nextButton')" > - + @@ -392,13 +392,13 @@
{{ pm ? $primevue.config.locale.pm : $primevue.config.locale.am }}