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

Update RemixIcon to v4.2.0 #316

Merged
merged 1 commit into from Apr 26, 2024
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -54,7 +54,7 @@ This `IconPacks` library contains controls, markup extensions and converters to
| [PICOL Icons](https://github.com/PicolSigns/Icons) | 1.1.0 | 549 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.PicolIcons/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.PicolIcons.svg?style=flat-square&&label=PicolIcons"></a> |
| [Pixelarticons Free](https://pixelarticons.com/) | 1.7.0 | 480 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.PixelartIcons/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.PixelartIcons.svg?style=flat-square&&label=PixelartIcons"></a> |
| [Radix Icons](https://icons.modulz.app/) | 1.0.3 | 312 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.RadixIcons/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.RadixIcons.svg?style=flat-square&&label=RadixIcons"></a> |
| [Remix Icon](https://remixicon.com/) | 2.5.0 | 2271 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.RemixIcon/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.RemixIcon.svg?style=flat-square&&label=RemixIcon"></a> |
| [Remix Icon](https://remixicon.com/) | 4.2.0 | 2850 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.RemixIcon/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.RemixIcon.svg?style=flat-square&&label=RemixIcon"></a> |
| [RPG Awesome](https://nagoshiashumari.github.io/Rpg-Awesome/) | 0.2.0 | 495 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.RPGAwesome/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.RPGAwesome.svg?style=flat-square&&label=RPGAwesome"></a> |
| [Simple Icons](https://simpleicons.org/) | 7.14.0 | 2379 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.SimpleIcons/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.SimpleIcons.svg?style=flat-square&&label=SimpleIcons"></a> |
| [Typicons](https://www.s-ings.com/typicons/) | 2.1.2 | 336 | <a href="https://www.nuget.org/packages/MahApps.Metro.IconPacks.Typicons/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/nuget/dt/MahApps.Metro.IconPacks.Typicons.svg?style=flat-square&&label=Typicons"></a> |
Expand Down
Expand Up @@ -10,7 +10,7 @@
namespace MahApps.Metro.IconPacks
{
/// <summary>
/// RemixIcon released under the [Apache License Version 2.0](<see><cref>https://github.com/Remix-Design/RemixIcon/blob/master/License</cref></see>)
/// RemixIcon released under the [Apache License Version 2.0](<see><cref>https://github.com/Remix-Design/RemixIcon?tab=Apache-2.0-1-ov-file#readme</cref></see>)
/// Contributions, corrections and requests can be made on GitHub <see><cref>https://github.com/Remix-Design/RemixIcon</cref></see>.
/// </summary>
[MetaData("Remix Icon", "https://remixicon.com/", "https://github.com/Remix-Design/RemixIcon/blob/master/License")]
Expand Down
5,121 changes: 2,850 additions & 2,271 deletions src/MahApps.Metro.IconPacks/Icons/RemixIcon/PackIconRemixIconDataFactory.cs

Large diffs are not rendered by default.

Expand Up @@ -34,11 +34,5 @@ protected override string GetPathData(object iconKind)
}
return data;
}

/// <inheritdoc />
protected override ScaleTransform GetScaleTransform(object iconKind)
{
return new ScaleTransform(1, -1);
}
}
}
5,123 changes: 2,851 additions & 2,272 deletions src/MahApps.Metro.IconPacks/Icons/RemixIcon/PackIconRemixIconKind.cs

Large diffs are not rendered by default.

@@ -1,6 +1,4 @@
using System.Windows.Media;

namespace MahApps.Metro.IconPacks.Converter
namespace MahApps.Metro.IconPacks.Converter
{
public class PackIconRemixIconKindToImageConverter : PackIconKindToImageConverterBase
{
Expand All @@ -14,11 +12,5 @@ protected override string GetPathData(object iconKind)
}
return data;
}

/// <inheritdoc />
protected override ScaleTransform GetScaleTransform(object iconKind)
{
return new ScaleTransform(1, -1);
}
}
}
Expand Up @@ -8,7 +8,7 @@
namespace MahApps.Metro.IconPacks
{
/// <summary>
/// RemixIcon released under the [Apache License Version 2.0](<see><cref>https://github.com/Remix-Design/RemixIcon/blob/master/License</cref></see>)
/// RemixIcon released under the [Apache License Version 2.0](<see><cref>https://github.com/Remix-Design/RemixIcon?tab=Apache-2.0-1-ov-file#readme</cref></see>)
/// Contributions, corrections and requests can be made on GitHub <see><cref>https://github.com/Remix-Design/RemixIcon</cref></see>.
/// </summary>
[MetaData("Remix Icon", "https://remixicon.com/", "https://github.com/Remix-Design/RemixIcon/blob/master/License")]
Expand Down Expand Up @@ -36,9 +36,6 @@ public PackIconRemixIconKind Kind

public PathIconRemixIcon()
{
var transformGroup = this.RenderTransform as TransformGroup ?? new TransformGroup();
var scaleTransform = new ScaleTransform() {ScaleY = -1};
transformGroup.Children.Insert(0, scaleTransform);
}

protected override void UpdateData()
Expand Down