diff --git a/packages/ui/src/components/Response.tsx b/packages/ui/src/components/Response.tsx
index 4bd580b..1d40ff9 100644
--- a/packages/ui/src/components/Response.tsx
+++ b/packages/ui/src/components/Response.tsx
@@ -28,9 +28,9 @@ export function Response({ children, className }: ResponseProps) {
return (
diff --git a/packages/ui/src/components/ui/button.tsx b/packages/ui/src/components/ui/button.tsx
index 707b1e2..6a82888 100644
--- a/packages/ui/src/components/ui/button.tsx
+++ b/packages/ui/src/components/ui/button.tsx
@@ -5,22 +5,22 @@ import { cva, type VariantProps } from "class-variance-authority";
import { cn } from "../../lib/utils.js";
const buttonVariants = cva(
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
+ "dg:inline-flex dg:items-center dg:justify-center dg:gap-2 dg:whitespace-nowrap dg:rounded-md dg:text-sm dg:font-medium dg:transition-colors dg:focus-visible:outline-none dg:focus-visible:ring-1 dg:focus-visible:ring-ring dg:disabled:pointer-events-none dg:disabled:opacity-50 dg:[&_svg]:pointer-events-none dg:[&_svg]:size-4 dg:[&_svg]:shrink-0",
{
variants: {
variant: {
- default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
- destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
- outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
- secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
- ghost: "hover:bg-accent hover:text-accent-foreground",
- link: "text-primary underline-offset-4 hover:underline",
+ default: "dg:bg-primary dg:text-primary-foreground dg:shadow dg:hover:bg-primary/90",
+ destructive: "dg:bg-destructive dg:text-destructive-foreground dg:shadow-sm dg:hover:bg-destructive/90",
+ outline: "dg:border dg:border-input dg:bg-background dg:shadow-sm dg:hover:bg-accent dg:hover:text-accent-foreground",
+ secondary: "dg:bg-secondary dg:text-secondary-foreground dg:shadow-sm dg:hover:bg-secondary/80",
+ ghost: "dg:hover:bg-accent dg:hover:text-accent-foreground",
+ link: "dg:text-primary dg:underline-offset-4 dg:hover:underline",
},
size: {
- default: "h-9 px-4 py-2",
- sm: "h-8 rounded-md px-3 text-xs",
- lg: "h-10 rounded-md px-8",
- icon: "h-9 w-9",
+ default: "dg:h-9 dg:px-4 dg:py-2",
+ sm: "dg:h-8 dg:rounded-md dg:px-3 dg:text-xs",
+ lg: "dg:h-10 dg:rounded-md dg:px-8",
+ icon: "dg:h-9 dg:w-9",
},
},
defaultVariants: {
diff --git a/packages/ui/src/components/ui/scroll-area.tsx b/packages/ui/src/components/ui/scroll-area.tsx
index f9cab02..c175bae 100644
--- a/packages/ui/src/components/ui/scroll-area.tsx
+++ b/packages/ui/src/components/ui/scroll-area.tsx
@@ -11,10 +11,10 @@ const ScrollArea = React.forwardRef<
>(({ className, children, ...props }, ref) => (
-
+
{children}
@@ -31,14 +31,14 @@ const ScrollBar = React.forwardRef<
ref={ref}
orientation={orientation}
className={cn(
- "flex touch-none select-none transition-colors",
- orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
- orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
+ "dg:flex dg:touch-none dg:select-none dg:transition-colors",
+ orientation === "vertical" && "dg:h-full dg:w-2.5 dg:border-l dg:border-l-transparent dg:p-[1px]",
+ orientation === "horizontal" && "dg:h-2.5 dg:flex-col dg:border-t dg:border-t-transparent dg:p-[1px]",
className
)}
{...props}
>
-
+
));
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
diff --git a/packages/ui/src/components/ui/select.tsx b/packages/ui/src/components/ui/select.tsx
index ce3e36d..58a1164 100644
--- a/packages/ui/src/components/ui/select.tsx
+++ b/packages/ui/src/components/ui/select.tsx
@@ -17,14 +17,14 @@ const SelectTrigger = React.forwardRef<
span]:line-clamp-1",
+ "dg:flex dg:h-9 dg:w-full dg:items-center dg:justify-between dg:whitespace-nowrap dg:rounded-md dg:border dg:border-input dg:bg-transparent dg:px-3 dg:py-2 dg:text-sm dg:shadow-sm dg:ring-offset-background dg:data-[placeholder]:text-muted-foreground dg:focus:outline-none dg:focus:ring-1 dg:focus:ring-ring dg:disabled:cursor-not-allowed dg:disabled:opacity-50 dg:[&>span]:line-clamp-1",
className
)}
{...props}
>
{children}
-
+
));
@@ -36,10 +36,10 @@ const SelectScrollUpButton = React.forwardRef<
>(({ className, ...props }, ref) => (
-
+
));
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
@@ -50,10 +50,10 @@ const SelectScrollDownButton = React.forwardRef<
>(({ className, ...props }, ref) => (
-
+
));
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
@@ -66,9 +66,9 @@ const SelectContent = React.forwardRef<
{children}
@@ -96,7 +96,7 @@ const SelectLabel = React.forwardRef<
>(({ className, ...props }, ref) => (
));
@@ -109,14 +109,14 @@ const SelectItem = React.forwardRef<
-
+
-
+
{children}
@@ -130,7 +130,7 @@ const SelectSeparator = React.forwardRef<
>(({ className, ...props }, ref) => (
));
diff --git a/packages/ui/src/components/ui/textarea.tsx b/packages/ui/src/components/ui/textarea.tsx
index 18e08c2..f4deeb4 100644
--- a/packages/ui/src/components/ui/textarea.tsx
+++ b/packages/ui/src/components/ui/textarea.tsx
@@ -9,7 +9,7 @@ const Textarea = React.forwardRef<
return (