Skip to content

Commit

Permalink
Update icons for private / pending
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed May 31, 2024
1 parent 63b37e1 commit 35fb94b
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { trash, pages, drafts, published, scheduled, pending, private } from '@wordpress/icons';
import {
trash,
pages,
drafts,
published,
scheduled,
pending,
notAllowed,
} from '@wordpress/icons';

/**
* Internal dependencies
Expand Down Expand Up @@ -117,7 +125,7 @@ export const DEFAULT_VIEWS = {
{
title: __( 'Private' ),
slug: 'private',
icon: private,
icon: notAllowed,
view: {
...DEFAULT_PAGE_BASE,
filters: [
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 @@ -160,6 +160,7 @@ export { default as moreHorizontalMobile } from './library/more-horizontal-mobil
export { default as moreVertical } from './library/more-vertical';
export { default as moveTo } from './library/move-to';
export { default as navigation } from './library/navigation';
export { default as notAllowed } from './library/not-allowed';
export { default as notFound } from './library/not-found';
export { default as overlayText } from './library/overlay-text';
export { default as pageBreak } from './library/page-break';
Expand All @@ -168,6 +169,7 @@ export { default as page } from './library/page';
export { default as pages } from './library/pages';
export { default as paragraph } from './library/paragraph';
export { default as payment } from './library/payment';
export { default as pending } from './library/pending';
export { default as percent } from './library/percent';
export { default as positionCenter } from './library/position-center';
export { default as positionLeft } from './library/position-left';
Expand Down
16 changes: 16 additions & 0 deletions packages/icons/src/library/not-allowed.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* WordPress dependencies
*/
import { SVG, Path } from '@wordpress/primitives';

const notAllowed = (
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M12 18.5A6.5 6.5 0 0 1 6.93 7.931l9.139 9.138A6.473 6.473 0 0 1 12 18.5Zm5.123-2.498a6.5 6.5 0 0 0-9.124-9.124l9.124 9.124ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"
/>
</SVG>
);

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

const pending = (
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M12 18.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8 4a4 4 0 0 1-4-4h4V8a4 4 0 0 1 0 8Z"
/>
</SVG>
);

export default pending;

0 comments on commit 35fb94b

Please sign in to comment.