Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@coze-arch/arco-icon",
"comment": "sync icon update",
"type": "patch"
}
],
"packageName": "@coze-arch/arco-icon",
"email": "[email protected]"
}
40 changes: 40 additions & 0 deletions packages/components/arco-icon/src/IconCozBatchTask/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import React, { ForwardedRef, useContext } from 'react';

import { OriginIconProps } from '../type';
import { Context } from '../context';

function IconCozBatchTaskComponent(
props: OriginIconProps,
ref: ForwardedRef<SVGSVGElement>,
) {
const { prefix: prefixFromContext } = useContext(Context);
const {
className = '',
prefix: prefixFromProps,
width = '1em',
height = '1em',
useCurrentColor = true,
spin,
...rest
} = props;

const prefix = prefixFromProps || prefixFromContext || 'icon';
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
return (
<svg
className={`${prefix}-icon ${prefix}-icon-coz_batch_task${loadingKls} ${className}`}
width={width}
height={height}
viewBox="0 0 24 24"
fill={useCurrentColor ? 'currentColor' : '#000'}
xmlns="http://www.w3.org/2000/svg"
{...rest}
ref={ref}
>
<path d="M20.2041 7.01074C21.2128 7.113 22 7.96435 22 9V20C22 21.0357 21.2128 21.887 20.2041 21.9893L20 22H4C2.96435 22 2.113 21.2128 2.01074 20.2041L2 20V9C2 7.89543 2.89543 7 4 7H20L20.2041 7.01074ZM4 20H20V9H4V20ZM14.6484 10.9844C14.9784 10.5416 15.605 10.4504 16.0479 10.7803C16.4904 11.1102 16.5827 11.7369 16.2529 12.1797L11.9053 18.0166C11.7318 18.2493 11.4652 18.3949 11.1758 18.416C10.8863 18.437 10.6018 18.3311 10.3965 18.126L7.84277 15.5723C7.4523 15.1818 7.45235 14.5487 7.84277 14.1582C8.2333 13.7677 8.86632 13.7677 9.25684 14.1582L10.9922 15.8936L14.6484 10.9844ZM18.5 4.5C19.3284 4.5 20 5.17157 20 6H4C4 5.17157 4.67157 4.5 5.5 4.5H18.5ZM15.5 2C16.3284 2 17 2.67157 17 3.5H7C7 2.67157 7.67157 2 8.5 2H15.5Z" />
</svg>
);
}

const IconCozBatchTask = React.forwardRef(IconCozBatchTaskComponent);
export default IconCozBatchTask;
40 changes: 40 additions & 0 deletions packages/components/arco-icon/src/IconCozBatchTaskFill/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import React, { ForwardedRef, useContext } from 'react';

import { OriginIconProps } from '../type';
import { Context } from '../context';

function IconCozBatchTaskFillComponent(
props: OriginIconProps,
ref: ForwardedRef<SVGSVGElement>,
) {
const { prefix: prefixFromContext } = useContext(Context);
const {
className = '',
prefix: prefixFromProps,
width = '1em',
height = '1em',
useCurrentColor = true,
spin,
...rest
} = props;

const prefix = prefixFromProps || prefixFromContext || 'icon';
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
return (
<svg
className={`${prefix}-icon ${prefix}-icon-coz_batch_task_fill${loadingKls} ${className}`}
width={width}
height={height}
viewBox="0 0 24 24"
fill={useCurrentColor ? 'currentColor' : '#000'}
xmlns="http://www.w3.org/2000/svg"
{...rest}
ref={ref}
>
<path d="M20 7C21.1046 7 22 7.89543 22 9V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20V9C2 7.89543 2.89543 7 4 7H20ZM16.0479 10.7803C15.605 10.4504 14.9784 10.5416 14.6484 10.9844L10.9922 15.8936L9.25684 14.1582C8.86632 13.7677 8.2333 13.7677 7.84277 14.1582C7.45235 14.5487 7.4523 15.1818 7.84277 15.5723L10.3965 18.126C10.6018 18.3311 10.8863 18.437 11.1758 18.416C11.4652 18.3949 11.7318 18.2493 11.9053 18.0166L16.2529 12.1797C16.5827 11.7369 16.4904 11.1102 16.0479 10.7803ZM18.5 4.5C19.3284 4.5 20 5.17157 20 6H4C4 5.17157 4.67157 4.5 5.5 4.5H18.5ZM15.5 2C16.3284 2 17 2.67157 17 3.5H7C7 2.67157 7.67157 2 8.5 2H15.5Z" />
</svg>
);
}

