From 079d0092d3ea162bb1b30b6040f0e1af25b29392 Mon Sep 17 00:00:00 2001 From: Connor Couetil Date: Tue, 22 Mar 2022 07:00:33 -0700 Subject: [PATCH 1/4] Revert "Merge pull request #109 from lucaspeferreira/master" This reverts commit 72fad19e85fbb408caa2c0fe19a6e62c9bdb5e86, reversing changes made to 2937eb58ac83f552dd901956cb269a9f91d88ee6. --- src/background.js | 9 ++------- src/social-icon.js | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/background.js b/src/background.js index acfb2fa3..da17c73f 100644 --- a/src/background.js +++ b/src/background.js @@ -2,14 +2,9 @@ import React from 'react' import { socialSvgContent } from './styles.js' -// eslint-disable-next-line react/prop-types -function Background({ networkKey, fgColor, ...props }) { +function Background({ networkKey, ...props }) { // eslint-disable-line react/prop-types return ( - + ) diff --git a/src/social-icon.js b/src/social-icon.js index 6e5efef7..92659a0b 100644 --- a/src/social-icon.js +++ b/src/social-icon.js @@ -33,7 +33,7 @@ function SocialIcon(props) { >
- + From 631581a8d2ff3f817b5da3487431d1fa908c5a78 Mon Sep 17 00:00:00 2001 From: Connor Couetil Date: Tue, 22 Mar 2022 07:18:09 -0700 Subject: [PATCH 2/4] tweaked twitter icon to better fit mask --- src/_networks-db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_networks-db.js b/src/_networks-db.js index be1d6760..b4dcea47 100644 --- a/src/_networks-db.js +++ b/src/_networks-db.js @@ -290,7 +290,7 @@ export default { }, twitter: { icon: - 'M48,22.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6 C41.7,19.8,40,19,38.2,19c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5c-5.5-0.3-10.3-2.9-13.5-6.9c-0.6,1-0.9,2.1-0.9,3.3 c0,2.3,1.2,4.3,2.9,5.5c-1.1,0-2.1-0.3-3-0.8c0,0,0,0.1,0,0.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.8-1.2-2.9-3.2-2.9-5.5c0-1.2,0.3-2.3,0.9-3.3 c3.2,4,8.1,6.6,13.5,6.9c-0.1-0.5-0.2-1-0.2-1.5c0-3.6,2.9-6.6,6.6-6.6c1.9,0,3.6,0.8,4.8,2.1c1.5-0.3,2.9-0.8,4.2-1.6 c-0.5,1.5-1.5,2.8-2.9,3.6c1.3-0.2,2.6-0.5,3.8-1C47.1,23.4,46,24.5,44.7,25.5z', color: '#00aced' From 943d12d4d2db8425e8ee1be5fac01bb815df28da Mon Sep 17 00:00:00 2001 From: Connor Couetil Date: Tue, 22 Mar 2022 07:25:41 -0700 Subject: [PATCH 3/4] 5.13.0 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index d8ad0365..59509d9b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-social-icons", - "version": "5.12.0", + "version": "5.13.0", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 18cffb58..0f133da1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-social-icons", - "version": "5.12.0", + "version": "5.13.0", "description": "beautiful, easy svg social icons in react", "main": "./build/react-social-icons.js", "types": "./build/react-social-icons.d.ts", From 9df8b2327f21a64aa123ffe59bc7f05db2cfb9f7 Mon Sep 17 00:00:00 2001 From: Connor Couetil Date: Tue, 22 Mar 2022 07:35:44 -0700 Subject: [PATCH 4/4] remove path segment --- src/_networks-db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_networks-db.js b/src/_networks-db.js index b4dcea47..9f2b70af 100644 --- a/src/_networks-db.js +++ b/src/_networks-db.js @@ -290,7 +290,7 @@ export default { }, twitter: { icon: - 'm 48.1,22.1 c -1.223105,0.430685 -2.4,0.761371 -3.8,1 1.4,-0.8 2.4,-2.1 2.9,-3.6 -1.3,0.8 -2.7,1.3 -4.2,1.6 -1.2,-1.3 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