diff --git a/bun.lockb b/bun.lockb index 53d6f9c..7b34d3d 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/esbuild.config.js b/esbuild.config.js index 6e6b695..b9a72a8 100644 --- a/esbuild.config.js +++ b/esbuild.config.js @@ -50,10 +50,8 @@ build({ outfile: "./dist/index.slim.js", external: [ ...options.external, - "@radix-ui/react-checkbox", "@radix-ui/react-label", "@radix-ui/react-popover", - "@radix-ui/react-radio-group", "@radix-ui/react-select", "@radix-ui/react-tooltip", "class-variance-authority", diff --git a/package.json b/package.json index 8b015ce..82f1fbd 100644 --- a/package.json +++ b/package.json @@ -63,10 +63,8 @@ "@interactjs/auto-start": "1.10.26", "@interactjs/interact": "1.10.26", "@mezh-hq/react-gridlines": "1.0.1", - "@radix-ui/react-checkbox": "1.0.4", "@radix-ui/react-label": "2.0.2", "@radix-ui/react-popover": "1.0.7", - "@radix-ui/react-radio-group": "1.1.3", "@radix-ui/react-select": "2.0.0", "@radix-ui/react-switch": "1.1.0", "@radix-ui/react-tooltip": "1.0.6", diff --git a/src/components/core/checkbox.tsx b/src/components/core/checkbox.tsx deleted file mode 100644 index 305558e..0000000 --- a/src/components/core/checkbox.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import * as React from "react"; -import * as CheckboxPrimitive from "@radix-ui/react-checkbox"; -import { Check } from "lucide-react"; -import { twMerge } from "tailwind-merge"; - -const Checkbox = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - - - - - -)); -Checkbox.displayName = CheckboxPrimitive.Root.displayName; - -export { Checkbox }; diff --git a/src/components/core/index.tsx b/src/components/core/index.tsx index 2b3b28b..d9ce7f9 100644 --- a/src/components/core/index.tsx +++ b/src/components/core/index.tsx @@ -1,8 +1,6 @@ -export * from "./checkbox"; export * from "./input"; export * from "./label"; export * from "./popover"; -export * from "./radio-group"; export * from "./select"; export * from "./switch"; export * from "./typography"; diff --git a/src/components/core/radio-group.tsx b/src/components/core/radio-group.tsx deleted file mode 100644 index dc85488..0000000 --- a/src/components/core/radio-group.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import * as React from "react"; -import * as RadioGroupPrimitive from "@radix-ui/react-radio-group"; -import { Check } from "lucide-react"; -import { twMerge } from "tailwind-merge"; - -const RadioGroup = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => { - return ; -}); -RadioGroup.displayName = RadioGroupPrimitive.Root.displayName; - -const RadioGroupItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => { - return ( - - - - - - ); -}); -RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName; - -export { RadioGroup, RadioGroupItem };