2024.5.0 (#39)

This commit is contained in:
Gregory Schier
2024-06-03 14:08:24 -07:00
committed by GitHub
parent 60e469a1c9
commit 4f9a7e9c88
197 changed files with 12283 additions and 3505 deletions

View File

@@ -52,11 +52,12 @@ export const IconButton = forwardRef<HTMLButtonElement, Props>(function IconButt
size={size}
className={classNames(
className,
'relative flex-shrink-0 text-gray-700 hover:text-gray-1000',
'group/button relative flex-shrink-0 text-fg-subtle',
'!px-0',
size === 'md' && 'w-9',
size === 'sm' && 'w-8',
size === 'xs' && 'w-6',
size === '2xs' && 'w-5',
)}
{...props}
>
@@ -71,6 +72,7 @@ export const IconButton = forwardRef<HTMLButtonElement, Props>(function IconButt
spin={spin}
className={classNames(
iconClassName,
'group-hover/button:text-fg',
props.disabled && 'opacity-70',
confirmed && 'text-green-600',
)}