Skip to content

Commit

Permalink
Add discount icon (#612)
Browse files Browse the repository at this point in the history
* add icon

* add icon

* update version
  • Loading branch information
Horay authored Jul 10, 2023
1 parent dd6e3e4 commit e034f09
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nordcloud/gnui",
"description": "Nordcloud Design System - a collection of reusable React components used in Nordcloud's SaaS products",
"version": "8.10.0",
"version": "8.11.0",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions src/components/svgicon/SVGIcon.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,14 @@ import { theme } from "../../index";
</Text>
</FlexContainer>
</CopyToClipboard>
<CopyToClipboard text="discount">
<FlexContainer direction="column">
<SVGIcon name="discount" />
<Text size="xs" mt=".25rem">
discount
</Text>
</FlexContainer>
</CopyToClipboard>
</FlexContainer>
</Story>
</Canvas>
Expand Down
10 changes: 10 additions & 0 deletions src/components/svgicon/icons/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1398,4 +1398,14 @@ export const uiIcons = {
</>
</>
),
discount: (
<>
<>
<path d="m22.29,11.48l-2.08-2.15.42-2.96c.06-.4-.22-.78-.62-.85l-2.94-.52-1.4-2.64c-.19-.36-.63-.5-1-.32l-2.68,1.31-2.68-1.31c-.36-.18-.81-.04-1,.32l-1.4,2.64-2.94.52c-.4.07-.67.44-.62.85l.42,2.96-2.08,2.14c-.28.29-.28.75,0,1.05l2.08,2.15-.42,2.96c-.06.4.22.78.62.85l2.94.52,1.4,2.64c.19.36.63.5,1,.32l2.68-1.31,2.68,1.31c.11.05.22.08.33.08.27,0,.53-.15.67-.4l1.4-2.64,2.94-.52c.4-.07.67-.44.62-.85l-.42-2.96,2.08-2.15c.28-.29.28-.75,0-1.05Zm-3.41,2.41c-.16.17-.24.4-.2.63l.37,2.6-2.59.45c-.23.04-.43.18-.53.39l-1.23,2.32-2.36-1.15c-.1-.05-.22-.08-.33-.08s-.23.03-.33.08l-2.36,1.15-1.23-2.32c-.11-.21-.31-.35-.53-.39l-2.59-.45.37-2.6c.03-.23-.04-.46-.2-.63l-1.82-1.89,1.82-1.89c.16-.17.24-.4.2-.63l-.37-2.6,2.59-.45c.23-.04.43-.18.53-.39l1.23-2.32,2.36,1.15c.21.1.45.1.66,0l2.36-1.15,1.23,2.32c.11.21.31.35.53.39l2.59.45-.37,2.6c-.03.23.04.46.2.63l1.82,1.89-1.82,1.89Z" />
<path d="m9.61,11.43c1,0,1.82-.82,1.82-1.82s-.82-1.82-1.82-1.82-1.82.82-1.82,1.82c0,1,.82,1.82,1.82,1.82Zm0-2.44c.34,0,.62.28.62.62s-.28.62-.62.62-.62-.28-.62-.62.28-.62.62-.62Z" />
<path d="m15.64,8.36c-.24-.24-.62-.24-.85,0l-6.42,6.42c-.24.24-.24.62,0,.85.12.12.27.18.43.18s.31-.06.43-.18l6.42-6.42c.24-.24.24-.62,0-.85Z" />
<path d="m14.39,12.57c-1,0-1.82.82-1.82,1.82s.82,1.82,1.82,1.82,1.82-.82,1.82-1.82c0-1-.82-1.82-1.82-1.82Zm0,2.44c-.34,0-.62-.28-.62-.62s.28-.62.62-.62.62.28.62.62c0,.34-.28.62-.62.62Z" />
</>
</>
),
};

0 comments on commit e034f09

Please sign in to comment.