Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/ButtonGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function ButtonGroup({
'[&>*]:border-0! [&>*+*]:border-l! [&>*+*]:border-border-default!',
'bg-background-surface text-text-primary',
'shadow-sm',
'[&>[aria-pressed=true]]:bg-text-primary [&>[aria-pressed=true]]:text-background-default [&>[aria-pressed=true]]:shadow-sm',
'[&>[aria-pressed=true]]:border-transparent! [&>[aria-pressed=true]]:bg-text-primary [&>[aria-pressed=true]]:text-background-default [&>[aria-pressed=true]]:shadow-sm',
className,
)}
>
Expand Down
8 changes: 4 additions & 4 deletions src/components/ds/ui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,10 @@ export const SearchInput = React.forwardRef<HTMLInputElement, SearchInputProps>(
return (
<div
className={twMerge(
// Search reads as a distinct, fully-rounded pill so it never
// reads as just another rounded-corner control (buttons, dropdowns).
'flex w-full items-center rounded-full border border-border-default bg-background-surface text-text-muted transition-[border-color,box-shadow] duration-150 focus-within:border-border-strong focus-within:text-text-primary motion-reduce:transition-none',
size === 'large' ? 'min-h-14 gap-3 px-4' : 'h-10 gap-2.5 px-3',
'flex w-full items-center border border-border-default bg-background-surface text-text-muted transition-[border-color,box-shadow] duration-150 focus-within:border-border-focus focus-within:text-text-primary focus-within:ring-2 focus-within:ring-border-focus/40 motion-reduce:transition-none',
size === 'large'
? 'min-h-14 gap-3 rounded-xl px-4'
: 'h-10 gap-2.5 rounded-lg px-3',
)}
>
{/* The label wraps only the icon + input so clicking the field
Expand Down
Loading