@sierra-95/svelte-scaffold 1.0.19 → 1.0.20
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.
- package/dist/components/Modules/Layout/Header/gridIcon.svelte +5 -2
- package/dist/components/Modules/Layout/Header/gridIcon.svelte.d.ts +2 -0
- package/dist/components/Modules/Layout/Header/header.svelte +2 -1
- package/dist/components/Modules/Layout/Header/header.svelte.d.ts +2 -0
- package/dist/components/Modules/Layout/main.svelte +3 -1
- package/dist/components/Modules/Layout/main.svelte.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
let {
|
|
2
|
+
let {
|
|
3
|
+
dashboardMenuSize,
|
|
4
|
+
dashboardMenuColor
|
|
5
|
+
} = $props();
|
|
3
6
|
</script>
|
|
4
|
-
<svg width=
|
|
7
|
+
<svg width={dashboardMenuSize} height={dashboardMenuSize} viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" fill="#000000" stroke="#000000">
|
|
5
8
|
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
|
|
6
9
|
|
|
7
10
|
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -4,8 +4,10 @@ type GridIcon = {
|
|
|
4
4
|
$set?(props: Partial<$$ComponentProps>): void;
|
|
5
5
|
};
|
|
6
6
|
declare const GridIcon: import("svelte").Component<{
|
|
7
|
+
dashboardMenuSize: any;
|
|
7
8
|
dashboardMenuColor: any;
|
|
8
9
|
}, {}, "">;
|
|
9
10
|
type $$ComponentProps = {
|
|
11
|
+
dashboardMenuSize: any;
|
|
10
12
|
dashboardMenuColor: any;
|
|
11
13
|
};
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
headerCenterContent,
|
|
12
12
|
headerRightContent,
|
|
13
13
|
dashboardMenuColor,
|
|
14
|
+
dashboardMenuSize
|
|
14
15
|
} = $props();
|
|
15
16
|
</script>
|
|
16
17
|
<header id='sierra-header'>
|
|
@@ -32,6 +33,6 @@
|
|
|
32
33
|
<div>{@render headerCenterContent?.()}</div>
|
|
33
34
|
<div style="display: flex; gap: 1rem; align-items: center;">
|
|
34
35
|
{@render headerRightContent?.()}
|
|
35
|
-
<button onclick={toggleMenu} title="Menu" style="margin-right: 1rem;"><GridIcon {dashboardMenuColor} /></button>
|
|
36
|
+
<button onclick={toggleMenu} title="Menu" style="margin-right: 1rem;"><GridIcon {dashboardMenuColor} {dashboardMenuSize} /></button>
|
|
36
37
|
</div>
|
|
37
38
|
</header>
|
|
@@ -12,6 +12,7 @@ declare const Header: import("svelte").Component<{
|
|
|
12
12
|
headerCenterContent: any;
|
|
13
13
|
headerRightContent: any;
|
|
14
14
|
dashboardMenuColor: any;
|
|
15
|
+
dashboardMenuSize: any;
|
|
15
16
|
}, {}, "">;
|
|
16
17
|
type $$ComponentProps = {
|
|
17
18
|
headerTitle: any;
|
|
@@ -22,4 +23,5 @@ type $$ComponentProps = {
|
|
|
22
23
|
headerCenterContent: any;
|
|
23
24
|
headerRightContent: any;
|
|
24
25
|
dashboardMenuColor: any;
|
|
26
|
+
dashboardMenuSize: any;
|
|
25
27
|
};
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
headerCenterContent = null,
|
|
19
19
|
headerRightContent = null,
|
|
20
20
|
paddingOff = false,
|
|
21
|
-
dashboardMenuColor = 'var(--text)',
|
|
21
|
+
dashboardMenuColor = 'var(--text)',
|
|
22
|
+
dashboardMenuSize = "35px"
|
|
22
23
|
} = $props();
|
|
23
24
|
|
|
24
25
|
|
|
@@ -79,6 +80,7 @@
|
|
|
79
80
|
{headerCenterContent}
|
|
80
81
|
{headerRightContent}
|
|
81
82
|
{dashboardMenuColor}
|
|
83
|
+
{dashboardMenuSize}
|
|
82
84
|
/>
|
|
83
85
|
{#if $isLoading}<LinearProgress />{/if}
|
|
84
86
|
<div id="sierra-layout">
|
|
@@ -15,6 +15,7 @@ declare const Main: import("svelte").Component<{
|
|
|
15
15
|
headerRightContent?: any;
|
|
16
16
|
paddingOff?: boolean;
|
|
17
17
|
dashboardMenuColor?: string;
|
|
18
|
+
dashboardMenuSize?: string;
|
|
18
19
|
}, {}, "">;
|
|
19
20
|
type $$ComponentProps = {
|
|
20
21
|
children: any;
|
|
@@ -28,4 +29,5 @@ type $$ComponentProps = {
|
|
|
28
29
|
headerRightContent?: any;
|
|
29
30
|
paddingOff?: boolean;
|
|
30
31
|
dashboardMenuColor?: string;
|
|
32
|
+
dashboardMenuSize?: string;
|
|
31
33
|
};
|