Skip to content

Commit

Permalink
INC
Browse files Browse the repository at this point in the history
  • Loading branch information
ffquintella committed Dec 16, 2024
1 parent de4bc3c commit 18ef835
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 29 deletions.
8 changes: 4 additions & 4 deletions Tests/MathsForUI.Test/MathTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Aura.UI.Helpers;
using Aura.UI.Neumorphism.Controls;
//using Aura.UI.Neumorphism.Controls;
using Avalonia;
using Avalonia.Media;
using Avalonia.Skia;
Expand Down Expand Up @@ -56,10 +56,10 @@ public void ColorLuminanceTests(string baseColor, double intensity, string expec
{
var color = Color.Parse(baseColor).ToSKColor();

var light = Neumor.ChangeColorLuminosity(color, intensity);
var dark = Neumor.ChangeColorLuminosity(color, intensity * -1);
//var light = Neumor.ChangeColorLuminosity(color, intensity);
//var dark = Neumor.ChangeColorLuminosity(color, intensity * -1);

Assert.Equal(light.ToString(), Color.Parse(expectedLightColor).ToSKColor().ToString());
//Assert.Equal(light.ToString(), Color.Parse(expectedLightColor).ToSKColor().ToString());
}
}
}
8 changes: 4 additions & 4 deletions Tests/MathsForUI.Test/MathsForUI.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.6.6" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PackageReference Include="coverlet.collector" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
<RootNamespace>Aura.UI.Gallery.NetCore</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" Version="11.0.7" />
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.7" />
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.7" />
<PackageReference Include="Avalonia.ReactiveUI" Version="11.2.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Aura.UI.Gallery\Aura.UI.Gallery.csproj" />
Expand Down
4 changes: 2 additions & 2 deletions samples/Aura.UI.Gallery.Web/Aura.UI.Gallery.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.1" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.11" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.11" PrivateAssets="all" />
<PackageReference Include="Avalonia.Web.Blazor" Version="0.10.22" />
</ItemGroup>

Expand Down
17 changes: 8 additions & 9 deletions samples/Aura.UI.Gallery/Aura.UI.Gallery.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>10.0</LangVersion>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand All @@ -10,14 +10,13 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="AuraUtilities" Version="0.1.5.5" />
<PackageReference Include="Avalonia.AvaloniaEdit" Version="11.0.6" />
<PackageReference Include="Avalonia.Desktop" Version="11.0.7" />
<PackageReference Include="Avalonia.Diagnostics" Version="11.0.7" />
<PackageReference Include="Avalonia.Markup.Xaml.Loader" Version="11.0.7" />
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.7" />
<PackageReference Include="Avalonia.Svg" Version="11.0.0.12" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.7" />
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.0.6" />
<PackageReference Include="Avalonia.AvaloniaEdit" Version="11.1.0" />
<PackageReference Include="Avalonia.Diagnostics" Version="11.2.2" />
<PackageReference Include="Avalonia.Markup.Xaml.Loader" Version="11.2.2" />
<PackageReference Include="Avalonia.ReactiveUI" Version="11.2.2" />
<PackageReference Include="Avalonia.Svg" Version="11.2.0.2" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.2" />
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.1.0" />
<PackageReference Include="jp2masa.Avalonia.Flexbox" Version="0.2.0" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/Aura.UI.Gallery/ViewLocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public Control Build(object data)
}
}

public bool Match(object data)
public bool Match(object? data)
{
return data is ViewModelBase;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Aura.UI.FluentTheme/Aura.UI.FluentTheme.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</AvaloniaResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="11.0.7" />
<PackageReference Include="Avalonia.Xaml.Interactions.Draggable" Version="11.0.6" />
<PackageReference Include="Avalonia" Version="11.2.2" />
<PackageReference Include="Avalonia.Xaml.Interactions.Draggable" Version="11.2.0.1" />
</ItemGroup>
<Import Project="..\..\build\version.props" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@

namespace Aura.UI.Controls.Navigation
{
public class NavigationViewItem : NavigationViewItemBase, IStyleable
public class NavigationViewItem : NavigationViewItemBase
{
Type IStyleable.StyleKey => typeof(NavigationViewItemBase);
//Type IStyleable.StyleKey => typeof(NavigationViewItemBase);

protected override Type StyleKeyOverride => typeof(NavigationViewItemBase);

static NavigationViewItem()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Aura.UI.Controls.Navigation
[PseudoClasses(":pressed")]
public partial class NavigationViewLinker : ContentControl
{
private bool _pointerOver;
//private bool _pointerOver;

public NavigationViewLinker()
{
Expand Down Expand Up @@ -56,7 +56,7 @@ protected override void OnPointerPressed(PointerPressedEventArgs e)
protected override void OnPointerExited(PointerEventArgs e)
{
base.OnPointerExited(e);
_pointerOver = false;
//_pointerOver = false;
}
}
}

0 comments on commit 18ef835

Please sign in to comment.