Skip to content

Commit

Permalink
feat(Icon): add TemporaryProfile Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
cnairi committed Nov 25, 2024
1 parent 79f4a70 commit 81a6c7f
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 1 deletion.
6 changes: 6 additions & 0 deletions icons/_assets/temporary_profile.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions icons/src/TemporaryProfile/content.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"width": 15,
"height": 15,
"viewBox": "0 0 84 98",
"block": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M35.6702 65.305C35.3832 64.8874 34.8879 64.6627 34.3761 64.7187L20.0383 66.3346V45.8714C20.0383 45.247 19.6082 44.7026 18.9958 44.5518C18.381 44.4001 17.745 44.6808 17.4478 45.2322L0.985713 75.8003C0.745138 76.2467 0.775014 76.7879 1.06197 77.2055C1.34972 77.6239 1.84581 77.8494 2.35605 77.7926L16.6938 76.1767V96.6391C16.6938 97.2643 17.1239 97.8087 17.7363 97.9596C17.848 97.9868 17.9596 98 18.0697 98C18.5697 98 19.0414 97.7309 19.2843 97.2791L35.7472 66.7103C35.987 66.2639 35.9571 65.7234 35.6702 65.305Z\" fill=\"currentColor\"/>\n<path d=\"M35.0916 26.1012C34.9647 23.9902 36.5732 22.1759 38.6842 22.049C40.7953 21.922 42.6095 23.5305 42.7364 25.6415L44.1154 48.576L40.3606 48.8018C38.2122 48.9309 36.3659 47.294 36.2367 45.1457L35.0916 26.1012Z\" fill=\"currentColor\"/>\n<path d=\"M53.7492 40.3244C55.8603 40.1975 57.6745 41.806 57.8014 43.917C57.9284 46.0281 56.3199 47.8423 54.2089 47.9692L44.1154 48.576C39.8933 48.8299 36.2649 45.6131 36.0111 41.391L53.7492 40.3244Z\" fill=\"currentColor\"/>\n<path d=\"M71.4719 9.26582C63.4944 2.19108 52.8897 -0.999792 41.6089 0.274438C19.3356 2.7958 1.08888 22.3284 0.0024331 44.3294C-0.0540054 45.4723 0.878889 46.4008 2.02318 46.4008C3.16748 46.4008 4.08936 45.4721 4.1513 44.3294C5.23413 24.3558 21.832 6.65838 42.0777 4.36539C43.5423 4.19949 44.9938 4.11831 46.4264 4.11831C54.8645 4.11831 62.6561 6.96679 68.7133 12.339C75.7283 18.5619 79.5927 27.4557 79.5927 37.3836C79.5927 57.5095 63.6498 75.8112 43.6514 79.1338C42.5283 79.3204 41.714 80.3367 41.8436 81.4678C41.973 82.5967 42.9938 83.4125 44.1157 83.2315C66.144 79.677 83.7366 59.5382 83.7366 37.3836C83.7366 26.2673 79.3808 16.2817 71.4719 9.26582Z\" fill=\"currentColor\"/>"
}
8 changes: 8 additions & 0 deletions icons/src/TemporaryProfile/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react'
import { Icon, IconProps } from '@welcome-ui/icon'

import content from './content.json'

export const TemporaryProfileIcon: React.FC<IconProps> = props => {
return <Icon alt="TemporaryProfile" content={content} {...props} />
}
1 change: 1 addition & 0 deletions icons/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ export declare const TabletIcon: React.FC<IconProps>
export declare const TagIcon: React.FC<IconProps>
export declare const TargetIcon: React.FC<IconProps>
export declare const TeepeeIcon: React.FC<IconProps>
export declare const TemporaryProfileIcon: React.FC<IconProps>
export declare const ThumbDownIcon: React.FC<IconProps>
export declare const ThumbUpIcon: React.FC<IconProps>
export declare const TiktokIcon: React.FC<IconProps>
Expand Down
1 change: 1 addition & 0 deletions icons/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ export { TabletIcon } from './Tablet'
export { TagIcon } from './Tag'
export { TargetIcon } from './Target'
export { TeepeeIcon } from './Teepee'
export { TemporaryProfileIcon } from './TemporaryProfile'
export { ThumbDownIcon } from './ThumbDown'
export { ThumbUpIcon } from './ThumbUp'
export { TiktokIcon } from './Tiktok'
Expand Down
3 changes: 2 additions & 1 deletion packages/IconFont/src/unicode.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,5 +295,6 @@
"arrow_line_right": "0xF227",
"arrow_line_down": "0xF228",
"arrow_line_up": "0xF229",
"symbol": "0xF22A"
"symbol": "0xF22A",
"temporary_profile": "0xF22B"
}
1 change: 1 addition & 0 deletions website/build-app/components/IconsList/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export const miscellaneous: IconProps['name'][] = [
'success',
'certified',
'connection',
'temporary_profile',
]

export const player: IconProps['name'][] = [
Expand Down

0 comments on commit 81a6c7f

Please sign in to comment.