@likable-hair/svelte 0.0.56 → 0.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -43,7 +43,7 @@ import Avatar from "./Avatar.svelte";
|
|
|
43
43
|
class="descriptive-avatar-container"
|
|
44
44
|
>
|
|
45
45
|
<div class="avatar-container">
|
|
46
|
-
<
|
|
46
|
+
<slot name="avatar">
|
|
47
47
|
<Avatar
|
|
48
48
|
src={src}
|
|
49
49
|
width={width}
|
|
@@ -56,7 +56,7 @@ import Avatar from "./Avatar.svelte";
|
|
|
56
56
|
lazyLoaded={lazyLoaded}
|
|
57
57
|
referrerpolicy={referrerpolicy}
|
|
58
58
|
></Avatar>
|
|
59
|
-
</
|
|
59
|
+
</slot>
|
|
60
60
|
</div>
|
|
61
61
|
<div
|
|
62
62
|
style:margin-left={!reverse && direction === 'row' ? avatarSpacing : undefined}
|
|
@@ -20,7 +20,9 @@ declare const __propDef: {
|
|
|
20
20
|
events: {
|
|
21
21
|
[evt: string]: CustomEvent<any>;
|
|
22
22
|
};
|
|
23
|
-
slots: {
|
|
23
|
+
slots: {
|
|
24
|
+
avatar: {};
|
|
25
|
+
};
|
|
24
26
|
};
|
|
25
27
|
export declare type DescriptiveAvatarProps = typeof __propDef.props;
|
|
26
28
|
export declare type DescriptiveAvatarEvents = typeof __propDef.events;
|