Switch to nodenext, add file extensions to all imports

This commit is contained in:
Alex Gleason committed 2025-09-02 01:42:31 -05:00
1 parent b4a1a46430
commit 9741f440eb
84 files changed
+266 -263

No files matched your search

+4 -3
View File
@@ -2,8 +2,8 @@ import * as React from "react"
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group"
import { type VariantProps } from "class-variance-authority"
import { cn } from "@/lib/utils"
import { toggleVariants } from "@/components/ui/toggle-variants"
import { cn } from "@/lib/utils.js"
import { toggleVariants } from "./toggle-variants.js"
const ToggleGroupContext = React.createContext<
VariantProps<typeof toggleVariants>
@@ -34,7 +34,7 @@ const ToggleGroupItem = React.forwardRef<
React.ElementRef<typeof ToggleGroupPrimitive.Item>,
React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> &
VariantProps<typeof toggleVariants>
>(({ className, children, variant, size, ...props }, ref) => {
>(({ className, children, variant, size, value, ...props }, ref) => {
const context = React.useContext(ToggleGroupContext)
return (
@@ -47,6 +47,7 @@ const ToggleGroupItem = React.forwardRef<
}),
className
)}
value={value}
{...props}
>
{children}