You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Tabs.Root can contain multiple Tabs.Triggers inside it's requisite Tabs.List. These tabs will coordinate with what Tabs.Content to show by matching their value prop.
'active:data-[state=active]:text-neutral-800 active:data-[state=active]:shadow-[inset_0_0_0_0,0_1px_0_0] active:data-[state=active]:shadow-primary-400',// active click
30
-
'focus:outline-none',// focus -- might need style updates pending conversation
'data-[state=active]:text-neutral-800 data-[state=active]:shadow-[inset_0_-1px_0_0,0_1px_0_0] data-[state=active]:shadow-primary-400',// active selection
'active:data-[state=active]:text-neutral-800 active:data-[state=active]:shadow-[inset_0_0_0_0,0_1px_0_0] active:data-[state=active]:shadow-primary-400',// Active state
'data-[state=active]:text-neutral-800 data-[state=active]:shadow-[inset_0_-1px_0_0,0_1px_0_0] data-[state=active]:shadow-primary-400',// Active selection
32
+
{'cursor-pointer text-neutral-500 hover:text-neutral-800': !disabled},// Enabled state
33
+
{'text-neutral-300': disabled},// Disabled state
33
34
className,
34
35
);
35
36
36
37
consticonClassNames=classNames(
37
-
'group-data-[state=active]:text-neutral-800',
38
-
'text-neutral-500',
39
-
'group-hover:text-neutral-300',
40
-
'group-active:text-neutral-600',
41
-
'group-focus:text-neutral-500',
38
+
'group-data-[state=active]:text-neutral-800',// Base
39
+
{'text-neutral-200': disabled},// Disabled state
40
+
{'text-neutral-500 group-hover:text-neutral-300': !disabled},// Enabled state
41
+
{'group-focus:text-neutral-500 group-active:text-neutral-600': !disabled},// Enabled & Active/Focus states
0 commit comments