diff --git a/packages/block-library/src/post-terms/index.js b/packages/block-library/src/post-terms/index.js index af236b291f720..6749a1197c83c 100644 --- a/packages/block-library/src/post-terms/index.js +++ b/packages/block-library/src/post-terms/index.js @@ -5,10 +5,16 @@ import metadata from './block.json'; import edit from './edit'; import variations from './variations'; +/** + * WordPress dependencies + */ +import { postTerms as icon } from '@wordpress/icons'; + const { name } = metadata; export { metadata, name }; export const settings = { + icon, variations, edit, }; diff --git a/packages/block-library/src/query-title/index.js b/packages/block-library/src/query-title/index.js index 0b8fcd2798788..981bbd18f1dfa 100644 --- a/packages/block-library/src/query-title/index.js +++ b/packages/block-library/src/query-title/index.js @@ -6,10 +6,16 @@ import edit from './edit'; import variations from './variations'; import deprecated from './deprecated'; +/** + * WordPress dependencies + */ +import { queryTitle as icon } from '@wordpress/icons'; + const { name } = metadata; export { metadata, name }; export const settings = { + icon, edit, variations, deprecated, diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index f091edc8cde1d..50c71047bcaeb 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -5,6 +5,7 @@ ### New Features - Added new block icon: `tip` ([#38424](https://github.com/WordPress/gutenberg/pull/38424)). +- Added new query title, post terms icons, updated pagination, pagination next/prev, and pagination numbers icons: `tip` ([#38521](https://github.com/WordPress/gutenberg/pull/38521)). ## 6.2.0 (2022-01-27) diff --git a/packages/icons/src/index.js b/packages/icons/src/index.js index b7e17d1aea435..40e57872dba64 100644 --- a/packages/icons/src/index.js +++ b/packages/icons/src/index.js @@ -163,6 +163,7 @@ export { default as postExcerpt } from './library/post-excerpt'; export { default as postFeaturedImage } from './library/post-featured-image'; export { default as postList } from './library/post-list'; export { default as postTitle } from './library/post-title'; +export { default as postTerms } from './library/post-terms'; export { default as previous } from './library/previous'; export { default as next } from './library/next'; export { default as preformatted } from './library/preformatted'; @@ -173,6 +174,7 @@ export { default as queryPagination } from './library/query-pagination'; export { default as queryPaginationNext } from './library/query-pagination-next'; export { default as queryPaginationNumbers } from './library/query-pagination-numbers'; export { default as queryPaginationPrevious } from './library/query-pagination-previous'; +export { default as queryTitle } from './library/query-title'; export { default as quote } from './library/quote'; export { default as receipt } from './library/receipt'; export { default as redo } from './library/redo'; diff --git a/packages/icons/src/library/post-terms.js b/packages/icons/src/library/post-terms.js new file mode 100644 index 0000000000000..3b24e2ae766e5 --- /dev/null +++ b/packages/icons/src/library/post-terms.js @@ -0,0 +1,12 @@ +/** + * WordPress dependencies + */ +import { Path, SVG } from '@wordpress/primitives'; + +const postTerms = ( + + + +); + +export default postTerms; diff --git a/packages/icons/src/library/query-pagination-next.js b/packages/icons/src/library/query-pagination-next.js index e9c4509988713..82e53a70683bc 100644 --- a/packages/icons/src/library/query-pagination-next.js +++ b/packages/icons/src/library/query-pagination-next.js @@ -1,13 +1,11 @@ /** * WordPress dependencies */ -import { SVG, Path, Rect } from '@wordpress/primitives'; +import { SVG, Path } from '@wordpress/primitives'; const queryPaginationNext = ( - - - + ); diff --git a/packages/icons/src/library/query-pagination-numbers.js b/packages/icons/src/library/query-pagination-numbers.js index f33fe2cf5b9ef..c5e0e97be77ad 100644 --- a/packages/icons/src/library/query-pagination-numbers.js +++ b/packages/icons/src/library/query-pagination-numbers.js @@ -1,13 +1,11 @@ /** * WordPress dependencies */ -import { SVG, Path, Rect } from '@wordpress/primitives'; +import { SVG, Path } from '@wordpress/primitives'; const queryPaginationNumbers = ( - - - + ); diff --git a/packages/icons/src/library/query-pagination-previous.js b/packages/icons/src/library/query-pagination-previous.js index dc91bc2786f5f..2481020599be1 100644 --- a/packages/icons/src/library/query-pagination-previous.js +++ b/packages/icons/src/library/query-pagination-previous.js @@ -1,27 +1,11 @@ /** * WordPress dependencies */ -import { SVG, Path, Rect } from '@wordpress/primitives'; +import { SVG, Path } from '@wordpress/primitives'; const queryPaginationPrevious = ( - - - + ); diff --git a/packages/icons/src/library/query-pagination.js b/packages/icons/src/library/query-pagination.js index 52ad7ada7c84e..1a7dd473115b1 100644 --- a/packages/icons/src/library/query-pagination.js +++ b/packages/icons/src/library/query-pagination.js @@ -1,13 +1,11 @@ /** * WordPress dependencies */ -import { SVG, Rect } from '@wordpress/primitives'; +import { SVG, Path } from '@wordpress/primitives'; const queryPagination = ( - - - + ); diff --git a/packages/icons/src/library/query-title.js b/packages/icons/src/library/query-title.js new file mode 100644 index 0000000000000..63abb2c110d97 --- /dev/null +++ b/packages/icons/src/library/query-title.js @@ -0,0 +1,12 @@ +/** + * WordPress dependencies + */ +import { Path, SVG } from '@wordpress/primitives'; + +const queryTitle = ( + + + +); + +export default queryTitle;