diff --git a/web/app/components/base/file-uploader/file-list-flex/file-list-flex-operation.tsx b/web/app/components/base/file-uploader/file-list-flex/file-list-flex-operation.tsx index 7040857efc..37ed31dec2 100644 --- a/web/app/components/base/file-uploader/file-list-flex/file-list-flex-operation.tsx +++ b/web/app/components/base/file-uploader/file-list-flex/file-list-flex-operation.tsx @@ -2,7 +2,9 @@ import { forwardRef, memo, } from 'react' +import { RiCloseLine } from '@remixicon/react' import FileListItem from './file-list-item' +import Button from '@/app/components/base/button' const FileListFlexOperation = forwardRef((_, ref) => { return ( @@ -10,10 +12,24 @@ const FileListFlexOperation = forwardRef((_, ref) => { ref={ref} className='flex flex-wrap gap-2' > - - - - +
+ + +
+
+ + +
+
+ + +
) }) diff --git a/web/app/components/base/file-uploader/file-list-flex/file-list-item.tsx b/web/app/components/base/file-uploader/file-list-flex/file-list-item.tsx index 273024ebd9..8aac7f665a 100644 --- a/web/app/components/base/file-uploader/file-list-flex/file-list-item.tsx +++ b/web/app/components/base/file-uploader/file-list-flex/file-list-item.tsx @@ -22,7 +22,7 @@ const FileListItem = ({ return (
) diff --git a/web/app/components/base/file-uploader/file-uploader-in-attachment/index.tsx b/web/app/components/base/file-uploader/file-uploader-in-attachment/index.tsx index f2274fa822..2174cc9df0 100644 --- a/web/app/components/base/file-uploader/file-uploader-in-attachment/index.tsx +++ b/web/app/components/base/file-uploader/file-uploader-in-attachment/index.tsx @@ -52,6 +52,7 @@ const FileUploaderInAttachment = () => { if (option.value === 'link') { return ( diff --git a/web/app/components/base/progress-bar/progress-circle.tsx b/web/app/components/base/progress-bar/progress-circle.tsx index d1812dba37..b66dcae720 100644 --- a/web/app/components/base/progress-bar/progress-circle.tsx +++ b/web/app/components/base/progress-bar/progress-circle.tsx @@ -14,9 +14,9 @@ const ProgressCircle: React.FC = ({ percentage = 0, size = 12, circleStrokeWidth = 1, - circleStrokeColor = 'components-progress-brand-border', - circleFillColor = 'components-progress-brand-bg', - sectorFillColor = 'components-progress-brand-progress', + circleStrokeColor = 'stroke-components-progress-brand-border', + circleFillColor = 'fill-components-progress-brand-bg', + sectorFillColor = 'fill-components-progress-brand-progress', }) => { const radius = size / 2 const center = size / 2 @@ -41,8 +41,8 @@ const ProgressCircle: React.FC = ({ > = ({ strokeWidth={circleStrokeWidth} />