Skip to content

Commit 648ef8b

Browse files
committed
fix : fade
1 parent 8680981 commit 648ef8b

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

packages/ui/src/combobox/combobox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const comboboxStyles = tv(
1515
input: "h-9 w-full bg-transparent px-3 py-1 text-sm outline-none placeholder:text-zinc-500 disabled:cursor-not-allowed",
1616
trigger: "flex h-9 w-9 items-center justify-center text-zinc-500",
1717
content: [
18-
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-base bg-app text-zinc-950 shadow-md animate-in fade-in-0 zoom-in-95 dark:text-zinc-50",
18+
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-base bg-app text-zinc-950 shadow-md animate-in zoom-in-95 dark:text-zinc-50",
1919
"data-[expanded]:animate-in data-[closed]:animate-out",
2020
],
2121
listbox: "p-1",

packages/ui/src/dialog/dialog.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ const dialogStyles = tv(
1010
{
1111
slots: {
1212
overlay: [
13-
"fixed inset-0 z-50 backdrop-blur-sm animate-in fade-in-0 duration-200",
13+
"fixed inset-0 z-50 backdrop-blur-sm animate-in duration-200",
1414
"data-[expanded]:animate-in data-[closed]:animate-out",
1515
],
1616
content: [
1717
[
1818
"fixed left-[50%] top-[50%] z-50 w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-base bg-app text-main p-4 shadow-lg rounded-xl",
19-
// "animate-in fade-in-0 zoom-in-95 duration-200 ",
2019
"data-[expanded]:animate-in data-[closed]:animate-out",
2120
],
2221
],

packages/ui/src/dropdown-menu/dropdown-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const menuStyles = tv(
1010
slots: {
1111
trigger: "inline-block cursor-pointer",
1212
content: [
13-
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-light bg-white p-1 text-zinc-950 shadow-md animate-in fade-in-0 zoom-in-95 dark:bg-zinc-950 dark:text-zinc-50",
13+
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-light bg-white p-1 text-zinc-950 shadow-md animate-in zoom-in-95 dark:bg-zinc-950 dark:text-zinc-50",
1414
"data-[expanded]:animate-in data-[closed]:animate-out",
1515
],
1616
item: "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[highlighted]:bg-zinc-100 data-[highlighted]:text-zinc-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:data-[highlighted]:bg-zinc-800 dark:data-[highlighted]:text-zinc-50",

packages/ui/src/tooltip/tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const tooltipStyles = tv(
77
slots: {
88
content: [
99
"z-50 rounded-md px-4 py-1.5 text-xs shadow-md",
10-
"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
10+
"animate-in zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
1111
],
1212
arrow: "",
1313
},

0 commit comments

Comments
 (0)