Browse Source

chore: remove useless icon miniplayer

林艳 9 months ago
parent
commit
45726b4412

+ 0 - 24
packages/semi-icons/src/icons/IconMiniPlayer.tsx

@@ -1,24 +0,0 @@
-import * as React from 'react';
-import { convertIcon } from '../components/Icon';
-function SvgComponent(props: React.SVGProps<SVGSVGElement>) {
-    return (
-        <svg
-            viewBox="0 0 16 16"
-            fill="none"
-            xmlns="http://www.w3.org/2000/svg"
-            width="1em"
-            height="1em"
-            focusable={false}
-            aria-hidden={true}
-            {...props}
-        >
-            <path d="M10.834 14.667C10.0056 14.667 9.33399 13.9954 9.33399 13.167V10.8337C9.33399 10.0052 10.0056 9.33365 10.834 9.33365H13.1673C13.9958 9.33365 14.6673 10.0052 14.6673 10.8337V13.167C14.6673 13.9954 13.9958 14.667 13.1673 14.667L10.834 14.667Z" fill="currentColor" />
-            <path d="M3.66732 14.667C2.37865 14.667 1.33398 13.6223 1.33398 12.3337V10.3337V3.66698C1.33398 2.37832 2.37865 1.33365 3.66732 1.33365H10.334H12.334C13.6227 1.33365 14.6673 2.37832 14.6673 3.66698V6.50024C14.6673 7.05253 14.2196 7.50025 13.6673 7.50025C13.115 7.50025 12.6673 7.05253 12.6673 6.50024V3.66698C12.6673 3.48289 12.5181 3.33365 12.334 3.33365H10.334H3.66732C3.48322 3.33365 3.33399 3.48289 3.33399 3.66698V10.3337V12.3337C3.33399 12.5178 3.48323 12.667 3.66732 12.667H6.5C7.05229 12.667 7.5 13.1147 7.5 13.667C7.5 14.2193 7.05229 14.667 6.5 14.667H3.66732Z" fill="currentColor" />
-            <path fillRule="evenodd" clipRule="evenodd" d="M5.01363 4.79105C4.75328 5.0514 4.75329 5.47351 5.01363 5.73385L6.98013 7.70035L6.42783 7.70035C6.05964 7.70035 5.76116 7.99882 5.76116 8.36701C5.76116 8.7352 6.05964 9.03368 6.42783 9.03368L8.58959 9.03368C8.95778 9.03368 9.25626 8.7352 9.25626 8.36701L9.25626 6.20525C9.25626 5.83706 8.95778 5.53858 8.58959 5.53858C8.2214 5.53858 7.92292 5.83706 7.92292 6.20525L7.92292 6.75752L5.95644 4.79104C5.69609 4.53069 5.27397 4.53069 5.01363 4.79105Z" fill="currentColor" />
-
-        </svg>
-
-    );
-}
-const IconComponent = convertIcon(SvgComponent, 'miniplayer');
-export default IconComponent;

+ 1 - 2
packages/semi-icons/src/icons/index.ts

@@ -442,5 +442,4 @@ export { default as IconWifi } from './IconWifi';
 export { default as IconWindowAdaptionStroked } from './IconWindowAdaptionStroked';
 export { default as IconWrench } from './IconWrench';
 export { default as IconXiguaLogo } from './IconXiguaLogo';
-export { default as IconYoutube } from './IconYoutube';
-export { default as IconMiniPlayer } from './IconMiniPlayer';
+export { default as IconYoutube } from './IconYoutube';

+ 1 - 1
packages/semi-ui/audioPlayer/index.tsx

@@ -8,7 +8,7 @@ import Dropdown from '../dropdown';
 import Image from '../image';
 import Tooltip from '../tooltip';
 import Popover from '../popover';
-import { IconAlertCircle, IconBackward, IconFastForward, IconMiniPlayer, IconPause, IconPlay, IconRefresh, IconRestart, IconVolume2, IconVolumnSilent } from '@douyinfe/semi-icons';
+import { IconAlertCircle, IconBackward, IconFastForward, IconPause, IconPlay, IconRefresh, IconRestart, IconVolume2, IconVolumnSilent } from '@douyinfe/semi-icons';
 import AudioSlider from './audioSlider';
 import AudioPlayerFoundation from '@douyinfe/semi-foundation/audioPlayer/foundation';
 import { AudioPlayerAdapter } from '@douyinfe/semi-foundation/audioPlayer/foundation';