Skip to content

fix(mosaic): restore borderless ghost Select trigger with hover background - #11017

Merged
alexcarpenter merged 1 commit into
mainfrom
carp/mosaic-select-ghost
Nov 25, 2026
Merged

alexcarpenter merged 1 commit into
mainfrom
carp/mosaic-select-ghost

Conversation

@alexcarpenter

Copy link
Copy Markdown
Member

Description

Since #10689, Select.Trigger variant='ghost' has shown the outline border and lost its hover background. #10689 added borderColor and a hover-less backgroundColor to trigger.base, which applies to both variants and overrides the ghost Button styles.

Before After
Rest Ghost select before, rest Ghost select after, rest
Hover (Member) Ghost select before, hover Ghost select after, hover

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Nov 25, 2026 10:01pm UTC
mosaic-docs Ready Ready Preview Nov 25, 2026 10:01pm UTC
swingset Ready Ready Preview Nov 25, 2026 10:01pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 94a9e0e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/mosaic Patch
@clerk/mosaic-docs Patch
@clerk/swingset Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@blacksmith-sh

blacksmith-sh Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Matches Ghost Select trigger is borderless and tints on hover

Base ghost trigger showed a grey border and no hover fill; head shows no border, a 6% tint on hover and 8% when open.

Merge-baseThis PR 94a9e0ef
Ghost restGhost rest
Ghost hover MemberGhost hover Member

Also checked · 1 match

Matches Outline Select trigger keeps its border and background

Proof on 94a9e0ef · Did Proof get it right? Yes · No

View full Proof report · React 👎 or comment @codesmith dismiss this proof to dismiss

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Select trigger now applies the selected variant styles alongside its shared base styles. Inline padding is defined in the shared base style, and the ghost variant is declared. A changeset documents the ghost trigger styling update and notes that outline triggers are unchanged.

Estimated code review effort: 2 (Simple) | ~8 minutes

Severity of issue fixed: Low

Suggested reviewers: prestonwebdev, austincalvelage

Merge Risk: Minimal · up to 94a9e

This restores the borderless ghost Select trigger and its hover background, and outline triggers are unchanged. The change is styling-only and low risk. No merge-blocking concerns were found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the fix, the component, and the expected behavior: a borderless ghost Select trigger with a hover background. The raw summary shows the changes to select.styles.ts and select.tsx that …
Description check Passed The description explains the regression from #10689, where shared trigger styles set borderColor and backgroundColor for both variants and overrode the ghost Button styles. It states the fix: those pr…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the fix, the component, and the expected behavior: a borderless ghost Select trigger with a hover background. The raw summary shows the changes to select.styles.ts and select.tsx that move the border and background styles into an outline-only variant, so the title matches the main change.

Full details: Description check

Explanation

The description explains the regression from #10689, where shared trigger styles set borderColor and backgroundColor for both variants and overrode the ghost Button styles. It states the fix: those properties move to an outline-only atom, and the ghost trigger returns to the ghost Button styles. It also includes before and after screenshots. This matches the changeset.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Linked repositories: This review skipped 6 repositories. Cross-repository analysis may be incomplete. Check linked repository access and settings.

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 093c7a7 and 94a9e0e.

Files selected for processing: 3

  • .changeset/mosaic-select-ghost-border.md
  • packages/mosaic/src/components/select/select.styles.ts
  • packages/mosaic/src/components/select/select.tsx
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour.

@pkg-pr-new

pkg-pr-new Bot commented Nov 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@11017

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@11017

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@11017

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@11017

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@11017

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@11017

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@11017

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@11017

@clerk/expo-biometrics

npm i https://pkg.pr.new/@clerk/expo-biometrics@11017

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@11017

@clerk/expo-native-components

npm i https://pkg.pr.new/@clerk/expo-native-components@11017

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@11017

@clerk/express

npm i https://pkg.pr.new/@clerk/express@11017

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@11017

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@11017

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@11017

@clerk/mosaic

npm i https://pkg.pr.new/@clerk/mosaic@11017

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@11017

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@11017

@clerk/react

npm i https://pkg.pr.new/@clerk/react@11017

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@11017

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@11017

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@11017

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@11017

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@11017

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@11017

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@11017

commit: 94a9e0e

@alexcarpenter
alexcarpenter merged commit ada1d27 into main Nov 25, 2026
59 checks passed
@alexcarpenter
alexcarpenter deleted the carp/mosaic-select-ghost branch November 25, 2026 22:10

This branch was successfully deployed

2 active deployments
Preview – swingset — 94a9e0ef Deployed Nov 25, 2026 by vercel[bot]
Preview – clerk-js-sandbox — 94a9e0ef Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants