Repository navigation
feat: compositional parts for AlertDialog, Breadcrumb, Command, Drawer, Form, Menubar, Pagination, Sheet - #36
Merged
Merged
Conversation
added 7 commits
October 1, 2026 15:08
…mentation - Updated the `ComponentRegistry` entry count from 194 to 239 across multiple documentation files. - Adjusted hidden entry counts from 104 to 149 to reflect the current state of components and dependencies. - Enhanced details in `COMPONENT_DEPENDENCIES.md` and `COMPONENT_ROADMAP.md` to provide clearer insights into component relationships and availability.
…and templates - Introduced a test to ensure all components in the ShellUI.Components namespace declare the correct package namespace in their .razor files. - Added a test to verify that templates do not reference the ShellUI.* namespaces, ensuring compatibility when copied into user projects. - Expanded the TemplateSyncTests with additional inline data for various UI components to enhance coverage.
… subcomponents - Refactored the AlertDialog component to support a legacy mode and introduced a new structure for better content management. - Added subcomponents: AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, and AlertDialogTrigger for improved modularity. - Enhanced the dialog's functionality with event callbacks for confirm and cancel actions, and improved accessibility features. - Updated the Breadcrumb component to conditionally render its content based on the presence of a BreadcrumbList. - Introduced new components for the Command palette, including CommandInput, CommandList, CommandOption, and CommandGroup, enhancing the command interface. - Added various utility components such as FormControl, FormField, and FormMessage to streamline form handling and validation. - Overall improvements to the component library structure and documentation for better usability and maintainability.
- Introduced multiple new templates for the AlertDialog component, including AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, and AlertDialogTrigger, enhancing modularity and usability. - Added Command component templates: CommandEmpty, CommandGroup, CommandInput, CommandList, CommandOption, and CommandSeparator, providing a comprehensive command palette interface. - Each template includes metadata and content structure to facilitate integration and customization within the ShellUI framework.
…ation - Added multiple new templates to the ComponentRegistry, including Breadcrumb, Form, Menubar, Pagination, Sheet, Drawer, AlertDialog, and Command components, enhancing the overall component library. - Updated the README to reflect the new total of 239 entries in the registry, including an increase in hidden dependency entries from 104 to 149. - Each new template includes necessary metadata and content structure for improved integration within the ShellUI framework.
- Updated the ComponentRegistry entry count from 194 to 239, with hidden dependency entries increasing from 104 to 149. - Adjusted documentation to ensure accuracy regarding the current state of components and dependencies.
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.
Summary
Ports the 45 compositional parts from
sprint-a-compositional-upgradesonto main. Each part ships in the package and as a hidden CLI template; parents depend on their parts, and every compositional mode is opt-in so existing usage keeps working.UseList)ChildContentmode)Compositionalparameter)MenubarItemwithTitleis a dropdown, without it a clickable itemChildContentmode with search, active state and keyboard navigation). The part isCommandOptionbecauseCommandItemis the model.Fixes
@namespace, so they compiled intoShellUI.Components.Componentsand@using ShellUI.Componentsdidn't find them. Removed CommandPalette's workaround@using.Cleanup
Tests and docs
TemplateSyncTestsentries,NoTemplate_ReferencesThePackageNamespace,EveryPackageComponent_DeclaresThePackageNamespace.Verification
dotnet build0 warnings, 272 tests pass.