chore: Add transition effects in UI components (#15841)
* chore: Add transition to hover effects in UI components * chore: Add transition to hover effects in UI components * Update ToggleGroup component transition --------- Co-authored-by: Anik Dhabal Babu <[email protected]>
This commit is contained in:
1 parent
a4b0fdba7b
commit
c870df7027
8 files changed
+9
-9
No files matched your search
@@ -58,7 +58,7 @@ export const ToggleGroup = ({
|
||||
value={option.value}
|
||||
data-testid={`toggle-group-item-${option.value}`}
|
||||
className={classNames(
|
||||
"aria-checked:bg-emphasis relative rounded-[4px] px-3 py-1 text-sm leading-tight transition-colors",
|
||||
"aria-checked:bg-emphasis relative rounded-[4px] px-3 py-1 text-sm leading-tight transition",
|
||||
option.disabled
|
||||
? "text-gray-400 hover:cursor-not-allowed"
|
||||
: "text-default [&[aria-checked='false']]:hover:text-emphasis",
|
||||
|
||||
Reference in new issue
Block a user