Skip to content

Commit

Permalink
handle fuselage upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Jul 14, 2022
1 parent 2ce1c46 commit bd0783b
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion apps/meteor/client/sidebar/Item/Condensed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Condensed: FC<CondensedProps> = ({ icon, title = '', avatar, actions, href
{badges && <Sidebar.Item.Badge>{badges}</Sidebar.Item.Badge>}
{menu && (
<Sidebar.Item.Menu {...handleMenuEvent}>
{menuVisibility ? menu() : <IconButton square mini rcx-sidebar-item__menu icon='kebab' />}
{menuVisibility ? menu() : <IconButton mini rcx-sidebar-item__menu icon='kebab' />}
</Sidebar.Item.Menu>
)}
</Sidebar.Item.Content>
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/client/sidebar/Item/Extended.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Extended: VFC<ExtendedProps> = ({
<Sidebar.Item.Badge>{badges}</Sidebar.Item.Badge>
{menu && (
<Sidebar.Item.Menu {...handleMenuEvent}>
{menuVisibility ? menu() : <IconButton square mini rcx-sidebar-item__menu icon='kebab' />}
{menuVisibility ? menu() : <IconButton mini rcx-sidebar-item__menu icon='kebab' />}
</Sidebar.Item.Menu>
)}
</Sidebar.Item.Wrapper>
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/client/sidebar/Item/Medium.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Medium: VFC<MediumProps> = ({ icon, title = '', avatar, actions, href, bad
{badges && <Sidebar.Item.Badge>{badges}</Sidebar.Item.Badge>}
{menu && (
<Sidebar.Item.Menu {...handleMenuEvent}>
{menuVisibility ? menu() : <IconButton square mini rcx-sidebar-item__menu icon='kebab' />}
{menuVisibility ? menu() : <IconButton mini rcx-sidebar-item__menu icon='kebab' />}
</Sidebar.Item.Menu>
)}
</Sidebar.Item.Content>
Expand Down
2 changes: 0 additions & 2 deletions apps/meteor/client/sidebar/footer/voip/VoipFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export const VoipFooter = ({
color={muted ? 'neutral-500' : 'info'}
icon='mic'
small
square
onClick={(e): void => {
e.stopPropagation();
toggleMic(!muted);
Expand All @@ -108,7 +107,6 @@ export const VoipFooter = ({
icon='pause-unfilled'
color={paused ? 'neutral-500' : 'info'}
small
square
onClick={handleHold}
/>
{options && <Menu color='neutral-500' options={options} />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const EditCustomEmoji: FC<EditCustomEmojiProps> = ({ close, onChange, data, ...p
<Field>
<Field.Label alignSelf='stretch' display='flex' justifyContent='space-between' alignItems='center'>
{t('Custom_Emoji')}
<IconButton icon='upload' secondary square onClick={clickUpload} />
<IconButton icon='upload' secondary onClick={clickUpload} />
</Field.Label>
{newEmojiPreview && (
<Box display='flex' flexDirection='row' mbs='none' justifyContent='center'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ function CustomSoundsRoute(): ReactElement {
<IconButton
icon='play'
small
square
aria-label={t('Play')}
onClick={(e): void => {
e.preventDefault();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const RemoveAllClosed: FC<{
},
}),
};
return <Menu alignSelf='flex-end' small={false} square options={menuOptions} placement='bottom-start' {...props} />;
return <Menu alignSelf='flex-end' small={false} options={menuOptions} placement='bottom-start' {...props} />;
};

export default RemoveAllClosed;
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export const CallDialpadButton = ({ phoneNumber }: { phoneNumber: string }): Rea
title={outBoundCallsAllowed ? t('Call_number') : t('Call_number_enterprise_only')}
disabled={!outBoundCallsEnabledForUser || !phoneNumber}
tiny
square
icon='phone'
onClick={onClick}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const NotificationPreferences = ({
options={handleOptions.sound}
optionDefault={formValues?.desktopSound}
>
<IconButton icon='play' mis='x4' square onClick={handlePlaySound} />
<IconButton icon='play' mis='x4' onClick={handlePlaySound} />
</Preferences>
</NotificationByDevice>
<NotificationByDevice device={t('Mobile')} icon={'mobile'}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const IconButton = ({ name, action, title }: IconButtonProps): ReactElement => (
size='24px'
color='neutral-700'
small
square
display='flex'
justifyContent='center'
alignItems='center'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ const ContentForDays = ({ displacement, onPreviousDateClick, onNextDateClick, ti
<>
<Flex.Container alignItems='center' justifyContent='center'>
<Box>
<IconButton icon='chevron-down' square small onClick={onPreviousDateClick} style={{ verticalAlign: 'middle' }} />
<IconButton icon='chevron-down' small onClick={onPreviousDateClick} style={{ verticalAlign: 'middle' }} />
<Flex.Item basis='50%'>
<Margins inline='x8'>
<Box is='span' style={{ textAlign: 'center' }}>
{formattedCurrentDate}
</Box>
</Margins>
</Flex.Item>
<IconButton icon='chevron-down' square small disabled={displacement === 0} onClick={onNextDateClick} />
<IconButton icon='chevron-down' small disabled={displacement === 0} onClick={onNextDateClick} />
</Box>
</Flex.Container>
<Flex.Container>
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/ee/client/voip/modal/DialPad/DialInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const DialInput = forwardRef(function DialInput(
ref={_ref}
textAlign='center'
placeholder={t('Phone_number')}
addon={<IconButton icon='backspace' small square size='20px' disabled={isButtonDisabled} onClick={handleBackspaceClick} />}
addon={<IconButton icon='backspace' small size='20px' disabled={isButtonDisabled} onClick={handleBackspaceClick} />}
error={inputError}
onChange={handleOnChange}
name={inputName}
Expand Down

0 comments on commit bd0783b

Please sign in to comment.