diff --git a/api-generator/components/calendar.js b/api-generator/components/calendar.js index 131f885af..f145a44a6 100644 --- a/api-generator/components/calendar.js +++ b/api-generator/components/calendar.js @@ -462,8 +462,8 @@ const CalendarSlots = [ description: 'Custom content for the calendar decade.' }, { - name: 'triggericon', - description: 'Custom trigger icon template.' + name: 'dropdownicon', + description: 'Custom dropdown icon template.' }, { name: 'previcon', diff --git a/components/lib/calendar/Calendar.d.ts b/components/lib/calendar/Calendar.d.ts index b90945efe..00f5d2855 100755 --- a/components/lib/calendar/Calendar.d.ts +++ b/components/lib/calendar/Calendar.d.ts @@ -109,7 +109,7 @@ export interface CalendarProps { showIcon?: boolean | undefined; /** * Icon of the calendar button. - * @deprecated since v3.27.0. Use 'triggericon' slot. + * @deprecated since v3.27.0. Use 'dropdownicon' slot. */ icon?: string | undefined; /** @@ -369,9 +369,9 @@ export interface CalendarSlots { years: string[] | undefined; }): VNode[]; /** - * Custom trigger icon template. + * Custom dropdown icon template. */ - triggericon(): VNode[]; + dropdownicon(): VNode[]; /** * Custom previous icon template. */ diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index 38edb6b54..9c236f100 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -39,7 +39,7 @@ :aria-controls="panelId" >