Skip to content

Commit

Permalink
update list of icons (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
Horay authored Apr 20, 2022
1 parent a1fa9a3 commit 15912f6
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 3 deletions.
5 changes: 3 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": "5.3.3",
"version": "5.4.0",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
52 changes: 52 additions & 0 deletions src/components/svgicon/SVGIcon.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,24 @@ import { Text } from "../text";
</Flex>
</CopyToClipboard>
</Flex>
<Flex justifyContent="space-evenly">
<CopyToClipboard text="chipWithDollar">
<Flex flexDirection="column">
<SVGIcon name="chipWithDollar" />
<Text size="xs" mt=".25rem">
chipWithDollar
</Text>
</Flex>
</CopyToClipboard>
<CopyToClipboard text="changeStatus">
<Flex flexDirection="column">
<SVGIcon name="changeStatus" />
<Text size="xs" mt=".25rem">
changeStatus
</Text>
</Flex>
</CopyToClipboard>
</Flex>
</Story>
</Canvas>

Expand Down Expand Up @@ -795,6 +813,24 @@ import { Text } from "../text";
</Flex>
</CopyToClipboard>
</Flex>
<Flex justifyContent="space-evenly">
<CopyToClipboard text="padlock">
<Flex flexDirection="column">
<SVGIcon name="padlock" />
<Text size="xs" mt=".25rem">
padlock
</Text>
</Flex>
</CopyToClipboard>
<CopyToClipboard text="keys">
<Flex flexDirection="column">
<SVGIcon name="keys" />
<Text size="xs" mt=".25rem">
keys
</Text>
</Flex>
</CopyToClipboard>
</Flex>
</Story>
</Canvas>

Expand Down Expand Up @@ -1076,6 +1112,22 @@ import { Text } from "../text";
</Text>
</Flex>
</CopyToClipboard>
<CopyToClipboard text="userAssign">
<Flex flexDirection="column">
<SVGIcon name="userAssign" />
<Text size="xs" mt=".25rem">
userAssign
</Text>
</Flex>
</CopyToClipboard>
<CopyToClipboard text="usersSuccess">
<Flex flexDirection="column">
<SVGIcon name="usersSuccess" />
<Text size="xs" mt=".25rem">
usersSuccess
</Text>
</Flex>
</CopyToClipboard>
<CopyToClipboard text="emojiNormal">
<Flex flexDirection="column">
<SVGIcon name="emojiNormal" />
Expand Down
40 changes: 40 additions & 0 deletions src/components/svgicon/icons/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,20 @@ export const uiIcons = {
<path d="M11.392,11.31274a5.295,5.295,0,0,1-1.14746-.126A5.03567,5.03567,0,0,1,6.434,7.37621a5.105,5.105,0,0,1,6.123-6.123,5.03567,5.03567,0,0,1,3.81055,3.81054,5.09777,5.09777,0,0,1-4.97559,6.249Zm.002-8.43848a3.29987,3.29987,0,0,0-2.3584.98047,3.33624,3.33624,0,0,0-.89258,3.14258,3.276,3.276,0,0,0,2.48047,2.48047h0a3.354,3.354,0,0,0,4.03516-4.03516A3.276,3.276,0,0,0,12.1781,2.96215,3.61538,3.61538,0,0,0,11.39392,2.87426Z" />
</>
),
userAssign: (
<>
<path d="M18.75,21.48h-6.5c-.48,0-.88-.39-.88-.88s.39-.88,.88-.88h6.39v-2.91c0-1.84-1.5-3.34-3.34-3.34h-5.53c-.55,0-1.07,.13-1.55,.38-.43,.22-.96,.06-1.18-.37-.22-.43-.06-.96,.37-1.18,.72-.38,1.54-.58,2.36-.58h5.53c2.81,0,5.09,2.29,5.09,5.09v3.01c0,.91-.74,1.64-1.64,1.64Z" />
<path d="M12.31,11.31c-.38,0-.76-.04-1.15-.13-1.89-.42-3.39-1.92-3.81-3.81-.39-1.74,.12-3.52,1.36-4.76s3.02-1.75,4.76-1.36c1.89,.42,3.39,1.92,3.81,3.81,.39,1.74-.12,3.52-1.36,4.76-.97,.97-2.26,1.49-3.61,1.49Zm0-8.44c-.89,0-1.72,.34-2.36,.98-.83,.83-1.15,1.97-.89,3.14,.27,1.23,1.25,2.21,2.48,2.48h0c1.17,.26,2.32-.07,3.14-.89s1.15-1.97,.89-3.14c-.27-1.23-1.25-2.21-2.48-2.48-.26-.06-.53-.09-.78-.09Z" />
<path d="M11.24,18.48c.04-.1,.06-.21,.06-.32h0c0-.08-.02-.15-.04-.22-.01-.04-.01-.09-.03-.13-.04-.09-.09-.16-.16-.23-.01-.02-.02-.04-.03-.05h0l-2.23-2.23c-.34-.34-.9-.34-1.24,0s-.34,.9,0,1.24l.74,.74h-3.83c-.48,0-.88,.39-.88,.88s.39,.88,.88,.88h3.83l-.74,.74c-.34,.34-.34,.9,0,1.24,.17,.17,.4,.26,.62,.26s.45-.08,.62-.26l2.23-2.23s.02-.03,.03-.05c.06-.07,.12-.15,.16-.23h0Z" />
</>
),
usersSuccess: (
<>
<path d="M10.33,21.48H5.94c-.91,0-1.64-.74-1.64-1.64v-3.01c0-2.81,2.29-5.09,5.09-5.09h5.53c.82,0,1.64,.2,2.36,.58,.43,.22,.59,.75,.37,1.18-.23,.43-.75,.59-1.18,.37-.48-.25-1-.38-1.55-.38h-5.53c-1.84,0-3.34,1.5-3.34,3.34v2.91h4.29c.48,0,.88,.39,.88,.88s-.39,.88-.88,.88Z" />
<path d="M12.15,11.31c-.38,0-.76-.04-1.15-.13h0c-1.89-.42-3.39-1.92-3.81-3.81-.39-1.74,.12-3.52,1.36-4.76,1.24-1.24,3.02-1.75,4.76-1.36,1.89,.42,3.39,1.92,3.81,3.81,.39,1.74-.12,3.52-1.36,4.76-.97,.97-2.26,1.49-3.61,1.49Zm-.77-1.83c1.17,.26,2.32-.07,3.14-.89s1.15-1.97,.89-3.14c-.27-1.23-1.25-2.21-2.48-2.48-1.17-.26-2.32,.07-3.14,.89-.83,.83-1.15,1.97-.89,3.14,.27,1.23,1.25,2.21,2.48,2.48h0Z" />
<path d="M14.99,21.3c-.22,0-.44-.08-.6-.24l-2.36-2.21c-.35-.33-.37-.88-.04-1.24,.33-.35,.89-.37,1.24-.04l1.66,1.55,3.25-4.26c.29-.38,.84-.46,1.23-.17s.46,.84,.17,1.23l-3.84,5.04c-.15,.2-.38,.32-.62,.34-.02,0-.05,0-.07,0Z" />
</>
),
eventSchedule: (
<>
<path d="M14.88,5.88h1.25a.26.26,0,0,0,.25-.26V4.32h2.91V8.73a.26.26,0,0,0,.26.26h1.24a.26.26,0,0,0,.26-.26V4.22a1.66,1.66,0,0,0-1.66-1.66h-3V1.26A.25.25,0,0,0,16.13,1H14.88a.26.26,0,0,0-.26.26v1.3h-6V1.26A.26.26,0,0,0,8.34,1H7.1a.26.26,0,0,0-.26.26v1.3h-3A1.66,1.66,0,0,0,2.17,4.22V19.78a1.66,1.66,0,0,0,1.66,1.66h3A.25.25,0,0,0,7,21.18V19.94a.26.26,0,0,0-.26-.26H3.93V4.32H6.84V5.61a.26.26,0,0,0,.26.27H8.34a.27.27,0,0,0,.26-.27V4.32h6v1.3A.26.26,0,0,0,14.88,5.88Z" />
Expand Down Expand Up @@ -1097,4 +1111,30 @@ export const uiIcons = {
<path d="M17.92,7.42a2.71,2.71,0,1,1,2.7-2.72A2.71,2.71,0,0,1,17.92,7.42Z" />
</>
),
padlock: (
<>
<path d="M5.61,22.84c-.41-.09-.8-.2-1.15-.45-.71-.52-1.09-1.22-1.09-2.11,0-2.86,0-5.73,0-8.59,0-.49,.12-.95,.39-1.36,.48-.74,1.17-1.15,2.05-1.19,.53-.02,1.06,0,1.62,0v-.23c0-1.04,.02-2.07,0-3.11-.04-2.22,1.5-4.05,3.62-4.52,2.43-.54,4.9,1.03,5.42,3.47,.07,.33,.09,.69,.1,1.03,.01,1.04,0,2.07,0,3.11v.25c.51,0,1,0,1.49,0,.55,0,1.06,.15,1.5,.48,.72,.53,1.07,1.25,1.07,2.14,0,2.82,0,5.64,0,8.46,0,.16-.01,.32-.04,.48-.16,1.06-1.01,1.93-2.06,2.1-.05,0-.09,.03-.14,.04H5.61Zm6.4-12.02c-1.99,0-3.98,0-5.97,0-.66,0-.98,.33-.98,.99,0,2.78,0,5.56,0,8.33,0,.68,.32,1,.99,1,3.96,0,7.93,0,11.89,0,.67,0,1-.32,1-1,0-2.77,0-5.54,0-8.31,0-.69-.32-1.01-1.01-1.01-1.97,0-3.95,0-5.92,0Zm2.86-1.7c0-.05,0-.09,0-.12,0-1.13,0-2.26,0-3.38,0-.19-.03-.38-.07-.56-.33-1.39-1.68-2.34-3.08-2.18-1.53,.17-2.59,1.33-2.6,2.83,0,1.07,0,2.14,0,3.21,0,.07,0,.13,0,.2h5.75Z" />
<path d="M11.15,17.17c0-.13,0-.25,0-.38,.02-.36-.03-.65-.33-.95-.61-.61-.5-1.64,.15-2.18,.68-.57,1.66-.49,2.21,.17,.57,.69,.48,1.67-.21,2.22-.1,.08-.14,.16-.14,.28,0,.56,.01,1.11,0,1.67-.01,.6-.56,.99-1.11,.81-.34-.11-.57-.41-.58-.78,0-.29,0-.58,0-.87h0Z" />
</>
),
keys: (
<>
<path d="M21.68,8.57c-.02-.1-.04-.24-.06-.38-.04-.3-.09-.57-.16-.84-.76-2.6-2.48-4.24-5.12-4.87-.21-.05-.42-.08-.62-.11-.1-.01-.19-.03-.29-.04h-.91c-.09,.02-.2,.04-.32,.05-.25,.04-.5,.08-.75,.13-2.65,.6-4.7,2.8-5.1,5.48-.12,.77-.11,1.54,.03,2.29,.03,.15-.06,.34-.16,.44l-.05,.05c-1.65,1.66-3.31,3.32-4.97,4.97-.38,.38-.77,.8-.86,1.38v3.03c.09,.32,.2,.63,.41,.88,.3,.35,.65,.55,1.07,.62,.04,0,.07,.02,.1,.03h3.31l.06-.03c.06-.03,.13-.05,.19-.09,.26-.16,.39-.4,.39-.73v-1.13h1.04c.63,0,.93-.3,.94-.93v-1.05h.71c.11,0,.21,0,.32,0h.06c.3,0,.54-.11,.77-.34,.3-.31,.61-.62,.92-.93,.22-.22,.45-.45,.67-.67,.11-.11,.23-.16,.36-.16,.04,0,.08,0,.12,.01,.4,.08,.81,.12,1.22,.12,3.21,0,6.04-2.38,6.58-5.53,.03-.16,.05-.33,.08-.49l.03-.23v-.93Zm-6.31,5.59c-.15,.01-.29,.02-.44,.02-.46,0-.91-.06-1.33-.19-.12-.04-.24-.05-.34-.05-.25,0-.47,.1-.68,.32-.55,.58-1.13,1.14-1.71,1.71-.11,.1-.28,.17-.43,.18-.19,0-.38,0-.57,0h-.75c-.54,0-.86,.32-.86,.86,0,.2,0,.4,0,.62v.5h-1.07c-.61,0-.91,.3-.91,.91v1.06H3.92v-.25s-.02-.1-.02-.15v-.66c0-.5,0-1,0-1.5,0-.18,.06-.33,.19-.46l2.32-2.31c1.12-1.12,2.24-2.24,3.36-3.35,.29-.28,.36-.59,.25-.98-.4-1.44-.16-2.98,.67-4.23,.83-1.24,2.16-2.07,3.65-2.26,.21-.03,.43-.04,.64-.04,2.65,0,4.89,2.06,5.1,4.68,.24,2.88-1.83,5.33-4.71,5.57Z" />
<path d="M15.03,6.27h-.03c-.43,0-.75,.27-.82,.69-.06,.37,.19,.75,.56,.85,.08,.02,.17,.03,.26,.04h.09c.57,.07,1,.51,1.05,1.07v.06c.01,.1,.02,.19,.05,.28,.1,.33,.4,.56,.74,.56,.05,0,.1,0,.15-.01,.42-.08,.67-.44,.64-.91-.11-1.48-1.25-2.59-2.69-2.62Z" />
</>
),
chipWithDollar: (
<>
<path d="M15.7,22.88c-.48,0-.88-.39-.88-.88v-1.78h-1.92v1.78c0,.48-.39,.88-.88,.88s-.88-.39-.88-.88v-1.78h-1.92v1.78c0,.48-.39,.88-.88,.88s-.88-.39-.88-.88v-1.78h-1.07c-1.45,0-2.62-1.18-2.62-2.62v-1.03H2c-.48,0-.88-.39-.88-.88s.39-.88,.88-.88h1.8v-1.92H2c-.48,0-.88-.39-.88-.88s.39-.88,.88-.88h1.8v-1.92H2c-.48,0-.88-.39-.88-.88s.39-.88,.88-.88h1.8v-1.07c0-1.45,1.18-2.62,2.62-2.62h1.07v-1.79c0-.48,.39-.88,.88-.88s.88,.39,.88,.88v1.79h1.92v-1.79c0-.48,.39-.88,.88-.88s.88,.39,.88,.88v1.79h1.92v-1.79c0-.48,.39-.88,.88-.88s.88,.39,.88,.88v1.79h1.03c1.45,0,2.62,1.18,2.62,2.62v1.02h1.77c.48,0,.88,.39,.88,.88s-.39,.88-.88,.88h-1.77v1.92h1.77c.48,0,.88,.39,.88,.88s-.39,.88-.88,.88h-1.77v1.92h1.77c.48,0,.88,.39,.88,.88s-.39,.88-.88,.88h-1.77v1.08c0,1.45-1.18,2.62-2.62,2.62h-1.03v1.78c0,.48-.39,.88-.88,.88ZM6.42,5.54c-.48,0-.87,.39-.87,.87v11.19c0,.48,.39,.87,.87,.87h11.19c.48,0,.87-.39,.87-.87V6.41c0-.48-.39-.87-.87-.87H6.42Z" />
<path d="M11.57,17.4c-.09,0-.16-.03-.22-.08s-.08-.13-.08-.22v-.83c-.61-.07-1.12-.22-1.52-.45-.41-.23-.72-.51-.92-.83s-.32-.67-.34-1.03c0-.06,.03-.12,.08-.17,.05-.05,.11-.08,.19-.08h1.28c.1,0,.18,.02,.24,.07,.06,.04,.11,.1,.16,.16,.06,.14,.15,.27,.27,.4s.29,.23,.51,.32,.48,.13,.8,.13c.52,0,.91-.08,1.17-.25,.26-.17,.39-.4,.39-.68,0-.21-.07-.38-.21-.5-.14-.13-.36-.24-.66-.35-.3-.1-.7-.22-1.21-.34-.6-.13-1.11-.29-1.52-.5-.42-.2-.73-.47-.94-.79s-.32-.73-.32-1.21c0-.63,.23-1.17,.68-1.61,.45-.44,1.08-.71,1.88-.82v-.83c0-.09,.03-.16,.08-.22,.06-.06,.13-.08,.22-.08h.85c.08,0,.15,.03,.2,.08,.06,.06,.08,.13,.08,.22v.85c.55,.09,1.01,.25,1.39,.5,.37,.24,.66,.52,.85,.83,.2,.31,.3,.61,.31,.89,0,.06-.02,.12-.07,.17-.05,.05-.11,.08-.18,.08h-1.36c-.07,0-.14-.02-.2-.05-.06-.03-.12-.09-.17-.17-.04-.21-.18-.39-.42-.55-.24-.16-.54-.23-.91-.23-.39,0-.7,.07-.94,.22-.23,.14-.35,.36-.35,.66,0,.19,.06,.35,.18,.49,.12,.13,.32,.25,.59,.35,.27,.1,.64,.21,1.1,.33,.7,.14,1.28,.32,1.72,.52,.44,.2,.76,.46,.97,.77,.2,.32,.31,.71,.31,1.19s-.12,.87-.35,1.23c-.23,.36-.56,.64-.98,.86-.42,.22-.91,.36-1.48,.43v.83c0,.09-.03,.16-.08,.22-.06,.06-.12,.08-.2,.08h-.85Z" />
</>
),
changeStatus: (
<>
<path d="M8.39,9.93l-1.06,1.06v-3.39c0-.62,.5-1.12,1.12-1.12h4.1c.48,0,.88-.39,.88-.88s-.39-.88-.88-.88h-4.1c-1.58,0-2.88,1.29-2.88,2.88v3.39l-1.06-1.06c-.34-.34-.9-.34-1.24,0-.34,.34-.34,.9,0,1.24l2.5,2.5c.17,.17,.4,.26,.62,.26,.02,0,.03,0,.05,0,.02,0,.03,0,.05,0,.22,0,.45-.08,.62-.26l2.5-2.5c.34-.34,.34-.9,0-1.24-.34-.34-.9-.34-1.24,0Z" />
<path d="M20.71,12.43l-2.5-2.5c-.18-.18-.42-.26-.66-.25-.24-.01-.48,.07-.66,.25l-2.5,2.5c-.34,.34-.34,.9,0,1.24,.17,.17,.4,.26,.62,.26s.45-.08,.62-.26l.96-.96v3.89c0,.62-.5,1.12-1.12,1.12h-4c-.48,0-.88,.39-.88,.88s.39,.88,.88,.88h4c1.58,0,2.88-1.29,2.88-2.88v-4.08l1.14,1.14c.17,.17,.4,.26,.62,.26s.45-.08,.62-.26c.34-.34,.34-.9,0-1.24Z" />
<path d="M7.69,17.33l1.04-1.04c.34-.34,.34-.9,0-1.24-.34-.34-.9-.34-1.24,0l-1.04,1.04-1.04-1.04c-.34-.34-.9-.34-1.24,0-.34,.34-.34,.9,0,1.24l1.04,1.04-1.04,1.04c-.34,.34-.34,.9,0,1.24,.17,.17,.4,.26,.62,.26s.45-.08,.62-.26l1.04-1.04,1.04,1.04c.17,.17,.4,.26,.62,.26s.45-.08,.62-.26c.34-.34,.34-.9,0-1.24l-1.04-1.04Z" />
<path d="M16.78,8.79c-.2,0-.4-.07-.56-.2l-1.84-1.54c-.37-.31-.42-.86-.11-1.23,.31-.37,.86-.42,1.23-.11l1.17,.98,1.82-2.21c.31-.37,.86-.43,1.23-.12,.37,.31,.43,.86,.12,1.23l-2.38,2.89c-.15,.18-.36,.29-.6,.32-.03,0-.05,0-.08,0Z" />
</>
),
};

0 comments on commit 15912f6

Please sign in to comment.