const IconCozBatchTaskFill = React.forwardRef(IconCozBatchTaskFillComponent);
export default IconCozBatchTaskFill;
43 changes: 43 additions & 0 deletions packages/components/arco-icon/src/IconCozCoze/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import React, { ForwardedRef, useContext } from 'react';

import { OriginIconProps } from '../type';
import { Context } from '../context';

function IconCozCozeComponent(
props: OriginIconProps,
ref: ForwardedRef<SVGSVGElement>,
) {
const { prefix: prefixFromContext } = useContext(Context);
const {
className = '',
prefix: prefixFromProps,
width = '1em',
height = '1em',
useCurrentColor = false,
spin,
...rest
} = props;

const prefix = prefixFromProps || prefixFromContext || 'icon';
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
return (
<svg
className={`${prefix}-icon ${prefix}-icon-coz_coze${loadingKls} ${className}`}
width={width}
height={height}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...rest}
ref={ref}
>
<path
d="M12.2183 1.30322C16.799 1.42069 20.476 5.17124 20.4761 9.77979V9.78369L20.4751 9.97021C22.3737 10.0283 23.8979 11.585 23.8979 13.5005C23.8978 15.0403 22.9136 16.3367 21.5591 16.8247C21.3316 16.9067 20.9279 17.0544 20.5151 17.2046C20.4998 19.4907 18.6423 21.3364 16.355 21.3364C16.0973 21.3364 15.8448 21.3131 15.6001 21.2681C14.6619 22.1537 13.3965 22.6996 12.0005 22.6997C10.6052 22.6997 9.33801 22.1548 8.39893 21.2681C8.15448 21.313 7.90237 21.3364 7.64502 21.3364C5.3554 21.3363 3.50015 19.4883 3.48486 17.2046C3.0721 17.0544 2.66828 16.9066 2.44092 16.8247C1.12889 16.3519 0.164056 15.1204 0.10498 13.644L0.102051 13.5005L0.106934 13.3188C0.199478 11.4909 1.68259 10.028 3.52197 9.97021V9.77979C3.52208 5.0981 7.31667 1.30177 11.9985 1.30029H11.9995L12.2183 1.30322ZM11.9985 3.30029C8.42131 3.30169 5.52208 6.20251 5.52197 9.77979L5.52588 12.0815C5.49589 12.0797 4.1681 11.9969 3.72217 11.9702C3.69321 11.9681 3.66422 11.9673 3.63525 11.9673C2.78845 11.9673 2.10205 12.6548 2.10205 13.5005C2.10218 14.1653 2.5274 14.7307 3.11865 14.9438C3.71429 15.1585 5.48759 15.8059 5.51514 15.8159L5.48389 17.1763C5.48395 18.369 6.45117 19.3363 7.64502 19.3364C8.18247 19.3364 8.67376 19.1403 9.05225 18.8159C9.551 19.8939 10.6242 20.6515 11.8784 20.6978L12.0005 20.6997C13.3066 20.6996 14.4318 19.9274 14.9478 18.8159C15.3262 19.1403 15.8176 19.3363 16.355 19.3364C17.5478 19.3364 18.516 18.3702 18.5161 17.1763L18.4849 15.8159C18.4976 15.8113 20.283 15.1595 20.8813 14.9438C21.4358 14.7441 21.8441 14.2343 21.8931 13.6235L21.8979 13.5005C21.8979 12.6538 21.2114 11.9674 20.3657 11.9673H20.3628C20.3338 11.9673 20.3049 11.9681 20.2759 11.9702C19.8289 11.997 18.4957 12.0801 18.4722 12.0815L18.4761 9.77979C18.476 6.20231 15.576 3.30137 11.9985 3.30029ZM9.75635 14.5845C10.1151 14.3778 10.5739 14.5012 10.7808 14.8599C10.8904 15.0502 11.0631 15.2119 11.2788 15.3247C11.4944 15.4374 11.7445 15.4974 11.9995 15.4976C12.2545 15.4977 12.5045 15.438 12.7202 15.3257C12.9361 15.2132 13.1092 15.052 13.2192 14.8618C13.4266 14.5034 13.8852 14.3811 14.2437 14.5884C14.6022 14.7958 14.7254 15.2543 14.5181 15.6128C14.2503 16.0758 13.8541 16.4262 13.4136 16.6558C12.9731 16.8852 12.4832 16.9979 11.9985 16.9976C11.5139 16.9972 11.0237 16.884 10.5835 16.6538C10.1434 16.4236 9.74796 16.0723 9.48096 15.6089C9.27446 15.2501 9.39774 14.7913 9.75635 14.5845ZM14.6987 11.6206C15.251 11.6206 15.6987 12.0683 15.6987 12.6206C15.6985 13.1727 15.2509 13.6206 14.6987 13.6206C14.1466 13.6206 13.699 13.1727 13.6987 12.6206C13.6987 12.0683 14.1464 11.6206 14.6987 11.6206ZM9.30127 10.3804C9.85355 10.3804 10.3013 10.8281 10.3013 11.3804V12.6196C10.3013 13.1719 9.85355 13.6196 9.30127 13.6196C8.7491 13.6195 8.30127 13.1718 8.30127 12.6196V11.3804C8.30127 10.8282 8.7491 10.3805 9.30127 10.3804Z"
fill={useCurrentColor ? 'currentColor' : '#3A3F4F'}
/>
</svg>
);
}

