Skip to content

feat(docs): add banner#274

Merged
sadmann7 merged 21 commits intomainfrom
sadman/add-banner
Apr 3, 2026
Merged

feat(docs): add banner#274
sadmann7 merged 21 commits intomainfrom
sadman/add-banner

Conversation

@sadmann7
Copy link
Copy Markdown
Owner

@sadmann7 sadmann7 commented Apr 3, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 3, 2026 12:24
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
diceui Ready Ready Preview, Comment Apr 3, 2026 1:13pm

Request Review

Copy link
Copy Markdown
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 PR adds a new Banner component to the docs ecosystem (types + registry wiring + demos), and updates the Radix Button styling/implementation to support the new component and updated design tokens.

Changes:

  • Introduces new Banner type definitions for both Radix and Base docs type tables.
  • Registers the Banner component in the Radix UI registry and adds two Radix demo examples (single + stacked/queued).
  • Updates the Radix Button implementation/styles (Slot usage, variants/sizes, and data attributes).

Reviewed changes

Copilot reviewed 66 out of 66 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/types/radix/banner.ts Adds Radix Banner public type surface used by docs type tables.
docs/types/base/banner.ts Adds Base Banner public type surface used by docs type tables.
docs/registry/bases/radix/ui/button.tsx Updates Button variants/sizes and switches Slot usage; adds data-variant/data-size.
docs/registry/bases/radix/ui/_registry.ts Registers the new banner UI item and its registry dependencies.
docs/registry/bases/radix/examples/banner-demo.tsx Adds a simple controlled Banner example for the docs site.
docs/registry/bases/radix/examples/banner-stacked-demo.tsx Adds a queued/stacked Banners provider demo using useBanners().

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

Comment thread docs/types/radix/banner.ts Outdated
Comment thread docs/registry/bases/radix/ui/button.tsx
@sadmann7 sadmann7 merged commit c2b2c4e into main Apr 3, 2026
8 checks passed
@sadmann7 sadmann7 deleted the sadman/add-banner branch April 3, 2026 13:13
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.

2 participants