Skip to content

Commit aa0a653

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
fix(emcn): exclude generic icon sizing from fixed action buttons
1 parent 491ae0f commit aa0a653

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/emcn/src/components/bulk-action-button/bulk-action-button.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { chipFilledFillTokens, chipRadiusClass } from '../chip/chip-chrome'
77
const BULK_ACTION_BUTTON_CLASS = `${chipRadiusClass} ${chipFilledFillTokens} size-[28px] p-0 hover-hover:bg-[var(--brand-secondary)] hover-hover:text-[var(--text-inverse)]!`
88

99
export interface BulkActionButtonProps
10-
extends Omit<ButtonProps, 'variant' | 'size' | 'iconPadding'> {
10+
extends Omit<ButtonProps, 'variant' | 'size' | 'iconPadding' | 'iconSize'> {
1111
/** Accessible name for the icon action; tooltip content is supplied separately. */
1212
'aria-label': string
1313
}

‎packages/emcn/src/components/composer-action-button/composer-action-button.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const composerActionButtonVariants = cva('rounded-full p-0', {
2727
})
2828

2929
export interface ComposerActionButtonProps
30-
extends Omit<ButtonProps, 'variant' | 'size' | 'iconPadding'> {
30+
extends Omit<ButtonProps, 'variant' | 'size' | 'iconPadding' | 'iconSize'> {
3131
/** Accessible name for the caller's icon action. */
3232
'aria-label': string
3333
/** 28px by default; `sm` retains compact chat's 22px geometry and hover treatment. */

0 commit comments

Comments
 (0)