diff --git a/packages/fuselage/src/components/Avatar/Avatar.tsx b/packages/fuselage/src/components/Avatar/Avatar.tsx index 63ee826723..83530995fc 100644 --- a/packages/fuselage/src/components/Avatar/Avatar.tsx +++ b/packages/fuselage/src/components/Avatar/Avatar.tsx @@ -15,6 +15,7 @@ export const Avatar = ({ rounded = false, objectFit = false, url, + className, ...props }: AvatarProps) => { const innerClass = [ @@ -27,7 +28,7 @@ export const Avatar = ({ .join(' '); return ( - + ); diff --git a/packages/fuselage/src/components/Button/IconButton.stories.tsx b/packages/fuselage/src/components/Button/IconButton.stories.tsx index c0eb684e6d..4868e7f721 100644 --- a/packages/fuselage/src/components/Button/IconButton.stories.tsx +++ b/packages/fuselage/src/components/Button/IconButton.stories.tsx @@ -45,7 +45,7 @@ export default { } as ComponentMeta; export const _IconButton: ComponentStory = () => ( - + ); export const States = () => ( @@ -53,8 +53,9 @@ export const States = () => ( ( ( export const Sizes = () => ( - - - - - + + + + + ); export const _IconButtonDisabled: ComponentStory = () => ( - + ); export const _IconButtonWithEmoji: ComponentStory = () => ( - + ); export const _IconButtonInfo: ComponentStory = () => ( - + ); export const _IconButtonSecondaryInfo: ComponentStory< typeof IconButton -> = () => ; +> = () => ; export const _IconButtonSuccess: ComponentStory = () => ( - + ); export const _IconButtonSecondarySuccess: ComponentStory< typeof IconButton -> = () => ; +> = () => ; export const _IconButtonWarning: ComponentStory = () => ( - + ); export const _IconButtonSecondaryWarning: ComponentStory< typeof IconButton -> = () => ; +> = () => ; export const _IconButtonDanger: ComponentStory = () => ( - + ); export const _IconButtonSecondaryDanger: ComponentStory< typeof IconButton -> = () => ; +> = () => ; diff --git a/packages/fuselage/src/components/Button/IconButton.tsx b/packages/fuselage/src/components/Button/IconButton.tsx index 547e5bf09d..05293e97ca 100644 --- a/packages/fuselage/src/components/Button/IconButton.tsx +++ b/packages/fuselage/src/components/Button/IconButton.tsx @@ -121,7 +121,6 @@ export const IconButton = forwardRef( {...getSizeClass()} rcx-button--icon-pressed={pressed} ref={ref} - aria-label={props['aria-label'] || icon} {...props} > {children} diff --git a/packages/fuselage/src/components/Modal/__snapshots__/Modal.spec.tsx.snap b/packages/fuselage/src/components/Modal/__snapshots__/Modal.spec.tsx.snap index fea35179ff..298a7c9db2 100644 --- a/packages/fuselage/src/components/Modal/__snapshots__/Modal.spec.tsx.snap +++ b/packages/fuselage/src/components/Modal/__snapshots__/Modal.spec.tsx.snap @@ -26,7 +26,6 @@ exports[`[Modal Component] renders _WithAnnotation without crashing 1`] = `