Skip to content

Commit

Permalink
NONE) feat: add icon bell and megaphone (#113)
Browse files Browse the repository at this point in the history
* feat: add bell and megaphone icon

* fix: fix spelling
  • Loading branch information
dohui-son authored Aug 9, 2024
1 parent d48f0a7 commit 642fb1e
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/icon/assets/bell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
13 changes: 13 additions & 0 deletions src/icon/assets/megaphone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions src/icon/generated-default/Bell.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import type { SVGProps } from 'react';
import { Ref, forwardRef } from 'react';
import type { IconProps } from '../share/props';
const IconBell = (
{
title = 'IconBell',
titleId = 'CDS-IconBellIcon',
size = 20,
color = '#363738',
...props
}: SVGProps<SVGSVGElement> & IconProps,
ref: Ref<SVGSVGElement>,
) => (
<svg
width={size}
height={size}
fill="none"
viewBox="0 0 18 18"
color={color}
ref={ref}
aria-labelledby={titleId}
{...props}
>
{title ? <title id={titleId}>{title}</title> : null}
<path
stroke="#000"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={1.5}
d="M6.75 12.75v.75a2.25 2.25 0 0 0 4.5 0v-.75m-3.75-9a1.5 1.5 0 1 1 3 0 5.25 5.25 0 0 1 2.124 1.834c.529.793.832 2.464.876 3.416s.9 3.75.9 3.75H3.6s.855-2.798.9-3.75.348-2.623.876-3.416A5.25 5.25 0 0 1 7.5 3.75"
/>
</svg>
);
const ForwardRef = forwardRef(IconBell);
export { ForwardRef as IconBell };
34 changes: 34 additions & 0 deletions src/icon/generated-default/Megaphone.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import type { SVGProps } from 'react';
import { Ref, forwardRef } from 'react';
import type { IconProps } from '../share/props';
const IconMegaphone = (
{
title = 'IconMegaphone',
titleId = 'CDS-IconMegaphoneIcon',
size = 20,
color = '#363738',
...props
}: SVGProps<SVGSVGElement> & IconProps,
ref: Ref<SVGSVGElement>,
) => (
<svg
width={size}
height={size}
fill="none"
viewBox="0 0 27 24"
color={color}
ref={ref}
aria-labelledby={titleId}
{...props}
>
{title ? <title id={titleId}>{title}</title> : null}
<path
fill="#525252"
fillRule="evenodd"
d="M22.95 2.632v4.283c.532 0 1.058.102 1.55.3.491.199.938.489 1.314.855s.674.8.878 1.279a3.85 3.85 0 0 1 0 3.018 3.9 3.9 0 0 1-.878 1.278 4.1 4.1 0 0 1-1.314.855c-.492.198-1.018.3-1.55.3v3.943c0 2.166-2.54 3.402-4.32 2.102l-2.781-2.031a11.86 11.86 0 0 0-5.05-2.113v3.737c0 .86-.318 1.69-.898 2.338a3.7 3.7 0 0 1-2.253 1.19 3.74 3.74 0 0 1-2.503-.542 3.57 3.57 0 0 1-1.523-2.008l-2.12-7.223a6.1 6.1 0 0 1-1.432-3.08A6.03 6.03 0 0 1 .517 7.76 6.2 6.2 0 0 1 2.71 5.14a6.46 6.46 0 0 1 3.283-1.105l4.075-.221a12.9 12.9 0 0 0 5.656-1.655L18.89.362c1.8-1.022 4.06.241 4.06 2.27M4.905 16.217l1.314 4.477a.94.94 0 0 0 .398.527.98.98 0 0 0 1.247-.17.92.92 0 0 0 .235-.613v-3.956l-2.106-.114q-.55-.03-1.088-.151M20.25 2.632l-3.166 1.8a15.6 15.6 0 0 1-6.285 1.963v7.647a14.6 14.6 0 0 1 6.67 2.67l2.78 2.03zM8.1 6.552l-1.958.106A3.7 3.7 0 0 0 3.735 7.72a3.5 3.5 0 0 0-1.036 2.367 3.5 3.5 0 0 0 .88 2.427 3.68 3.68 0 0 0 2.333 1.209l.23.02 1.957.105zm14.85 2.992v2.628c.344 0 .675-.129.925-.359s.4-.544.421-.878a1.3 1.3 0 0 0-.312-.92 1.36 1.36 0 0 0-.876-.462z"
clipRule="evenodd"
/>
</svg>
);
const ForwardRef = forwardRef(IconMegaphone);
export { ForwardRef as IconMegaphone };
2 changes: 2 additions & 0 deletions src/icon/generated-default/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export { AlertCircle } from './AlertCircle';
export { ArrowLeftLarge } from './ArrowLeftLarge';

Check failure on line 3 in src/icon/generated-default/index.ts

View workflow job for this annotation

GitHub Actions / publish

'"./ArrowLeftLarge"' has no exported member named 'ArrowLeftLarge'. Did you mean 'IconArrowLeftLarge'?
export { ArrowLeftSmall } from './ArrowLeftSmall';

Check failure on line 4 in src/icon/generated-default/index.ts

View workflow job for this annotation

GitHub Actions / publish

'"./ArrowLeftSmall"' has no exported member named 'ArrowLeftSmall'. Did you mean 'IconArrowLeftSmall'?
export { BannersVert } from './BannersVert';

Check failure on line 5 in src/icon/generated-default/index.ts

View workflow job for this annotation

GitHub Actions / publish

Module '"./BannersVert"' has no exported member 'BannersVert'.
export { Bell } from './Bell';

Check failure on line 6 in src/icon/generated-default/index.ts

View workflow job for this annotation

GitHub Actions / publish

Module '"./Bell"' has no exported member 'Bell'.
export { Calendar } from './Calendar';

Check failure on line 7 in src/icon/generated-default/index.ts

View workflow job for this annotation

GitHub Actions / publish

Module '"./Calendar"' has no exported member 'Calendar'.
export { CancleLarge } from './CancleLarge';

Check failure on line 8 in src/icon/generated-default/index.ts

View workflow job for this annotation

GitHub Actions / publish

Module '"./CancleLarge"' has no exported member 'CancleLarge'.
export { CancleSmall } from './CancleSmall';

Check failure on line 9 in src/icon/generated-default/index.ts

View workflow job for this annotation

GitHub Actions / publish

Module '"./CancleSmall"' has no exported member 'CancleSmall'.
Expand Down Expand Up @@ -31,6 +32,7 @@ export { InformationCircleSmall } from './InformationCircleSmall';
export { Layout } from './Layout';
export { List } from './List';
export { Logout } from './Logout';
export { Megaphone } from './Megaphone';
export { Minus } from './Minus';
export { PictureSearch } from './PictureSearch';
export { QuestionCircle } from './QuestionCircle';
Expand Down

0 comments on commit 642fb1e

Please sign in to comment.