Skip to content

Commit

Permalink
feat(svgicon): add new icon "successManualFilled" to ui icons
Browse files Browse the repository at this point in the history
Add "successManualFilled" icon to the SVGIcon component and its story.
This enhances the icon set with a new visual representation for success.
  • Loading branch information
gmacev committed Dec 3, 2024
1 parent c5a5b7c commit b065085
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/svgicon/SVGIcon.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,14 @@ export const Status: StoryObj = {
</Text>
</FlexContainer>
</CopyToClipboard>
<CopyToClipboard text="successManualFilled">
<FlexContainer direction="column">
<SVGIcon name="successManualFilled" />
<Text size="xs" mt=".25rem">
successManualFilled
</Text>
</FlexContainer>
</CopyToClipboard>
<CopyToClipboard text="waitingFilled">
<FlexContainer direction="column">
<SVGIcon name="waitingFilled" />
Expand Down
5 changes: 5 additions & 0 deletions src/components/svgicon/icons/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1372,6 +1372,11 @@ export const uiIcons = {
<path d="m11.98,1.09C5.91,1.09.98,6.02.98,12.09s4.93,11,11,11,11-4.93,11-11S18.04,1.09,11.98,1.09Zm5.9,8.11l-7.09,7.09c-.2.2-.47.31-.74.31s-.54-.1-.74-.31l-3.17-3.17c-.41-.41-.41-1.07,0-1.48s1.07-.41,1.48,0l2.43,2.43,6.35-6.35c.41-.41,1.07-.41,1.48,0,.41.41.41,1.07,0,1.48Z" />
</>
),
successManualFilled: (
<>
<path d="M18.8403 12.1503C15.1303 12.1503 12.1203 15.1603 12.1203 18.8703H12.1303C12.1268 20.223 12.5349 21.5449 13.3003 22.6603C12.8003 22.7303 12.3003 22.7803 11.7803 22.7803C5.71027 22.7803 0.780273 17.8503 0.780273 11.7803C0.780273 5.71027 5.72027 0.780273 11.7803 0.780273C17.8403 0.780273 22.7803 5.71027 22.7703 11.7703C22.7703 12.3103 22.7203 12.8303 22.6503 13.3403C21.5703 12.5903 20.2603 12.1503 18.8403 12.1503ZM9.83027 16.2903C10.1003 16.2903 10.3603 16.1803 10.5703 15.9803L17.6603 8.89027C18.0703 8.48027 18.0703 7.82027 17.6603 7.41027C17.2503 7.00027 16.5903 7.00027 16.1803 7.41027L9.83027 13.7603L7.40027 11.3303C6.99027 10.9203 6.33027 10.9203 5.92027 11.3303C5.51027 11.7403 5.51027 12.4003 5.92027 12.8103L9.09027 15.9803C9.29027 16.1903 9.56027 16.2903 9.83027 16.2903ZM18.8404 13.9697C16.1404 13.9697 13.9404 16.1697 13.9404 18.8697C13.9404 21.5697 16.1404 23.7697 18.8404 23.7697C21.5404 23.7697 23.7404 21.5697 23.7404 18.8697C23.7404 16.1697 21.5404 13.9697 18.8404 13.9697ZM18.2013 22C18.0248 22 17.8546 21.9632 17.6908 21.8896C17.5269 21.816 17.3828 21.7095 17.2585 21.5703L15 19.0378L15.2831 18.7074C15.4157 18.5494 15.5742 18.4438 15.7586 18.3905C15.943 18.3371 16.1255 18.342 16.3063 18.405L16.9712 18.6263V15.5151C16.9712 15.3702 17.0161 15.2481 17.1059 15.1489C17.1957 15.0496 17.3063 15 17.4374 15C17.5687 15 17.6792 15.0496 17.7691 15.1489C17.8589 15.2481 17.9038 15.3702 17.9038 15.5151V19.9873L16.8416 19.6304L17.9217 20.8378C17.9561 20.8757 17.9981 20.9072 18.0479 20.9322C18.0976 20.9572 18.1488 20.9697 18.2013 20.9697H20.2355C20.4649 20.9697 20.6608 20.8799 20.8235 20.7004C20.986 20.5208 21.0673 20.3043 21.0673 20.0509V18.0504C21.0673 17.9054 21.1122 17.7834 21.2021 17.6842C21.2919 17.5849 21.4024 17.5353 21.5337 17.5353C21.6648 17.5353 21.7754 17.5849 21.8652 17.6842C21.9551 17.7834 22 17.9054 22 18.0504V20.0509C22 20.5882 21.8275 21.0473 21.4825 21.4283C21.1375 21.8094 20.7218 22 20.2355 22H18.2013ZM18.3365 18.5941V16.6165C18.3365 16.4715 18.3814 16.3494 18.4713 16.2502C18.5611 16.151 18.6717 16.1013 18.8028 16.1013C18.9341 16.1013 19.0446 16.151 19.1344 16.2502C19.2243 16.3494 19.2692 16.4715 19.2692 16.6165V18.5941H18.3365ZM19.7019 18.5941V17.0945C19.7019 16.9495 19.7468 16.8274 19.8367 16.7282C19.9265 16.629 20.037 16.5793 20.1682 16.5793C20.2995 16.5793 20.41 16.629 20.4998 16.7282C20.5897 16.8274 20.6346 16.9495 20.6346 17.0945V18.5941H19.7019Z" />
</>
),
waitingFilled: (
<>
<path d="m12.11,1C6.05,1,1.11,5.93,1.11,12s4.93,11,11,11,11-4.93,11-11S18.18,1,12.11,1Zm3.17,15.94c-.17.17-.4.26-.62.26s-.45-.08-.62-.26l-2.9-2.9c-.16-.16-.26-.39-.26-.62v-5.75c0-.48.39-.88.87-.88s.87.39.87.88v5.39l2.65,2.65c.34.34.34.9,0,1.24h.01Z" />
Expand Down

0 comments on commit b065085

Please sign in to comment.