Skip to content

Comments

chore: add new components and upgrade#9

Merged
Shewart merged 33 commits intomainfrom
fix/components
Feb 17, 2026
Merged

chore: add new components and upgrade#9
Shewart merged 33 commits intomainfrom
fix/components

Conversation

@Shewart
Copy link
Contributor

@Shewart Shewart commented Feb 17, 2026

This pull request introduces a major update to the demo components, modernizing their usage to a compositional pattern and adding new interactive examples. It also improves CI/CD workflows for better caching and build reliability, and increments the ShellUI version to 0.3.0-alpha.1. The most important changes are grouped below.

Demo Component Modernization & Expansion

  • Refactored ComplexComponentsDemo.razor, NavigationDemo.razor, and OverlayDemo.razor to use compositional patterns for components like Tabs, Stepper, Accordion, and Dropdown, enabling more flexible and readable markup. Added new demos for Collapsible, Docs components (CopyButton, Callout, LinkCard, PrevNextNav), Stepper in Dialog, and multiple Accordion modes. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
  • Removed legacy parameter-based patterns and event handlers for Tabs and Stepper, replacing them with compositional markup and new handler methods. [1] [2]

CI/CD Workflow Improvements

  • Added NuGet package caching to both ci.yml and release.yml workflows to speed up builds and reduce redundant downloads. [1] [2]
  • Updated build, test, and pack steps to explicitly reference the ShellUI.sln solution file for improved reliability and clarity. [1] [2]
  • Added concurrency control to release.yml to avoid overlapping releases and simplified tag pattern matching for release triggers.

Versioning

  • Updated Directory.Build.props to set the ShellUI version to 0.3.0 and suffix to alpha.1 for pre-release designation.

These changes modernize the demo experience, improve workflow efficiency, and prepare the project for the next alpha release.

### Changes
- Introduced new `CollapsibleContentTemplate` and `CollapsibleTriggerTemplate` for enhanced layout functionality.
- Updated `CollapsibleTemplate` to include dependencies on the new collapsible components and improved description.
- Refactored tooltip HTML in `ChartVariantsTemplate` for consistency in string formatting.

### Impact
- Expands layout capabilities with collapsible sections, improving user interface flexibility.
- Enhances chart tooltip design for better visual consistency.
### Changes
- Refactored `Collapsible` component to utilize `CascadingValue` for better state management.
- Added new `CollapsibleContent` and `CollapsibleTrigger` components to enhance the collapsible functionality.
- Introduced `ChartVariants` class with theme-aware chart options and color themes for improved data visualization.

### Impact
- Enhances the collapsible UI elements, allowing for more flexible layouts.
- Provides a structured approach to theming charts, improving visual consistency across the application.
… compositional structure and open/close functionality
… components with compositional structure and interactivity
…s with compositional structure and interactivity
- Implemented TabsContent, TabsList, and TabsTrigger components for tabbed navigation.
- Created Sonner service for managing toast notifications with SonnerToastItem and ISonnerService interface.
- Added SonnerVariants for positioning toast notifications.
- Developed templates for Sonner service, Sonner component, and their variants.
- Introduced Stepper components for multi-step navigation with StepperContent, StepperList, and StepperStep.
- Enhanced Tabs component to support dynamic content and state management.
…NavTrigger with templates for navigation structure
…ons, and integrate Sonner for toast notifications
…cluding new components, installation instructions, and CLI enhancements
…Sonner component and enhanced project structure documentation
…ation for v0.3.0-alpha.1, highlighting new components, installation methods, and versioning details
…onents, improvements, known issues, and installation instructions
Copilot AI review requested due to automatic review settings February 17, 2026 20:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request introduces ShellUI v0.3.0-alpha.1, a significant update that modernizes component patterns with compositional APIs inspired by shadcn/ui, adds new documentation-focused components, and improves CI/CD workflows. The changes move away from parameter-heavy components toward more flexible, compositional child components.

Changes:

  • Adds 40+ new component templates supporting compositional patterns (Tabs, Stepper, Accordion, Dropdown, Sheet, Drawer, Popover, HoverCard, Collapsible)
  • Introduces new components: Sonner (toast notifications), CopyButton, Callout, LinkCard, PrevNextNav, and AccordionType enum
  • Improves CI/CD with NuGet caching, explicit solution paths, concurrency control, and pre-release tag support
  • Updates version to 0.3.0-alpha.1 across all packages and documentation

Reviewed changes

Copilot reviewed 191 out of 192 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Directory.Build.props Version bump to 0.3.0-alpha.1
src/ShellUI.Templates/VersionHelper.cs Version update to 0.3.0
src/ShellUI.Core/Models/ComponentMetadata.cs Version update to 0.3.0
src/ShellUI.Templates/Templates/*.cs 40+ new component templates for compositional patterns
src/ShellUI.Components/Components/*.razor Refactored components to support compositional usage
src/ShellUI.Components/Variants/*.cs New variant classes (Sonner, Callout) and border fixes
src/ShellUI.Components/Services/SonnerService.cs New toast notification service
src/ShellUI.Components/wwwroot/shellui.js New clipboard utility function
.github/workflows/*.yml CI/CD improvements (caching, explicit paths, concurrency)
docs/*.md Documentation updates for v0.3.0-alpha.1 and new components
NET9/BlazorInteractiveServer/* Demo implementations of all new components

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Shewart Shewart merged commit 0de0b6a into main Feb 17, 2026
8 checks passed
@Shewart Shewart deleted the fix/components branch February 17, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant