Skip to content

Commit 4660fb1

Browse files
Merge pull request #375 from nginformatica/feat/add-trophy-icon
Feat/add trophy icon
2 parents fda7f4d + cef4f55 commit 4660fb1

File tree

7 files changed

+723
-666
lines changed

7 files changed

+723
-666
lines changed

package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flipper-ui",
3-
"version": "0.35.12",
3+
"version": "0.35.13",
44
"description": "React UI based on the @mui/material toolkit for the web",
55
"main": "dist/index.js",
66
"author": "NG",
@@ -38,7 +38,7 @@
3838
"@mui/x-date-pickers": "7.28.2",
3939
"ramda": "0.30.1",
4040
"react-loading-skeleton": "3.5.0",
41-
"react-number-format": "5.4.3"
41+
"react-number-format": "5.4.4"
4242
},
4343
"devDependencies": {
4444
"@babel/cli": "7.27.0",
@@ -47,34 +47,34 @@
4747
"@babel/preset-env": "7.26.9",
4848
"@babel/preset-react": "7.26.3",
4949
"@babel/preset-typescript": "7.27.0",
50-
"@faker-js/faker": "9.6.0",
51-
"@storybook/addon-essentials": "8.6.11",
52-
"@storybook/addon-webpack5-compiler-babel": "3.0.5",
53-
"@storybook/blocks": "8.6.11",
54-
"@storybook/react": "8.6.11",
55-
"@storybook/react-webpack5": "8.6.11",
50+
"@faker-js/faker": "9.7.0",
51+
"@storybook/addon-essentials": "8.6.12",
52+
"@storybook/addon-webpack5-compiler-babel": "3.0.6",
53+
"@storybook/blocks": "8.6.12",
54+
"@storybook/react": "8.6.12",
55+
"@storybook/react-webpack5": "8.6.12",
5656
"@stylistic/eslint-plugin": "4.2.0",
5757
"@testing-library/dom": "10.4.0",
5858
"@testing-library/jest-dom": "6.6.3",
59-
"@testing-library/react": "16.2.0",
59+
"@testing-library/react": "16.3.0",
6060
"@testing-library/user-event": "14.6.1",
6161
"@types/jest": "29.5.14",
62-
"@types/node": "22.13.14",
62+
"@types/node": "22.14.1",
6363
"@types/ramda": "0.30.2",
6464
"@types/react": "18.3.12",
6565
"@types/uuid": "10.0.0",
66-
"@typescript-eslint/eslint-plugin": "8.28.0",
67-
"@typescript-eslint/parser": "8.28.0",
66+
"@typescript-eslint/eslint-plugin": "8.31.0",
67+
"@typescript-eslint/parser": "8.31.0",
6868
"babel-loader": "10.0.0",
6969
"babel-plugin-import": "1.13.8",
7070
"babel-plugin-module-resolver": "5.0.2",
7171
"date-fns": "4.1.0",
72-
"eslint": "9.23.0",
73-
"eslint-config-prettier": "10.1.1",
74-
"eslint-import-resolver-typescript": "4.2.7",
72+
"eslint": "9.25.1",
73+
"eslint-config-prettier": "10.1.2",
74+
"eslint-import-resolver-typescript": "4.3.4",
7575
"eslint-plugin-import": "2.31.0",
76-
"eslint-plugin-prettier": "5.2.5",
77-
"eslint-plugin-react": "7.37.4",
76+
"eslint-plugin-prettier": "5.2.6",
77+
"eslint-plugin-react": "7.37.5",
7878
"eslint-plugin-react-hooks": "5.2.0",
7979
"fs-extra": "11.3.0",
8080
"identity-obj-proxy": "3.0.0",
@@ -83,14 +83,14 @@
8383
"prettier": "3.5.3",
8484
"react": "18.3.1",
8585
"react-dom": "18.3.1",
86-
"storybook": "8.6.11",
87-
"styled-components": "6.1.16",
88-
"ts-jest": "29.3.0",
86+
"storybook": "8.6.12",
87+
"styled-components": "6.1.17",
88+
"ts-jest": "29.3.2",
8989
"ts-loader": "9.5.2",
90-
"typescript": "5.8.2",
91-
"typescript-eslint": "8.28.0",
90+
"typescript": "5.8.3",
91+
"typescript-eslint": "8.31.0",
9292
"uuid": "11.1.0",
93-
"webpack": "5.98.0"
93+
"webpack": "5.99.6"
9494
},
9595
"peerDependencies": {
9696
"date-fns": "^4.0.0",

src/icons/specific/IconBrigades.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export const IconBrigades = ({
3636
viewBox={viewBox || '0 0 24 24'}
3737
xmlns='http://www.w3.org/2000/svg'>
3838
<path
39-
fill-rule='evenodd'
40-
clip-rule='evenodd'
39+
fillRule='evenodd'
40+
clipRule='evenodd'
4141
fill={color || primary.main}
4242
d='M14.7653 1.51859C17.3043 2.76165 19.2562 5.48571 19.5935 8.73582C22.2418 9.94755 24 11.7636 24 13.7926C24 16.094 21.2643 18.1166 17.957 19.3001C16.5892 22.1401 14.3157 24 11.7423 24C9.0972 24 6.7706 22.0368 5.41523 19.0622C2.39532 17.8568 0 15.9468 0 13.7926C0 11.9108 1.50839 10.2137 3.83812 9.01134C4.09421 5.57026 6.16162 2.68023 8.85049 1.44345L8.93169 2.83053C9.03787 2.76791 9.14404 2.71154 9.25023 2.65832L9.78113 0.544814C9.85608 0.25362 10.0435 0 10.362 0H13.1977C13.5163 0 13.7005 0.25362 13.7755 0.544814L14.3532 2.7178C14.4593 2.7773 14.5655 2.83679 14.6717 2.90255L14.7653 1.51859ZM11.7579 7.56165C10.8055 7.55225 10.209 6.11194 10.2027 5.15695C10.1996 4.58396 11.1708 4.40548 11.7423 4.40862C12.3264 4.41488 13.3101 4.60274 13.3132 5.19139C13.3195 6.13699 12.7011 7.57417 11.7579 7.56165ZM17.3668 12.1676V12.8657H18.1663C18.9314 12.9002 19.5373 13.4732 19.5373 14.1745C19.5373 14.8979 18.8908 15.4834 18.0945 15.4834C17.954 15.4834 17.8165 15.4646 17.6854 15.4301C16.5393 19.5851 13.8566 22.5221 11.7267 22.5221C9.60625 22.5221 6.93611 19.607 5.78374 15.4802C5.74939 15.4834 5.71815 15.4834 5.68692 15.4834C4.89057 15.4834 4.24412 14.8979 4.24412 14.1745C4.24412 13.5765 4.68757 13.0693 5.29343 12.9158H6.18035V12.1143C8.81926 10.7773 15.0339 10.8556 17.3668 12.1676Z'
4343
/>

src/icons/specific/IconImageRemove.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export const IconImageRemove = ({
1717
viewBox={viewBox || '0 0 24 21'}
1818
xmlns='http://www.w3.org/2000/svg'>
1919
<path
20-
fill-rule='evenodd'
21-
clip-rule='evenodd'
20+
fillRule='evenodd'
21+
clipRule='evenodd'
2222
fill={color || primary.main}
2323
d='M2.05331 0H20.3241C21.2762 0 22.0553 0.764719 22.0553 1.69959V6.96518L19.8977 9.33496V3.2536C19.8977 2.62854 19.378 2.11834 18.7412 2.11834H3.31457C2.6778 2.11834 2.15804 2.62854 2.15804 3.2536V11.2943L8.04134 5.44496L11.0331 8.56622L13.8271 5.61298L15.412 7.16865L11.0668 11.7135L7.93276 8.63688L2.15804 14.4124V15.5728C2.15804 16.1978 2.6778 16.708 3.31457 16.708H12.0668L10.1385 18.8259H1.73168C0.779536 18.8259 0.000488281 18.0612 0.000488281 17.1265V2.01578C0.000488281 0.907218 0.924223 0.000472632 2.05355 0.000472632L2.05331 0ZM21.2897 10.3332L18.5671 12.9598L15.8913 10.2873L13.1336 12.9478L15.8094 15.6205L13.0868 18.2472L15.7971 20.9542L18.5197 18.3275L21.1956 21L23.9533 18.3396L21.2774 15.6671L24 13.0404L21.2897 10.3334V10.3332ZM4.86713 3.65699C5.4673 3.65699 5.95409 4.13459 5.95409 4.72396C5.95409 5.3131 5.46754 5.79093 4.86713 5.79093C4.26695 5.79093 3.78017 5.31333 3.78017 4.72396C3.78017 4.13482 4.26671 3.65699 4.86713 3.65699Z'
2424
/>

src/icons/specific/IconImageUpdate.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export const IconImageUpdate = ({
1717
viewBox={viewBox || '0 0 24 21'}
1818
xmlns='http://www.w3.org/2000/svg'>
1919
<path
20-
fill-rule='evenodd'
21-
clip-rule='evenodd'
20+
fillRule='evenodd'
21+
clipRule='evenodd'
2222
fill={color || primary.main}
2323
d='M4.99599 3.63888C5.58874 3.63888 6.06935 4.11099 6.06935 4.69326C6.06935 5.27552 5.58874 5.74763 4.99599 5.74763C4.40323 5.74763 3.92262 5.27552 3.92262 4.69326C3.92262 4.11099 4.40323 3.63888 4.99599 3.63888ZM15.5322 14.6246C13.7535 16.3964 13.5527 16.6672 12.8516 18.7102C12.4506 19.9164 12.15 20.95 12.175 20.999C12.2249 21.0236 13.2271 20.7528 14.4046 20.3839C16.434 19.7688 16.7097 19.5961 18.7391 17.6521L21.2175 15.3124L18.0045 12.3215L15.5322 14.6251V14.6246ZM19.8666 10.2933C19.3884 10.8057 18.9158 11.3254 18.7989 11.5023L21.9747 14.4469L22.9237 13.4925C23.8255 12.6066 24.0008 12.3113 24.0008 11.45C24.0008 10.1702 23.049 9.25974 21.7207 9.25974C21.0191 9.25974 20.6686 9.45645 19.8666 10.2933ZM2.02751 0.00041199H20.0697C21.0102 0.00041199 21.7792 0.756247 21.7792 1.67963V7.93969H19.6485V3.21491C19.6485 2.597 19.1353 2.09296 18.5063 2.09296H3.27286C2.64383 2.09296 2.1307 2.597 2.1307 3.21491V11.4162L8.21937 5.44446L11.6015 8.7668L14.4828 5.93647L18.463 9.86376L16.7375 11.5721L14.4828 9.40646L13.3803 10.4895L15.585 12.7043L13.8642 14.4099L8.09404 9.01258L2.1307 14.7491V15.3874C2.1307 16.0053 2.64383 16.5094 3.27286 16.5094H11.5299L11.1002 18.6024H1.70946C0.768976 18.6024 0 17.8465 0 16.9232V1.99067C0 0.895102 0.912216 -0.000976562 2.02751 -0.000976562V0.00041199Z'
2424
/>

src/icons/specific/IconTrophy.tsx

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import React from 'react'
2+
import type { IIconProps } from '../utils'
3+
4+
export const IconTrophy = ({ width, height, viewBox }: IIconProps) => (
5+
<svg
6+
fill='none'
7+
width={width || 24}
8+
height={height || 24}
9+
viewBox={viewBox || '0 0 24 24'}
10+
xmlns='http://www.w3.org/2000/svg'>
11+
<path
12+
fill='#FED953'
13+
d='M8.4578 10.8763C4.56956 10.8763 1.4062 7.71301 1.4062 3.82477V3.0166H11.9999V1.61035H0.703125C0.314812 1.61035 0 1.92516 0 2.31348V3.82477C0 8.48841 3.79416 12.2826 8.45784 12.2826H11.9999V10.8763H8.4578Z'
14+
/>
15+
<path
16+
fill='#FEBF5D'
17+
d='M23.2968 1.61035H12V3.0166H22.5937V3.82477C22.5937 7.71301 19.4304 10.8763 15.5421 10.8763H12V12.2826H15.5422C20.2058 12.2826 24 8.48841 24 3.82477V2.31348C23.9999 1.92516 23.6851 1.61035 23.2968 1.61035Z'
18+
/>
19+
<path
20+
fill='#FFED8F'
21+
d='M3.84668 0C3.45837 0 3.14355 0.314812 3.14355 0.703125C3.14355 3.31373 3.60059 5.85591 4.46524 8.05486C5.32127 10.2319 6.54002 11.9894 7.98973 13.1372C9.20309 14.0979 9.89899 15.5142 9.89899 17.0229V21.3857C9.89899 21.774 10.2138 22.0889 10.6021 22.0889H11.9998L12.9373 7.65516L11.9998 0H3.84668Z'
22+
/>
23+
<path
24+
fill='#FED953'
25+
d='M20.1532 0H12V22.0889H13.3978C13.7861 22.0889 14.1009 21.774 14.1009 21.3857V17.0229C14.1009 15.5142 14.7968 14.0979 16.0102 13.1372C17.4599 11.9893 18.6786 10.2319 19.5347 8.05486C20.3993 5.85591 20.8563 3.31373 20.8563 0.703125C20.8563 0.314812 20.5415 0 20.1532 0Z'
26+
/>
27+
<path
28+
fill='#FED953'
29+
d='M7.22705 19.7812C6.83874 19.7812 6.52393 20.0961 6.52393 20.4844V23.2969L11.9999 23.5312L12.4687 22.5938L11.9999 19.7812H7.22705Z'
30+
/>
31+
<path
32+
fill='#FEBF5D'
33+
d='M16.7729 19.7812H12V23.5312L17.476 23.2969V20.4844C17.476 20.0961 17.1612 19.7812 16.7729 19.7812Z'
34+
/>
35+
<path
36+
fill='#FFED8F'
37+
d='M5.8208 22.5938C5.43249 22.5938 5.11768 22.9086 5.11768 23.2969C5.11768 23.6852 5.43249 24 5.8208 24H11.9999L12.9374 23.2976L11.9999 22.5938H5.8208Z'
38+
/>
39+
<path
40+
fill='#FED953'
41+
d='M18.1792 22.5938H12V24H18.1792C18.5675 24 18.8823 23.6852 18.8823 23.2969C18.8823 22.9086 18.5675 22.5938 18.1792 22.5938Z'
42+
/>
43+
</svg>
44+
)

src/icons/specific/IconWorkPermission.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export const IconWorkPermission = ({
2020
viewBox={viewBox || '0 0 120 125'}
2121
xmlns='http://www.w3.org/2000/svg'>
2222
<path
23-
fill-rule='evenodd'
24-
clip-rule='evenodd'
23+
fillRule='evenodd'
24+
clipRule='evenodd'
2525
fill={color || primary.main}
2626
fill-opacity={opacity || '0.1'}
2727
d='M24.5449 96.5662L16.2114 99.8265C14.8225 100.251 13.2435 99.8265 12.4833 98.4815L0.363138 78.1009C-0.32401 76.8729 -0.0169863 75.2208 1.12339 74.3582L13.9307 64.665C13.609 62.8229 13.4921 60.8053 13.4921 58.9047C13.4921 57.004 13.7406 54.9718 14.0622 53.1443L1.25497 43.4511C-0.00236628 42.5886 -0.265529 40.995 0.49472 39.7084L12.5417 19.3279C13.302 17.9828 14.881 17.4857 16.2699 17.9828L31.3433 23.8747C34.4281 21.6086 37.8346 19.5764 41.5628 18.0998L43.8289 2.51467C44.0774 1.03803 45.2763 0 46.7968 0H71.0224C72.5429 0 73.8003 1.03803 74.0488 2.51467L76.3149 18.0998C80.0431 19.5764 83.3765 21.5355 86.5344 23.8747L101.608 17.9828C102.997 17.5588 104.576 17.9828 105.336 19.3279L117.456 39.7084C118.143 40.9365 117.836 42.5886 116.696 43.4511L103.889 53.1443C103.962 53.5537 104.02 53.9631 104.079 54.387C103.523 54.7818 102.982 55.235 102.485 55.7467L92.865 65.4545C93.479 62.8814 93.8007 60.2059 93.8007 57.4427C93.8007 38.2756 78.274 22.749 59.107 22.749C39.9399 22.749 24.4133 38.2756 24.4133 57.4427C24.4133 66.1124 27.6005 74.0512 32.8638 80.1332C30.9193 80.718 29.1503 81.7706 27.659 83.2765C25.2759 85.6888 24.0478 88.8029 23.9601 92.1656C23.9162 93.6861 24.1209 95.1773 24.5595 96.5809L24.5449 96.5662ZM60.4813 104.344L42.63 86.3321C41.0218 84.7093 38.9604 83.9344 36.6943 83.9344C34.4135 83.9344 32.3667 84.7093 30.7585 86.3321C29.1503 87.9549 28.39 90.0164 28.3169 92.2679C28.2584 94.5633 28.9894 96.7417 30.6123 98.3791L54.5455 122.532C55.3642 123.35 56.3292 124.008 57.4257 124.403C58.4052 124.754 59.4433 124.929 60.4959 124.929C61.5339 124.929 62.572 124.754 63.5515 124.403C64.648 124.008 65.613 123.35 66.4317 122.532L117.632 70.8493C119.254 69.2119 120 67.1066 120 64.8112C120 62.5158 119.269 60.4252 117.632 58.7877C116.009 57.1502 113.918 56.39 111.623 56.39C109.327 56.39 107.237 57.1502 105.614 58.7877L60.4959 104.33L60.4813 104.344Z'

0 commit comments

Comments
 (0)