Skip to content

Commit

Permalink
Merge Behaviors.Animations component back into Behaviors
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-hawker committed Jul 11, 2023
1 parent e234419 commit 60727b1
Show file tree
Hide file tree
Showing 24 changed files with 16 additions and 151 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<InternalsVisibleTo Include="CommunityToolkit.WinUI.Behaviors.Animations" />
<InternalsVisibleTo Include="CommunityToolkit.WinUI.Behaviors" />
<PackageReference Include="PolySharp" Version="1.13.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
3 changes: 0 additions & 3 deletions components/Behaviors.Animations/OpenSolution.bat

This file was deleted.

This file was deleted.

31 changes: 0 additions & 31 deletions components/Behaviors.Animations/samples/Dependencies.props

This file was deleted.

13 changes: 0 additions & 13 deletions components/Behaviors.Animations/src/AdditionalAssemblyInfo.cs

This file was deleted.

This file was deleted.

31 changes: 0 additions & 31 deletions components/Behaviors.Animations/src/Dependencies.props

This file was deleted.

9 changes: 0 additions & 9 deletions components/Behaviors.Animations/src/MultiTarget.props

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 8 additions & 0 deletions components/Behaviors/samples/Behaviors.Samples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,12 @@

<!-- Sets this up as a toolkit component's sample project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SampleProject.props" />
<ItemGroup>
<None Remove="Assets\ToolkitIcon.png" />
</ItemGroup>
<ItemGroup>
<Content Include="Assets\ToolkitIcon.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Page x:Class="Behaviors.AnimationsExperiment.Samples.InvokeActionsActivitySample"
<Page x:Class="BehaviorsExperiment.Samples.InvokeActionsActivitySample"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ani="using:CommunityToolkit.WinUI.Animations"
xmlns:behaviors="using:CommunityToolkit.WinUI.Behaviors"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:interactions="using:Microsoft.Xaml.Interactions.Core"
xmlns:interactivity="using:Microsoft.Xaml.Interactivity"
xmlns:local="using:Behaviors.AnimationsExperiment.Samples"
xmlns:local="using:BehaviorsExperiment.Samples"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using CommunityToolkit.WinUI.Animations;

namespace Behaviors.AnimationsExperiment.Samples;
namespace BehaviorsExperiment.Samples;

[ToolkitSample(id: nameof(InvokeActionsActivitySample), "InvokeActionsActivity", description: $"A sample for showing how to create and use a {nameof(StartAnimationActivity)} behavior.")]
public sealed partial class InvokeActionsActivitySample : Page
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Page x:Class="Behaviors.AnimationsExperiment.Samples.StartAnimationActivitySample"
<Page x:Class="BehaviorsExperiment.Samples.StartAnimationActivitySample"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ani="using:CommunityToolkit.WinUI.Animations"
xmlns:behaviors="using:CommunityToolkit.WinUI.Behaviors"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:interactions="using:Microsoft.Xaml.Interactions.Core"
xmlns:interactivity="using:Microsoft.Xaml.Interactivity"
xmlns:local="using:Behaviors.AnimationsExperiment.Samples"
xmlns:local="using:BehaviorsExperiment.Samples"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using CommunityToolkit.WinUI.Animations;

namespace Behaviors.AnimationsExperiment.Samples;
namespace BehaviorsExperiment.Samples;

[ToolkitSample(id: nameof(StartAnimationActivitySample), "StartAnimationActivity", description: $"A sample for showing how to create and use a {nameof(InvokeActionsActivity)} behavior.")]
public sealed partial class StartAnimationActivitySample : Page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<ProjectReference Include="$(ToolkitAnimationSourceProject)" />
<ProjectReference Include="$(ToolkitExtensionSourceProject)" />
</ItemGroup>
</Project>

0 comments on commit 60727b1

Please sign in to comment.