From 47feef0a2aaaa38b34fb3525a35cfddaf032c719 Mon Sep 17 00:00:00 2001 From: James Koster Date: Mon, 30 Nov 2020 18:07:20 +0000 Subject: [PATCH] Add icons for template parts (#27378) * Add icons for template parts * Formatting * Remove generic template part icon --- packages/icons/src/index.js | 3 +++ .../icons/src/library/template-part-footer.js | 16 ++++++++++++++++ .../icons/src/library/template-part-header.js | 12 ++++++++++++ .../icons/src/library/template-part-sidebar.js | 12 ++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 packages/icons/src/library/template-part-footer.js create mode 100644 packages/icons/src/library/template-part-header.js create mode 100644 packages/icons/src/library/template-part-sidebar.js diff --git a/packages/icons/src/index.js b/packages/icons/src/index.js index c583c3533c4a3d..7140f8a9a3d94d 100644 --- a/packages/icons/src/index.js +++ b/packages/icons/src/index.js @@ -171,6 +171,9 @@ export { default as tableRowBefore } from './library/table-row-before'; export { default as tableRowDelete } from './library/table-row-delete'; export { default as table } from './library/table'; export { default as tag } from './library/tag'; +export { default as templatePartFooter } from './library/template-part-footer'; +export { default as templatePartHeader } from './library/template-part-header'; +export { default as templatePartSidebar } from './library/template-part-sidebar'; export { default as textColor } from './library/text-color'; export { default as tablet } from './library/tablet'; export { default as title } from './library/title'; diff --git a/packages/icons/src/library/template-part-footer.js b/packages/icons/src/library/template-part-footer.js new file mode 100644 index 00000000000000..bffc0f19716914 --- /dev/null +++ b/packages/icons/src/library/template-part-footer.js @@ -0,0 +1,16 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const templatePartFooter = ( + + + +); + +export default templatePartFooter; diff --git a/packages/icons/src/library/template-part-header.js b/packages/icons/src/library/template-part-header.js new file mode 100644 index 00000000000000..757eabe4acd323 --- /dev/null +++ b/packages/icons/src/library/template-part-header.js @@ -0,0 +1,12 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const templatePartHeader = ( + + + +); + +export default templatePartHeader; diff --git a/packages/icons/src/library/template-part-sidebar.js b/packages/icons/src/library/template-part-sidebar.js new file mode 100644 index 00000000000000..4156a163a88ba0 --- /dev/null +++ b/packages/icons/src/library/template-part-sidebar.js @@ -0,0 +1,12 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const templatePartSidebar = ( + + + +); + +export default templatePartSidebar;