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 new Salary icon #2124

Merged
merged 1 commit into from
Jul 17, 2023
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 docs/components/IconsList/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export const miscellaneous = [
'review',
'review_outline',
'salary',
'euro_currency',
'source',
'question',
'anniversary',
Expand Down
2 changes: 2 additions & 0 deletions docs/pages/upgrade.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ We renamed some icons:
- `<ChevronIcon>` become `<CodeIcon>`
- `<DuplicateIcon>` become `<CopyIcon>`
- `<TagsIcon>` become `<TagIcon>`
- `<SalaryIcon>` become `<EuroCurrencyIcon>`
- new `<SalaryIcon>` icon

### Link

Expand Down
1 change: 1 addition & 0 deletions icons/_assets/euro_currency.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion icons/_assets/salary.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/EuroCurrency/content.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"width": 15,
"height": 15,
"block": "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M49.73 2.314C62.657.854 74.808 4.511 83.948 12.617 93.01 20.655 98 32.097 98 44.834c0 26.162-21.412 49.871-47.732 52.852-1.863.21-3.71.314-5.535.314-10.83 0-20.858-3.68-28.68-10.619C6.99 79.344 2 67.902 2 55.165 2 29.003 23.412 5.294 49.73 2.315Zm5.52 4.405c-1.64 0-3.304.093-4.982.283C26.272 9.72 6.748 31.324 6.748 55.165c0 11.376 4.428 21.566 12.465 28.696 8.118 7.2 18.956 10.447 30.518 9.136 23.997-2.718 43.521-24.324 43.521-48.163 0-11.376-4.428-21.566-12.465-28.696-6.94-6.156-15.868-9.42-25.536-9.42Zm-3.724 17.004c5.537-.625 10.871.46 15.43 3.137a3.327 3.327 0 0 1 1.184 4.582c-.951 1.588-3.025 2.113-4.627 1.17-3.282-1.925-7.16-2.701-11.223-2.244-7.294.823-13.677 5.405-17.224 11.555l16.1-1.817c1.857-.212 3.528 1.11 3.74 2.945.21 1.835-1.122 3.492-2.974 3.7L32.455 48.95a20.45 20.45 0 0 0-.349 3.663c0 .97.093 1.913.233 2.838l18.828-2.125a3.367 3.367 0 0 1 3.739 2.945c.21 1.835-1.122 3.492-2.974 3.7l-17.248 1.946c.83 1.336 1.83 2.56 3.03 3.62 3.656 3.231 8.565 4.684 13.812 4.093 4.15-.468 8.15-2.183 11.567-4.96a3.4 3.4 0 0 1 4.752.462 3.322 3.322 0 0 1-.469 4.708c-4.424 3.595-9.642 5.821-15.086 6.435a27.346 27.346 0 0 1-3.066.174c-6.033 0-11.63-2.052-16.009-5.923a22.876 22.876 0 0 1-5.737-7.796l-5.065.573c-.13.014-.26.021-.387.021-1.694 0-3.154-1.26-3.351-2.966-.21-1.835 1.12-3.492 2.973-3.7l3.982-.45c-.164-1.176-.278-2.37-.278-3.595 0-.968.064-1.928.168-2.88l-3.107.35c-.13.014-.26.021-.387.021-1.694 0-3.154-1.259-3.351-2.965-.21-1.836 1.12-3.493 2.973-3.702l5.582-.63c3.86-9.997 13.285-17.841 24.296-19.084Z\" clip-rule=\"evenodd\"/>"
}
8 changes: 8 additions & 0 deletions icons/src/EuroCurrency/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 EuroCurrencyIcon: React.FC<IconProps> = props => {
return <Icon alt="EuroCurrency" content={content} {...props} />
}
2 changes: 1 addition & 1 deletion icons/src/Salary/content.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"width": 15,
"height": 15,
"block": "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M49.73 2.314C62.657.854 74.808 4.511 83.948 12.617 93.01 20.655 98 32.097 98 44.834c0 26.162-21.412 49.871-47.732 52.852-1.863.21-3.71.314-5.535.314-10.83 0-20.858-3.68-28.68-10.619C6.99 79.344 2 67.902 2 55.165 2 29.003 23.412 5.294 49.73 2.315Zm5.52 4.405c-1.64 0-3.304.093-4.982.283C26.272 9.72 6.748 31.324 6.748 55.165c0 11.376 4.428 21.566 12.465 28.696 8.118 7.2 18.956 10.447 30.518 9.136 23.997-2.718 43.521-24.324 43.521-48.163 0-11.376-4.428-21.566-12.465-28.696-6.94-6.156-15.868-9.42-25.536-9.42Zm-3.724 17.004c5.537-.625 10.871.46 15.43 3.137a3.327 3.327 0 0 1 1.184 4.582c-.951 1.588-3.025 2.113-4.627 1.17-3.282-1.925-7.16-2.701-11.223-2.244-7.294.823-13.677 5.405-17.224 11.555l16.1-1.817c1.857-.212 3.528 1.11 3.74 2.945.21 1.835-1.122 3.492-2.974 3.7L32.455 48.95a20.45 20.45 0 0 0-.349 3.663c0 .97.093 1.913.233 2.838l18.828-2.125a3.367 3.367 0 0 1 3.739 2.945c.21 1.835-1.122 3.492-2.974 3.7l-17.248 1.946c.83 1.336 1.83 2.56 3.03 3.62 3.656 3.231 8.565 4.684 13.812 4.093 4.15-.468 8.15-2.183 11.567-4.96a3.4 3.4 0 0 1 4.752.462 3.322 3.322 0 0 1-.469 4.708c-4.424 3.595-9.642 5.821-15.086 6.435a27.346 27.346 0 0 1-3.066.174c-6.033 0-11.63-2.052-16.009-5.923a22.876 22.876 0 0 1-5.737-7.796l-5.065.573c-.13.014-.26.021-.387.021-1.694 0-3.154-1.26-3.351-2.966-.21-1.835 1.12-3.492 2.973-3.7l3.982-.45c-.164-1.176-.278-2.37-.278-3.595 0-.968.064-1.928.168-2.88l-3.107.35c-.13.014-.26.021-.387.021-1.694 0-3.154-1.259-3.351-2.965-.21-1.836 1.12-3.493 2.973-3.702l5.582-.63c3.86-9.997 13.285-17.841 24.296-19.084Z\" clip-rule=\"evenodd\"/>"
"block": "<path fill=\"currentColor\" d=\"M96.854 19.269c-16.003-9.682-31.826-4.07-47.141 1.35-14.927 5.291-29.026 10.282-43.116 1.76a2.354 2.354 0 0 0-2.391-.03A2.369 2.369 0 0 0 3 24.42v54.27c0 .83.438 1.61 1.146 2.04C10.483 84.56 16.79 86 23.048 86c9.546 0 18.992-3.34 28.24-6.621 14.926-5.291 29.025-10.282 43.115-1.76.727.44 1.644.46 2.391.03A2.369 2.369 0 0 0 98 75.579v-54.27c0-.83-.438-1.61-1.146-2.04Zm-3.597 52.339c-14.777-6.912-29.385-1.74-43.544 3.28-14.528 5.141-28.269 10.012-41.96 2.43V28.38c14.777 6.912 29.385 1.74 43.544-3.28 14.518-5.141 28.259-10.012 41.96-2.43v48.937ZM82.894 28.35c-.04-.2-.05-.41-.05-.6a3.095 3.095 0 0 1 1.355-2.54c.16-.11.34-.2.529-.29.179-.08.368-.14.568-.18.388-.08.797-.08 1.195 0 .19.04.379.09.568.18.18.08.349.18.528.29.16.11.33.23.459.38.568.57.896 1.36.896 2.16a3.091 3.091 0 0 1-1.355 2.54c-.18.11-.349.2-.528.27a3.105 3.105 0 0 1-1.166.25c-.199 0-.408-.03-.597-.07-.2-.04-.39-.09-.569-.18a2.41 2.41 0 0 1-.528-.27 3.487 3.487 0 0 1-.458-.38c-.15-.14-.269-.3-.379-.46a6.92 6.92 0 0 1-.289-.53c-.08-.19-.14-.38-.179-.57Zm-6.576-2.7a2.381 2.381 0 0 0-1.794-.63c-8.38.65-16.73 3.61-24.811 6.47-7.792 2.761-15.843 5.612-23.606 6.222a2.382 2.382 0 0 0-2.192 2.37c0 2.39-1.086 4.771-2.83 6.211-.946.78-2.51 1.62-4.593 1.2a2.377 2.377 0 0 0-1.973.49 2.387 2.387 0 0 0-.867 1.841v11.902c0 1.13.797 2.11 1.903 2.33 3.856.79 8.37 3.49 8.37 8.542 0 .66.28 1.3.757 1.75a2.36 2.36 0 0 0 1.615.63h.179c8.38-.65 16.73-3.61 24.811-6.47 7.792-2.761 15.843-5.612 23.596-6.222a2.382 2.382 0 0 0 2.192-2.37c0-2.4 1.086-4.771 2.83-6.211.946-.78 2.52-1.62 4.593-1.19.698.14 1.425-.04 1.973-.49s.867-1.13.867-1.841V38.282c0-1.13-.797-2.11-1.903-2.33-3.866-.79-8.37-3.5-8.37-8.542 0-.66-.28-1.3-.757-1.75l.01-.01Zm6.287 14.472v7.552c-2.043.17-4.006.96-5.69 2.35-2.321 1.9-3.886 4.69-4.394 7.721-7.702.93-15.375 3.64-22.808 6.271-7.025 2.49-14.28 5.061-21.324 5.981-1.016-4.67-4.723-8.451-9.994-10.101v-7.552c2.043-.16 4.006-.96 5.69-2.35 2.321-1.9 3.886-4.69 4.394-7.721 7.702-.93 15.375-3.64 22.808-6.281 7.025-2.49 14.27-5.051 21.324-5.981 1.016 4.67 4.723 8.451 9.994 10.101v.01Zm-24.672-.02c-2.222-1.57-5.22-1.86-8.23-.78-5.6 2.01-9.984 7.971-9.984 13.572 0 2.961 1.225 5.511 3.358 7.022 1.335.94 2.949 1.42 4.673 1.42 1.156 0 2.351-.21 3.557-.65 5.6-2.01 9.984-7.972 9.984-13.572 0-2.961-1.225-5.521-3.348-7.022l-.01.01Zm-8.23 16.103c-1.555.56-2.94.49-3.896-.19-.867-.61-1.345-1.72-1.345-3.13 0-3.601 3.128-7.752 6.835-9.082.698-.25 1.365-.38 1.973-.38.747 0 1.405.19 1.933.56.867.61 1.335 1.72 1.335 3.13 0 3.591-3.128 7.752-6.835 9.082v.01ZM18.106 71.658c.04.2.05.39.05.6a3.068 3.068 0 0 1-3.05 3.06c-.189 0-.388-.01-.597-.05-.19-.04-.379-.09-.568-.18a3.8 3.8 0 0 1-.528-.29 2.35 2.35 0 0 1-.459-.38 3.056 3.056 0 0 1-.896-2.16c0-.2.03-.39.07-.6.04-.19.099-.38.159-.57.08-.19.18-.37.289-.53.11-.16.239-.33.378-.46.14-.14.3-.27.459-.38.16-.11.338-.2.528-.29.19-.07.378-.14.568-.18a3.43 3.43 0 0 1 1.195 0 3.012 3.012 0 0 1 1.097.47c.159.11.328.24.458.38.15.14.269.3.379.46.11.16.199.34.289.53.08.19.14.38.179.57Zm-5.979-32.136c-.04-.2-.07-.41-.07-.61 0-.19.03-.39.07-.59.04-.2.1-.39.16-.58.08-.18.18-.35.289-.52.11-.18.239-.33.378-.48.14-.14.3-.26.459-.38.16-.11.338-.2.528-.27.19-.08.378-.14.568-.18.388-.08.797-.08 1.195 0 .19.04.39.1.569.18.189.07.368.16.528.27.159.12.328.25.458.38.568.57.897 1.36.897 2.16 0 .2-.01.41-.05.61-.04.19-.1.38-.18.57-.08.18-.179.35-.288.52-.11.18-.23.33-.379.48-.14.14-.299.26-.458.38-.16.11-.34.2-.528.27-.18.08-.38.14-.569.18a2.87 2.87 0 0 1-.597.07c-.19 0-.389-.03-.598-.07-.19-.04-.379-.09-.568-.18-.19-.07-.369-.16-.528-.27-.16-.12-.33-.24-.459-.38-.14-.15-.269-.3-.378-.48-.11-.16-.2-.34-.29-.52a4.184 4.184 0 0 1-.159-.57v.01Zm75.909 19.413c.568.57.897 1.36.897 2.16 0 .801-.33 1.601-.897 2.161-.14.15-.3.27-.459.38a3.11 3.11 0 0 1-1.096.47c-.2.04-.408.05-.598.05-.199 0-.408-.01-.597-.05-.2-.04-.39-.09-.569-.18a1.82 1.82 0 0 1-.528-.29 2.404 2.404 0 0 1-.458-.38 3.056 3.056 0 0 1-.897-2.16c0-.81.33-1.59.897-2.16.14-.14.299-.26.458-.38.16-.11.34-.2.529-.27.179-.08.368-.14.567-.18.39-.08.798-.08 1.196 0 .19.04.379.1.568.18.18.07.369.16.528.27.16.12.33.25.459.38Z\"/>"
}
1 change: 1 addition & 0 deletions icons/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export declare const EmailIcon: React.FC<IconProps>
export declare const EmailOutlineIcon: React.FC<IconProps>
export declare const EotIcon: React.FC<IconProps>
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 ExternalLinkIcon: 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 @@ -91,6 +91,7 @@ export { EmailIcon } from './Email'
export { EmailOutlineIcon } from './EmailOutline'
export { EotIcon } from './Eot'
export { EqualIcon } from './Equal'
export { EuroCurrencyIcon } from './EuroCurrency'
export { ExpandIcon } from './Expand'
export { ExpandTextIcon } from './ExpandText'
export { ExternalLinkIcon } from './ExternalLink'
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 @@ -282,5 +282,6 @@
"zip": "0xF219",
"move": "0xF21A",
"tiktok": "0xF21B",
"flag_us": "0xF21C"
"flag_us": "0xF21C",
"euro_currency": "0xF21D"
}