Skip to content

Commit

Permalink
feat: add Extend icon (#2632)
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil authored Dec 3, 2024
1 parent f6fc9c2 commit 4d49b40
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions icons/_assets/extend.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/Extend/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=\"M42.503 80.49a4.193 4.193 0 0 1 4.342 4.037 4.185 4.185 0 0 1-4.044 4.326l-25.564.883a4.195 4.195 0 0 1-4.34-4.037 4.187 4.187 0 0 1 4.046-4.328l25.56-.88Z\"/><path fill=\"currentColor\" d=\"M12.003 60.241a4.182 4.182 0 0 1 4.041-4.323 4.19 4.19 0 0 1 4.336 4.037l.9 25.46a4.18 4.18 0 0 1-4.038 4.322 4.192 4.192 0 0 1-4.338-4.032l-.901-25.464Z\"/><path fill=\"currentColor\" d=\"M40.877 54.015a4.207 4.207 0 0 1 5.93-.205 4.169 4.169 0 0 1 .208 5.907l-26.85 28.692a4.204 4.204 0 0 1-5.93.205 4.172 4.172 0 0 1-.208-5.91l26.85-28.69ZM57.783 19.25a4.194 4.194 0 0 1-4.343-4.039 4.185 4.185 0 0 1 4.044-4.325l25.565-.883a4.196 4.196 0 0 1 4.34 4.038 4.186 4.186 0 0 1-4.045 4.326l-25.56.882Z\"/><path fill=\"currentColor\" d=\"M88.282 39.499a4.182 4.182 0 0 1-4.041 4.323 4.19 4.19 0 0 1-4.335-4.036l-.902-25.46a4.18 4.18 0 0 1 4.04-4.324 4.191 4.191 0 0 1 4.337 4.033l.901 25.464Z\"/><path fill=\"currentColor\" d=\"M59.408 45.724a4.204 4.204 0 0 1-5.928.206 4.168 4.168 0 0 1-.208-5.907L80.12 11.33a4.207 4.207 0 0 1 5.931-.203 4.17 4.17 0 0 1 .209 5.908l-26.852 28.69Z\"/>"
}
8 changes: 8 additions & 0 deletions icons/src/Extend/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 ExtendIcon: React.FC<IconProps> = props => {
return <Icon alt="Extend" 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 @@ -102,6 +102,7 @@ export declare const EqualIcon: React.FC<IconProps>
export declare const EuroCurrencyIcon: React.FC<IconProps>
export declare const ExpandIcon: React.FC<IconProps>
export declare const ExpandTextIcon: React.FC<IconProps>
export declare const ExtendIcon: React.FC<IconProps>
export declare const ExternalLinkIcon: React.FC<IconProps>
export declare const FacebookIcon: React.FC<IconProps>
export declare const FactoryIcon: 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 @@ -100,6 +100,7 @@ export { EqualIcon } from './Equal'
export { EuroCurrencyIcon } from './EuroCurrency'
export { ExpandIcon } from './Expand'
export { ExpandTextIcon } from './ExpandText'
export { ExtendIcon } from './Extend'
export { ExternalLinkIcon } from './ExternalLink'
export { FacebookIcon } from './Facebook'
export { FactoryIcon } from './Factory'
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 @@ -296,5 +296,6 @@
"arrow_line_down": "0xF228",
"arrow_line_up": "0xF229",
"symbol": "0xF22A",
"thunderclock": "0xF22B"
"thunderclock": "0xF22B",
"extend": "0xF22C"
}
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 @@ -35,6 +35,7 @@ export const actions: IconProps['name'][] = [
'collapse',
'expand',
'expand_text',
'extend',
'external_link',
'heart',
'heart_outline',
Expand Down

0 comments on commit 4d49b40

Please sign in to comment.