Skip to content

Commit

Permalink
fix: delete icons
Browse files Browse the repository at this point in the history
  • Loading branch information
aelf-lxy committed Mar 25, 2024
1 parent 1d39c38 commit 30df8ba
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 35 deletions.
5 changes: 2 additions & 3 deletions packages/component/src/Input/demos/basic.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from 'react';
import { Space } from 'antd';

// import { AndroidOutlined } from '@ant-design/icons';
import Input from '../index';
import { Input } from 'aelf-design';
import { Space } from 'antd';

const App: React.FC = () => {
return (
Expand Down
4 changes: 2 additions & 2 deletions packages/component/src/Input/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { ReactNode } from 'react';
import {
CloseCircleOutlined,
CloseFilled,
EyeInvisibleOutlined,
EyeOutlined,
IconProps,
Expand Down Expand Up @@ -41,7 +41,7 @@ const getClearIcon = (
onClear?.(e);
}}
>
<CloseCircleOutlined
<CloseFilled
color={token?.colorBorder}
hoverColor={token?.Table?.headerBg}
activeColor={token?.colorTextDisabled}
Expand Down
1 change: 1 addition & 0 deletions packages/component/src/Search/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const useStyles = createStyles(
align-items: center;
`;
const searchBtnBase = css`
font-size: 16px;
cursor: pointer;
height: ${inputSize === 'middle' ? '48px' : '40px'};
padding: 0 15px;
Expand Down
8 changes: 4 additions & 4 deletions packages/component/src/Upload/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { ReactElement, ReactNode } from 'react';
import { ClearIconFilled, FileIcon } from '@aelf-design/internal-icons';
import { DeleteOutlined, ShareExternalOutlined } from '@aelf-design/internal-icons';
import { Upload as AntdUpload, UploadProps as AntdUploadProps, Image } from 'antd';
import { useTheme } from 'antd-style';
import { UploadFile } from 'antd/es/upload';
Expand Down Expand Up @@ -42,7 +42,7 @@ function UploadItemRender({
actions.remove();
}}
>
<ClearIconFilled
<DeleteOutlined
color={token.colorPrimary}
hoverColor={token.colorPrimaryHover}
activeColor={token.colorPrimaryActive}
Expand All @@ -56,7 +56,7 @@ function UploadItemRender({
) : (
<div className={cx(styles.FilePreviewContainer)}>
<div className="file-icon-container">
<FileIcon />
<ShareExternalOutlined />
<div className="file-tips">Ready for review</div>
</div>
<div className="file-info">
Expand All @@ -67,7 +67,7 @@ function UploadItemRender({
actions.remove();
}}
>
<ClearIconFilled
<DeleteOutlined
color={token.colorPrimary}
hoverColor={token.colorPrimaryHover}
activeColor={token.colorPrimaryActive}
Expand Down
11 changes: 0 additions & 11 deletions packages/internal-icons/src/components/ClearIcon.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions packages/internal-icons/src/components/FileIcon.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions packages/internal-icons/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
'use client';
export * from './components/ClearIcon';
export * from './components/FileIcon';
export * from './components/NextButtonIcon';
export * from './components/PrevButtonIcon';
export * from './components/ProgressErrorIcon';
Expand Down

0 comments on commit 30df8ba

Please sign in to comment.