From 86695ce89c30e51979f8da4a74e6119f5f312990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 6 Sep 2023 09:59:31 +0300 Subject: [PATCH] Fixed #4370 - Calendar: dropdownicon class not being exposed --- components/lib/calendar/Calendar.d.ts | 16 +++++++++++----- components/lib/calendar/Calendar.vue | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/components/lib/calendar/Calendar.d.ts b/components/lib/calendar/Calendar.d.ts index 38969148e..68629b3e3 100755 --- a/components/lib/calendar/Calendar.d.ts +++ b/components/lib/calendar/Calendar.d.ts @@ -753,15 +753,21 @@ export interface CalendarSlots { }): VNode[]; /** * Custom dropdown icon template. + * @param {Object} scope - dropdown icon slot's params. */ - dropdownicon(): VNode[]; + dropdownicon(scope: { + /** + * Style class of the dropdown icon + */ + class: any; + }): VNode[]; /** * Custom previous icon template. * @param {Object} scope - previous icon slot's params. */ previousicon(scope: { /** - * Style class of the dropdown icon + * Style class of the previous icon */ class: any; }): VNode[]; @@ -771,7 +777,7 @@ export interface CalendarSlots { */ nexticon(scope: { /** - * Style class of the dropdown icon + * Style class of the next icon */ class: any; }): VNode[]; @@ -781,7 +787,7 @@ export interface CalendarSlots { */ incrementicon(scope: { /** - * Style class of the dropdown icon + * Style class of the increment icon */ class: any; }): VNode[]; @@ -791,7 +797,7 @@ export interface CalendarSlots { */ decrementicon(scope: { /** - * Style class of the dropdown icon + * Style class of the decrement icon */ class: any; }): VNode[]; diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index 6ab5d9a40..de893683b 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -42,7 +42,7 @@ data-pc-section="dropdownbutton" >