Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Add icon for Unlink and Shortcode #269

Merged
merged 2 commits into from
Mar 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion icon-font/css/dashicons.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion icon-font/dashicons.html

Large diffs are not rendered by default.

Binary file modified icon-font/fonts/dashicons.eot
Binary file not shown.
Binary file modified icon-font/fonts/dashicons.ttf
Binary file not shown.
Binary file modified icon-font/fonts/dashicons.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion react/example.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions react/example.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ module.exports = React.createClass( {
<Dashicon icon="share" size={ 40 } onClick={ this.handleClick.bind( this, 'share' ) } />
<Dashicon icon="shield-alt" size={ 40 } onClick={ this.handleClick.bind( this, 'shield-alt' ) } />
<Dashicon icon="shield" size={ 40 } onClick={ this.handleClick.bind( this, 'shield' ) } />
<Dashicon icon="gutenberg/shortcode" size={ 40 } onClick={ this.handleClick.bind( this, 'gutenberg/shortcode' ) } />
<Dashicon icon="slides" size={ 40 } onClick={ this.handleClick.bind( this, 'slides' ) } />
<Dashicon icon="smartphone" size={ 40 } onClick={ this.handleClick.bind( this, 'smartphone' ) } />
<Dashicon icon="smiley" size={ 40 } onClick={ this.handleClick.bind( this, 'smiley' ) } />
Expand Down
2 changes: 1 addition & 1 deletion react/index.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions react/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,9 @@ export default class Dashicon extends wp.element.Component {
case 'shield':
path = 'M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z';
break;
case 'shortcode':
path = 'M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4';
break;
case 'slides':
path = 'M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z';
break;
Expand Down
10 changes: 10 additions & 0 deletions sources/svg/gutenberg/shortcode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions svg-min/gutenberg/shortcode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion svg-sprite/dashicons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.