From 9d63038e294cafba69bb0d8e5859fe7848cdc4bd 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: Tue, 30 May 2023 14:43:52 +0300 Subject: [PATCH] Update #3965 - For TabMenu --- components/lib/tabmenu/BaseTabMenu.vue | 100 +++++++++++++++++ components/lib/tabmenu/TabMenu.d.ts | 5 + components/lib/tabmenu/TabMenu.vue | 146 +++++++------------------ 3 files changed, 144 insertions(+), 107 deletions(-) create mode 100644 components/lib/tabmenu/BaseTabMenu.vue diff --git a/components/lib/tabmenu/BaseTabMenu.vue b/components/lib/tabmenu/BaseTabMenu.vue new file mode 100644 index 000000000..ec8db4861 --- /dev/null +++ b/components/lib/tabmenu/BaseTabMenu.vue @@ -0,0 +1,100 @@ + diff --git a/components/lib/tabmenu/TabMenu.d.ts b/components/lib/tabmenu/TabMenu.d.ts index fe5991fae..8cb760cb0 100755 --- a/components/lib/tabmenu/TabMenu.d.ts +++ b/components/lib/tabmenu/TabMenu.d.ts @@ -131,6 +131,11 @@ export interface TabMenuProps { * @type {TabMenuPassThroughOptions} */ pt?: TabMenuPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/tabmenu/TabMenu.vue b/components/lib/tabmenu/TabMenu.vue index f3413bb75..5e63c4cbc 100755 --- a/components/lib/tabmenu/TabMenu.vue +++ b/components/lib/tabmenu/TabMenu.vue @@ -1,16 +1,25 @@ - -