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