Skip to content

Commit c8e987c

Browse files
authored
Add refresh icon (#568)
1 parent fba4fd0 commit c8e987c

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@nordcloud/gnui",
33
"description": "Nordcloud Design System - a collection of reusable React components used in Nordcloud's SaaS products",
4-
"version": "8.1.1",
4+
"version": "8.2.0",
55
"license": "MIT",
66
"repository": {
77
"type": "git",

src/components/svgicon/SVGIcon.stories.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,14 @@ import { Text } from "../text";
986986
</Text>
987987
</FlexContainer>
988988
</CopyToClipboard>
989+
<CopyToClipboard text="refresh">
990+
<FlexContainer direction="column">
991+
<SVGIcon name="refresh" />
992+
<Text size="xs" mt=".25rem">
993+
refresh
994+
</Text>
995+
</FlexContainer>
996+
</CopyToClipboard>
989997
</FlexContainer>
990998
</Story>
991999
</Canvas>

src/components/svgicon/icons/ui.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,4 +1262,10 @@ export const uiIcons = {
12621262
<path d="m11.19,16.88c-.1,0-.18-.03-.24-.1-.06-.07-.09-.14-.09-.23v-1.63c0-.1.03-.18.09-.25.06-.07.14-.1.24-.1h1.63c.09,0,.17.03.23.1s.1.15.1.25v1.63c0,.09-.03.17-.1.23s-.14.1-.23.1h-1.63Zm.05-2.93c-.1,0-.18-.03-.24-.1s-.09-.14-.09-.23v-5.68c0-.1.03-.18.09-.24s.14-.09.24-.09h1.52c.1,0,.18.03.24.09s.09.14.09.24v5.68c0,.09-.03.17-.09.23s-.14.1-.24.1h-1.52Z" />
12631263
</>
12641264
),
1265+
refresh: (
1266+
<>
1267+
<path d="m21.28,13.3c-.47-.11-.94.18-1.05.65-.9,3.76-4.23,6.38-8.1,6.38-3.49,0-6.53-2.13-7.76-5.31l1.46.29c.47.09.94-.21,1.03-.69.09-.47-.21-.93-.69-1.03l-2.52-.5c-.93-.19-1.82.42-2.01,1.34l-.5,2.52c-.09.47.21.93.69,1.03.06.01.12.02.17.02.41,0,.77-.29.86-.7l.17-.95c1.64,3.45,5.12,5.73,9.09,5.73,4.68,0,8.71-3.18,9.8-7.73.11-.47-.18-.94-.65-1.05Z" />
1268+
<path d="m22.17,5.95c-.48-.08-.93.21-1.03.69l-.12.63c-1.71-3.24-5.09-5.35-8.91-5.35C7.44,1.92,3.41,5.09,2.32,9.64c-.11.47.18.94.65,1.05.07.02.14.02.21.02.39,0,.75-.27.85-.67.9-3.75,4.23-6.37,8.1-6.37,3.48,0,6.51,2.12,7.75,5.28l-1.7-.34c-.47-.09-.93.21-1.03.69-.09.47.21.93.69,1.03l2.52.5c.11.02.22.03.33.03.8,0,1.51-.56,1.67-1.37l.5-2.52c.09-.47-.21-.94-.69-1.03Z" />
1269+
</>
1270+
),
12651271
};

0 commit comments

Comments
 (0)