Skip to content

Commit e292217

Browse files
authored
add sparkles icon && textarea props fix (#755)
1 parent 7b3b66f commit e292217

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
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": "11.1.1",
4+
"version": "11.2.0",
55
"license": "MIT",
66
"repository": {
77
"type": "git",

src/components/svgicon/icons/ui.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,13 @@ export const uiIcons = {
675675
<path d="M21.39,11.49a1.92,1.92,0,0,0,.49-2.09,2,2,0,0,0-1.65-1.35L16,7.4a.36.36,0,0,1-.33-.23c-.6-1.3-1.21-2.59-1.81-3.89a2,2,0,0,0-3.76,0L8.29,7.18a.33.33,0,0,1-.3.23L4.12,8a4.48,4.48,0,0,0-.88.2,2,2,0,0,0-.67,3.25c1,1.09,2.08,2.16,3.13,3.23a.53.53,0,0,1,.15.5c-.25,1.48-.49,3-.73,4.44a2,2,0,0,0,.14,1.17,2,2,0,0,0,2.8.95q1.86-1,3.72-2.07a.41.41,0,0,1,.45,0c1.23.69,2.47,1.39,3.72,2.06a2,2,0,0,0,2.95-1.83,2.63,2.63,0,0,0,0-.33c-.24-1.49-.48-3-.73-4.48a.41.41,0,0,1,.13-.4Q19.83,13.11,21.39,11.49Z" />
676676
</>
677677
),
678+
sparkles: (
679+
<>
680+
<path d="M17.09,3.36s-.1.16-.16.27c-.06.11-.14.27-.18.35-.05.08-.16.3-.26.49-.1.18-.2.38-.23.43-.03.05-.14.26-.25.46-.3.58-.37.7-.43.75-.03.03-.16.11-.29.18-.38.2-.39.21-.49.27-.05.03-.12.07-.15.09s-.26.14-.51.28c-.49.28-1.09.61-1.18.66-.1.06-.09.13.04.19.06.03.24.13.39.21.15.09.35.19.43.24.09.05.33.19.55.31.22.12.4.22.41.22,0,0,.11.06.23.13.12.07.28.16.34.19.19.1.33.25.48.56.14.26.27.52.53.99.07.13.19.36.28.52.46.89.49.93.54.87.03-.03.12-.2.42-.77.1-.19.22-.42.28-.52.15-.29.37-.68.52-.97.08-.14.17-.32.21-.4.06-.1.13-.16.33-.28.14-.08.26-.15.26-.15,0,0,.12-.06.25-.14.13-.08.24-.14.25-.14s.12-.06.25-.14c.13-.08.24-.14.24-.14s.08-.04.16-.09c.15-.09.36-.21.6-.34.54-.29.54-.3.21-.48-.13-.07-.32-.17-.42-.23-.2-.12-.23-.13-.58-.33-.14-.07-.3-.17-.36-.21-.06-.04-.12-.07-.13-.07s-.07-.03-.13-.07c-.06-.04-.22-.13-.36-.21-.31-.17-.45-.26-.49-.31-.02-.02-.1-.16-.17-.3-.13-.25-.25-.48-.51-.95-.06-.11-.19-.36-.29-.55s-.25-.48-.33-.63c-.08-.15-.15-.29-.15-.3,0-.06-.06-.05-.11.01Z" />
681+
<path d="M8.61,6.98c-.06.1-.47.9-.61,1.18-.07.14-.19.37-.27.52-.08.15-.31.59-.51.98-.39.76-.66,1.26-.71,1.34-.02.04-.7.46-.73.46,0,0-.22.12-.48.28-.26.15-.47.28-.48.28s-.18.1-.4.23c-.21.13-.39.23-.4.23s-.15.08-.32.18c-.17.1-.32.18-.33.18,0,0-.04.02-.07.04-.03.02-.13.09-.23.14-.28.15-.43.26-.44.31,0,.04.6.42,1.13.71.05.02.27.16.51.29s.47.27.53.31c.06.04.17.1.24.15.07.05.14.08.14.08,0,0,.13.07.27.15.14.08.31.18.38.22s.25.14.4.23l.28.16.25.5c.14.28.34.65.43.84.24.45.52,1.01.9,1.73.51.99.53,1.03.58,1.04.03,0,.12-.15.26-.41.12-.23.36-.7.53-1.04.41-.79.65-1.27,1.03-1.99.17-.32.33-.62.37-.66s.14-.12.23-.16c.09-.05.21-.11.25-.14.05-.03.11-.07.14-.08s.14-.08.26-.15c.12-.07.29-.17.37-.21.09-.05.31-.18.51-.29.19-.11.59-.34.87-.51,1.18-.69,1.24-.72,1.22-.77-.02-.03-.57-.38-.6-.38,0,0-.77-.44-.84-.49-.02-.02-.07-.04-.09-.05s-.22-.12-.43-.25c-.21-.12-.38-.22-.39-.22,0,0-.18-.1-.4-.23-.21-.13-.39-.23-.4-.23-.02,0-.65-.38-.7-.42-.03-.03-.09-.13-.14-.22-.14-.28-.56-1.08-.9-1.74-.41-.78-.64-1.23-.9-1.75-.12-.23-.23-.41-.25-.41-.02,0-.06.03-.08.07Z" />
682+
<path d="M15.83,15.14s-.04.09-.06.12c-.02.02-.1.18-.19.35-.68,1.27-.67,1.25-.86,1.34-.09.05-.29.16-.45.25-.16.08-.3.16-.32.17-.02.01-.14.08-.28.15-.52.28-.55.3-.55.36s.03.07.57.36c.12.06.28.15.35.19s.2.11.29.16c.49.26.58.33.65.46.04.08.09.16.1.19.02.03.1.19.2.36s.21.38.26.48c.05.09.15.27.21.39.14.27.2.29.3.09.04-.07.11-.21.16-.3.2-.37.23-.42.37-.69.33-.62.37-.67.54-.76.09-.05.24-.13.33-.18.09-.05.24-.13.33-.18.09-.05.23-.13.32-.18.09-.05.26-.14.37-.2.21-.12.27-.16.25-.21,0-.03-.08-.07-.99-.56-.12-.06-.29-.16-.38-.21-.1-.05-.22-.12-.29-.15-.12-.06-.15-.1-.33-.43-.06-.1-.14-.25-.18-.34-.18-.32-.41-.74-.5-.93-.1-.17-.18-.21-.23-.09Z" />
683+
</>
684+
),
678685
burgerMenu: (
679686
<>
680687
<path d="m20,19.87H4c-.48,0-.88-.39-.88-.88s.39-.88.88-.88h16c.48,0,.88.39.88.88s-.39.88-.88.88Z" />

src/components/textarea/Textarea.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ export type TextareaGroupProps = {
99
maxCharCount?: number;
1010
};
1111

12-
export type TextareaProps = React.InputHTMLAttributes<HTMLTextAreaElement> & {
13-
small?: boolean;
14-
ref?: React.Ref<HTMLTextAreaElement>;
15-
};
12+
export type TextareaProps =
13+
React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
14+
small?: boolean;
15+
ref?: React.Ref<HTMLTextAreaElement>;
16+
};
1617

1718
const TextareaGroup = styled.div<TextareaGroupProps>`
1819
position: relative;

0 commit comments

Comments
 (0)