const IconCozCoze = React.forwardRef(IconCozCozeComponent);
export default IconCozCoze;
55 changes: 55 additions & 0 deletions packages/components/arco-icon/src/IconCozVolcengine/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import React, { ForwardedRef, useContext } from 'react';

import { OriginIconProps } from '../type';
import { Context } from '../context';

function IconCozVolcengineComponent(
props: OriginIconProps,
ref: ForwardedRef<SVGSVGElement>,
) {
const { prefix: prefixFromContext } = useContext(Context);
const {
className = '',
prefix: prefixFromProps,
width = '1em',
height = '1em',
useCurrentColor = false,
spin,
...rest
} = props;

const prefix = prefixFromProps || prefixFromContext || 'icon';
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
return (
<svg
className={`${prefix}-icon ${prefix}-icon-coz_volcengine${loadingKls} ${className}`}
width={width}
height={height}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...rest}
ref={ref}
>
<path
d="M17.5077 11.6819L15.2815 21.3232C15.2352 21.4836 15.3732 21.6216 15.5113 21.6216H19.9638C20.1242 21.6216 20.2391 21.4844 20.1936 21.3232L17.9666 11.6819C17.9211 11.429 17.554 11.429 17.5077 11.6819ZM5.20513 15.3547L3.8055 21.3449C3.75925 21.506 3.89726 21.6433 4.03455 21.6433H6.78902C6.94943 21.6433 7.06432 21.506 7.0188 21.3456L5.64157 15.3547C5.61844 15.1018 5.25137 15.1018 5.20513 15.3547V15.3547Z"
fill={useCurrentColor ? 'currentColor' : '#37E2E2'}
/>
<path
d="M8.2343 8.03245L5.15901 21.3452C5.11277 21.5056 5.25078 21.6429 5.38807 21.6429H11.517C11.6774 21.6429 11.7916 21.5056 11.746 21.3452L8.67074 8.03245C8.64762 7.77955 8.28055 7.77955 8.2343 8.03245V8.03245Z"
fill={useCurrentColor ? 'currentColor' : '#1664FF'}
/>
<path
d="M13.3787 2.54612L9.04036 21.3447C8.99411 21.5051 9.13213 21.6424 9.27014 21.6424H17.923C18.0834 21.6424 18.1983 21.5051 18.1528 21.3447L13.8376 2.54612C13.7913 2.29322 13.4242 2.29322 13.3787 2.54612Z"
fill={useCurrentColor ? 'currentColor' : '#1664FF'}
/>
<path
d="M10.5076 9.84462L7.868 21.3199C7.82175 21.4803 7.95976 21.6183 8.09777 21.6183H13.3769C13.5373 21.6183 13.6515 21.481 13.606 21.3199L10.9664 9.84318C10.9209 9.61412 10.5531 9.61412 10.5076 9.84318V9.84462Z"
fill={useCurrentColor ? 'currentColor' : '#37E2E2'}
/>
</svg>
);
}

const IconCozVolcengine = React.forwardRef(IconCozVolcengineComponent);
export default IconCozVolcengine;
4 changes: 4 additions & 0 deletions packages/components/arco-icon/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,5 +508,9 @@ export { default as IconCozVideoCamera } from './IconCozVideoCamera';
export { default as IconCozSingleOperate } from './IconCozSingleOperate';
export { default as IconCozTagFill } from './IconCozTagFill';
export { default as IconCozArrowEnter } from './IconCozArrowEnter';
export { default as IconCozBatchTaskFill } from './IconCozBatchTaskFill';
export { default as IconCozBatchTask } from './IconCozBatchTask';
export { default as IconCozCoze } from './IconCozCoze';
export { default as IconCozVolcengine } from './IconCozVolcengine';

export * from './type';