Skip to content

Commit

Permalink
feat(icon): add 103 icons
Browse files Browse the repository at this point in the history
  • Loading branch information
AppleMonkey2019 committed Jan 26, 2021
1 parent 09f8d61 commit 5290eb0
Show file tree
Hide file tree
Showing 719 changed files with 76,051 additions and 52,888 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## v1.2.3
> 2021.01.26
- 🦋**add icons**: add 103 icons,add categories:`Brand``Child``Music``Operate`

## v1.2.2
> 2021.01.17
- 🆕**update npm**: add `icon.json`
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# 日志
## v1.2.3
> 2021.01.26
- 🦋**增加图标**: 新增103个icon,分类有`Brand``Child``Music``Operate`

## v1.2.2
> 2021.01.17
- 🆕**更新vue2/vue3/react/svg包**: 把icon.json放入到npm包中
Expand Down
8 changes: 4 additions & 4 deletions build/build-icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface IIconProps {
category: string;
categoryCN: string;
author: string;
time: string;
rtl: boolean;
}

const ICON_CSV = path.resolve(__dirname, '../source/db.csv');
Expand Down Expand Up @@ -114,9 +114,9 @@ arr.slice(1).forEach((item: string[], i) => {
name,
category,
categoryCN: item[2],
author: item[6].replace(/[, ]+/g, ''),
tag: item[5].split(/[, ]+/).filter(item => item.trim()),
time: item[7],
author: item[8].replace(/[, ]+/g, ''),
tag: item[7].split(/[, ]+/).filter(item => item.trim()),
rtl: item[6].trim() === '是',
svg
});
});
Expand Down
6 changes: 3 additions & 3 deletions packages/react/src/icons/ACane.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file ACane 手杖
* @file ACane 拐杖
* @author Auto Generated by IconPark
*/

Expand All @@ -19,7 +19,7 @@ export default IconWrapper(
fill="none"
>
<g
clipPath={'url(#' + props.id + 'c35a1e63' + ')'}
clipPath={'url(#' + props.id + '572b7723' + ')'}
>
<path
d="M19.5571 44.7684C19.5571 44.7684 32.4675 20.4873 33.6412 18.28C34.8149 16.0726 37.453 8.98102 30.3894 5.22524C23.3258 1.46947 19.1566 7.18063 17.7482 9.82948"
Expand All @@ -31,7 +31,7 @@ export default IconWrapper(
</g>
<defs>
<clipPath
id={props.id + 'c35a1e63'}
id={props.id + '572b7723'}
>
<rect
width="48"
Expand Down
48 changes: 48 additions & 0 deletions packages/react/src/icons/AddMode.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/**
* @file AddMode 增加模式
* @author Auto Generated by IconPark
*/

/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import React from 'react';
import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'add-mode',
true,
(props: ISvgIconProps) => (
<svg
width={props.size}
height={props.size}
viewBox="0 0 48 48"
fill="none"
>
<path
d="M24.0033 4L29.2737 9.27038H38.7296V18.7263L44 23.9967L38.7296 29.2737V38.7296H29.2737L24.0033 44L18.7264 38.7296H9.27036V29.2737L4 23.9967L9.27036 18.7263V9.27038H18.7264L24.0033 4Z"
fill={props.colors[1]}
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
strokeMiterlimit="10"
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M17 23.9967H31"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeMiterlimit="10"
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M24.0039 17V31"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeMiterlimit="10"
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
</svg>
)
);
51 changes: 51 additions & 0 deletions packages/react/src/icons/AddMusic.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/**
* @file AddMusic 添加音乐
* @author Auto Generated by IconPark
*/

/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import React from 'react';
import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'add-music',
true,
(props: ISvgIconProps) => (
<svg
width={props.size}
height={props.size}
viewBox="0 0 48 48"
fill="none"
>
<path
d="M24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4C35.0457 4 44 12.9543 44 24"
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M20 24V17.0718L26 20.5359L32 24L26 27.4641L20 30.9282V24Z"
fill={props.colors[1]}
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M37.0508 32L37.0508 42"
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M42 36.9497L32 36.9497"
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
</svg>
)
);
56 changes: 56 additions & 0 deletions packages/react/src/icons/AddPic.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/**
* @file AddPic 增加图片
* @author Auto Generated by IconPark
*/

/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import React from 'react';
import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'add-pic',
true,
(props: ISvgIconProps) => (
<svg
width={props.size}
height={props.size}
viewBox="0 0 48 48"
fill="none"
>
<path
d="M38 21V40C38 41.1046 37.1046 42 36 42H8C6.89543 42 6 41.1046 6 40V12C6 10.8954 6.89543 10 8 10H26.3636"
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
strokeMiterlimit="10"
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M12 31.0308L18 23L21 26L24.5 20.5L32 31.0308H12Z"
fill={props.colors[1]}
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
strokeMiterlimit="10"
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M34 10H42"
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
strokeMiterlimit="10"
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M37.9941 5.79544V13.7954"
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
strokeMiterlimit="10"
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
</svg>
)
);
64 changes: 64 additions & 0 deletions packages/react/src/icons/AdobeIllustrate.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/**
* @file AdobeIllustrate adobe-illustrate
* @author Auto Generated by IconPark
*/

/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import React from 'react';
import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'adobe-illustrate',
true,
(props: ISvgIconProps) => (
<svg
width={props.size}
height={props.size}
viewBox="0 0 48 48"
fill="none"
>
<path
d="M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z"
fill={props.colors[1]}
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
/>
<path
d="M20 15L14 33"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M32 33V25"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M32 20V19"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M20 15L26 33"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M16 27H24"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
</svg>
)
);
52 changes: 52 additions & 0 deletions packages/react/src/icons/AdobeIndesign.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/**
* @file AdobeIndesign adobe-indesign
* @author Auto Generated by IconPark
*/

/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import React from 'react';
import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'adobe-indesign',
true,
(props: ISvgIconProps) => (
<svg
width={props.size}
height={props.size}
viewBox="0 0 48 48"
fill="none"
>
<path
d="M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z"
fill={props.colors[1]}
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
/>
<path
d="M16 15L16 33"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M32 17L32 33"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M28 33C25.5 33 24 31.4 24 29C24 26.6 25.5 25 28 25C30.5 25 32 25 32 25V33H28Z"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
</svg>
)
);
50 changes: 50 additions & 0 deletions packages/react/src/icons/AdobeLightroom.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/**
* @file AdobeLightroom adobe-lightroom
* @author Auto Generated by IconPark
*/

/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import React from 'react';
import {ISvgIconProps, IconWrapper} from '../runtime';

export default IconWrapper(
'adobe-lightroom',
true,
(props: ISvgIconProps) => (
<svg
width={props.size}
height={props.size}
viewBox="0 0 48 48"
fill="none"
>
<path
d="M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z"
fill={props.colors[1]}
stroke={props.colors[0]}
strokeWidth={props.strokeWidth}
/>
<path
d="M14 15V33H22"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M28 33V21"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
<path
d="M28 26C30.25 22 32.6286 22 34 22"
stroke={props.colors[2]}
strokeWidth={props.strokeWidth}
strokeLinecap={props.strokeLinecap}
strokeLinejoin={props.strokeLinejoin}
/>
</svg>
)
);
Loading

0 comments on commit 5290eb0

Please sign in to comment.