Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch social link icons to import svg parts from primitives #19877

Merged
merged 2 commits into from
Feb 3, 2020
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
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/block-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@wordpress/icons": "file:../icons",
"@wordpress/is-shallow-equal": "file:../is-shallow-equal",
"@wordpress/keycodes": "file:../keycodes",
"@wordpress/primitives": "file:../primitives",
"@wordpress/rich-text": "file:../rich-text",
"@wordpress/server-side-render": "file:../server-side-render",
"@wordpress/url": "file:../url",
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/amazon.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/block-library/src/social-link/icons/bandcamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const BandcampIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/behance.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/chain.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/codepen.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/deviantart.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const DeviantArtIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/dribbble.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/dropbox.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const DropboxIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/etsy.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const EtsyIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/facebook.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const FacebookIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/feed.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const FeedIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/flickr.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const FlickrIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/foursquare.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const FoursquareIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/github.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const GitHubIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/goodreads.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/google.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const GoogleIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/instagram.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/lastfm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/linkedin.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const LinkedInIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/mail.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const MailIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/mastodon.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const MastodonIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/medium.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const MediumIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/meetup.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/pinterest.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const PinterestIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/pocket.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const PocketIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/reddit.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/skype.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/snapchat.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/soundcloud.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/spotify.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const SpotifyIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/tumblr.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const TumblrIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/twitch.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const TwitchIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/twitter.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const TwitterIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/vimeo.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const VimeoIcon = () => (
<SVG width="24" height="24" viewBox="0 0 24 24" version="1.1">
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/vk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/wordpress.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* WordPress dependencies
*/

import { Path, SVG } from '@wordpress/components';
import { Path, SVG } from '@wordpress/primitives';

export const WordPressIcon = () => (
<SVG
Expand Down
3 changes: 1 addition & 2 deletions packages/block-library/src/social-link/icons/yelp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading