Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add connection icon #2519

Merged
merged 1 commit into from
Aug 23, 2024
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
1 change: 1 addition & 0 deletions icons/_assets/connection.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions icons/src/Connection/content.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"width": 15,
"height": 15,
"block": "<path fill=\"currentColor\" d=\"M91.014 25.662c-2.273-2.026-5.581-2.026-7.393 0L70.697 39.613l-14.336-12.79 12.923-13.95c1.813-2.027 1.434-5.316-.84-7.353-2.273-2.027-5.58-2.027-7.393 0L48.128 19.47l-8.193-7.32a2.462 2.462 0 0 0-3.481.203l-11.47 12.882c-9.236 10.366-9.338 26.018-1.3 38.207l-6.595 7.393c-2.11 2.363-1.792 6.11.676 8.412l-8.878 9.938a3.484 3.484 0 0 0 .297 4.94 3.53 3.53 0 0 0 2.335.875 3.5 3.5 0 0 0 2.631-1.181l8.838-9.919c1.188.998 2.672 1.569 4.178 1.569h.338c1.536-.092 2.939-.754 3.932-1.864l6.574-7.373c4.967 2.516 10.394 3.87 15.801 3.87.604 0 1.219-.02 1.823-.051 7.956-.448 15.115-3.819 20.163-9.49l11.48-12.883a2.447 2.447 0 0 0-.195-3.452l-8.151-7.27 12.923-13.952c1.812-2.026 1.433-5.315-.84-7.352v.01Zm-18.893 41.65c-4.178 4.684-10.128 7.474-16.753 7.851-7.803.448-15.852-2.485-22.078-8.045-11.992-10.702-14.07-28.034-4.629-38.635l9.83-11.028 43.48 38.808-9.85 11.059v-.01Z\"/>"
}
8 changes: 8 additions & 0 deletions icons/src/Connection/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 ConnectionIcon: React.FC<IconProps> = props => {
return <Icon alt="Connection" 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 @@ -61,6 +61,7 @@ export declare const CommentOutlineIcon: React.FC<IconProps>
export declare const CommonAreaIcon: React.FC<IconProps>
export declare const CompassIcon: React.FC<IconProps>
export declare const ComputerIcon: React.FC<IconProps>
export declare const ConnectionIcon: React.FC<IconProps>
export declare const ContractIcon: React.FC<IconProps>
export declare const ControlBackwardIcon: React.FC<IconProps>
export declare const ControlForwardIcon: 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 @@ -59,6 +59,7 @@ export { CommentOutlineIcon } from './CommentOutline'
export { CommonAreaIcon } from './CommonArea'
export { CompassIcon } from './Compass'
export { ComputerIcon } from './Computer'
export { ConnectionIcon } from './Connection'
export { ContractIcon } from './Contract'
export { ControlBackwardIcon } from './ControlBackward'
export { ControlForwardIcon } from './ControlForward'
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 @@ -289,5 +289,6 @@
"mobile": "0xF220",
"tablet": "0xF221",
"certified": "0xF222",
"masonry_2": "0xF223"
"masonry_2": "0xF223",
"connection": "0xF224"
}
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 @@ -139,6 +139,7 @@ export const miscellaneous: IconProps['name'][] = [
'update',
'success',
'certified',
'connection',
]

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