@enki-tek/fms-web-components 0.0.55 → 0.0.57
Sign up to get free protection for your applications and to get access to all the features.
- package/components/Header/Brand.svelte +3 -0
- package/components/Header/Header.scss +3 -0
- package/components/Header/Header.svelte +3 -0
- package/components/Header/HeaderItem.svelte +4 -1
- package/components/Header/HeaderItem.svelte.d.ts +6 -2
- package/components/Header/UserAvatar.svelte +3 -0
- package/components/Icon/Icon.svelte +1 -1
- package/package.json +1 -1
@@ -9,7 +9,7 @@
|
|
9
9
|
</script>
|
10
10
|
|
11
11
|
<NavItem class='me-3' {...$$restProps}>
|
12
|
-
<NavLink href={link} class='headerIcons' on:click><Icon name={iconName}></Icon></NavLink>
|
12
|
+
<NavLink href={link} class='headerIcons' on:click><Icon name={iconName}></Icon><slot></slot></NavLink>
|
13
13
|
</NavItem>
|
14
14
|
|
15
15
|
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
@@ -35,6 +35,9 @@
|
|
35
35
|
border-radius: 50%;
|
36
36
|
color: #3AC82E;
|
37
37
|
padding: 8px 9px;
|
38
|
+
height: 45px;
|
39
|
+
width: 45px;
|
40
|
+
font-weight: bold;
|
38
41
|
}
|
39
42
|
:global(.headerIcons i) {
|
40
43
|
padding: 0 4px;
|
@@ -9,7 +9,9 @@ export default class HeaderItem extends SvelteComponentTyped<{
|
|
9
9
|
click: MouseEvent;
|
10
10
|
} & {
|
11
11
|
[evt: string]: CustomEvent<any>;
|
12
|
-
}, {
|
12
|
+
}, {
|
13
|
+
default: {};
|
14
|
+
}> {
|
13
15
|
}
|
14
16
|
export type HeaderItemProps = typeof __propDef.props;
|
15
17
|
export type HeaderItemEvents = typeof __propDef.events;
|
@@ -26,6 +28,8 @@ declare const __propDef: {
|
|
26
28
|
} & {
|
27
29
|
[evt: string]: CustomEvent<any>;
|
28
30
|
};
|
29
|
-
slots: {
|
31
|
+
slots: {
|
32
|
+
default: {};
|
33
|
+
};
|
30
34
|
};
|
31
35
|
export {};
|