Skip to content

Commit

Permalink
fix: change styles
Browse files Browse the repository at this point in the history
  • Loading branch information
hirotomoyamada committed Jun 6, 2023
1 parent ae7c66d commit 54f1aa9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .changeset/tasty-sheep-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@yamada-ui/dropzone': patch
'@yamada-ui/alert': patch
'@yamada-ui/providers': patch
---

The styles have been adjusted due to changes in the icons provided by `@yamada-ui/loading`.
3 changes: 1 addition & 2 deletions packages/components/alert/src/alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ export const AlertIcon = ({ className, children, variant = 'oval', ...rest }: Al
<ui.span display='inherit' className={cx('ui-alert-icon', className)} __css={css} {...rest}>
{children || (
<Icon
boxSize='100%'
{...(status === 'loading' ? { variant, color: 'currentcolor' } : {})}
{...(status === 'loading' ? { variant, color: 'currentcolor' } : { boxSize: '100%' })}
/>
)}
</ui.span>
Expand Down
2 changes: 1 addition & 1 deletion packages/components/dropzone/src/dropzone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const LoadingOverlay: FC<LoadingOverlayProps> = ({ loadingProps, ...rest }) => {

return (
<Fade isOpen={isLoading} unmountOnExit className='ui-dropzone-overlay' __css={css} {...rest}>
<Loading className='ui-dropzone-loading' size='8' {...loadingProps} />
<Loading className='ui-dropzone-loading' size='4xl' {...loadingProps} />
</Fade>
)
}
Expand Down
6 changes: 3 additions & 3 deletions packages/providers/src/loading-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ const LoadingScreenComponent = memo(
__css={getOverlayStyle()}
>
<ui.div __css={css}>
<Loading size='6xs' {...icon} />
<Loading size='6xl' {...icon} />
{message ? (
isValidElement(message) ? (
message
Expand Down Expand Up @@ -608,7 +608,7 @@ const LoadingPageComponent = memo(
{...getMotionProps(initialState, 'scaleFade')}
__css={css}
>
<Loading size='6xs' {...icon} />
<Loading size='6xl' {...icon} />
{message ? (
isValidElement(message) ? (
message
Expand Down Expand Up @@ -653,7 +653,7 @@ const LoadingBackgroundComponent = memo(
{...getMotionProps(initialState, 'scaleFade')}
__css={css}
>
<Loading size='1.2rem' {...icon} />
<Loading size='xl' {...icon} />
{message ? (
isValidElement(message) ? (
message
Expand Down

0 comments on commit 54f1aa9

Please sign in to comment.