improve ui
bump
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@avocadi/ui",
|
||||
"type": "module",
|
||||
"version": "0.3.2",
|
||||
"version": "0.3.3",
|
||||
"description": "ui elements for avocadi",
|
||||
"private": false,
|
||||
"files": [
|
||||
|
||||
+4
-2
@@ -32,7 +32,7 @@ function Tabs({
|
||||
|
||||
const tabsListVariants = cva(
|
||||
cn(
|
||||
"rounded-input data-[variant=line]:rounded-none",
|
||||
"rounded-2xl data-[variant=line]:rounded-none",
|
||||
"p-2 gap-1",
|
||||
"group/tabs-list text-main inline-flex w-fit items-center justify-center \
|
||||
group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",
|
||||
@@ -113,7 +113,9 @@ function TabsTrigger({
|
||||
)}
|
||||
{...props}
|
||||
>
|
||||
<AnimatedButton variant="ghost">{children}</AnimatedButton>
|
||||
<AnimatedButton whileHover={{ scale: 1.01 }} variant="ghost">
|
||||
{children}
|
||||
</AnimatedButton>
|
||||
</TabsPrimitive.Trigger>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user