From 1c5d3e40b499283efa7bc20728c44b887e34590e Mon Sep 17 00:00:00 2001 From: James Koster Date: Thu, 19 Sep 2024 17:32:41 +0100 Subject: [PATCH] Add directionSE icon and apply to home button --- packages/edit-site/src/components/editor/index.js | 4 ++-- packages/icons/CHANGELOG.md | 1 + packages/icons/src/index.js | 1 + packages/icons/src/library/direction-se.js | 12 ++++++++++++ 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 packages/icons/src/library/direction-se.js diff --git a/packages/edit-site/src/components/editor/index.js b/packages/edit-site/src/components/editor/index.js index 85fef8e95f8943..a00e052966a2ee 100644 --- a/packages/edit-site/src/components/editor/index.js +++ b/packages/edit-site/src/components/editor/index.js @@ -22,7 +22,7 @@ import { store as noticesStore } from '@wordpress/notices'; import { privateApis as routerPrivateApis } from '@wordpress/router'; import { store as preferencesStore } from '@wordpress/preferences'; import { decodeEntities } from '@wordpress/html-entities'; -import { Icon, menu } from '@wordpress/icons'; +import { Icon, directionSE } from '@wordpress/icons'; /** * Internal dependencies @@ -292,7 +292,7 @@ export default function EditSiteEditor( { isPostsList = false } ) { ) } variants={ toggleHomeIconVariants } > - + ) diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index a59229e1b0eba7..39f9780fe493da 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -5,6 +5,7 @@ ### New Features - Add new `bell` and `bell-unread` icons. +- Add new `directionSE` icon. ## 10.7.0 (2024-09-05) diff --git a/packages/icons/src/index.js b/packages/icons/src/index.js index 9ab41bd3620279..ce9f123cf5567e 100644 --- a/packages/icons/src/index.js +++ b/packages/icons/src/index.js @@ -73,6 +73,7 @@ export { default as currencyPound } from './library/currency-pound'; export { default as customPostType } from './library/custom-post-type'; export { default as desktop } from './library/desktop'; export { default as details } from './library/details'; +export { default as directionSE } from './library/direction-se'; export { default as drafts } from './library/drafts'; export { default as dragHandle } from './library/drag-handle'; export { default as drawerLeft } from './library/drawer-left'; diff --git a/packages/icons/src/library/direction-se.js b/packages/icons/src/library/direction-se.js new file mode 100644 index 00000000000000..4abd803f82e0b0 --- /dev/null +++ b/packages/icons/src/library/direction-se.js @@ -0,0 +1,12 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const directionSE = ( + + + +); + +export default directionSE;