@automattic/jetpack-components 0.43.1 → 0.43.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/components/icons/index.tsx +13 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Components package releases.
|
|
4
4
|
|
|
5
|
+
## [0.43.2] - 2023-10-11
|
|
6
|
+
### Changed
|
|
7
|
+
- Changed Twitter icon and label to X [#33445]
|
|
8
|
+
|
|
5
9
|
## [0.43.1] - 2023-10-10
|
|
6
10
|
### Changed
|
|
7
11
|
- Boost Score Graph: Show a straight line before the first data point. [#33133]
|
|
@@ -835,6 +839,7 @@
|
|
|
835
839
|
### Changed
|
|
836
840
|
- Update node version requirement to 14.16.1
|
|
837
841
|
|
|
842
|
+
[0.43.2]: https://github.com/Automattic/jetpack-components/compare/0.43.1...0.43.2
|
|
838
843
|
[0.43.1]: https://github.com/Automattic/jetpack-components/compare/0.43.0...0.43.1
|
|
839
844
|
[0.43.0]: https://github.com/Automattic/jetpack-components/compare/0.42.5...0.43.0
|
|
840
845
|
[0.42.5]: https://github.com/Automattic/jetpack-components/compare/0.42.4...0.42.5
|
|
@@ -273,6 +273,18 @@ export const TwitterIcon: React.FC< SocialIconWrapperProps > = ( { fill, size, c
|
|
|
273
273
|
);
|
|
274
274
|
};
|
|
275
275
|
|
|
276
|
+
export const XIcon: React.FC< SocialIconWrapperProps > = ( {
|
|
277
|
+
fill = 'black',
|
|
278
|
+
size,
|
|
279
|
+
className,
|
|
280
|
+
} ) => {
|
|
281
|
+
return (
|
|
282
|
+
<SocialIconWrapper fill={ fill } size={ size } className={ className }>
|
|
283
|
+
<Path d="M14.117 9.622L20.446 2h-1.5l-5.495 6.618L9.062 2H4l6.637 10.007L4 20h1.5l5.803-6.989L15.938 20H21L14.117 9.622zm-2.054 2.474l-.672-.997-5.35-7.93h2.303l4.318 6.4.672.996 5.613 8.319h-2.304l-4.58-6.788z" />
|
|
284
|
+
</SocialIconWrapper>
|
|
285
|
+
);
|
|
286
|
+
};
|
|
287
|
+
|
|
276
288
|
export const LinkedinIcon: React.FC< SocialIconWrapperProps > = ( { fill, size, className } ) => {
|
|
277
289
|
return (
|
|
278
290
|
<SocialIconWrapper
|
|
@@ -367,6 +379,7 @@ const socialIcons = {
|
|
|
367
379
|
google: GoogleIcon,
|
|
368
380
|
mastodon: MastodonIcon,
|
|
369
381
|
whatsapp: WhatsAppIcon,
|
|
382
|
+
x: XIcon,
|
|
370
383
|
};
|
|
371
384
|
|
|
372
385
|
const iconsMap = {
|