Skip to content

Commit cc0e368

Browse files
chore(deps): update shadcn components
1 parent da74a70 commit cc0e368

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/lib/components/ui/avatar/avatar.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
55
let {
66
ref = $bindable(null),
7+
loadingStatus = $bindable("loading"),
78
class: className,
89
...restProps
910
}: AvatarPrimitive.RootProps = $props();
1011
</script>
1112

1213
<AvatarPrimitive.Root
1314
bind:ref
15+
bind:loadingStatus
1416
data-slot="avatar"
1517
class={cn("relative flex size-8 shrink-0 overflow-hidden rounded-full", className)}
1618
{...restProps}

src/lib/components/ui/tooltip/tooltip-content.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
class={cn(
3535
"bg-primary z-50 size-2.5 rotate-45 rounded-[2px]",
3636
"data-[side=top]:translate-x-1/2 data-[side=top]:translate-y-[calc(-50%_+_2px)]",
37-
"data-[side=bottom]:-translate-y-[calc(-50%_+_1px)] data-[side=bottom]:translate-x-1/2",
37+
"data-[side=bottom]:-translate-x-1/2 data-[side=bottom]:-translate-y-[calc(-50%_+_1px)]",
3838
"data-[side=right]:translate-x-[calc(50%_+_2px)] data-[side=right]:translate-y-1/2",
39-
"data-[side=left]:translate-y-[calc(50%_-_3px)]",
39+
"data-[side=left]:-translate-y-[calc(50%_-_3px)]",
4040
arrowClasses
4141
)}
4242
{...props}

0 commit comments

Comments
 (0)