From 0357f6b995a18db57a96bdf9f326d6346fc9c575 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, 12 Apr 2023 09:49:45 +0300 Subject: [PATCH] TabPanel d.ts fixes --- components/lib/tabpanel/TabPanel.d.ts | 2 +- components/lib/tabview/TabView.d.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/lib/tabpanel/TabPanel.d.ts b/components/lib/tabpanel/TabPanel.d.ts index 974e3260a..30f09c699 100755 --- a/components/lib/tabpanel/TabPanel.d.ts +++ b/components/lib/tabpanel/TabPanel.d.ts @@ -80,7 +80,6 @@ export interface TabPanelProps { headerActionProps?: AnchorHTMLAttributes | undefined; /** * Inline style of the tab content. - * @deprecated since v3.26.0. Use 'pt' property instead. */ contentStyle?: any; /** @@ -89,6 +88,7 @@ export interface TabPanelProps { contentClass?: any; /** * Uses to pass all properties of the HTMLDivElement to the tab content. + * @deprecated since v3.26.0. Use 'pt' property instead. */ contentProps?: HTMLAttributes | undefined; /** diff --git a/components/lib/tabview/TabView.d.ts b/components/lib/tabview/TabView.d.ts index c2dc6e423..9e2bfc7c3 100755 --- a/components/lib/tabview/TabView.d.ts +++ b/components/lib/tabview/TabView.d.ts @@ -189,10 +189,10 @@ export interface TabViewSlots { */ export interface TabViewEmits { /** - * Emitted when the value changes. - * @param {number} value - New value. + * Emitted when the activeIndex changes. + * @param {number} index - Current activeIndex. */ - 'update:modelValue'(value: number): void; + 'update:activeIndex'(index: number): void; /** * Callback to invoke when an active tab is changed. * @param {TabViewChangeEvent} event - Custom tab change event.