Skip to content

Commit ade43de

Browse files
committed
Merge branch 'release/0.2.5'
2 parents cc47630 + b50528c commit ade43de

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [0.2.5] - 2025-10-17
2+
3+
### 🐛 Bug Fixes
4+
5+
- Slot enum types not fully qualified in XML doc
16
## [0.2.4] - 2025-10-16
27

38
### 🐛 Bug Fixes
@@ -7,6 +12,7 @@
712
### ⚙️ Miscellaneous Tasks
813

914
- Updated test generation count
15+
- Bump version, update CHANGELOG.md
1016
## [0.2.3] - 2025-10-16
1117

1218
### 🐛 Bug Fixes

src/TailwindVariants.NET.SourceGenerators/Generator/SlotsAccessorGenerator.cs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
8888
ExtClassName: SymbolHelper.MakeSafeIdentifier($"{typeName}SlotExtensions"),
8989
NamesClass: namesClass,
9090
IsSealed: symbol.IsSealed,
91-
IsNested: isNested)
92-
{
93-
Location = symbol.Locations.FirstOrDefault()
94-
};
91+
IsNested: isNested);
9592
}
9693

9794
private static void GenerateForSlotsType(SourceProductionContext spc, SlotsAccessorToGenerate accessor)
@@ -319,7 +316,7 @@ private static void WriteExtensions(Indenter sb, SlotsAccessorToGenerate accesso
319316

320317
sb.AppendMultiline($$"""
321318
/// <summary>
322-
/// Gets the value of the slot identified by the specified <see cref="{{accessor.EnumName}}"/> key.
319+
/// Gets the value of the slot identified by the specified <see cref="{{enumRef}}"/> key.
323320
/// </summary>
324321
/// <param name="slots">The <see cref="SlotsMap{T}"/> instance containing slot values.</param>
325322
/// <param name="key">The enum key representing the slot to retrieve.</param>
@@ -526,8 +523,5 @@ private readonly record struct SlotsAccessorToGenerate(
526523
bool IsGetNameImplemented,
527524
EquatableArray<string> Hierarchy,
528525
EquatableArray<(string Name, string Slot)> Properties,
529-
EquatableArray<string> AllProperties)
530-
{
531-
public Location? Location { get; init; }
532-
};
526+
EquatableArray<string> AllProperties);
533527
}

src/TailwindVariants.NET/TailwindVariants.NET.csproj

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

1010
<!-- NuGet Package Metadata -->
1111
<PackageId>TailwindVariants.NET</PackageId>
12-
<Version>0.2.4</Version>
12+
<Version>0.2.5</Version>
1313
<Authors>Denny09310</Authors>
1414
<Description>A Blazor library to manage TailwindCSS variants and slot-based styling with strongly typed APIs.</Description>
1515
<PackageTags>blazor;tailwind;css;ui;csharp</PackageTags>

0 commit comments

Comments
 (0)