Skip to content

Commit

Permalink
Icons: Adds bell and bell-unread icons (#65324)
Browse files Browse the repository at this point in the history
* Icons: Adds bell and bell-unread icons and updates the CHANGELOG file
---------
Co-authored-by: javierarce <[email protected]>
Co-authored-by: jameskoster <[email protected]>
  • Loading branch information
javierarce authored Sep 17, 2024
1 parent 256fa3f commit 93af2dd
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/icons/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### New Features

- Add new `bell` and `bell-unread` icons.

## 10.7.0 (2024-09-05)

## 10.6.0 (2024-08-21)
Expand Down
2 changes: 2 additions & 0 deletions packages/icons/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export { default as aspectRatio } from './library/aspect-ratio';
export { default as audio } from './library/audio';
export { default as background } from './library/background';
export { default as backup } from './library/backup';
export { default as bell } from './library/bell';
export { default as bellUnread } from './library/bell-unread';
export { default as blockDefault } from './library/block-default';
export { default as blockMeta } from './library/block-meta';
export { default as blockTable } from './library/block-table';
Expand Down
13 changes: 13 additions & 0 deletions packages/icons/src/library/bell-unread.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/**
* WordPress dependencies
*/
import { SVG, Path, Circle } from '@wordpress/primitives';

const bellUnread = (
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<Path d="M13.969 4.39A5.088 5.088 0 0 0 12 4C9.2 4 7 6.2 7 9v2.5c0 1.353-.17 2.368-.976 3-.267.209-.602.376-1.024.5v1h14v-1c-.422-.124-.757-.291-1.024-.5-.806-.632-.976-1.647-.976-3V11c-.53 0-1.037-.103-1.5-.29v.79c0 .93.066 1.98.515 2.897l.053.103H7.932l.053-.103c.449-.917.515-1.967.515-2.897V9c0-1.972 1.528-3.5 3.5-3.5.43 0 .838.072 1.214.206.167-.488.425-.933.755-1.316Zm-3.961 13.618c0-.176.023-.346.065-.508h3.854A1.996 1.996 0 0 1 12 20a1.991 1.991 0 0 1-1.992-1.992Z" />
<Circle cx="17" cy="7" r="2.5" />
</SVG>
);

export default bellUnread;
16 changes: 16 additions & 0 deletions packages/icons/src/library/bell.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* WordPress dependencies
*/
import { SVG, Path } from '@wordpress/primitives';

const bell = (
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M17 11.5c0 1.353.17 2.368.976 3 .266.209.602.376 1.024.5v1H5v-1c.422-.124.757-.291 1.024-.5.806-.632.976-1.647.976-3V9c0-2.8 2.2-5 5-5s5 2.2 5 5v2.5ZM15.5 9v2.5c0 .93.066 1.98.515 2.897l.053.103H7.932a4.018 4.018 0 0 0 .053-.103c.449-.917.515-1.967.515-2.897V9c0-1.972 1.528-3.5 3.5-3.5s3.5 1.528 3.5 3.5Zm-5.492 9.008c0-.176.023-.346.065-.508h3.854A1.996 1.996 0 0 1 12 20c-1.1 0-1.992-.892-1.992-1.992Z"
/>
</SVG>
);

export default bell;

0 comments on commit 93af2dd

Please sign in to comment.