diff --git a/packages/block-library/src/heading/index.js b/packages/block-library/src/heading/index.js index 74b9379808f57..352aa70175747 100644 --- a/packages/block-library/src/heading/index.js +++ b/packages/block-library/src/heading/index.js @@ -6,6 +6,7 @@ import { isEmpty } from 'lodash'; /** * WordPress dependencies */ +import { heading as icon } from '@wordpress/icons'; import { __, sprintf } from '@wordpress/i18n'; /** @@ -24,7 +25,7 @@ export { metadata, name }; export const settings = { title: __( 'Heading' ), description: __( 'Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.' ), - icon: 'heading', + icon, keywords: [ __( 'title' ), __( 'subtitle' ) ], supports: { className: false, diff --git a/packages/block-library/src/navigation-link/index.js b/packages/block-library/src/navigation-link/index.js index 286d324cfe780..2a418abf3f73b 100644 --- a/packages/block-library/src/navigation-link/index.js +++ b/packages/block-library/src/navigation-link/index.js @@ -2,7 +2,8 @@ * WordPress dependencies */ import { __ } from '@wordpress/i18n'; -import { Path, SVG } from '@wordpress/components'; +import { navigation as icon } from '@wordpress/icons'; + /** * Internal dependencies */ @@ -18,7 +19,7 @@ export const settings = { parent: [ 'core/navigation' ], - icon: , + icon, description: __( 'Add a page, link, or another item to your navigation.' ), diff --git a/packages/block-library/src/navigation/index.js b/packages/block-library/src/navigation/index.js index a898420ad6b75..8c92b0f09a10e 100644 --- a/packages/block-library/src/navigation/index.js +++ b/packages/block-library/src/navigation/index.js @@ -2,6 +2,7 @@ * WordPress dependencies */ import { __ } from '@wordpress/i18n'; +import { menu as icon } from '@wordpress/icons'; /** * Internal dependencies @@ -14,7 +15,7 @@ export const name = 'core/navigation'; export const settings = { title: __( 'Navigation' ), - icon: 'menu', + icon, description: __( 'Add a navigation block to your site.' ), diff --git a/packages/block-library/src/rss/index.js b/packages/block-library/src/rss/index.js index 3ae196e75aea8..461bc6c59bff6 100644 --- a/packages/block-library/src/rss/index.js +++ b/packages/block-library/src/rss/index.js @@ -2,6 +2,7 @@ * WordPress dependencies */ import { __ } from '@wordpress/i18n'; +import { rss as icon } from '@wordpress/icons'; /** * Internal dependencies @@ -13,7 +14,7 @@ export const name = 'core/rss'; export const settings = { title: __( 'RSS' ), description: __( 'Display entries from any RSS or Atom feed.' ), - icon: 'rss', + icon, category: 'widgets', keywords: [ __( 'atom' ), __( 'feed' ) ], supports: { diff --git a/packages/block-library/src/search/index.js b/packages/block-library/src/search/index.js index eb9ab982e831f..b8c8f8c8d9d96 100644 --- a/packages/block-library/src/search/index.js +++ b/packages/block-library/src/search/index.js @@ -2,6 +2,7 @@ * WordPress dependencies */ import { __ } from '@wordpress/i18n'; +import { search as icon } from '@wordpress/icons'; /** * Internal dependencies @@ -13,7 +14,7 @@ export const name = 'core/search'; export const settings = { title: __( 'Search' ), description: __( 'Help visitors find your content.' ), - icon: 'search', + icon, category: 'widgets', keywords: [ __( 'find' ) ], supports: { diff --git a/packages/block-library/src/tag-cloud/index.js b/packages/block-library/src/tag-cloud/index.js index a610875b23388..62291e0ad81d4 100644 --- a/packages/block-library/src/tag-cloud/index.js +++ b/packages/block-library/src/tag-cloud/index.js @@ -2,6 +2,7 @@ * WordPress dependencies */ import { __ } from '@wordpress/i18n'; +import { tag as icon } from '@wordpress/icons'; /** * Internal dependencies @@ -13,7 +14,7 @@ export const name = 'core/tag-cloud'; export const settings = { title: __( 'Tag Cloud' ), description: __( 'A cloud of your most used tags.' ), - icon: 'tag', + icon, category: 'widgets', supports: { html: false, diff --git a/packages/icons/src/index.js b/packages/icons/src/index.js index c1f96cc94b7ee..35cc1262091a9 100644 --- a/packages/icons/src/index.js +++ b/packages/icons/src/index.js @@ -16,12 +16,15 @@ export { default as cover } from './library/cover'; export { default as file } from './library/file'; export { default as gallery } from './library/gallery'; export { default as group } from './library/group'; +export { default as heading } from './library/heading'; export { default as html } from './library/html'; export { default as image } from './library/image'; export { default as list } from './library/list'; export { default as mapMarker } from './library/map-marker'; export { default as mediaAndText } from './library/media-and-text'; +export { default as menu } from './library/menu'; export { default as more } from './library/more'; +export { default as navigation } from './library/navigation'; export { default as pageBreak } from './library/page-break'; export { default as paragraph } from './library/paragraph'; export { default as postList } from './library/post-list'; @@ -29,9 +32,12 @@ export { default as preformatted } from './library/preformatted'; export { default as pullquote } from './library/pullquote'; export { default as quote } from './library/quote'; export { default as resizeCornerNE } from './library/resize-corner-n-e'; +export { default as rss } from './library/rss'; +export { default as search } from './library/search'; export { default as separator } from './library/separator'; export { default as shortcode } from './library/shortcode'; export { default as table } from './library/table'; +export { default as tag } from './library/tag'; export { default as title } from './library/title'; export { default as verse } from './library/verse'; export { default as video } from './library/video'; diff --git a/packages/icons/src/library/heading.js b/packages/icons/src/library/heading.js new file mode 100644 index 0000000000000..8feb2435fa51b --- /dev/null +++ b/packages/icons/src/library/heading.js @@ -0,0 +1,13 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const heading = ( + + + +); + +export default heading; + diff --git a/packages/icons/src/library/menu.js b/packages/icons/src/library/menu.js new file mode 100644 index 0000000000000..a0ecd7df433df --- /dev/null +++ b/packages/icons/src/library/menu.js @@ -0,0 +1,13 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const menu = ( + + + +); + +export default menu; + diff --git a/packages/icons/src/library/navigation.js b/packages/icons/src/library/navigation.js new file mode 100644 index 0000000000000..4d966babec918 --- /dev/null +++ b/packages/icons/src/library/navigation.js @@ -0,0 +1,12 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const navigation = ( + + + +); + +export default navigation; diff --git a/packages/icons/src/library/rss.js b/packages/icons/src/library/rss.js new file mode 100644 index 0000000000000..6a04efa4740b7 --- /dev/null +++ b/packages/icons/src/library/rss.js @@ -0,0 +1,13 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const rss = ( + + + +); + +export default rss; + diff --git a/packages/icons/src/library/search.js b/packages/icons/src/library/search.js new file mode 100644 index 0000000000000..fedd9d7d2c74d --- /dev/null +++ b/packages/icons/src/library/search.js @@ -0,0 +1,13 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const search = ( + + + +); + +export default search; + diff --git a/packages/icons/src/library/tag.js b/packages/icons/src/library/tag.js new file mode 100644 index 0000000000000..b7eba812e78c5 --- /dev/null +++ b/packages/icons/src/library/tag.js @@ -0,0 +1,13 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const tag = ( + + + +); + +export default tag; +