Skip to content

Commit

Permalink
new icons added (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
Horay authored Jun 15, 2023
1 parent ebed905 commit 2281df3
Show file tree
Hide file tree
Showing 4 changed files with 50 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.7.0",
"version": "8.8.0",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
24 changes: 24 additions & 0 deletions src/components/svgicon/SVGIcon.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1391,6 +1391,30 @@ import { theme } from "../../index";
</Text>
</FlexContainer>
</CopyToClipboard>
<CopyToClipboard text="errorFilled">
<FlexContainer direction="column">
<SVGIcon name="errorFilled" />
<Text size="xs" mt=".25rem">
errorFilled
</Text>
</FlexContainer>
</CopyToClipboard>
<CopyToClipboard text="timeOutFilled">
<FlexContainer direction="column">
<SVGIcon name="timeOutFilled" />
<Text size="xs" mt=".25rem">
timeOutFilled
</Text>
</FlexContainer>
</CopyToClipboard>
<CopyToClipboard text="timeRangeFilled">
<FlexContainer direction="column">
<SVGIcon name="timeRangeFilled" />
<Text size="xs" mt=".25rem">
timeRangeFilled
</Text>
</FlexContainer>
</CopyToClipboard>
</FlexContainer>
<FlexContainer justifyContent="space-evenly">
<CopyToClipboard text="warning">
Expand Down
23 changes: 23 additions & 0 deletions src/components/svgicon/icons/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,29 @@ export const uiIcons = {
</>
</>
),
errorFilled: (
<>
<>
<path d="m6.34,12c0,3.12,2.54,5.66,5.66,5.66,1.24,0,2.39-.41,3.33-1.09l-7.89-7.89c-.68.93-1.09,2.08-1.09,3.33Z" />
<path d="m12,6.34c-1.24,0-2.39.41-3.33,1.09l7.89,7.89c.68-.93,1.09-2.08,1.09-3.33,0-3.12-2.54-5.66-5.66-5.66Z" />
<path d="m12,1C5.93,1,1,5.92,1,12s4.93,11,11,11,11-4.92,11-11S18.08,1,12,1Zm0,18.41c-4.08,0-7.41-3.32-7.41-7.41s3.32-7.41,7.41-7.41,7.41,3.32,7.41,7.41-3.32,7.41-7.41,7.41Z" />
</>
</>
),
timeOutFilled: (
<>
<>
<path d="m12,1C5.94,1,1,5.93,1,12s4.93,11,11,11,11-4.93,11-11S18.07,1,12,1Zm8.68,9.84l-1.73.23c-.04-.29-.1-.58-.17-.86l1.69-.44c.09.35.16.72.21,1.08Zm-.56-2.13l-1.62.66c-.11-.27-.24-.54-.38-.8l1.53-.85c.18.32.33.65.47.99Zm-1.07-1.91l-1.41,1.04c-.17-.24-.36-.46-.57-.67l1.27-1.21c.25.26.49.54.71.84Zm-2.4-2.23c.31.19.61.41.89.64l-1.11,1.36c-.23-.19-.47-.36-.71-.51l.93-1.48Zm-1.99-.92c.35.11.69.24,1.02.4l-.73,1.59c-.26-.12-.54-.23-.82-.32l.53-1.67Zm-2.16-.4c.36.02.73.06,1.09.13l-.31,1.72c-.29-.05-.58-.09-.87-.1l.1-1.75Zm-1.1,0l.12,1.75c-.3.02-.59.06-.87.11l-.34-1.72c.36-.07.72-.12,1.09-.14Zm-2.15.42l.55,1.66c-.28.09-.55.2-.81.33l-.76-1.58c.33-.16.67-.3,1.02-.41Zm-1.98.95l.95,1.47c-.25.16-.48.33-.71.52l-1.12-1.34c.28-.23.58-.45.88-.65Zm-1.68,1.41l1.29,1.19c-.2.21-.39.44-.56.68l-1.42-1.02c.21-.3.45-.58.69-.85Zm-1.28,1.78l1.54.84c-.14.26-.26.52-.37.8l-1.63-.64c.13-.34.29-.68.46-1Zm-.8,2.04l1.7.43c-.07.28-.12.57-.16.86l-1.74-.21c.04-.37.11-.73.2-1.08Zm-.26,2.18h1.75c0,.29.02.58.06.87l-1.74.23c-.05-.36-.07-.73-.07-1.1Zm.62,3.22c-.14-.34-.25-.69-.34-1.05l1.7-.44c.07.28.17.56.27.83l-1.62.65Zm.47.99l1.53-.85c.14.26.3.5.47.74l-1.41,1.03c-.21-.29-.41-.6-.59-.92Zm1.29,1.77l1.27-1.2c.2.21.42.41.64.6l-1.11,1.35c-.28-.23-.55-.48-.8-.75Zm2.66,1.92c-.33-.15-.65-.33-.96-.53l.93-1.48c.25.16.51.3.77.42l-.74,1.58Zm2.09.67c-.36-.07-.72-.16-1.07-.27l.54-1.67c.28.09.56.16.85.22l-.32,1.72Zm.39-7.19v-5.75c0-.48.39-.88.87-.88s.87.39.87.88v5.39l2.65,2.65c.34.34.34.89,0,1.23-.17.17-.4.26-.61.26s-.45-.08-.62-.26l-2.9-2.9c-.16-.16-.26-.39-.26-.62Zm1.23,7.34c-.18,0-.36,0-.53-.02l.11-1.75c.29.02.59.02.88,0l.11,1.75c-.19.01-.38.02-.57.02Zm1.65-.16l-.33-1.72c.29-.06.57-.13.85-.22l.54,1.66c-.35.11-.71.21-1.07.27Zm2.09-.68l-.75-1.58c.27-.13.52-.27.77-.43l.94,1.48c-.31.2-.63.38-.96.53Zm1.85-1.18l-1.12-1.35c.23-.19.44-.39.64-.6l1.28,1.2c-.25.27-.52.52-.8.75Zm1.5-1.6l-1.41-1.03c.17-.24.33-.48.47-.74l1.53.84c-.18.32-.38.64-.59.93Zm1.06-1.92l-1.63-.65c.11-.27.2-.55.27-.83l1.7.43c-.09.35-.2.71-.34,1.05Zm.54-2.13l-1.74-.22c.04-.29.05-.58.05-.88l1.75-.06v.06c0,.37-.02.74-.07,1.1Z" />
</>
</>
),
timeRangeFilled: (
<>
<>
<path d="m12,1C5.94,1,1,5.93,1,12s4.93,11,11,11,11-4.93,11-11S18.07,1,12,1Zm8.68,9.84l-1.73.23c-.04-.29-.1-.58-.17-.86l1.69-.44c.09.35.16.72.21,1.08Zm-.56-2.12l-1.62.66c-.11-.27-.24-.54-.38-.8l1.53-.85c.18.32.33.65.47.99Zm-1.07-1.91l-1.41,1.04c-.17-.24-.36-.46-.57-.67l1.27-1.21c.25.26.49.54.71.84Zm-2.4-2.23c.31.19.61.41.89.64l-1.11,1.35c-.23-.18-.46-.36-.71-.51l.93-1.48Zm-1.99-.92c.35.11.69.24,1.02.4l-.73,1.59c-.26-.12-.54-.23-.82-.32l.53-1.67Zm.51,13.29c-.17.17-.4.26-.61.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.89,0,1.23Zm-3.16,3.81c-4.83,0-8.76-3.93-8.76-8.76S7.17,3.24,12,3.24c.54,0,1.07.06,1.59.15l-.31,1.71h0c-.41-.07-.84-.12-1.28-.12-3.86,0-7.01,3.14-7.01,7.01s3.14,7.01,7.01,7.01c2.01,0,3.83-.86,5.11-2.22h0s1.27,1.2,1.27,1.2c-1.6,1.7-3.86,2.78-6.38,2.78Zm7.09-3.61l-1.41-1.03c.17-.24.33-.48.47-.74l1.53.84c-.18.32-.38.64-.59.93Zm1.06-1.92l-1.63-.65c.11-.27.2-.55.27-.83l1.7.43c-.09.35-.2.71-.34,1.05Zm.54-2.13l-1.74-.22c.04-.29.05-.58.05-.88l1.75-.06v.06c0,.37-.02.74-.07,1.1Z" />
</>
</>
),
desktop: (
<>
<>
Expand Down

0 comments on commit 2281df3

Please sign in to comment.