diff --git a/src/theme/tabs.ts b/src/theme/tabs.ts index 872bd961..598017aa 100644 --- a/src/theme/tabs.ts +++ b/src/theme/tabs.ts @@ -3,7 +3,7 @@ export default { root: 'flex items-center gap-2', list: 'relative flex rounded-lg bg-gray-50 dark:bg-gray-800 p-1 group', indicator: 'absolute transition-[translate,width] duration-200 bg-white dark:bg-gray-900 rounded-md shadow-sm', - trigger: 'relative inline-flex items-center justify-center gap-1.5 shrink-0 flex-1 text-gray-500 data-[state=active]:text-gray-900 dark:text-gray-400 dark:data-[state=active]:text-white px-3 py-1.5 text-sm font-medium rounded-md disabled:cursor-not-allowed disabled:opacity-75 transition-colors duration-200 ease-out focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400 focus:outline-none', + trigger: 'relative inline-flex items-center justify-center gap-1.5 shrink-0 flex-1 text-gray-500 data-[state=active]:text-gray-900 dark:text-gray-400 dark:data-[state=active]:text-white px-3 py-1.5 text-sm font-medium rounded-md disabled:cursor-not-allowed disabled:opacity-75 transition-colors ease-out focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400 focus:outline-none', content: 'focus:outline-none', leadingIcon: 'shrink-0 size-5', leadingAvatar: 'shrink-0', diff --git a/test/components/__snapshots__/Tabs.spec.ts.snap b/test/components/__snapshots__/Tabs.spec.ts.snap index 49977bc9..ab1658d3 100644 --- a/test/components/__snapshots__/Tabs.spec.ts.snap +++ b/test/components/__snapshots__/Tabs.spec.ts.snap @@ -3,7 +3,7 @@ exports[`Tabs > renders with class correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -14,7 +14,7 @@ exports[`Tabs > renders with class correctly 1`] = ` exports[`Tabs > renders with content slot correctly 1`] = ` "
-
+
Content slot
@@ -25,7 +25,7 @@ exports[`Tabs > renders with content slot correctly 1`] = ` exports[`Tabs > renders with custom slot correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -36,7 +36,7 @@ exports[`Tabs > renders with custom slot correctly 1`] = ` exports[`Tabs > renders with default slot correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -47,7 +47,7 @@ exports[`Tabs > renders with default slot correctly 1`] = ` exports[`Tabs > renders with defaultValue correctly 1`] = ` "
-
+
And, this is the content for Tab2
@@ -58,7 +58,7 @@ exports[`Tabs > renders with defaultValue correctly 1`] = ` exports[`Tabs > renders with items correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -69,7 +69,7 @@ exports[`Tabs > renders with items correctly 1`] = ` exports[`Tabs > renders with leading slot correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -80,7 +80,7 @@ exports[`Tabs > renders with leading slot correctly 1`] = ` exports[`Tabs > renders with modelValue correctly 1`] = ` "
-
+
And, this is the content for Tab2
@@ -91,7 +91,7 @@ exports[`Tabs > renders with modelValue correctly 1`] = ` exports[`Tabs > renders with orientation vertical correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -102,7 +102,7 @@ exports[`Tabs > renders with orientation vertical correctly 1`] = ` exports[`Tabs > renders with trailing slot correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -113,7 +113,7 @@ exports[`Tabs > renders with trailing slot correctly 1`] = ` exports[`Tabs > renders with ui correctly 1`] = ` "
-
+
This is the content shown for Tab1