Skip to content

Commit

Permalink
fix: fix icons tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi committed Oct 10, 2024
1 parent e964e96 commit 1344e7c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 25 deletions.
18 changes: 7 additions & 11 deletions packages/core/src/components/Icon/Icons/components/CloseMedium.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
/* eslint-disable */
/* tslint:disable */
import * as React from "react";
import * as React from 'react';
export interface CloseMediumProps extends React.SVGAttributes<SVGElement> {
size?: string | number;
size?: string | number;
}
const CloseMedium: React.FC<CloseMediumProps> = ({ size, ...props }) => (
<svg viewBox="0 0 20 20" fill="currentColor" width={size || "20"} height={size || "20"} {...props}>
<path
d="M5.28716 4.22653C4.99426 3.93364 4.51939 3.93365 4.2265 4.22654C3.93361 4.51944 3.93361 4.99431 4.22651 5.2872L8.9682 10.0288L4.22714 14.7698C3.93425 15.0626 3.93424 15.5375 4.22713 15.8304C4.52002 16.1233 4.9949 16.1233 5.28779 15.8304L10.0289 11.0894L14.7699 15.8304C15.0628 16.1233 15.5377 16.1233 15.8306 15.8304C16.1235 15.5375 16.1235 15.0626 15.8306 14.7698L11.0895 10.0288L15.8312 5.2872C16.1241 4.99431 16.1241 4.51944 15.8312 4.22654C15.5383 3.93365 15.0635 3.93364 14.7706 4.22653L10.0289 8.96815L5.28716 4.22653Z"
fill="currentColor"
fillRule="evenodd"
clipRule="evenodd"
/>
const CloseMedium: React.FC<CloseMediumProps> = ({size, ...props}) => (
<svg viewBox="0 0 20 20" fill="currentColor" width={ size || "20" } height={ size || "20" } {...props}>
<path d="M5.28716 4.22653C4.99426 3.93364 4.51939 3.93365 4.2265 4.22654C3.93361 4.51944 3.93361 4.99431 4.22651 5.2872L8.9682 10.0288L4.22714 14.7698C3.93425 15.0626 3.93424 15.5375 4.22713 15.8304C4.52002 16.1233 4.9949 16.1233 5.28779 15.8304L10.0289 11.0894L14.7699 15.8304C15.0628 16.1233 15.5377 16.1233 15.8306 15.8304C16.1235 15.5375 16.1235 15.0626 15.8306 14.7698L11.0895 10.0288L15.8312 5.2872C16.1241 4.99431 16.1241 4.51944 15.8312 4.22654C15.5383 3.93365 15.0635 3.93364 14.7706 4.22653L10.0289 8.96815L5.28716 4.22653Z"
fill="currentColor" fillRule="evenodd" clipRule="evenodd" />
</svg>
);
CloseMedium.displayName = "CloseMedium";
CloseMedium.displayName = 'CloseMedium';
export default CloseMedium;
/* tslint:enable */
/* eslint-enable */
18 changes: 7 additions & 11 deletions packages/core/src/components/Icon/Icons/components/Key.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
/* eslint-disable */
/* tslint:disable */
import * as React from "react";
import * as React from 'react';
export interface KeyProps extends React.SVGAttributes<SVGElement> {
size?: string | number;
size?: string | number;
}
const Key: React.FC<KeyProps> = ({ size, ...props }) => (
<svg viewBox="0 0 20 20" fill="currentColor" width={size || "20"} height={size || "20"} {...props}>
<path
d="M15.336 3.32813C15.535 3.32803 15.7259 3.40706 15.8667 3.5478L18.1054 5.78649C18.3983 6.07938 18.3983 6.55426 18.1054 6.84715C17.8125 7.14004 17.3376 7.14004 17.0447 6.84715L15.3369 5.13929L13.8163 6.66272L15.0669 7.91338C15.3598 8.20628 15.3598 8.68115 15.0669 8.97404C14.774 9.26694 14.2992 9.26694 14.0063 8.97404L12.7566 7.72438L9.89632 10.5901C10.415 11.3267 10.6988 12.2104 10.6988 13.1234C10.6988 14.2904 10.2352 15.4096 9.41003 16.2347C8.58486 17.0599 7.46569 17.5235 6.29873 17.5235C5.13176 17.5235 4.01259 17.0599 3.18743 16.2347C2.36226 15.4096 1.89868 14.2904 1.89868 13.1234C1.89868 11.9565 2.36226 10.8373 3.18743 10.0121C4.01259 9.18696 5.13176 8.72339 6.29873 8.72339C7.21347 8.72339 8.09885 9.00823 8.83628 9.5288L14.8055 3.5483C14.9461 3.40742 15.137 3.32822 15.336 3.32813ZM4.24809 11.0728C4.79195 10.5289 5.52959 10.2234 6.29873 10.2234C7.06787 10.2234 7.8055 10.5289 8.34937 11.0728C8.89323 11.6167 9.19877 12.3543 9.19877 13.1234C9.19877 13.8926 8.89323 14.6302 8.34937 15.1741C7.8055 15.7179 7.06787 16.0235 6.29873 16.0235C5.52959 16.0235 4.79195 15.7179 4.24809 15.1741C3.70422 14.6302 3.39868 13.8926 3.39868 13.1234C3.39868 12.3543 3.70422 11.6167 4.24809 11.0728Z"
fill="currentColor"
fillRule="evenodd"
clipRule="evenodd"
/>
const Key: React.FC<KeyProps> = ({size, ...props}) => (
<svg viewBox="0 0 20 20" fill="currentColor" width={ size || "20" } height={ size || "20" } {...props}>
<path d="M15.336 3.32813C15.535 3.32803 15.7259 3.40706 15.8667 3.5478L18.1054 5.78649C18.3983 6.07938 18.3983 6.55426 18.1054 6.84715C17.8125 7.14004 17.3376 7.14004 17.0447 6.84715L15.3369 5.13929L13.8163 6.66272L15.0669 7.91338C15.3598 8.20628 15.3598 8.68115 15.0669 8.97404C14.774 9.26694 14.2992 9.26694 14.0063 8.97404L12.7566 7.72438L9.89632 10.5901C10.415 11.3267 10.6988 12.2104 10.6988 13.1234C10.6988 14.2904 10.2352 15.4096 9.41003 16.2347C8.58486 17.0599 7.46569 17.5235 6.29873 17.5235C5.13176 17.5235 4.01259 17.0599 3.18743 16.2347C2.36226 15.4096 1.89868 14.2904 1.89868 13.1234C1.89868 11.9565 2.36226 10.8373 3.18743 10.0121C4.01259 9.18696 5.13176 8.72339 6.29873 8.72339C7.21347 8.72339 8.09885 9.00823 8.83628 9.5288L14.8055 3.5483C14.9461 3.40742 15.137 3.32822 15.336 3.32813ZM4.24809 11.0728C4.79195 10.5289 5.52959 10.2234 6.29873 10.2234C7.06787 10.2234 7.8055 10.5289 8.34937 11.0728C8.89323 11.6167 9.19877 12.3543 9.19877 13.1234C9.19877 13.8926 8.89323 14.6302 8.34937 15.1741C7.8055 15.7179 7.06787 16.0235 6.29873 16.0235C5.52959 16.0235 4.79195 15.7179 4.24809 15.1741C3.70422 14.6302 3.39868 13.8926 3.39868 13.1234C3.39868 12.3543 3.70422 11.6167 4.24809 11.0728Z"
fill="currentColor" fillRule="evenodd" clipRule="evenodd" />
</svg>
);
Key.displayName = "Key";
Key.displayName = 'Key';
export default Key;
/* tslint:enable */
/* eslint-enable */
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ export interface LearnMoreProps extends React.SVGAttributes<SVGElement> {
size?: string | number;
}
const LearnMore: React.FC<LearnMoreProps> = ({size, ...props}) => (
<svg viewBox="0 0 16 16" fill="currentColor" width={ size || "16" } height={ size || "16" } {...props}>
<path d="M8.09266 5.0028C7.84548 4.98784 7.60183 5.03316 7.3902 5.12898 7.17876 5.22472 7.01513 5.36333 6.90725 5.51843 6.80027 5.67224 6.75004 5.83853 6.75 5.99983 6.74991 6.41404 6.41405 6.74975 5.99984 6.74966 5.58562 6.74957 5.24991 6.41371 5.25 5.9995 5.2501 5.51916 5.40159 5.0562 5.67585 4.66191 5.9492 4.26891 6.33168 3.96167 6.7715 3.76252 7.21114 3.56347 7.69887 3.47623 8.18324 3.50554 8.6676 3.53484 9.1403 3.68022 9.54953 3.93347 9.95917 4.18697 10.2951 4.54279 10.5075 4.97188 10.7206 5.40247 10.797 5.88326 10.7218 6.35797 10.6466 6.83184 10.4257 7.26655 10.0981 7.61789 9.77128 7.96833 9.3506 8.2234 8.88832 8.36641 8.82444 8.38618 8.78559 8.41788 8.76681 8.44112 8.75774 8.45235 8.75368 8.46101 8.75191 8.46591 8.75191 8.5 8.75 8.47488 8.75 8.47488V8.75C8.75 9.16421 8.41421 9.5 8 9.5 7.58579 9.5 7.25 9.16421 7.25 8.75V8.47578C7.24989 8.11427 7.37852 7.77272 7.59989 7.49863 7.81992 7.22621 8.11879 7.03434 8.44501 6.93342 8.67409 6.86255 8.86427 6.74157 9.00107 6.59487 9.13703 6.44908 9.21464 6.28472 9.24028 6.12305 9.26578 5.9622 9.24141 5.79544 9.16311 5.63724 9.08407 5.47753 8.94924 5.32598 8.76018 5.20898 8.57072 5.09174 8.33985 5.01775 8.09266 5.0028zM7.44443 10.753C7.60888 10.6431 7.80222 10.5845 8 10.5845 8.26522 10.5845 8.51957 10.6898 8.70711 10.8774 8.89464 11.0649 9 11.3193 9 11.5845 9 11.7823 8.94135 11.9756 8.83147 12.14 8.72159 12.3045 8.56541 12.4327 8.38268 12.5084 8.19996 12.584 7.99889 12.6038 7.80491 12.5653 7.61093 12.5267 7.43274 12.4314 7.29289 12.2916 7.15304 12.1517 7.0578 11.9735 7.01922 11.7796 6.98063 11.5856 7.00043 11.3845 7.07612 11.2018 7.15181 11.0191 7.27998 10.8629 7.44443 10.753z"
<svg viewBox="0 0 20 20" fill="currentColor" width={ size || "20" } height={ size || "20" } {...props}>
<path d="M10.0946 7.0028C9.84743 6.98784 9.60379 7.03316 9.39215 7.12898 9.18071 7.22472 9.01709 7.36333 8.9092 7.51843 8.80222 7.67224 8.75199 7.83853 8.75195 7.99983 8.75186 8.41404 8.416 8.74975 8.00179 8.74966 7.58758 8.74957 7.25186 8.41371 7.25195 7.9995 7.25206 7.51916 7.40354 7.0562 7.6778 6.66191 7.95116 6.26891 8.33363 5.96167 8.77346 5.76252 9.21309 5.56347 9.70083 5.47623 10.1852 5.50554 10.6695 5.53484 11.1422 5.68022 11.5515 5.93347 11.9611 6.18697 12.2971 6.54279 12.5094 6.97188 12.7225 7.40247 12.799 7.88326 12.7237 8.35797 12.6486 8.83184 12.4277 9.26655 12.1 9.61789 11.7732 9.96833 11.3525 10.2234 10.8903 10.3664 10.8264 10.3862 10.7875 10.4179 10.7688 10.4411 10.7597 10.4524 10.7556 10.461 10.7539 10.4659 10.7539 10.5 10.752 10.4749 10.752 10.4749V10.75C10.752 11.1642 10.4162 11.5 10.002 11.5 9.58774 11.5 9.25195 11.1642 9.25195 10.75V10.4758C9.25184 10.1143 9.38047 9.77272 9.60184 9.49863 9.82187 9.22621 10.1207 9.03434 10.447 8.93342 10.676 8.86255 10.8662 8.74157 11.003 8.59487 11.139 8.44908 11.2166 8.28472 11.2422 8.12305 11.2677 7.9622 11.2434 7.79544 11.1651 7.63724 11.086 7.47753 10.9512 7.32598 10.7621 7.20898 10.5727 7.09174 10.3418 7.01775 10.0946 7.0028zM9.44638 12.753C9.61083 12.6431 9.80417 12.5845 10.002 12.5845 10.2672 12.5845 10.5215 12.6898 10.7091 12.8774 10.8966 13.0649 11.002 13.3193 11.002 13.5845 11.002 13.7823 10.9433 13.9756 10.8334 14.14 10.7235 14.3045 10.5674 14.4327 10.3846 14.5084 10.2019 14.584 10.0008 14.6038 9.80686 14.5653 9.61288 14.5267 9.4347 14.4314 9.29485 14.2916 9.15499 14.1517 9.05975 13.9735 9.02117 13.7796 8.98258 13.5856 9.00239 13.3845 9.07807 13.2018 9.15376 13.0191 9.28193 12.8629 9.44638 12.753z"
fill="currentColor" />
<path d="M2.36386 2.36386C3.85865 0.869064 5.88603 0.0292969 7.99999 0.0292969C10.1139 0.0292969 12.1413 0.869064 13.6361 2.36386C15.1309 3.85865 15.9707 5.88603 15.9707 7.99999C15.9707 10.1139 15.1309 12.1413 13.6361 13.6361C12.1413 15.1309 10.1139 15.9707 7.99999 15.9707C5.88603 15.9707 3.85865 15.1309 2.36386 13.6361C0.869064 12.1413 0.0292969 10.1139 0.0292969 7.99999C0.0292969 5.88603 0.869064 3.85865 2.36386 2.36386ZM7.99999 1.5293C6.28385 1.5293 4.63801 2.21103 3.42452 3.42452C2.21103 4.63801 1.5293 6.28385 1.5293 7.99999C1.5293 9.71612 2.21103 11.362 3.42452 12.5755C4.63801 13.7889 6.28385 14.4707 7.99999 14.4707C9.71612 14.4707 11.362 13.7889 12.5755 12.5755C13.7889 11.362 14.4707 9.71612 14.4707 7.99999C14.4707 6.28385 13.7889 4.63801 12.5755 3.42452C11.362 2.21103 9.71612 1.5293 7.99999 1.5293Z"
<path d="M4.36581 4.36386C5.86061 2.86906 7.88798 2.0293 10.0019 2.0293C12.1159 2.0293 14.1433 2.86906 15.6381 4.36386C17.1329 5.85865 17.9726 7.88603 17.9726 9.99999C17.9726 12.1139 17.1329 14.1413 15.6381 15.6361C14.1433 17.1309 12.1159 17.9707 10.0019 17.9707C7.88798 17.9707 5.86061 17.1309 4.36581 15.6361C2.87102 14.1413 2.03125 12.1139 2.03125 9.99999C2.03125 7.88603 2.87102 5.85865 4.36581 4.36386ZM10.0019 3.5293C8.28581 3.5293 6.63996 4.21103 5.42647 5.42452C4.21298 6.63801 3.53125 8.28385 3.53125 9.99999C3.53125 11.7161 4.21298 13.362 5.42647 14.5755C6.63996 15.7889 8.28581 16.4707 10.0019 16.4707C11.7181 16.4707 13.3639 15.7889 14.5774 14.5755C15.7909 13.362 16.4726 11.7161 16.4726 9.99999C16.4726 8.28385 15.7909 6.63801 14.5774 5.42452C13.3639 4.21103 11.7181 3.5293 10.0019 3.5293Z"
fill="currentColor" fillRule="evenodd" clipRule="evenodd" />
</svg>
);
Expand Down

0 comments on commit 1344e7c

Please sign in to comment.