File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
let {
6
6
ref = $bindable (null ),
7
+ loadingStatus = $bindable (" loading" ),
7
8
class : className,
8
9
... restProps
9
10
}: AvatarPrimitive .RootProps = $props ();
10
11
</script >
11
12
12
13
<AvatarPrimitive .Root
13
14
bind:ref
15
+ bind:loadingStatus
14
16
data-slot =" avatar"
15
17
class ={cn (" relative flex size-8 shrink-0 overflow-hidden rounded-full" , className )}
16
18
{...restProps }
Original file line number Diff line number Diff line change 34
34
class ={cn (
35
35
" bg-primary z-50 size-2.5 rotate-45 rounded-[2px]" ,
36
36
" 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)] " ,
38
38
" 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)]" ,
40
40
arrowClasses
41
41
)}
42
42
{...props }
You can’t perform that action at this time.
0 commit comments