Skip to content
Open
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
1 change: 1 addition & 0 deletions apps/v4/registry/new-york-v4/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function Button({
<Comp
data-slot="button"
className={cn(buttonVariants({ variant, size, className }))}
tabIndex={0}
{...props}
/>
)
Expand Down
1 change: 1 addition & 0 deletions apps/v4/registry/new-york-v4/ui/checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function Checkbox({
return (
<CheckboxPrimitive.Root
data-slot="checkbox"
tabIndex={0}
className={cn(
"peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
className
Expand Down
1 change: 1 addition & 0 deletions apps/v4/registry/new-york-v4/ui/radio-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function RadioGroupItem({
return (
<RadioGroupPrimitive.Item
data-slot="radio-group-item"
tabIndex={0}
className={cn(
"border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
className
Expand Down
1 change: 1 addition & 0 deletions apps/v4/registry/new-york-v4/ui/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function SelectTrigger({
<SelectPrimitive.Trigger
data-slot="select-trigger"
data-size={size}
tabIndex={0}
className={cn(
"border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
Expand Down
1 change: 1 addition & 0 deletions apps/v4/registry/new-york-v4/ui/switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function Switch({
return (
<SwitchPrimitive.Root
data-slot="switch"
tabIndex={0}
className={cn(
"peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
className
Expand Down
1 change: 1 addition & 0 deletions apps/v4/registry/new-york-v4/ui/toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function Toggle({
return (
<TogglePrimitive.Root
data-slot="toggle"
tabIndex={0}
className={cn(toggleVariants({ variant, size, className }))}
{...props}
/>
Expand Down