Skip to content

Commit

Permalink
add CompleteVideoCard SimpleVideoCard VideoCard icon remove acgbox
Browse files Browse the repository at this point in the history
  • Loading branch information
jjj201200 committed Jun 23, 2024
1 parent 1d8ccbb commit b85d6b4
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@bilibilihelper/react-icons",
"private": false,
"version": "2.0.8",
"version": "2.0.9",
"license": "MIT",
"description": "Radix UI React Icon Set",
"module": "dist/reactIcons.esm.js",
Expand Down
5 changes: 4 additions & 1 deletion previewSite/iconMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export default [
'BarChartIcon',
'DividerVerticalIcon',
'DividerHorizontalIcon',
'SimpleVideoCardIcon',
'VideoCardIcon',
'CompleteVideoCardIcon'
],
},

Expand Down Expand Up @@ -350,7 +353,7 @@ export default [
],
},
{
type: 'Borders and corners',
type: 'Borders and Corners',
list: [
'BorderAllIcon',
'BorderSplitIcon',
Expand Down
12 changes: 12 additions & 0 deletions src/Icons/Components/CompleteVideoCardIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import * as React from 'react';
import {IconProps} from '../types';
import * as PropTypes from 'prop-types';

export const CompleteVideoCardIcon = React.forwardRef<SVGSVGElement, IconProps>(
({color = 'currentColor', iconType = 'Components', ...props}, forwardedRef) => {
return <svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" {...props} ref={forwardedRef}><path d="M13.5 1a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-12a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5h12Zm-.75 1H2.25a.25.25 0 0 0-.25.25v1.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-1.5a.25.25 0 0 0-.25-.25ZM1.5 6h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1 0-1Zm12 2a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-12a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5h12Zm-.75 1H2.25a.25.25 0 0 0-.25.25v1.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-1.5a.25.25 0 0 0-.25-.25ZM1.5 13h8a.5.5 0 1 1 0 1h-8a.5.5 0 1 1 0-1Z" fillRule="evenodd"/></svg>;
}
);
CompleteVideoCardIcon.displayName = 'CompleteVideoCardIcon';
CompleteVideoCardIcon.propTypes = {iconType: PropTypes.string};
CompleteVideoCardIcon.defaultProps = {iconType: 'Components'};
12 changes: 12 additions & 0 deletions src/Icons/Components/SimpleVideoCardIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import * as React from 'react';
import {IconProps} from '../types';
import * as PropTypes from 'prop-types';

export const SimpleVideoCardIcon = React.forwardRef<SVGSVGElement, IconProps>(
({color = 'currentColor', iconType = 'Components', ...props}, forwardedRef) => {
return <svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" {...props} ref={forwardedRef}><path d="M6.185 1h7.13a.435.435 0 1 1 0 .87h-7.13a.435.435 0 1 1 0-.87Zm0 2h5.352a.435.435 0 1 1 0 .87H6.185a.435.435 0 1 1 0-.87ZM4.25 1a.5.5 0 0 1 .5.5V4a.5.5 0 0 1-.5.5h-2.5a.5.5 0 0 1-.5-.5V1.5a.5.5 0 0 1 .5-.5h2.5Zm-.625.875h-1.25a.25.25 0 0 0-.25.25v1.25c0 .138.112.25.25.25h1.25a.25.25 0 0 0 .25-.25v-1.25a.25.25 0 0 0-.25-.25Zm2.56 3.875h7.13a.435.435 0 1 1 0 .87h-7.13a.435.435 0 1 1 0-.87Zm0 2h5.352a.435.435 0 1 1 0 .87H6.185a.435.435 0 1 1 0-.87Zm-1.935-2a.5.5 0 0 1 .5.5v2.5a.5.5 0 0 1-.5.5h-2.5a.5.5 0 0 1-.5-.5v-2.5a.5.5 0 0 1 .5-.5h2.5Zm-.625.875h-1.25a.25.25 0 0 0-.25.25v1.25c0 .138.112.25.25.25h1.25a.25.25 0 0 0 .25-.25v-1.25a.25.25 0 0 0-.25-.25Zm2.56 3.875h7.13a.435.435 0 1 1 0 .87h-7.13a.435.435 0 1 1 0-.87Zm0 2h5.352a.435.435 0 1 1 0 .87H6.185a.435.435 0 1 1 0-.87Zm-1.935-2a.5.5 0 0 1 .5.5v2.5a.5.5 0 0 1-.5.5h-2.5a.5.5 0 0 1-.5-.5V11a.5.5 0 0 1 .5-.5h2.5Zm-.625.875h-1.25a.25.25 0 0 0-.25.25v1.25c0 .138.112.25.25.25h1.25a.25.25 0 0 0 .25-.25v-1.25a.25.25 0 0 0-.25-.25Z" fillRule="evenodd"/></svg>;
}
);
SimpleVideoCardIcon.displayName = 'SimpleVideoCardIcon';
SimpleVideoCardIcon.propTypes = {iconType: PropTypes.string};
SimpleVideoCardIcon.defaultProps = {iconType: 'Components'};
12 changes: 12 additions & 0 deletions src/Icons/Components/VideoCardIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import * as React from 'react';
import {IconProps} from '../types';
import * as PropTypes from 'prop-types';

export const VideoCardIcon = React.forwardRef<SVGSVGElement, IconProps>(
({color = 'currentColor', iconType = 'Components', ...props}, forwardedRef) => {
return <svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" {...props} ref={forwardedRef}><path d="M12.457 1c.16.002.304.01.435.041A1.5 1.5 0 0 1 14 2.15c.042.174.042.371.042.6l-.001 2.666c-.002.16-.01.303-.04.434a1.5 1.5 0 0 1-1.11 1.109c-.174.041-.37.041-.6.041H2.75c-.229 0-.426 0-.6-.041A1.5 1.5 0 0 1 1.04 5.85C1 5.676 1 5.48 1 5.25V2.584c.002-.16.01-.303.041-.434A1.5 1.5 0 0 1 2.15 1.04c.174-.04.37-.04.6-.04Zm-.068 1H2.61c-.15.002-.195.006-.228.014a.5.5 0 0 0-.37.37A1.134 1.134 0 0 0 2 2.611V5.39c.001.15.005.195.013.228a.5.5 0 0 0 .37.37c.042.01.108.013.416.013h9.4c.308 0 .374-.003.417-.014a.5.5 0 0 0 .37-.37c.01-.042.013-.108.013-.416V2.8c0-.308-.003-.374-.014-.417a.5.5 0 0 0-.37-.37 1.134 1.134 0 0 0-.227-.012Zm.461 6.041a1.5 1.5 0 0 1 1.11 1.109c.041.174.041.371.041.6v2.5c0 .229 0 .426-.041.6a1.5 1.5 0 0 1-1.109 1.109c-.174.041-.371.041-.6.041h-9.5c-.229 0-.426 0-.6-.041A1.5 1.5 0 0 1 1.04 12.85a1.976 1.976 0 0 1-.04-.434V9.75c0-.229 0-.426.041-.6A1.5 1.5 0 0 1 2.15 8.04c.13-.031.274-.039.434-.04h9.666c.229 0 .426 0 .6.041Zm-.461.96H2.61a1.09 1.09 0 0 0-.228.013.5.5 0 0 0-.37.37A1.134 1.134 0 0 0 2 9.611v2.778c.001.15.005.195.013.228a.5.5 0 0 0 .37.37c.042.01.108.013.416.013h9.4c.308 0 .374-.003.417-.014a.5.5 0 0 0 .37-.37c.01-.042.013-.108.013-.416V9.8c0-.308-.003-.374-.014-.417a.5.5 0 0 0-.37-.37 1.134 1.134 0 0 0-.227-.012Z" fillRule="evenodd"/></svg>;
}
);
VideoCardIcon.displayName = 'VideoCardIcon';
VideoCardIcon.propTypes = {iconType: PropTypes.string};
VideoCardIcon.defaultProps = {iconType: 'Components'};
12 changes: 0 additions & 12 deletions src/Icons/Logos/AcgboxTextIcon.tsx

This file was deleted.

4 changes: 3 additions & 1 deletion src/Icons/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export {AccessibilityIcon} from './Abstract/AccessibilityIcon';
export {AcgboxTextIcon} from './Logos/AcgboxTextIcon';
export {AcghelperTextIcon} from './Logos/AcghelperTextIcon';
export {ActivityLogIcon} from './Components/ActivityLogIcon';
export {AlignBaselineIcon} from './Typography/AlignBaselineIcon';
Expand Down Expand Up @@ -74,6 +73,7 @@ export {ColorWheelIcon} from './Design/ColorWheelIcon';
export {ColumnSpacingIcon} from './Design/ColumnSpacingIcon';
export {ColumnsIcon} from './Design/ColumnsIcon';
export {CommitIcon} from './Abstract/CommitIcon';
export {CompleteVideoCardIcon} from './Components/CompleteVideoCardIcon';
export {Component1Icon} from './Design/Component1Icon';
export {Component2Icon} from './Design/Component2Icon';
export {ComponentBooleanIcon} from './Design/ComponentBooleanIcon';
Expand Down Expand Up @@ -266,6 +266,7 @@ export {ShadowOuterIcon} from './Design/ShadowOuterIcon';
export {Share1Icon} from './Abstract/Share1Icon';
export {Share2Icon} from './Abstract/Share2Icon';
export {ShuffleIcon} from './Player/ShuffleIcon';
export {SimpleVideoCardIcon} from './Components/SimpleVideoCardIcon';
export {SizeIcon} from './Arrows/SizeIcon';
export {SketchColorLogoIcon} from './Logos/SketchColorLogoIcon';
export {SketchLogoIcon} from './Logos/SketchLogoIcon';
Expand Down Expand Up @@ -335,6 +336,7 @@ export {ValueIcon} from './Design/ValueIcon';
export {ValueNoneIcon} from './Design/ValueNoneIcon';
export {VercelLogoIcon} from './Logos/VercelLogoIcon';
export {VideoIcon} from './Components/VideoIcon';
export {VideoCardIcon} from './Components/VideoCardIcon';
export {ViewGridIcon} from './Abstract/ViewGridIcon';
export {ViewHorizontalIcon} from './Abstract/ViewHorizontalIcon';
export {ViewNoneIcon} from './Abstract/ViewNoneIcon';
Expand Down

0 comments on commit b85d6b4

Please sign in to comment.