Repository navigation
chore(release): v0.3.6 - #75
Merged
Merged
Conversation
added 3 commits
October 22, 2026 14:35
Neither package set PackageIcon, so nuget.org showed the default icon, and src/ShellUI.Components/icon.svg was an unused placeholder. assets/icon.png (the dot mark on a dark tile) is now the icon of ShellUI.CLI and ShellUI.Components, with assets/icon.svg as its source.
The generator read a .razor class attribute only up to its first quote,
so class="@Shell.Cn("...", Class)" contributed nothing, and C# literals
in ternaries and switch arms were skipped too. 181 classes components
render were missing from shellui-classes.txt, which apps building
their own Tailwind CSS from the package depend on: the dialog's centring
(translate-x/y-[-50%]), sm:rounded-lg, the Sonner variant colours and
more. The precompiled bundle was not affected, because Tailwind scans
the .razor files itself, except for the data-[state=...] classes the
safelist exists for.
The generator now also harvests string literals that follow (, ,, ?, :,
= or => in .razor files, with the same class-list filter as .cs files,
and accepts class lists up to 2000 characters (DialogContent's is 545).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A small patch for both packages, cherry-picked from main.
Package icon (
6d480f1on main)0.3.5 shipped without
PackageIcon, so nuget.org shows its default icon forShellUI.CLIandShellUI.Components, and the package list uses the latest stable's icon. Both now carryassets/icon.png.Safelist (
145997eon main, from #74)The safelist generator read
.razorclass attributes only up to their first quote, so classes passed toShell.Cn("...")and literals in ternaries never reachedshellui-classes.txt. On 0.3, 181 classes were missing for apps that build their own Tailwind CSS from the package, including the dialog's centring (translate-x/y-[-50%]),sm:rounded-lgand the Sonner variant colours. The precompiledshellui-all.csswasn't affected. The safelist is regenerated from 0.3's own components: 369 to 550 classes, none removed.This PR also
Directory.Build.propsand the version references to0.3.6# ShellUI v0.3.6section todocs/RELEASE_NOTES.md;scripts/extract-release-notes.sh 0.3.6extracts itChecks
icon.pngand declare<icon>icon.png</icon>ShellUI.Componentswrites all 550 classes towwwroot/shellui-classes.txt, and Tailwind built from that file generatestranslate-x/y-[-50%],sm:rounded-lgandbg-green-500/20