You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 16bc184
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(web): ui components drop their secondary className props
Several components/ui exports took a second className for an inner part
(viewportClassName, popupClassName, inputClassName, contentClassName,
backdropClassName, wrapperClassName). Each was a restyle hatch the lint
rule could not see.
- Popover: padding="default" | "compact" | "none" names the three
insets callers actually wanted (dense lists and excerpts, and content
that draws its own frame). None rounds the viewport so edge-to-edge
content clips to the popup's corners.
- Sheet: sheets sit at a fixed tier (46), under the floating preview
player (47-49) and under dialogs (50), so the right-panel sheet no
longer needs a flag to drop below the player.
- Dialog: the media variant owns its own layering and centering.
- ComboboxItem content always lays out as one row: a truncating label,
then trailing meta. Every consumer already had that shape.
- The model picker search uses ComboboxSearchInput like the branch
picker, which deletes inputClassName.
- The sidebar snooze list is a Menu with MenuItem and MenuShortcut
instead of hand-built buttons in a popover.
- An input addon that holds a button takes clicks, so the command
palette's back arrow no longer needs wrapperClassName.
- Select popupClassName had no callers.
no-restyle findings: 604 -> 583.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
0 commit comments