Skip to content

Commit 850dcb3

Browse files
committed
Merge branch 'release/v0.0.1'
2 parents 9462c41 + a05d09c commit 850dcb3

21 files changed

Lines changed: 92 additions & 42 deletions

src/ShellUI.CLI/ShellUI.CLI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<PackAsTool>true</PackAsTool>
2121
<ToolCommandName>shellui</ToolCommandName>
2222
<PackageId>ShellUI.CLI</PackageId>
23-
<Version>0.1.0-alpha</Version>
23+
<Version>0.0.1</Version>
2424
<Authors>Shell Technologies</Authors>
2525
<Description>CLI tool for ShellUI - Blazor component library inspired by shadcn/ui</Description>
2626
<PackageTags>blazor;components;cli;shadcn;tailwind;dotnet</PackageTags>

src/ShellUI.Components/Components/Input.razor

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
[Parameter(CaptureUnmatchedValues = true)]
2525
public Dictionary<string, object>? AdditionalAttributes { get; set; }
2626

27-
private bool _isFocused = false;
28-
2927
private string CssClass => BuildCssClass();
3028

3129
private string BuildCssClass()
@@ -51,13 +49,11 @@
5149

5250
private async Task HandleFocus(FocusEventArgs e)
5351
{
54-
_isFocused = true;
5552
await OnFocus.InvokeAsync(e);
5653
}
5754

5855
private async Task HandleBlur(FocusEventArgs e)
5956
{
60-
_isFocused = false;
6157
await OnBlur.InvokeAsync(e);
6258
}
6359
}

src/ShellUI.Components/Components/Textarea.razor

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
[Parameter(CaptureUnmatchedValues = true)]
2323
public Dictionary<string, object>? AdditionalAttributes { get; set; }
2424

25-
private bool _isFocused = false;
26-
2725
private string CssClass => BuildCssClass();
2826

2927
private string BuildCssClass()
@@ -48,13 +46,11 @@
4846

4947
private async Task HandleFocus(FocusEventArgs e)
5048
{
51-
_isFocused = true;
5249
await OnFocus.InvokeAsync(e);
5350
}
5451

5552
private async Task HandleBlur(FocusEventArgs e)
5653
{
57-
_isFocused = false;
5854
await OnBlur.InvokeAsync(e);
5955
}
6056
}

src/ShellUI.Components/ShellUI.Components.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<!-- NuGet Package Metadata -->
99
<PackageId>ShellUI.Components</PackageId>
10-
<Version>1.0.0</Version>
10+
<Version>0.0.1</Version>
1111
<Authors>Shell Technologies</Authors>
1212
<Company>Shell Technologies</Company>
1313
<Product>ShellUI</Product>

src/ShellUI.Templates/ShellUI.Templates.csproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@
88
<TargetFramework>net9.0</TargetFramework>
99
<ImplicitUsings>enable</ImplicitUsings>
1010
<Nullable>enable</Nullable>
11+
12+
<!-- NuGet Package Metadata -->
13+
<PackageId>ShellUI.Templates</PackageId>
14+
<Version>0.0.1</Version>
15+
<Authors>Shell Technologies</Authors>
16+
<Company>Shell Technologies</Company>
17+
<Product>ShellUI</Product>
18+
<Description>Component templates for ShellUI CLI tool. Internal dependency.</Description>
19+
<PackageProjectUrl>https://github.com/shelltechlabs/shellui</PackageProjectUrl>
20+
<RepositoryUrl>https://github.com/shelltechlabs/shellui</RepositoryUrl>
21+
<RepositoryType>git</RepositoryType>
22+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
23+
<PackageTags>blazor;components;templates;cli;shellui</PackageTags>
24+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
25+
<IncludeSymbols>true</IncludeSymbols>
26+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1127
</PropertyGroup>
1228

1329
</Project>

src/ShellUI.Templates/Templates/AlertDialogTemplate.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1+
using ShellUI.Core.Models;
2+
13
namespace ShellUI.Templates.Templates;
24

35
public static class AlertDialogTemplate
46
{
57
public static ComponentMetadata Metadata => new()
68
{
79
Name = "alert-dialog",
10+
DisplayName = "Alert Dialog",
811
Description = "Modal dialog for confirmations and alerts",
912
Category = ComponentCategory.Overlay,
10-
Dependencies = new[] { "dialog", "button" }
13+
FilePath = "AlertDialog.razor",
14+
Dependencies = new List<string> { "dialog", "button" }
1115
};
1216

1317
public static string Content => @"@namespace YourProjectNamespace.Components.UI

src/ShellUI.Templates/Templates/CalendarTemplate.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1+
using ShellUI.Core.Models;
2+
13
namespace ShellUI.Templates.Templates;
24

35
public static class CalendarTemplate
46
{
57
public static ComponentMetadata Metadata => new()
68
{
79
Name = "calendar",
10+
DisplayName = "Calendar",
811
Description = "Full calendar component for date selection",
912
Category = ComponentCategory.DataDisplay,
10-
Dependencies = new string[] { }
13+
FilePath = "Calendar.razor",
14+
Dependencies = new List<string>()
1115
};
1216

1317
public static string Content => @"

src/ShellUI.Templates/Templates/CarouselContentTemplate.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ public static class CarouselContentTemplate
66
{
77
public static readonly ComponentMetadata Metadata = new()
88
{
9-
Name = "CarouselContent",
9+
Name = "carousel-content",
10+
DisplayName = "Carousel Content",
1011
Description = "Content wrapper for carousel items",
11-
Category = ComponentCategory.Display,
12-
Tags = new[] { "carousel", "content", "wrapper" }
12+
Category = ComponentCategory.DataDisplay,
13+
FilePath = "CarouselContent.razor",
14+
Tags = new List<string> { "carousel", "content", "wrapper" }
1315
};
1416

1517
public const string Content = """

src/ShellUI.Templates/Templates/CarouselDotsTemplate.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ public static class CarouselDotsTemplate
66
{
77
public static readonly ComponentMetadata Metadata = new()
88
{
9-
Name = "CarouselDots",
9+
Name = "carousel-dots",
10+
DisplayName = "Carousel Dots",
1011
Description = "Dot indicators for carousel navigation",
1112
Category = ComponentCategory.Navigation,
12-
Tags = new[] { "carousel", "dots", "indicators", "navigation" }
13+
FilePath = "CarouselDots.razor",
14+
Tags = new List<string> { "carousel", "dots", "indicators", "navigation" }
1315
};
1416

1517
public const string Content = """

src/ShellUI.Templates/Templates/CarouselItemTemplate.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ public static class CarouselItemTemplate
66
{
77
public static readonly ComponentMetadata Metadata = new()
88
{
9-
Name = "CarouselItem",
9+
Name = "carousel-item",
10+
DisplayName = "Carousel Item",
1011
Description = "An individual item within a carousel",
11-
Category = ComponentCategory.Display,
12-
Tags = new[] { "carousel", "item", "slide", "content" }
12+
Category = ComponentCategory.DataDisplay,
13+
FilePath = "CarouselItem.razor",
14+
Tags = new List<string> { "carousel", "item", "slide", "content" }
1315
};
1416

1517
public const string Content = """

0 commit comments

Comments
 (0)