From 999a0f84671fad20fa3dc50c6774af2e0200b32e Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 7 May 2025 21:20:36 +0200 Subject: [PATCH] fix(Tabs): set `focus:outline-none` with `link` variant --- src/theme/tabs.ts | 3 ++- test/components/__snapshots__/Tabs-vue.spec.ts.snap | 4 ++-- test/components/__snapshots__/Tabs.spec.ts.snap | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/theme/tabs.ts b/src/theme/tabs.ts index 372c6fbd..1bff5b47 100644 --- a/src/theme/tabs.ts +++ b/src/theme/tabs.ts @@ -25,7 +25,8 @@ export default (options: Required) => ({ }, link: { list: 'border-default', - indicator: 'rounded-full' + indicator: 'rounded-full', + trigger: 'focus:outline-none' } }, orientation: { diff --git a/test/components/__snapshots__/Tabs-vue.spec.ts.snap b/test/components/__snapshots__/Tabs-vue.spec.ts.snap index 148ae5a8..0e010958 100644 --- a/test/components/__snapshots__/Tabs-vue.spec.ts.snap +++ b/test/components/__snapshots__/Tabs-vue.spec.ts.snap @@ -155,7 +155,7 @@ exports[`Tabs > renders with modelValue correctly 1`] = ` exports[`Tabs > renders with neutral variant link correctly 1`] = ` "
-
+
This is the content shown for Tab1